/* OMF apex landing page (Apache-2.0 tooling).
   Design tokens intentionally mirror apps/playground/style.css so the front door and the
   generator read as one system. Self-contained: no external fonts, scripts, or assets. */
:root {
  --bg: #f7f7f8; --panel: #fff; --ink: #1a1a1c; --muted: #6b6b72;
  --line: #e2e2e6; --accent: #2f6fed; --ok: #1a7f45; --pending: #8a8a90;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131316; --panel: #1c1c20; --ink: #ececf0; --muted: #9a9aa2;
          --line: #2c2c32; --accent: #6f9bff; --ok: #4ecb7d; --pending: #7a7a82; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
       background: var(--bg); color: var(--ink); }
main { max-width: 68rem; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; }
a { color: var(--accent); }

header { margin-bottom: 2.5rem; }
.eyebrow { margin: 0 0 .6rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
           color: var(--muted); font-weight: 700; }
h1 { margin: 0 0 .8rem; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.25;
     max-width: 24ch; letter-spacing: -0.01em; }
.lede { margin: 0; max-width: 68ch; color: var(--muted); }
.banner { margin: 1.4rem 0 0; max-width: 68ch; font-size: .88rem; color: var(--muted);
          border-left: 3px solid var(--accent); padding-left: .8rem; }
.banner strong { color: var(--ink); }

h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
     margin: 0 0 1rem; font-weight: 700; }
section { margin-bottom: 2.75rem; }
.section-note { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }
.prose { max-width: 72ch; margin: 0 0 1rem; }
.prose:last-of-type { margin-bottom: 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden;
                   clip: rect(0 0 0 0); white-space: nowrap; }

/* Reference-model status table. Scrolls inside itself on narrow screens rather than
   forcing the page body to scroll horizontally. */
.species { width: 100%; border-collapse: collapse; margin: 0; font-size: .88rem;
           display: block; overflow-x: auto; }
.species thead th { text-align: left; font-size: .68rem; text-transform: uppercase;
                    letter-spacing: .07em; color: var(--muted); font-weight: 700;
                    padding: 0 1rem .5rem 0; border-bottom: 1px solid var(--line); }
.species tbody th { text-align: left; font-weight: 600; color: var(--ink); white-space: nowrap;
                    padding: .7rem 1rem .7rem 0; vertical-align: top; }
.species td { color: var(--muted); padding: .7rem 1rem .7rem 0; vertical-align: top; }
.species td:last-child { padding-right: 0; min-width: 22ch; }
.species tbody tr + tr th, .species tbody tr + tr td { border-top: 1px solid var(--line); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem;
         grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 1.2rem; }
.card-title { display: block; font-size: 1.05rem; font-weight: 700; text-decoration: none;
              margin-bottom: .45rem; }
.card-title:hover { text-decoration: underline; }
.card-note { margin: 0 0 .9rem; font-size: .87rem; color: var(--muted); }
.card-meta { margin: 0; font-size: .78rem; color: var(--muted); display: flex;
             align-items: center; gap: .5rem; }

.pill { font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700;
        padding: .2em .6em; border-radius: 999px; color: #fff; white-space: nowrap; }
.pill-open { background: var(--ok); }
.pill-auth { background: var(--pending); }
.pill-next { background: var(--accent); }
.pill-planned { background: transparent; color: var(--muted); border: 1px solid var(--line); }

/* The boundaries: a definition list, two columns where there's room. */
.principles { margin: 0; display: grid; gap: 1.4rem 2.5rem;
              grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); }
.principles dt { font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: .3rem; }
.principles dd { margin: 0; font-size: .87rem; color: var(--muted); max-width: 62ch; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em;
       background: var(--panel); border: 1px solid var(--line); border-radius: 5px;
       padding: .1em .35em; }

footer { border-top: 1px solid var(--line); padding-top: 1.2rem; }
footer p { margin: 0; font-size: .8rem; color: var(--muted); max-width: 68ch; }
