/* System Duo: cream paper and ink, a serif display face, one ember accent; the family of decision.vllm-sr.ai and
   mom.vllm-sr.ai. Bands fade into one another: the home page opens on a dawn sky over glyph ridges (assets/mosaic.js)
   and closes at dusk on ink. Three type levels, an 8 px rhythm, motion through transform and opacity only. Fonts are
   self-hosted (SIL OFL, assets/fonts/); nothing loads from another origin, and every page reads without JavaScript. */

@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/CormorantGaramond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/CormorantGaramond-Italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f1e7;
  --paper-2: #efe8da;
  --surface: #fffdf9;
  --ink: #16181d;
  --ink-2: #464b55;
  --muted: #5f646d;
  --faint: #9da1a9;
  --hair: rgba(22, 24, 29, .09);
  --hair-2: rgba(22, 24, 29, .14);
  --ember: #d9441f;
  --ember-hi: #ef5630;
  --ember-text: #b3361a;
  --key: #a12f17;
  --ok: #1f9d5b;
  --ok-text: #187944;
  --warn: #b7791f;
  --warn-text: #946217;
  --bad: #c8352b;
  --sky: #4d6fa3;
  --dawn: #f1d8c6;
  --cream: #f3efe6;
  --on-ink: #fffdf9;
  --on-ink-2: rgba(243, 239, 230, .74);
  --on-ink-3: rgba(243, 239, 230, .6);
  --ink-hair: rgba(255, 255, 255, .12);
  --shadow: 0 1px 2px rgba(40, 32, 20, .04), 0 12px 32px rgba(40, 32, 20, .07);
  --shadow-lg: 0 1px 2px rgba(40, 32, 20, .05), 0 24px 64px rgba(40, 32, 20, .12);
  --r-s: 12px;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 48px);
  --nav-h: 68px;
  --serif: "Cormorant Garamond", "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  /* The names the Keys page's stylesheet builds on. */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--muted);
  --line: var(--hair-2);
  --line-2: var(--hair);
  --red-ring: var(--ember);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); background: var(--paper); color: var(--ink); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); letter-spacing: -.011em; font-feature-settings: "cv11", "ss01", "calt"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol, pre, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
p a, .fine a, .consent a, .note a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(22, 24, 29, .3); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: text-decoration-color .2s, color .2s; }
p a:hover, .fine a:hover, .consent a:hover, .note a:hover { text-decoration-color: var(--ember); }
code, pre, kbd { font-family: var(--mono); font-size: .9em; letter-spacing: 0; font-feature-settings: "zero", "calt"; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(217, 68, 31, .22); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.offscreen { position: fixed; left: -9999px; top: 0; opacity: 0; }
.skip { position: absolute; left: 16px; top: -56px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus { top: 10px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gut), 1600px); }
.center { text-align: center; }

/* ------------------------------------------------------------------ type: three levels */
.title, .h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
.lead, .lede { margin-top: 20px; max-width: 40rem; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; letter-spacing: -.014em; color: var(--ink-2); text-wrap: balance; }
.center .lede, .lede.center { margin-inline: auto; }
.eyebrow { font: 600 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ember-text); }
.eyebrow + .h2 { margin-top: 16px; }
.label { font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fine { margin-top: 28px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ------------------------------------------------------------------ navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.nav.solid, .page .nav { background: rgba(246, 241, 231, .84); box-shadow: 0 1px 0 var(--hair); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.nav-in { width: min(100% - 2 * var(--gut), var(--wrap)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: none; display: flex; align-items: center; height: 100%; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14.5px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { font-weight: 500; }
.nav-links .nav-cta { margin-left: 10px; padding: 8px 16px; color: #fff; background: var(--ink); font-weight: 500; transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .2s; }
.nav-links .nav-cta:hover { color: #fff; background: #000; }
.home .nav-links .nav-cta { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.home .nav.cta .nav-cta { opacity: 1; transform: none; pointer-events: auto; }
html:not(.home-js) .home .nav-links .nav-cta { display: none; }
/* Phones: a menu (a <details>, so it opens without JavaScript too) next to the logo. */
.menu { display: none; position: relative; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 999px; cursor: pointer; list-style: none; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease), background-color .2s; }
.menu-ico { position: relative; }
.menu-ico::before, .menu-ico::after { content: ""; position: absolute; left: 0; }
.menu-ico::before { top: -6px; }
.menu-ico::after { top: 6px; }
.menu[open] .menu-ico { background: transparent; }
.menu[open] .menu-ico::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-ico::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: fixed; left: 0; right: 0; top: var(--nav-h); display: flex; flex-direction: column; padding: 8px var(--gut) 28px; background: var(--paper); box-shadow: 0 24px 40px rgba(40, 32, 20, .12); }
.menu-panel a { padding: 8px 0; font: 500 30px/1.2 var(--serif); color: var(--ink); }
.menu-panel a[aria-current="page"] { color: var(--ember-text); }
.menu-panel .menu-cta { margin-top: 16px; align-self: flex-start; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 16px/1 var(--sans); }

/* ------------------------------------------------------------------ buttons */
.btn-primary { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 15.5rem; height: 56px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 500 17px/1 var(--sans); letter-spacing: -.012em; cursor: pointer; overflow: hidden; isolation: isolate; box-shadow: 0 10px 30px rgba(22, 24, 29, .22); transition: transform .3s var(--ease), background-color .2s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.btn-primary:hover { background: #000; box-shadow: 0 12px 34px rgba(22, 24, 29, .28); }
.btn-primary:active { transform: scale(.98); }
.btn-primary > span { transition: opacity .25s ease, transform .45s var(--ease); }
.btn-primary .btn-label { position: relative; z-index: 1; }
.btn-primary .btn-busy, .btn-primary .btn-ok { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; opacity: 0; transform: translateY(10px); }
.btn-primary .btn-busy::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-primary .btn-ok svg { width: 18px; height: 18px; color: #7ee2a8; transform: scale(.4) rotate(-20deg); transition: transform .5s var(--spring); }
/* The proof of work's progress, drawn from the nonces tried against the ones expected. */
.btn-bar { position: absolute; left: 0; bottom: 0; z-index: 0; width: 100%; height: 2px; background: var(--ember-hi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease), opacity .5s; }
.btn-primary[aria-busy="true"] { cursor: progress; }
.btn-primary[aria-busy="true"]:active { transform: none; }
.btn-primary[aria-busy="true"] .btn-label { opacity: 0; transform: translateY(-10px); }
.btn-primary[aria-busy="true"] .btn-busy { opacity: 1; transform: none; }
.btn-primary.ok .btn-busy { opacity: 0; transform: translateY(-10px); }
.btn-primary.ok .btn-ok { opacity: 1; transform: none; }
.btn-primary.ok .btn-ok svg { transform: none; }
.btn-primary.ok .btn-bar { opacity: 0; }
.btn-primary.sm { min-width: 0; height: 46px; padding: 0 22px; font-size: 15.5px; box-shadow: 0 8px 22px rgba(22, 24, 29, .18); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--ink); font-size: 15.5px; font-weight: 500; transition: box-shadow .2s, background-color .2s; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(22, 24, 29, .28); background: #fff; }
.text-link, .more { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 500; color: var(--ink); transition: color .2s; }
.text-link::after, .more::after { content: "\203A"; font-size: 1.3em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
.text-link:hover, .more:hover { color: var(--ember-text); }
.text-link:hover::after, .more:hover::after { transform: translate(2px, -1px); }

/* Copy buttons: the copy icon turns into a check. */
.copy { flex: none; position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px 0 13px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--ink); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background-color .2s, box-shadow .3s, transform .25s var(--ease); -webkit-tap-highlight-color: transparent; }
.copy:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(22, 24, 29, .24); }
.copy:active { transform: scale(.94); }
.copy .ico { position: relative; width: 15px; height: 15px; }
.copy .ico svg { position: absolute; inset: 0; width: 15px; height: 15px; transition: opacity .2s, transform .5s var(--spring); }
.copy .ico .ok { opacity: 0; transform: scale(.3) rotate(-30deg); color: var(--ok); }
.copy.done { box-shadow: inset 0 0 0 1px rgba(31, 157, 91, .5); }
.copy.done .ico .cp { opacity: 0; transform: scale(.3); }
.copy.done .ico .ok { opacity: 1; transform: none; }
.copy .txt { display: inline-grid; }
.copy .txt span { grid-area: 1 / 1; transition: opacity .2s, transform .4s var(--ease); }
.copy .txt .t2 { opacity: 0; transform: translateY(7px); }
.copy.done .txt .t1 { opacity: 0; transform: translateY(-7px); }
.copy.done .txt .t2 { opacity: 1; transform: none; }
.copy-sm { height: 30px; padding: 0 12px 0 10px; font-size: 12.5px; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 90; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; opacity: 0; transform: translate(-50%, 16px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; box-shadow: 0 12px 32px rgba(22, 24, 29, .25); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ code: ink blocks */
.code { margin: 0; padding: 18px 20px; border-radius: var(--r); background: var(--ink); color: #d9dbe0; overflow-x: auto; font-size: 12.5px; line-height: 1.7; tab-size: 2; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
.code code { font-size: inherit; }
.code .ln { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding-left: var(--hang, 2ch); text-indent: calc(-1 * var(--hang, 2ch)); }
.code .ln:empty { min-height: 1.7em; }
/* Syntax colours (assets/highlight.js), one palette on every ink block: all at least 5:1 on ink. */
.tk-c { color: #8b8f99; }
.tk-s { color: #f3d3a8; }
.tk-p { color: #9ec1ef; }
.tk-n, .tk-b { color: #f6a37f; }
.tk-k { color: #ff8c69; }
.tk-f { color: #fff; font-weight: 600; }
.tk-o { color: #b8c6dc; }
.tk-v { color: #ffcf7a; }
.tk-key { color: #fff; font-weight: 600; }
.code .k { color: #fff; }
.code .s { color: #f3d3a8; }
.code .m { color: #8b8f99; }
.code .c { color: #8b8f99; }
.codeblock { margin-top: 16px; border-radius: var(--r-s); background: var(--ink); overflow: hidden; }
.codeblock .cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 500 12px/1.4 var(--mono); color: #a3a7b0; }
.codeblock pre { margin: 0; padding: 16px 20px; overflow-x: auto; font-size: 12.8px; line-height: 1.66; color: #d9dbe0; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
.codeblock pre .ln { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding-left: var(--hang, 2ch); text-indent: calc(-1 * var(--hang, 2ch)); }
.codeblock pre .ln:empty { min-height: 1.66em; }
.codeblock .c { color: #8b8f99; }
.codeblock .s { color: #f3d3a8; }
.codeblock .k { color: #fff; }
.codeblock .copy { height: 30px; padding: 0 13px; font-size: 12.5px; background: rgba(255, 255, 255, .08); box-shadow: none; color: #ececf1; }
.codeblock .copy:hover { background: rgba(255, 255, 255, .16); box-shadow: none; }
.codeblock .copy.done { box-shadow: inset 0 0 0 1px rgba(126, 226, 168, .5); }
.codeblock .copy .ico .ok { color: #7ee2a8; }

/* ------------------------------------------------------------------ hero: a dawn sky over glyph ridges */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(680px, 100vh); min-height: max(680px, 100svh); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #93b3e4 0%, #b2c8ec 24%, #d9dded 48%, #f1d8c6 72%, var(--paper) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse at 16% 64%, rgba(160, 180, 224, .44), transparent 49%), radial-gradient(ellipse at 88% 74%, rgba(247, 164, 126, .36), transparent 44%), radial-gradient(ellipse at 50% 46%, rgba(255, 249, 236, .42), transparent 50%); }
.ridges { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: 42%; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.ridges.on { opacity: 1; }
.hero-in { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; padding: calc(var(--nav-h) + clamp(28px, 5vh, 64px)) 0 clamp(170px, 26vh, 290px); }
.hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(76px, 11vw, 168px); line-height: .9; letter-spacing: -.035em; color: var(--ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .2); }
.key-phrase { position: relative; font-style: italic; font-weight: 600; color: var(--key); white-space: nowrap; }
.key-phrase::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -.02em; height: .07em; background-image: linear-gradient(90deg, var(--key) 0 7px, transparent 7px 11px); background-size: 11px 100%; opacity: .5; animation: shimmer 3.2s linear infinite; }
@keyframes shimmer { to { background-position: 44px 0; } }
.hero-title .key-phrase::after { bottom: .08em; height: .03em; background-image: linear-gradient(90deg, var(--key) 0 10px, transparent 10px 16px); background-size: 16px 100%; }
.hero-slogan { margin-top: clamp(16px, 2.4vh, 26px); font: 500 clamp(28px, 3.1vw, 46px)/1.12 var(--serif); letter-spacing: -.012em; color: #2f3644; text-wrap: balance; }
.hero-slogan em { font-style: italic; color: var(--key); }
.hero-lede { margin: clamp(14px, 2.2vh, 22px) auto 0; max-width: 35em; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; line-height: 1.45; letter-spacing: -.016em; color: #333944; text-wrap: balance; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; z-index: 1; width: 24px; height: 36px; margin-left: -12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(22, 24, 29, .35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: rgba(22, 24, 29, .55); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-height: 720px) { .scroll-cue { display: none; } }

/* ------------------------------------------------------------------ the key */
.key { width: 100%; max-width: 42rem; margin-top: clamp(28px, 4.4vh, 42px); display: flex; flex-direction: column; align-items: center; }
.key-form { display: flex; flex-direction: column; align-items: center; gap: 16px; transition: opacity .26s ease, transform .4s var(--ease); }
.consent { max-width: 24rem; font-size: 13px; line-height: 1.5; color: #555b69; transition: opacity .3s; }
.consent a { color: var(--ink-2); }
.key.busy .consent { opacity: .55; }
.key-nojs { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.key-status { margin-top: 18px; display: block; padding: 12px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(200, 53, 43, .35), var(--shadow); font-size: 15px; line-height: 1.45; color: var(--ink); text-align: center; animation: rise-s .5s var(--ease) both; }
.key-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 1px; background: var(--bad); vertical-align: 1px; }
.key-status .title { font-weight: 600; }
.key-status .detail { display: block; margin-top: 2px; color: var(--ink-2); }
.key-status .retry { margin-top: 8px; border: 0; padding: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(22, 24, 29, .4); cursor: pointer; }
.key-status .retry:hover { text-decoration-color: var(--ember); }
.key.out .key-form { opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none; }
.key.done .key-form, .key.done .key-status { display: none; }
@keyframes rise-s { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* The key, once it exists: one frosted panel on the sky. */
.key-panel { position: relative; width: 100%; padding: clamp(20px, 2.4vw, 28px); outline: none; text-align: left; scroll-margin-top: calc(var(--nav-h) + 20px); border-radius: var(--r-lg); background: rgba(255, 253, 249, .86); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 1px rgba(255, 255, 255, .6) inset, 0 24px 64px rgba(40, 32, 20, .16), 0 0 0 1px var(--hair); }
.key-panel.in { animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
.kp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.kp-title { font: 500 28px/1.1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.kp-manage { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); transition: color .2s; }
.kp-manage svg { width: 11px; height: 11px; transition: transform .35s var(--ease); }
.kp-manage:hover { color: var(--ink); }
.kp-manage:hover svg { transform: translate(2px, -2px); }
.kp-key { position: relative; margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-2); overflow: hidden; }
.kp-value { flex: 1; min-width: 0; font-size: clamp(13px, 1.25vw, 15px); line-height: 1.5; color: var(--ink); word-break: break-all; -webkit-user-select: all; user-select: all; }
.kp-key::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(217, 68, 31, 0) 0%, rgba(217, 68, 31, .12) 50%, rgba(217, 68, 31, 0) 100%); transform: translateX(-100%); }
.key-panel.in .kp-key::after { animation: glint 1.2s var(--ease-io) .35s both; }
@keyframes glint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.kp-warn { margin: 10px 0 0 20px; font-size: 13.5px; font-weight: 500; color: var(--ember-text); }
.kp-call { margin-top: 22px; }
.kp-call-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.kp-call-head h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.kp-snip { position: relative; }
.kp-snip .copy { position: absolute; right: 10px; top: 10px; background: rgba(255, 255, 255, .1); box-shadow: none; color: #ececf1; }
.kp-snip .copy:hover { background: rgba(255, 255, 255, .18); box-shadow: none; }
.kp-snip .copy .ico .ok { color: #7ee2a8; }
.kp-snip .code { padding-right: 96px; }
.kp-meta, .kp-log { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.kp-log { margin-top: 6px; color: var(--muted); }
.kp-meta a, .kp-log a { color: var(--ink-2); }

/* ------------------------------------------------------------------ sections and mosaic rules */
.section { position: relative; padding: clamp(88px, 11vw, 144px) 0; }
.head { max-width: 46rem; }
.head.center { margin-inline: auto; text-align: center; }
.mosaic-rule { display: block; width: 100%; max-width: 960px; height: 40px; margin: 0 auto clamp(40px, 5vw, 56px); }
.dissolve { display: block; width: 100%; height: 56px; }
/* A dotted band that fades in and out of the paper, so neighbouring sections never meet at a hard edge. */
.blueprint { isolation: isolate; }
.blueprint::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: var(--paper-2); background-image: radial-gradient(rgba(22, 24, 29, .08) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 clamp(72px, 9vw, 132px), #000 calc(100% - clamp(72px, 9vw, 132px)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 clamp(72px, 9vw, 132px), #000 calc(100% - clamp(72px, 9vw, 132px)), transparent 100%); }
/* Old anchors of the home page (#choose, #how, #systems, #decisions) land on the sections that replaced them. */
.alias { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: calc(var(--nav-h) + 24px); }

/* Answers: one probability bar per option (the examples, the status page's model shares). */
.answer + .answer { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hair); }
.answer .q { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bars li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) 4.4rem; align-items: center; gap: 14px; font-size: 14px; }
.bars li + li { margin-top: 11px; }
.bars .opt { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.bars .top .opt { color: var(--ink); font-weight: 600; }
.bars .bar { height: 6px; border-radius: 1px; background: rgba(22, 24, 29, .08); overflow: hidden; }
.bars .bar i { display: block; height: 100%; border-radius: 1px; background: rgba(22, 24, 29, .42); transform-origin: left center; transform: scaleX(var(--w, 0)); }
.bars .top .bar i { background: var(--ember); }
.bars .p { font-family: var(--mono); font-size: 12.5px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.bars .top .p { color: var(--ink); font-weight: 600; }

/* Segmented tabs: the examples, the snippets, the status windows. */
.seg { position: relative; display: inline-flex; max-width: 100%; padding: 4px; border-radius: 999px; background: rgba(22, 24, 29, .06); }
.seg button { position: relative; z-index: 1; min-width: 96px; height: 34px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color .35s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg .thumb { position: absolute; z-index: 0; top: 4px; left: 4px; height: 34px; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(22, 24, 29, .1), 0 4px 12px rgba(22, 24, 29, .06); transition: transform .5s var(--ease), width .5s var(--ease); }
.seg:not(.ready) .thumb { transition: none; }
.seg-sm { padding: 3px; }
.seg-sm button { min-width: 0; height: 28px; padding: 0 13px; font-size: 12.5px; }
.seg-sm .thumb { top: 3px; left: 3px; height: 28px; }

/* ------------------------------------------------------------------ models: System One's family and System Two's pool */
.sys-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); align-items: stretch; }
.sys { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.sys .eyebrow { display: flex; align-items: center; gap: 10px; }
.sys .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 1px; background: var(--ember); }
.sys-two .eyebrow { color: var(--sky); }
.sys-two .eyebrow::before { background: var(--sky); }
.sys-title { margin-top: 14px; font: 500 clamp(36px, 3.6vw, 52px)/1 var(--serif); letter-spacing: -.015em; }
.sys-title code { font-size: .74em; letter-spacing: -.03em; }
.sys-what { margin-top: 14px; max-width: 30em; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.sys-api { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.sys-api code { padding: 5px 10px; border-radius: 8px; background: rgba(22, 24, 29, .06); font-size: 12.5px; color: var(--ink); }
.sys-list { margin-top: 22px; width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.sys-list th, .sys-list td { padding: 11px 0; text-align: left; border-bottom: 1px solid var(--hair); font-weight: 400; vertical-align: middle; }
.sys-list tbody tr:last-child th, .sys-list tbody tr:last-child td { border-bottom: 0; }
.sys-list thead th { padding: 0 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--hair-2); }
.sys-list tbody th { font: 600 21px/1.15 var(--serif); letter-spacing: -.005em; color: var(--ink); white-space: nowrap; }
.sys-list .name { display: inline-flex; align-items: center; gap: 12px; }
.sys-list .size { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.sys-list .num { text-align: right; font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); }
.score-note { display: block; margin-top: 2px; font: 500 12px/1.4 var(--sans); color: var(--muted); white-space: nowrap; }
.score-est { font: 500 12px var(--sans); color: var(--muted); }
.sys-list .end { text-align: right; width: 1%; white-space: nowrap; padding-left: 14px; }
/* A family's heading row: its name, then what its models answer. */
.sys-list tbody tr.fam th { padding: 16px 0 6px; display: table-cell; font: 500 12px/1.4 var(--sans); color: var(--muted); white-space: normal; border-bottom-color: var(--hair-2); }
.sys-list tbody tr.fam:first-child th { padding-top: 6px; }
.sys-list tr.fam b { margin-right: 10px; font: 600 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-text); }
.state { width: 9px; height: 9px; border-radius: 2px; background: rgba(22, 24, 29, .14); flex: none; transition: background-color .6s, box-shadow .6s; }
.state.ready { background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 91, .14); }
.state.down { background: var(--bad); box-shadow: 0 0 0 4px rgba(200, 53, 43, .14); }
html:not(.home-js) .state { display: none; }
.hf { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: color .2s, background-color .2s; }
.hf img { flex: none; max-width: none; width: 20px; height: 20px; transition: transform .45s var(--spring); }
.hf:hover { color: var(--ink); background: var(--paper-2); }
.hf:hover img { transform: scale(1.12) rotate(-6deg); }
.sys-foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.sys-foot .fine { margin-top: 0; max-width: 32em; font-size: 12.5px; }
.hf-all { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 11px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 14px; font-weight: 500; color: var(--ink); transition: box-shadow .2s; }
.hf-all img { flex: none; max-width: none; width: 22px; height: 22px; }
.hf-all span { color: var(--ember-text); transition: transform .35s var(--ease); }
.hf-all:hover { box-shadow: inset 0 0 0 1px rgba(22, 24, 29, .26), var(--shadow); }
.hf-all:hover span { transform: translateX(3px); }
/* vllm-sr/auto: the model families the router works with, then the models serving the free endpoint now. */
.any-model { margin-top: 22px; padding: 16px 18px 18px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair); }
.any-title { font: 500 clamp(19px, 1.7vw, 22px)/1.2 var(--serif); letter-spacing: -.005em; color: var(--ink); }
.marks { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.marks li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 7px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
.marks img { flex: none; width: 18px; height: 18px; object-fit: contain; }
.pool-head { margin-top: 22px; font: 600 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pool { margin-top: 10px; display: grid; gap: 8px; }
.pool li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(77, 111, 163, .38); }
.pool .n { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font: 600 20px/1.15 var(--serif); letter-spacing: -.005em; }
.pool .mk { flex: none; width: 22px; height: 22px; object-fit: contain; }
.pool .e { font: 500 11.5px/1.4 var(--mono); color: var(--muted); text-align: right; overflow-wrap: anywhere; }
/* Some official files draw their mark small inside a wide margin: scaled to the others' optical size (the files stay
   as published). */
.m-openai { transform: scale(1.8); }
.m-gemini { transform: scale(1.6); }
.m-gemma, .m-meta { transform: scale(1.5); }
.models .sys-api { margin-top: 12px; }
.models .sys-what { margin-top: 16px; }

/* Boxes drawn on a photo in fractions of its height and width, as System One returns them (the live photo example). */
.bxs { position: absolute; inset: 0; pointer-events: none; }
.bx { position: absolute; border: 2px solid #fffdf9; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(0, 0, 0, .25); }
.bx b { position: absolute; left: -2px; bottom: calc(100% + 4px); padding: 1px 6px; border-radius: 3px; background: #fffdf9; color: var(--ink); font: 600 11px/1.5 var(--mono); white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.bx.lb b { bottom: auto; top: calc(100% + 4px); }
.bx.rt b { left: auto; right: -2px; }
.bx.low { border-style: dashed; opacity: .85; }

/* ------------------------------------------------------------------ the live status line, under the models */
.live { margin-top: clamp(28px, 3.4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 16px 24px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }

/* ------------------------------------------------------------------ the mission: dusk into ink, then the footer */
.mission { position: relative; background: var(--ink); color: var(--cream); }
.dusk { position: relative; height: clamp(200px, 22vw, 320px); background: linear-gradient(180deg, var(--paper) 0%, #f2e2d2 16%, #e2c3b4 34%, #9b8fa6 56%, #4d5672 76%, #262b38 90%, var(--ink) 100%); }
.dusk .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.mission-in { padding: clamp(8px, 2vw, 24px) 0 clamp(72px, 8vw, 112px); }
.m-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.mission .eyebrow { color: var(--ember-hi); }
.statement { margin-top: 16px; font: 500 clamp(48px, 6.4vw, 92px)/.98 var(--serif); letter-spacing: -.02em; color: var(--on-ink); }
.statement em { font-style: italic; color: var(--ember-hi); }
.why { max-width: 30em; margin-top: 24px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--on-ink-2); }
.mission .links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.mission .more { color: var(--on-ink); }
.mission .more:hover { color: var(--ember-hi); }
.principles li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px 0; border-top: 1px solid var(--ink-hair); }
.principles li:last-child { border-bottom: 1px solid var(--ink-hair); }
.principles canvas { width: 32px; height: 32px; margin-top: 2px; }
.principles h3 { font: 600 24px/1.2 var(--serif); letter-spacing: -.005em; color: var(--on-ink); }
.principles p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--on-ink-2); }

/* ------------------------------------------------------------------ architecture: vLLM SR as the bridge */
.how-fig { margin-top: clamp(40px, 5vw, 64px); }
.how-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 2.9fr) 48px minmax(0, 1.15fr); align-items: center; }
.how-row + .how-row { margin-top: clamp(36px, 4vw, 52px); }
.how-row-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0 0 14px 4px; font: 600 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sys-dot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 1px; background: var(--ember); }
.sys-dot.two { background: var(--sky); }
.node { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.node .label { color: var(--muted); }
.node h3 { font: 600 21px/1.15 var(--serif); letter-spacing: -.005em; }
.node p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.node code { font-size: 11.5px; overflow-wrap: anywhere; }
.node canvas { width: 24px; height: 24px; margin-bottom: 2px; }
.sr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr); align-items: center; padding: 40px 16px 16px; border: 2px dashed rgba(217, 68, 31, .62); border-radius: var(--r-lg); background: rgba(255, 253, 249, .42); }
.sr-tag { position: absolute; top: -21px; left: 20px; display: flex; align-items: center; padding: 6px 12px; border-radius: 14px; background: var(--paper-2); }
.sr-tag img { display: block; height: 28px; width: auto; }
.node.s1 { box-shadow: inset 0 0 0 1.5px rgba(217, 68, 31, .55), var(--shadow); }
.node.s1 .label { color: var(--ember-text); }
.node.s2 { box-shadow: inset 0 0 0 1.5px rgba(77, 111, 163, .5), var(--shadow); }
.node.s2 .label { color: var(--sky); }
.how-marks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.how-marks img { width: 16px; height: 16px; object-fit: contain; }
.sigs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.sigs li { padding: 4px 7px; border-radius: 6px; background: var(--ink); color: #fff; font: 500 10.5px/1 var(--mono); }
.wire { position: relative; height: 2px; align-self: center; background-image: radial-gradient(circle, rgba(22, 24, 29, .3) 1px, transparent 1.4px); background-size: 6px 2px; }
.wire::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: rgba(22, 24, 29, .35); border-right: 0; }
.wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 2px; background: var(--ember); box-shadow: 0 0 12px rgba(217, 68, 31, .55); animation: travel 2.4s var(--ease) infinite; }
.wire.slow i { background: var(--sky); box-shadow: 0 0 12px rgba(77, 111, 163, .5); animation-duration: 4.8s; }
.wire.d1 i { animation-delay: .6s; }
.wire.d2 i { animation-delay: 1.2s; }
.wire.d3 i { animation-delay: 1.8s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* ------------------------------------------------------------------ ways in */
.ways { margin-top: clamp(40px, 5vw, 56px); }
.ways .seg { display: flex; width: max-content; margin: 0 auto 28px; }
.ways .seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tab-logo { flex: none; width: 18px; height: 18px; }
.way { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
html:not(.home-js) .way + .way { margin-top: 28px; }
.way h3 { font: 500 clamp(30px, 3vw, 40px)/1.05 var(--serif); letter-spacing: -.01em; }
.way p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.way ul { margin-top: 14px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.way ul li { position: relative; padding-left: 20px; }
.way ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--ember); }
.way .codeblock:first-child { margin-top: 0; }
.way-dsh { align-items: center; }
.way .dsh-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 13px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.dsh-mark { flex: none; width: 40px; height: 40px; }
.way .more { margin-top: 18px; }

/* ------------------------------------------------------------------ the full stack: five layers, each with its maker's mark */
.stack-fig { position: relative; margin: clamp(40px, 5vw, 64px) auto 0; max-width: 60rem; }
/* The layers widen towards the hardware, like plates on a stack. */
.slabs { position: relative; display: grid; gap: 14px; }
.slab { position: relative; display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); align-items: center; gap: 20px; padding: 22px 26px; border-radius: 22px; background: var(--surface); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 0 -4px rgba(22, 24, 29, .05), 0 18px 36px rgba(40, 32, 20, .08); }
.slab:nth-child(1) { margin-inline: 9%; }
.slab:nth-child(2) { margin-inline: 6%; }
.slab:nth-child(3) { margin-inline: 3%; }
.slab-tag { display: flex; flex-direction: column; gap: 6px; font: 600 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.slab-tag b { font: 500 30px/1 var(--serif); letter-spacing: -.01em; color: var(--ember-text); }
.slab-main { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.slab h3 { display: flex; align-items: center; gap: 12px; font: 600 24px/1.15 var(--serif); letter-spacing: -.005em; color: var(--ink); }
.slab h3 code { font-size: .72em; letter-spacing: -.02em; }
.slab p { font-size: 14px; color: var(--ink-2); }
.slab p code { font-size: .92em; }
.slab canvas { flex: none; width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-2); font: 500 13.5px/1 var(--sans); color: var(--ink); }
.chips canvas { width: 16px; height: 16px; }
.chips img { flex: none; width: 18px; height: 18px; }
.s-key { background: linear-gradient(100deg, var(--surface) 0%, #fff6ee 100%); box-shadow: inset 0 0 0 1.5px rgba(161, 47, 23, .28), 0 10px 0 -4px rgba(22, 24, 29, .05), 0 18px 36px rgba(40, 32, 20, .08); }
.s-key h3 code { color: var(--key); }
.s-sr { box-shadow: inset 0 0 0 2px rgba(217, 68, 31, .5), 0 10px 0 -4px rgba(22, 24, 29, .05), 0 18px 36px rgba(40, 32, 20, .08); }
.slab-logo { flex: none; width: auto; height: 42px; }
.halves { flex: 1 1 22rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.half { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(217, 68, 31, .45); }
.half.two { box-shadow: inset 0 0 0 1.5px rgba(77, 111, 163, .5); }
.half b { font: 600 20px/1.15 var(--serif); letter-spacing: -.005em; color: var(--ink); }
.half span { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.slab-hf { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 14px; font-weight: 500; color: var(--ink); transition: box-shadow .2s; }
.slab-hf img { flex: none; width: 26px; height: 26px; }
.slab-hf:hover { box-shadow: inset 0 0 0 1px rgba(22, 24, 29, .3), var(--shadow); }
.s-hw { background: var(--ink); color: var(--on-ink); box-shadow: 0 10px 0 -4px rgba(22, 24, 29, .18), 0 22px 44px rgba(22, 24, 29, .22); }
.s-hw::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.3px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.s-hw .slab-tag { color: var(--on-ink-3); }
.s-hw .slab-tag b { color: var(--ember-hi); }
.s-hw .slab-main { justify-content: flex-start; gap: 18px 32px; }
.slab-amd { flex: none; position: relative; z-index: 1; transition: opacity .2s; }
.slab-amd img { width: auto; height: 34px; }
.slab-amd:hover { opacity: .8; }
.hw-text { position: relative; z-index: 1; }
.s-hw h3 { color: var(--on-ink); }
.s-hw p { color: var(--on-ink-2); }

.live-items { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.live-item { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.live-item b { font-weight: 600; color: var(--ink); }
.live-dot { width: 10px; height: 10px; border-radius: 2px; background: var(--faint); }
.live-dot.operational { background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 91, .14); }
.live-dot.degraded { background: var(--warn); box-shadow: 0 0 0 4px rgba(183, 121, 31, .16); }
.live-dot.down { background: var(--bad); box-shadow: 0 0 0 4px rgba(200, 53, 43, .16); }
.live-when { font: 500 12px/1.4 var(--mono); color: var(--muted); }

/* ------------------------------------------------------------------ footer: ink, after a short dusk, with the sponsor */
.foot { position: relative; margin-top: clamp(112px, 11vw, 168px); background: var(--ink); color: var(--on-ink-3); font-size: 13px; }
.foot-edge { position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(112px, 11vw, 168px); pointer-events: none; background: linear-gradient(180deg, rgba(246, 241, 231, 0) 0%, #efe0cf 26%, #c4aeaa 48%, #7d7890 68%, #3a4053 86%, var(--ink) 100%); }
/* On the home page the mission's ink runs straight into the footer. */
.home .foot { margin-top: 0; }
.home .foot-edge { display: none; }
.foot-sponsor { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 40px; padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--ink-hair); }
.foot-sponsor .eyebrow { grid-column: 1 / -1; color: var(--ember-hi); }
.foot-amd { display: block; border-radius: 8px; transition: opacity .2s; }
.foot-amd img { height: 40px; width: auto; }
.foot-amd:hover { opacity: .8; }
.foot-line { font: 500 clamp(21px, 2vw, 27px)/1.2 var(--serif); letter-spacing: -.005em; color: var(--on-ink); }
.foot-sponsor .more { color: var(--on-ink); font-size: 15px; }
.foot-sponsor .more:hover { color: var(--ember-hi); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 26px 0 20px; }
.foot-brand img { height: 32px; width: auto; opacity: .9; transition: opacity .2s; }
.foot-brand:hover img { opacity: 1; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-links a { color: var(--on-ink-2); transition: color .2s; }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--on-ink); }
.foot-tm { padding-bottom: 36px; max-width: 70em; font-size: 12px; line-height: 1.6; color: var(--on-ink-3); }
.foot-tm a { margin-left: 4px; color: var(--on-ink-2); text-decoration: underline; text-decoration-color: rgba(243, 239, 230, .28); text-underline-offset: .2em; transition: color .2s; }
.foot-tm a:hover { color: var(--on-ink); }
.page main { padding-bottom: clamp(72px, 10vw, 120px); }

/* ------------------------------------------------------------------ inner pages: docs, status, terms, privacy, 404 */
.page main { padding-top: var(--nav-h); min-height: calc(100svh - 120px); }
.page-head { padding: clamp(64px, 9vw, 112px) 0 clamp(28px, 4vw, 44px); }
.page-head .eyebrow { display: block; margin-bottom: 16px; }
.page-head h1 { font: 500 clamp(48px, 6.4vw, 88px)/1 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.page-head h1 em { font-style: italic; color: var(--key); }
.page-head p:not(.eyebrow) { margin-top: 20px; max-width: 38rem; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--ink-2); letter-spacing: -.014em; }
.page-rule { margin: 0 0 clamp(40px, 5vw, 56px); max-width: none; height: 24px; }
.docs { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 40px; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; max-height: calc(100vh - var(--nav-h) - 56px); overflow: auto; }
.toc h2 { margin-bottom: 12px; font: 600 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ember-text); }
.toc ol { display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 12px; border-left: 1px solid var(--hair-2); font-size: 14px; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left: 2px solid var(--ember); padding-left: 11px; }
.toc .sub a { padding-left: 24px; font-size: 13px; }
.toc .sub a.active { padding-left: 23px; }
.toc-mobile { display: none; margin-bottom: 28px; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.toc-mobile summary { padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 15px; list-style-position: inside; }
.toc-mobile ol { padding: 0 0 14px 20px; list-style: decimal; color: var(--muted); }
.toc-mobile li { padding: 3px 0; }
.toc-mobile a { color: var(--ink-2); }
.prose { min-width: 0; max-width: 46rem; font-size: 16.5px; line-height: 1.68; color: var(--ink-2); }
.prose > section + section, .prose > h2 { margin-top: clamp(56px, 7vw, 80px); }
.prose h2 { font: 500 clamp(32px, 3.2vw, 40px)/1.08 var(--serif); letter-spacing: -.01em; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 28px); }
.prose h2 .sys-tag { display: inline-block; margin-right: 12px; padding: 3px 9px; border-radius: 8px; vertical-align: .35em; font: 600 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ember-text); }
.prose h2 .sys-tag.two { background: var(--sky); }
.prose h3 { margin-top: 36px; font-size: 18.5px; letter-spacing: -.016em; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 28px); }
.prose .alias { display: block; height: 0; scroll-margin-top: calc(var(--nav-h) + 28px); }
.prose p[id] { scroll-margin-top: calc(var(--nav-h) + 28px); }
.prose p, .prose ul, .prose ol { margin-top: 14px; }
.prose ul { padding-left: 1.15em; list-style: disc; }
.prose ol { padding-left: 1.3em; list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--ember); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(22, 24, 29, .3); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-color: var(--ember); }
.prose :not(pre) > code { padding: .12em .4em; border-radius: 6px; background: rgba(22, 24, 29, .06); color: var(--ink); font-size: .84em; overflow-wrap: break-word; }
.prose pre { margin-top: 16px; padding: 16px 20px; border-radius: var(--r-s); background: var(--ink); overflow-x: auto; font-size: 12.8px; line-height: 1.66; color: #d9dbe0; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
.prose pre code { font-size: inherit; }
.prose pre .ln { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding-left: var(--hang, 2ch); text-indent: calc(-1 * var(--hang, 2ch)); }
.prose pre .ln:empty { min-height: 1.66em; }
.prose pre .c { color: #8b8f99; }
.prose pre .s { color: #f3d3a8; }
.prose pre .k { color: #fff; }
.prose .codeblock pre { margin-top: 0; border-radius: 0; }
.prose .muted { color: var(--muted); }
.prose .small, .prose .muted.small { font-size: 14px; }
.anchor { margin-left: 8px; color: var(--faint); font-weight: 400; text-decoration: none !important; opacity: 0; transition: opacity .15s; }
h2:hover .anchor, h3:hover .anchor, .anchor:focus { opacity: 1; }
.table-wrap { margin-top: 18px; overflow-x: auto; scrollbar-width: thin; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); font-weight: 400; }
.prose thead th { padding-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--hair-2); }
.prose tbody th { color: var(--ink); }
.prose .num { text-align: right; }
.callout { margin-top: 20px; padding: 18px 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 3px 0 0 var(--ember), var(--shadow); }
.callout.two { box-shadow: inset 3px 0 0 var(--sky), var(--shadow); }
.callout p { margin-top: 6px; font-size: 15px; }
.callout p:first-child { margin-top: 0; }
.callout .title { color: var(--ink); font-weight: 600; }
.loading-line { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.loading-line::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--ember); animation: breathe 1.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .3; } }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 13.5px; color: var(--ink-2); }
.pill b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.prose .state { display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.prose .state::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--faint); }
.prose .state.ready::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(31, 157, 91, .16); }
.prose .state.down::before { background: var(--bad); }
.prose .state.loading::before { animation: breathe 1.4s ease-in-out infinite; }
/* Retired model names, one quiet line per model that answers them (Docs and Status). Each name is a chip whose title
   carries its full ID, the form the gateway accepts. */
.retired-names { display: grid; gap: 8px; }
.retired-names:empty { display: none; }
.retired-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.retired-line p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.retired-line p code { font-size: 12.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.retired-ids { display: flex; flex-wrap: wrap; gap: 6px; }
.retired-ids li { padding: 1px 9px; border-radius: 999px; background: rgba(22, 24, 29, .055); font: 500 12px/1.6 var(--mono); color: var(--ink-2); white-space: nowrap; }
.prose .retired-names { margin-top: 18px; }
.prose .retired-line p, .prose .retired-ids { margin-top: 0; }
.prose .retired-line p { font-size: 14px; }
.prose .retired-line p code { padding: 0; background: none; }
.prose .retired-ids { padding-left: 0; list-style: none; }
.prose .retired-ids li + li { margin-top: 0; }
.prose .dsh-doc { display: flex; align-items: center; gap: 12px; margin-top: 18px; font: 600 13px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.dsh-doc img { flex: none; width: 36px; height: 36px; }
.updated { font: 500 12.5px/1.5 var(--mono); color: var(--muted); }
.legal main .wrap { width: min(100% - 2 * var(--gut), 46rem); }
.legal .prose { max-width: none; padding-bottom: 40px; }
.legal .prose h2 { font-size: clamp(28px, 2.8vw, 34px); }
.legal .prose h3 { margin-top: 26px; font-size: 17px; }
.notfound { display: flex; align-items: center; justify-content: center; min-height: calc(100svh - 120px); text-align: center; }
.notfound .page-head { padding: 64px 0; }
.notfound .page-head h1 { font-size: clamp(52px, 7vw, 96px); }
.notfound .page-head p:not(.eyebrow) { margin-inline: auto; }
.nf-links { margin-top: 36px !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; }
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .toc-mobile { display: block; }
}
@media (max-width: 600px) {
  .prose { font-size: 16px; }
  .prose pre { font-size: 12px; padding: 14px; }
  .retired-names { gap: 16px; }
  .prose .retired-line p { font-size: 13px; }
  html.js .table-wrap.stack { overflow: visible; }
  html.js .stack table, html.js .stack tbody, html.js .stack tr, html.js .stack th, html.js .stack td { display: block; width: 100%; }
  html.js .stack thead { display: none; }
  html.js .stack tr { padding: 12px 0; border-bottom: 1px solid var(--hair); }
  html.js .stack th, html.js .stack td { padding: 3px 0; border: 0; text-align: left; }
  html.js .stack tbody th { padding-bottom: 6px; }
  html.js .stack td[data-label] { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
  html.js .stack td[data-label]::before { content: attr(data-label); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  html.js .stack td.num { text-align: left; }
}

/* ------------------------------------------------------------------ status */
.st-head h1 { display: flex; align-items: center; gap: 20px; }
.st-dot { flex: none; position: relative; width: 16px; height: 16px; border-radius: 3px; background: var(--faint); transition: background-color .6s; }
.st-dot::after { content: ""; position: absolute; inset: -7px; border-radius: 6px; border: 2px solid currentColor; opacity: 0; color: transparent; }
.st-dot.operational { background: var(--ok); color: var(--ok); }
.st-dot.degraded { background: var(--warn); color: var(--warn); }
.st-dot.down { background: var(--bad); color: var(--bad); }
.st-dot.operational::after, .st-dot.degraded::after, .st-dot.down::after { animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { opacity: .5; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
.page-head p.st-checks { margin-top: 10px; max-width: 44rem; font-size: 14px; line-height: 1.5; letter-spacing: 0; color: var(--muted); }
.st-updated { min-height: 1.5em; margin-top: 12px !important; font: 500 12.5px/1.5 var(--mono) !important; color: var(--muted) !important; font-variant-numeric: tabular-nums; }
html.js .st-hist[hidden], html.js .st-window[hidden] { display: inline-flex !important; visibility: hidden; }
.st-nojs { color: var(--ink-2); }
.st-section { margin-top: clamp(48px, 6vw, 80px); }
.st-section.st-first { margin-top: clamp(16px, 2.4vw, 32px); }
.st-sechead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--hair-2); }
.st-sechead h2, .st-sechead h3 { font: 500 clamp(30px, 3vw, 38px)/1.05 var(--serif); letter-spacing: -.01em; }
.st-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.st-key span { display: inline-flex; align-items: center; gap: 7px; }
.st-key .day { width: 8px; height: 14px; }
.st-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.day { display: block; border-radius: 2px; background: rgba(22, 24, 29, .09); transition: background-color .6s; }
.day.operational { background: rgba(31, 157, 91, .82); }
.day.degraded { background: #d9a03a; }
.day.down { background: var(--bad); }
.day.partial { opacity: .5; }
.st-model { padding: 22px 0 18px; border-bottom: 1px solid var(--hair); }
.st-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(110px, .7fr) minmax(0, 2.8fr); align-items: center; gap: 12px 24px; }
.st-name { display: inline-flex; align-items: center; gap: 12px; font: 600 24px/1.1 var(--serif); letter-spacing: -.005em; white-space: nowrap; }
.st-size { font: 500 12.5px/1 var(--mono); color: var(--muted); letter-spacing: 0; }
.st-state { width: 9px; height: 9px; border-radius: 2px; background: var(--faint); transition: background-color .6s, box-shadow .6s; }
.st-state.operational { background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 91, .14); }
.st-state.degraded { background: var(--warn); box-shadow: 0 0 0 4px rgba(183, 121, 31, .16); }
.st-state.down { background: var(--bad); box-shadow: 0 0 0 4px rgba(200, 53, 43, .16); }
.st-badge { font-size: 14.5px; color: var(--ink-2); }
.st-badge.degraded { color: var(--warn-text); }
.st-badge.down { color: var(--bad); }
.st-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; font-variant-numeric: tabular-nums; }
.st-metrics div { display: flex; flex-direction: column-reverse; gap: 2px; }
.st-metrics dt { font-size: 12px; color: var(--muted); }
.st-metrics dd { font: 500 15px/1.4 var(--mono); color: var(--ink); }
.st-src { margin-left: 2px; padding: 0 4px; border: 1px solid var(--hair-2); border-radius: 4px; font-size: 10px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.st-src:empty { display: none; }
.st-bars { margin-top: 16px; display: flex; gap: 2px; height: 30px; }
.st-bars .day { flex: 1; min-width: 0; height: 100%; transition: background-color .6s, transform .25s var(--ease); }
.st-bars .day:hover { transform: scaleY(1.12); }
.st-axis { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-usage { padding-top: 28px; }
.st-totals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 24px; font-variant-numeric: tabular-nums lining-nums; }
.st-totals.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-totals.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.st-totals.six dd { font-size: clamp(34px, 3.4vw, 50px); }
.st-totals div { display: flex; flex-direction: column-reverse; gap: 6px; }
.st-totals dt { font-size: 14px; color: var(--ink-2); }
.st-totals dd { font: 500 clamp(40px, 4.2vw, 60px)/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.st-totals .st-fixed { padding-left: 24px; border-left: 1px solid var(--hair); cursor: default; }
.st-totals .st-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.st-scope { margin-left: 6px; padding: 1px 6px; border: 1px solid var(--hair-2); border-radius: 4px; font-size: 11px; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.st-charts { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); }
.st-chart { padding: 20px 22px 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.st-chart figcaption { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
.st-chart-unit { color: var(--muted); font-size: 13px; font-weight: 400; }
.st-plot { display: flex; align-items: flex-end; gap: 1px; height: 150px; border-bottom: 1px solid var(--hair-2); }
.st-plot i { flex: 1; min-width: 0; height: 100%; border-radius: 2px 2px 0 0; background: var(--ink); transform-origin: bottom center; transform: scaleY(0); transition: transform .9s var(--ease), background-color .2s; }
.st-plot.tokens i { background: rgba(217, 68, 31, .78); }
.st-plot i.missing { background: repeating-linear-gradient(45deg, rgba(22, 24, 29, .1) 0 2px, transparent 2px 5px); transform: scaleY(1); }
.st-plot.grown i { transform: scaleY(var(--h, 0)); }
.st-plot.grown i.missing { transform: scaleY(1); }
.st-plot i:hover { background: var(--ember); }
.st-day { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.st-day h3, .st-day h4 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; font-size: 14px; font-weight: 500; color: var(--ink); }
.st-share .bars li { grid-template-columns: 7.2rem minmax(0, 1fr) 3.6rem 5rem; }
.st-share .bars .n { font-family: var(--mono); font-size: 12.5px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-share .bars .bar i { background: var(--ink); }
.st-lat .bars li { grid-template-columns: 5.2rem minmax(0, 1fr) 6.4rem 4.4rem; }
.st-lat .bar { position: relative; }
.st-lat .bar i { position: absolute; inset: 0; }
.st-lat .bar .p90 { background: rgba(217, 68, 31, .32); }
.st-lat .bar .p50 { background: var(--ember); }
.st-lat .src { text-align: right; }
.st-lat .src .st-src { margin-left: 0; }
.st-lat-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.st-lat-key i { display: inline-block; width: 12px; height: 6px; border-radius: 1px; }
.st-lat-key i.p50 { background: var(--ember); }
.st-lat-key i.p90 { margin-left: 8px; background: rgba(217, 68, 31, .32); }
html.js .st-day .bars .bar i { transform: scaleX(0); transition: transform 1s var(--ease); }
html.js .st-day .bars.grown .bar i { transform: scaleX(var(--w, 0)); }
.st-usage.empty .st-totals, .st-usage.empty .st-charts, .st-usage.empty .st-day { display: none; }
.bars li.st-none { display: block; font-size: 14px; color: var(--muted); }
.st-empty { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 16px; color: var(--ink-2); }
.st-empty::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--faint); }
.st-figures { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-variant-numeric: tabular-nums; }
.st-figures div { display: flex; flex-direction: column-reverse; gap: 6px; }
.st-figures dt { font-size: 14px; color: var(--ink-2); }
.st-figures dd { font: 500 clamp(36px, 3.8vw, 52px)/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.st-figures .st-sub { font-size: 12.5px; color: var(--muted); }
.st-api-row { padding: 22px 0 18px; }
.st-retired { margin-top: 20px; }
.st-inc-scope { font-size: 13px; color: var(--muted); }
.st-incidents { margin-top: 2px; }
.st-incident { border-bottom: 1px solid var(--hair); }
.st-inc > summary { display: grid; grid-template-columns: 10px 4rem minmax(5rem, 9.5rem) minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 13px 0; cursor: pointer; list-style: none; border-radius: 6px; }
.st-inc > summary::-webkit-details-marker { display: none; }
.st-inc > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateX(-1px) rotate(-45deg); transition: transform .2s var(--ease); }
.st-inc[open] > summary::before { transform: translateY(-2px) rotate(45deg); }
.st-inc-date, .st-inc-model, .st-inc-dur { font: 500 12.5px/1.5 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-inc-model { overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.st-inc-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; color: var(--ink); transition: color .2s; }
.st-inc > summary:hover .st-inc-title { color: var(--ember-text); }
.st-inc-dur { text-align: right; }
.st-incident.open .st-inc-dur { color: var(--warn-text); font-weight: 600; }
.st-inc-body { padding: 0 0 18px 26px; }
.st-inc-full { font-size: 15px; color: var(--ink); }
.sev { flex: none; margin-right: 10px; padding: 1px 8px; border-radius: 999px; font: 600 11px/1.5 var(--mono); border: 1px solid currentColor; }
.sev.minor { color: var(--warn-text); }
.sev.major { color: #b45a14; }
.sev.critical { color: var(--bad); }
.st-inc-when { margin-top: 6px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-inc-full + .st-inc-when { margin-top: 8px; }
.st-inc-body > .st-inc-when:first-child { margin-top: 0; }
.st-inc-updates { margin-top: 12px; display: grid; gap: 8px; padding-left: 16px; border-left: 2px solid var(--hair-2); }
.st-inc-updates li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.st-inc-updates time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.tip { position: fixed; left: 0; top: 0; z-index: 90; padding: 6px 10px; border-radius: 8px; background: var(--ink); font-size: 12.5px; color: #fff; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 24px rgba(22, 24, 29, .3); }
@media (max-width: 900px) {
  .st-row { grid-template-columns: minmax(0, 1fr) auto; }
  .st-metrics { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-totals, .st-totals.four, .st-totals.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-charts, .st-day { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .st-head h1 { gap: 14px; }
  .st-dot { width: 12px; height: 12px; }
  .st-name { font-size: 21px; }
  .st-bars { height: 24px; gap: 1px; }
  .st-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-totals, .st-totals.four, .st-totals.six, .st-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-totals .st-fixed { grid-column: 1 / -1; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--hair); }
  .st-share .bars li { grid-template-columns: 6.2rem minmax(0, 1fr) 3.2rem; }
  .st-share .bars .n { display: none; }
  .st-lat .bars li { grid-template-columns: 4.4rem minmax(0, 1fr) 6.6rem 3.8rem; gap: 10px; }
  .seg-long { display: none; }
  .st-window button, .st-hist button { min-width: 0; padding: 0 14px; }
  .st-inc-updates li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .st-inc > summary { grid-template-columns: 10px auto minmax(0, 1fr) auto; grid-template-areas: "c d m u" ". t t t"; column-gap: 12px; padding: 12px 0; }
  .st-inc > summary::before { grid-area: c; }
  .st-inc-date { grid-area: d; }
  .st-inc-model { grid-area: m; }
  .st-inc-dur { grid-area: u; }
  .st-inc-title { grid-area: t; white-space: normal; }
  .st-inc-body { padding-left: 22px; }
  .st-chart { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-plot i, html.js .st-day .bars .bar i { transition: none; }
  .st-inc > summary::before { transition: none; }
  .st-dot::after { animation: none; }
}

/* ------------------------------------------------------------------ motion */
.hero-in > * { animation: enter 1.2s var(--ease) both; }
.hero-title { animation-delay: .05s; }
.hero-slogan { animation-delay: .15s; }
.hero-lede { animation-delay: .25s; }
.key { animation-delay: .35s; }
@keyframes enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
html.home-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
html.home-js [data-reveal].in { opacity: 1; transform: none; }
html.home-js [data-reveal="2"] { transition-delay: .1s; }
html.home-js [data-reveal="3"] { transition-delay: .2s; }
html.home-js [data-reveal="4"] { transition-delay: .3s; }
html.home-js [data-reveal="5"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.home-js [data-reveal] { opacity: 1; transform: none; }
  .key-phrase::after, .scroll-cue span { animation: none; }
  .wire i { display: none; }
}

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1000px) {
  .how-row { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .sr { grid-template-columns: minmax(0, 1fr); padding: 40px 14px 14px; }
  .how-row .wire, .sr .wire { justify-self: center; width: 2px; height: 32px; background-image: radial-gradient(circle, rgba(22, 24, 29, .3) 1px, transparent 1.4px); background-size: 2px 6px; }
  .how-row .wire::after, .sr .wire::after { right: auto; left: -4px; top: auto; bottom: -3px; border: 5px solid transparent; border-top-color: rgba(22, 24, 29, .35); border-bottom: 0; }
  .how-row .wire i, .sr .wire i { left: -3px; top: 0; animation-name: down; }
  .m-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .way { grid-template-columns: minmax(0, 1fr); }
  .foot-sponsor { grid-template-columns: minmax(0, 1fr); }
}
@keyframes down { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
@media (max-width: 900px) {
  .sys-grid { grid-template-columns: minmax(0, 1fr); }
  .slab { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .slab:nth-child(n) { margin-inline: 0; }
  .slab-tag { flex-direction: row; align-items: baseline; gap: 10px; }
  .slab-tag b { font-size: 22px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .brand img { height: 32px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .nav-cta { margin-left: 0; padding: 7px 13px; font-size: 13px; }
  .nav-in { gap: 12px; }
  .nav-in .nav-links { margin-left: auto; }
  .menu { display: block; }
  .ways .seg { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; justify-content: flex-start; }
  .ways .seg::-webkit-scrollbar { display: none; }
  .ways .seg button { flex: none; min-width: 0; padding: 0 15px; }
  .live { border-radius: var(--r-lg); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-in { padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(150px, 24vh, 220px); }
  .hero-title { font-size: clamp(64px, 20vw, 88px); }
  .hero-slogan { font-size: clamp(26px, 7.6vw, 32px); }
  .ridges { height: 30%; }
  .btn-primary { min-width: 15rem; height: 54px; }
  .consent { font-size: 12.5px; }
  .section { padding: clamp(72px, 18vw, 96px) 0; }
  .title, .h2 { font-size: clamp(40px, 11vw, 48px); }
  .lead, .lede { margin-top: 14px; font-size: 17px; }
  .mosaic-rule { margin-bottom: 32px; }
  .key-panel { padding: 18px 16px; border-radius: 22px; }
  .kp-key { flex-direction: column; align-items: stretch; padding: 14px; gap: 12px; border-radius: 16px; }
  .kp-key .copy { align-self: flex-start; }
  .kp-warn { margin-left: 4px; }
  .kp-snip .code { padding-right: 14px; padding-top: 52px; }
  .code { font-size: 11.5px; padding: 14px; }
  .bx b { padding: 0 5px; font-size: 10px; }
  .bars li { grid-template-columns: 3.2rem minmax(0, 1fr) 4rem; gap: 10px; }
  .sys { padding: 22px 18px; border-radius: 22px; }
  .sys-list tbody th { font-size: 19px; }
  .sys-list .hf .lbl { display: none; }
  .sys-list .hf { padding: 5px; }
  .sys-list .num { font-size: 12.5px; }
  .any-model { padding: 14px 14px 16px; }
  .marks { gap: 6px; }
  .marks li { padding: 4px 10px 4px 6px; font-size: 12.5px; }
  .pool li { padding: 12px 14px 12px 12px; }
  .pool .n { gap: 10px; font-size: 18px; }
  .way { padding: 20px 16px; border-radius: 22px; }
  .way .codeblock pre { padding: 14px; font-size: 11.5px; }
  .slab { padding: 18px 16px; border-radius: 18px; }
  .halves { grid-template-columns: minmax(0, 1fr); flex-basis: 100%; }
  .slab-logo { height: 34px; }
  .slab-amd img { height: 28px; }
  .dsh-mark { width: 34px; height: 34px; }
  .foot-amd img { height: 34px; }
}
@media (max-width: 380px) {
  .brand img { height: 28px; }
  .sys-list th:not(:last-child), .sys-list td:not(:last-child) { padding-right: 6px; }
  .sys-list thead th { font-size: 10px; letter-spacing: .025em; }
  .sys-list .score-note { font-size: 11px; white-space: normal; text-wrap: balance; }
  .sys-list .score-est { font-size: 11px; }
  .sys-list tbody th { font-size: 17px; }
  .sys-list .name { gap: 7px; }
}
@media (min-width: 1800px) {
  :root { --wrap: 1280px; }
  body { font-size: 18px; }
  .hero-title { font-size: clamp(168px, 8.8vw, 200px); }
  .hero-slogan { font-size: clamp(46px, 2.4vw, 54px); }
  .btn-primary { height: 60px; font-size: 18px; }
  .consent { font-size: 14px; }
}
