/* index.html, the homepage — "the intelligence layer for coding agents".
 *
 * Designed in Telemetry (charcoal panels, hairlines, mono labels, bracketed eyebrows, one signal colour:
 * --tm-accent*, the visitor's Telemetry colour pick, amber by default) and drawn by this file in all five
 * visitor themes, like the Air Router page (air-router.css):
 *   Telemetry  html[data-final="telemetry"]                  the base tokens below
 *   Night      html:not([data-theme="studio"])               the live Final Dark look
 *   Day        html[data-theme="studio"] (data-final="light") the live Final Light look
 *   Cloud      html[data-final="cloud"]                      the soft app-store light (cloud.css)
 *   Cloud Dark html[data-final="cloud"][data-cloud="dark"]   Cloud on a charcoal ground (cloud-dark.css)
 * The palettes are tokens; the theme blocks at the end change the few shapes that differ (eyebrows,
 * buttons, headline accents, corners, shadows). Everything this file draws is marked data-st-own, so
 * studio-icons.js and the theme layers' generic rules leave it alone. Every rule is scoped under .th;
 * home-tm.js runs the demos. The hero's cost-saving visual is the old homepage's (.airllm-hero-viz, its
 * own <style id="hero-viz-style"> + hero-viz.js), painted by the shared theme layers as it was there. */

/* ── Tokens ─────────────────────────────────────────────────────────────────────────────────── */
.th {
  --th-ink: #eceef1; --th-mid: #b7bdc6; --th-muted: #9aa2ae; --th-dim: #8a929e;
  --th-line: #22262c; --th-line2: #2c3138; --th-line3: #3d444e;
  --th-panel: #111316; --th-panel2: #16191d; --th-well: #08090b; --th-band: #0e1013;
  --th-acc: var(--tm-accent, #ffb020); --th-acc-rgb: var(--tm-accent-rgb, 255 176 32);
  --th-acc-hi: var(--tm-accent-hi, #ffc34d); --th-acc-ink: var(--tm-accent-ink, #1a1100);
  --th-fast: #c9d1db; --th-fast-rgb: 201 209 219;      /* routine work: a cool neutral, so any signal colour reads as "strong" */
  --th-ok: #4ade80; --th-ok-rgb: 74 222 128; --th-err: #f87171; --th-err-rgb: 248 113 113; --th-warn: #fb923c;
  --th-lights: #5b6470;
  --th-sheen: inset 0 1px 0 rgb(255 255 255 / .035);
  --th-shadow: inset 0 1px 0 rgb(255 255 255 / .035), 0 30px 60px -40px rgb(0 0 0 / .9);
  --th-card-shadow: var(--th-sheen);
  --th-btn-bg: var(--th-acc); --th-btn-fg: var(--th-acc-ink); --th-btn-line: var(--th-acc);
  --th-btn-hi: var(--th-acc-hi); --th-btn-hi-line: var(--th-acc-hi);
  --th-btn-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 0 0 1px rgb(0 0 0 / .4), 0 10px 24px -14px rgb(var(--th-acc-rgb) / .7);
  --th-btn-font: var(--th-mono); --th-r-btn: 6px;
  --th-mono: var(--ft-mono, 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace);
  --th-display: var(--ft-display, 'Sora', 'Manrope', system-ui, sans-serif);
  --th-sans: var(--ft-sans, 'Manrope', system-ui, sans-serif);
  --th-r: 8px; --th-r-sm: 6px;
  --th-ease: cubic-bezier(.2, .8, .2, 1);
  display: block; position: relative; color: var(--th-ink); font-family: var(--th-sans);
  font-size: 16px; line-height: 1.6; letter-spacing: -.005em; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Night: the live Final Dark look — black ground, cyan signal, blue → violet actions. */
html:not([data-theme="studio"]) .th {
  --th-ink: #ffffff; --th-mid: #b4bbc6; --th-muted: #9ca3af; --th-dim: #8a93a2;
  --th-line: rgb(255 255 255 / .08); --th-line2: rgb(255 255 255 / .12); --th-line3: rgb(255 255 255 / .2);
  --th-panel: #0e0e10; --th-panel2: #141417; --th-well: #08080a; --th-band: #0a0a0a;
  --th-acc: #00f0ff; --th-acc-rgb: 0 240 255; --th-acc-hi: #5cf6ff; --th-acc-ink: #00191c;
  --th-fast: #c9d1db; --th-fast-rgb: 201 209 219;
  --th-ok: #4ade80; --th-ok-rgb: 74 222 128; --th-err: #f87171; --th-err-rgb: 248 113 113; --th-warn: #fb923c;
  --th-r: 16px; --th-r-sm: 12px; --th-r-btn: 999px; --th-btn-font: var(--th-sans);
  --th-head-grad: linear-gradient(90deg, #3b82f6 0%, #8a2be2 50%, #00f0ff 100%);
  --th-btn-bg: linear-gradient(90deg, #0055ff 0%, #8a2be2 100%); --th-btn-fg: #ffffff; --th-btn-line: transparent;
  --th-btn-hi: linear-gradient(90deg, #1a66ff 0%, #9a40ee 100%); --th-btn-hi-line: transparent;
  --th-btn-shadow: 0 0 30px rgb(138 43 226 / .3), inset 0 1px 0 rgb(255 255 255 / .2);
  --th-lights: rgb(255 255 255 / .28);
  --th-sheen: inset 0 1px 0 rgb(255 255 255 / .04);
  --th-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 30px 60px -30px rgb(0 0 0 / .85);
}
/* Day: the live Final Light look — off-white ground, grey bands, teal signal, teal → navy actions.
   (Also what the hidden ?theme= previews get.) */
html[data-theme="studio"]:not([data-final="telemetry"]) .th {
  --th-ink: #0b1622; --th-mid: #2e3b4a; --th-muted: #4a5a6b; --th-dim: #4a5a6b;
  --th-line: rgb(11 22 34 / .11); --th-line2: rgb(11 22 34 / .17); --th-line3: rgb(11 22 34 / .26);
  --th-panel: #ffffff; --th-panel2: #f6f8fa; --th-well: #f1f4f8; --th-band: #eef2f7;
  --th-acc: #0c6a84; --th-acc-rgb: 12 106 132; --th-acc-hi: #155e75; --th-acc-ink: #ffffff;
  --th-fast: #475569; --th-fast-rgb: 71 85 105;
  --th-ok: #036b4e; --th-ok-rgb: 3 107 78; --th-err: #b42318; --th-err-rgb: 180 35 24; --th-warn: #9a3412;
  --th-r: 16px; --th-r-sm: 12px; --th-r-btn: 999px; --th-btn-font: var(--th-sans);
  --th-head-grad: linear-gradient(90deg, #0e7490 0%, #1e40af 100%);
  --th-btn-bg: linear-gradient(90deg, #0e7490 0%, #1e40af 100%); --th-btn-fg: #ffffff; --th-btn-line: transparent;
  --th-btn-hi: linear-gradient(90deg, #155e75 0%, #1e3a8a 100%); --th-btn-hi-line: transparent;
  --th-btn-shadow: 0 10px 26px -14px rgb(14 116 144 / .6);
  --th-lights: rgb(11 22 34 / .3);
  --th-sheen: 0 0 0 0 transparent;
  --th-shadow: 0 1px 2px rgb(11 22 34 / .06), 0 10px 26px -18px rgb(11 22 34 / .45);
  --th-card-shadow: 0 1px 2px rgb(11 22 34 / .05), 0 8px 22px -18px rgb(11 22 34 / .4);
}
/* Cloud: the soft app-store light — lavender-grey ground, white cards with wide soft shadows, one action blue. */
html[data-theme="studio"][data-final="cloud"] .th {
  --th-ink: #090a0d; --th-mid: #474a56; --th-muted: #5f6270; --th-dim: #5f6270;
  --th-line: rgb(24 27 38 / .07); --th-line2: rgb(24 27 38 / .12); --th-line3: rgb(24 27 38 / .2);
  --th-panel: #ffffff; --th-panel2: #f7f8fb; --th-well: #f7f8fb; --th-band: #fafbfd;
  --th-acc: #0060c4; --th-acc-rgb: 0 96 196; --th-acc-hi: #0058b0; --th-acc-ink: #ffffff;
  --th-fast: #5f6270; --th-fast-rgb: 95 98 112;
  --th-ok: #006b4f; --th-ok-rgb: 0 107 79; --th-err: #c0102c; --th-err-rgb: 192 16 44; --th-warn: #954400;
  --th-r: 24px; --th-r-sm: 14px; --th-r-btn: 16px; --th-btn-font: var(--th-sans);
  --th-head-ink: #555864;
  --th-btn-bg: #0071e3; --th-btn-fg: #ffffff; --th-btn-line: #0071e3;
  --th-btn-hi: #0066d6; --th-btn-hi-line: #0066d6;
  --th-btn-shadow: 0 16px 34px rgb(10 132 255 / .22);
  --th-lights: rgb(24 27 38 / .25);
  --th-sheen: 0 0 0 0 transparent;
  --th-shadow: 0 20px 55px rgb(70 72 105 / .07);
  --th-card-shadow: 0 20px 55px rgb(70 72 105 / .07);
}
/* Cloud Dark: Cloud on Telemetry's charcoal lifted 10%; the same action blue. */
html[data-theme="studio"][data-final="cloud"][data-cloud="dark"] .th {
  --th-ink: #ffffff; --th-mid: #cfd1d8; --th-muted: #b4b7c0; --th-dim: #a7abb5;
  --th-line: rgb(255 255 255 / .07); --th-line2: rgb(255 255 255 / .12); --th-line3: rgb(255 255 255 / .2);
  --th-panel: #2c2e32; --th-panel2: #313338; --th-well: #1c1d20; --th-band: #27292c;
  --th-acc: #9ccbff; --th-acc-rgb: 156 203 255; --th-acc-hi: #b8d9ff; --th-acc-ink: #0a1a2e;
  --th-fast: #cfd1d8; --th-fast-rgb: 207 209 216;
  --th-ok: #7ee2b8; --th-ok-rgb: 126 226 184; --th-err: #ffadb5; --th-err-rgb: 255 173 181; --th-warn: #ffcb7a;
  --th-head-ink: #a9acb6;
  --th-btn-shadow: 0 16px 34px rgb(10 132 255 / .3);
  --th-lights: rgb(255 255 255 / .3);
  --th-shadow: 0 20px 55px rgb(0 0 0 / .34);
  --th-card-shadow: 0 20px 55px rgb(0 0 0 / .3);
}
.th *, .th *::before, .th *::after { box-sizing: border-box; }
.th :focus-visible { outline: 2px solid var(--th-acc); outline-offset: 3px; border-radius: 4px; }
.th a { color: inherit; text-decoration: none; }
.th p, .th h1, .th .th-headline, .th h2, .th h3, .th ol, .th ul, .th dl, .th dd, .th figure { margin: 0; }
.th ol, .th ul { padding: 0; list-style: none; }
.th svg { display: block; }
.th .th-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.th .th-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

/* ── Type ───────────────────────────────────────────────────────────────────────────────────── */
.th .th-headline, .th h2, .th h3 { font-family: var(--th-display); color: var(--th-ink); text-wrap: balance; }
.th .th-headline { font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.th h2 { font-size: clamp(1.9rem, 3.9vw, 3.2rem); line-height: 1.06; font-weight: 600; letter-spacing: -.038em; }
.th h3 { font-size: 1.06rem; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.th .th-acc { color: var(--th-acc); }
.th .th-quiet { color: var(--th-muted); }
.th .th-eyebrow { display: inline-flex; gap: 8px; margin-bottom: 18px; font-family: var(--th-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--th-acc); }
.th .th-eyebrow::before { content: "["; color: var(--th-muted); letter-spacing: 0; }
.th .th-eyebrow::after { content: "]"; color: var(--th-muted); letter-spacing: 0; }
.th .th-lede { margin-top: 20px; max-width: 62ch; font-size: clamp(1.02rem, 1.35vw, 1.15rem); line-height: 1.65; color: var(--th-mid); text-wrap: pretty; }
.th .th-lede + .th-lede { margin-top: 12px; }
.th .th-mono { font-family: var(--th-mono); }
.th .th-statement { margin-top: clamp(28px, 4vw, 44px); display: flex; align-items: center; gap: 14px; font-family: var(--th-display);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem); font-weight: 600; letter-spacing: -.02em; color: var(--th-ink); }
.th .th-statement::before { content: "\203A"; flex: none; font-family: var(--th-mono); font-weight: 700; color: var(--th-acc); }
.th .th-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--th-line3); border-radius: 4px;
  font-family: var(--th-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--th-muted); }

/* ── Sections ───────────────────────────────────────────────────────────────────────────────── */
.th [hidden] { display: none !important; }
.th .th-sec { position: relative; padding-block: clamp(76px, 9vw, 124px); }
.th .th-band { background: var(--th-band); border-block: 1px solid var(--th-line); }
.th .th-head { max-width: 860px; }
.th .th-head-c { margin-inline: auto; text-align: center; }
.th .th-head-c .th-lede { margin-inline: auto; }
.th .th-body { margin-top: clamp(36px, 5vw, 56px); }

/* ── Buttons ────────────────────────────────────────────────────────────────────────────────── */
.th .th-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.th .th-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--th-r-btn); font-family: var(--th-btn-font); font-size: 14px; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--th-ease), background-color .2s, border-color .2s, color .2s; }
.th .th-btn svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--th-ease); }
.th .th-btn-p { background: var(--th-btn-bg); color: var(--th-btn-fg); border-color: var(--th-btn-line); box-shadow: var(--th-btn-shadow); }
.th .th-btn-p:hover { background: var(--th-btn-hi); border-color: var(--th-btn-hi-line); transform: translateY(-1px); }
.th .th-btn-p:hover svg { transform: translateX(3px); }
.th .th-btn-s { background: var(--th-panel); color: var(--th-ink); border-color: var(--th-line3); box-shadow: var(--th-sheen); }
.th .th-btn-s:hover { color: var(--th-acc); border-color: var(--th-acc); background: var(--th-panel2); }
.th .th-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--th-mono); font-size: 13.5px; font-weight: 600; color: var(--th-acc); }
.th .th-link::after { content: "\2192"; transition: transform .2s var(--th-ease); }
.th .th-link:hover::after { transform: translateX(3px); }

/* ── Surfaces ───────────────────────────────────────────────────────────────────────────────── */
.th .th-panel { position: relative; background: var(--th-panel); border: 1px solid var(--th-line); border-radius: var(--th-r);
  box-shadow: var(--th-shadow); }
.th .th-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--th-line);
  font-family: var(--th-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--th-muted); }
.th .th-bar .th-live { margin-left: auto; color: var(--th-ok); letter-spacing: .1em; }
.th .th-bar .th-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; vertical-align: 1px;
  background: var(--th-ok); box-shadow: 0 0 0 0 rgb(var(--th-ok-rgb) / .6); animation: th-led 2.2s ease-out infinite; }
.th .th-lights { display: inline-flex; gap: 6px; }
.th .th-lights i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--th-lights); }
.th .th-card { padding: 22px; background: var(--th-panel); border: 1px solid var(--th-line); border-radius: var(--th-r);
  box-shadow: var(--th-card-shadow); transition: border-color .2s, transform .25s var(--th-ease), box-shadow .25s var(--th-ease); }
.th .th-card:hover { border-color: var(--th-line3); }
.th .th-card h3 { margin-top: 14px; }
.th .th-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--th-mid); }
.th .th-ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--th-r-sm);
  background: rgb(var(--th-acc-rgb) / .07); box-shadow: inset 0 0 0 1px rgb(var(--th-acc-rgb) / .3); color: var(--th-acc); }
.th .th-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.th .th-grid2, .th .th-grid3, .th .th-grid4 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .th .th-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th .th-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .th .th-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .th .th-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Tier chips: routine work in the cool neutral, strong work in the signal colour. */
.th .th-tier { display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px; border-radius: 4px; white-space: nowrap;
  font-family: var(--th-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.th .th-tier::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.th .t-fast { color: var(--th-fast); background: rgb(var(--th-fast-rgb) / .08); box-shadow: inset 0 0 0 1px rgb(var(--th-fast-rgb) / .28); }
.th .t-strong { color: var(--th-acc); background: rgb(var(--th-acc-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--th-acc-rgb) / .4); }

/* Scroll reveal (only once home-tm.js runs, so the page reads without it). */
.th.th-js .th-rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--th-ease), transform .7s var(--th-ease); }
.th.th-js .th-rv.is-in { opacity: 1; transform: none; }

/* ── 1 · Hero ───────────────────────────────────────────────────────────────────────────────── */
.th .th-hero { padding-block: calc(80px + clamp(56px, 8vw, 104px)) clamp(56px, 7vw, 88px); }
.th .th-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 52% at 78% 34%, rgb(var(--th-acc-rgb) / .07), transparent 70%); }
.th .th-hero-g { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
/* the right column reaches the visual's full 600px at the widest wrap, as on the old homepage */
@media (min-width: 1024px) { .th .th-hero-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); } }
.th .th-hero .th-headline { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.th .th-hero .th-key { margin-top: 18px; font-family: var(--th-display); font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 600; letter-spacing: -.015em; color: var(--th-ink); }
.th .th-hero .th-note { margin-top: 16px; font-family: var(--th-mono); font-size: 12.5px; color: var(--th-muted); }
/* The cost-saving visual from the old homepage, unchanged: its own #hero-viz-style + the page's theme tokens. */
.th .th-hero-viz { position: relative; min-width: 0; }
.th .th-compat { position: relative; margin-top: clamp(48px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--th-line); }
.th .th-compat ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.th .th-compat li { padding: 7px 12px; border: 1px solid var(--th-line2); border-radius: var(--th-r-sm); background: var(--th-panel);
  font-family: var(--th-mono); font-size: 12.5px; color: var(--th-mid); }
.th .th-compat li.is-own { color: var(--th-acc); border-color: rgb(var(--th-acc-rgb) / .45); }
.th .th-compat p { margin-top: 14px; font-size: 14px; color: var(--th-muted); }

/* ── 2 · Pick how you want to code ──────────────────────────────────────────────────────────── */
.th .th-pick { display: flex; flex-direction: column; padding: 26px; }
.th .th-pick:hover { border-color: rgb(var(--th-acc-rgb) / .45); }
.th .th-pick h3 { margin-top: 20px; font-size: 1.35rem; letter-spacing: -.025em; }
.th .th-pick p { flex: 1; }
.th .th-pick .th-link { margin-top: 22px; align-self: flex-start; }

/* ── 3 · Trajectory ─────────────────────────────────────────────────────────────────────────── */
.th .th-traj { margin-top: clamp(36px, 5vw, 52px); overflow: hidden; }
.th .th-traj-user { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--th-line); background: var(--th-panel2); }
.th .th-traj-user q { font-family: var(--th-display); font-size: clamp(1rem, 1.6vw, 1.18rem); font-weight: 600; color: var(--th-ink); quotes: "\201C" "\201D"; }
.th .th-traj-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .th .th-traj-body { grid-template-columns: minmax(0, 1fr) 190px; } }
.th .th-steps { counter-reset: none; }
.th .th-step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "n s t" ". k t";
  align-items: center; gap: 2px 14px; min-height: 58px; padding: 10px 20px; border-bottom: 1px solid var(--th-line); transition: background-color .35s; }
/* Narrow phones: the model pill moves under the step name, so a long word ("authentication") never runs under it. */
@media (max-width: 399.98px) { .th .th-step { grid-template-columns: 26px auto minmax(0, 1fr); grid-template-areas: "n s s" ". t k"; gap: 4px 10px; padding: 10px 14px; } }
@media (min-width: 640px) { .th .th-step { grid-template-columns: 34px minmax(0, 1fr) 22px 132px 104px; grid-template-areas: "n s a t k"; gap: 14px; } }
.th .th-step:last-child { border-bottom: 0; }
.th .th-step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--th-acc); transform: scaleY(0); transition: transform .35s var(--th-ease); }
.th .th-step .n { grid-area: n; font-family: var(--th-mono); font-size: 12px; color: var(--th-dim); }
.th .th-step .s { grid-area: s; font-weight: 600; font-size: 15px; color: var(--th-ink); }
.th .th-step .a { grid-area: a; display: none; font-family: var(--th-mono); color: var(--th-dim); }
@media (min-width: 640px) { .th .th-step .a { display: block; } }
.th .th-step .th-tier { grid-area: t; justify-self: start; }
.th .th-step .k { grid-area: k; font-family: var(--th-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--th-muted); }
/* the demo's states: pending rows are quiet, the active row is lit, done rows settle */
.th .th-traj.is-run .th-step { opacity: .38; }
.th .th-traj.is-run .th-step .th-tier { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--th-ease); }
.th .th-traj.is-run .th-step.is-done, .th .th-traj.is-run .th-step.is-on { opacity: 1; transition: opacity .35s; }
.th .th-traj.is-run .th-step.is-done .th-tier, .th .th-traj.is-run .th-step.is-on .th-tier { opacity: 1; transform: none; }
.th .th-traj.is-run .th-step.is-on { background: rgb(var(--th-acc-rgb) / .045); }
.th .th-traj.is-run .th-step.is-on::before { transform: scaleY(1); }
.th .th-trace { position: relative; display: none; border-left: 1px solid var(--th-line); }
@media (min-width: 900px) { .th .th-trace { display: block; } }
.th .th-trace-head { position: absolute; top: -1px; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; }
.th .th-trace svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.th .th-trace .lane { stroke: var(--th-line2); stroke-width: 1; stroke-dasharray: 2 4; }
.th .th-trace .lane-lbl { font-family: var(--th-mono); font-size: 9.5px; letter-spacing: .12em; fill: var(--th-dim); text-transform: uppercase; }
.th .th-trace .path { fill: none; stroke: var(--th-acc); stroke-width: 1.6; stroke-linejoin: round; transition: stroke-dashoffset .5s var(--th-ease); }
.th .th-trace .dot { r: 4.5; fill: var(--th-panel); stroke-width: 1.6; opacity: .25; transition: opacity .3s, r .3s; }
.th .th-trace .dot.f { stroke: var(--th-fast); }
.th .th-trace .dot.s { stroke: var(--th-acc); }
.th .th-trace .dot.is-on { opacity: 1; fill: currentColor; }
.th .th-trace .dot.f.is-on { fill: var(--th-fast); }
.th .th-trace .dot.s.is-on { fill: var(--th-acc); }
.th .th-traj-foot { padding: 18px 20px; border-top: 1px solid var(--th-line); background: var(--th-panel2); font-family: var(--th-display);
  font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.12rem); letter-spacing: -.01em; color: var(--th-ink); }
.th .th-traj-foot b { color: var(--th-acc); font-weight: 600; }

/* ── 3 · The difference ─────────────────────────────────────────────────────────────────────── */
.th .th-ask { display: grid; gap: 10px; margin-top: 26px; font-size: 15px; color: var(--th-mid); }
.th .th-ask q { display: block; margin-top: 4px; font-family: var(--th-display); font-size: 1.12rem; font-weight: 600; color: var(--th-ink); quotes: "\201C" "\201D"; }
.th .th-ask .is-ours q { color: var(--th-acc); }
.th .th-compare { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(36px, 5vw, 52px); }
@media (min-width: 760px) { .th .th-compare { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.th .th-flow { padding: 22px; }
.th .th-flow figcaption { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-family: var(--th-mono);
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--th-muted); }
.th .th-flow ol { position: relative; display: grid; gap: 22px; }
.th .th-flow li { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--th-line2);
  border-radius: var(--th-r-sm); background: var(--th-panel2); font-family: var(--th-mono); font-size: 13px; color: var(--th-mid); }
.th .th-flow li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 100%; width: 1px; height: 22px; background: var(--th-line3); }
.th .th-flow-dim li { color: var(--th-muted); }
.th .th-flow-acc { border-color: rgb(var(--th-acc-rgb) / .3); }
.th .th-flow-acc figcaption { color: var(--th-acc); }
.th .th-flow-acc ol { padding-right: 34px; }
.th .th-flow-acc ol::after { content: ""; position: absolute; right: 6px; top: 64px; bottom: 21px; width: 18px; border: 1.5px dashed rgb(var(--th-acc-rgb) / .5);
  border-left: 0; border-radius: 0 10px 10px 0; }
/* the loop back to "Understand step": the agent's next step goes round again */
.th .th-flow-acc ol::before { content: "next step"; position: absolute; right: 15px; top: 50%; z-index: 1; transform: translate(50%, -50%) rotate(90deg);
  padding: 0 6px; background: var(--th-panel); font-family: var(--th-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--th-acc); white-space: nowrap; }
.th .th-flow-acc li { animation: th-flowpulse 7s var(--th-ease) infinite; }
.th .th-flow-acc li:nth-child(2) { animation-delay: .7s; } .th .th-flow-acc li:nth-child(3) { animation-delay: 1.4s; }
.th .th-flow-acc li:nth-child(4) { animation-delay: 2.1s; } .th .th-flow-acc li:nth-child(5) { animation-delay: 2.8s; }
.th .th-flow-acc li:nth-child(6) { animation-delay: 3.5s; } .th .th-flow-acc li:nth-child(7) { animation-delay: 4.2s; }
.th .th-flow-acc li.is-branch { justify-content: space-between; flex-wrap: wrap; color: var(--th-ink); }
.th .th-flow-acc li.is-branch span { color: var(--th-acc); }

/* ── 4 · Route (agent-step cards) ───────────────────────────────────────────────────────────── */
.th .th-meter { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 18px; }
.th .th-meter i { flex: 1; border-radius: 2px; background: var(--th-line2); transition: background-color .4s, height .4s var(--th-ease); }
.th .th-meter i:nth-child(1) { height: 25%; } .th .th-meter i:nth-child(2) { height: 50%; }
.th .th-meter i:nth-child(3) { height: 75%; } .th .th-meter i:nth-child(4) { height: 100%; }
.th .th-meter[data-level="1"] i:nth-child(-n+1), .th .th-meter[data-level="2"] i:nth-child(-n+2),
.th .th-meter[data-level="3"] i:nth-child(-n+3), .th .th-meter[data-level="4"] i:nth-child(-n+4) { background: var(--th-acc); }
.th .th-meter[data-level="1"] i:nth-child(1) { background: var(--th-fast); }
.th .th-meter-lbl { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--th-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--th-dim); }
.th .th-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ── 5 · Escalate (quality ratchet) ─────────────────────────────────────────────────────────── */
.th .th-ratchet-head { display: grid; gap: 24px; align-items: end; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .th .th-ratchet-head { grid-template-columns: minmax(0, 1fr) auto; } }
.th .th-up { display: flex; align-items: center; gap: .14em; font-family: var(--th-display); font-weight: 600; font-size: clamp(4rem, 11vw, 9rem);
  line-height: .9; letter-spacing: -.06em; color: var(--th-acc); }
.th .th-up svg { width: .62em; height: .62em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.th .th-ratchet { margin-top: clamp(32px, 4vw, 48px); padding: 26px clamp(18px, 3vw, 30px) 30px; }
.th .th-ratchet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-family: var(--th-mono);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--th-muted); }
.th .th-tiers { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 4vw, 40px); }
.th .th-tiers li { position: relative; padding: 14px 12px; border: 1px solid var(--th-line2); border-radius: var(--th-r-sm); background: var(--th-panel2);
  font-family: var(--th-mono); font-size: clamp(11px, 1.3vw, 13px); font-weight: 600; text-align: center; color: var(--th-dim);
  transition: color .4s, border-color .4s, background-color .4s, box-shadow .4s; }
.th .th-tiers li:not(:last-child)::after { content: "\2192"; position: absolute; left: 100%; top: 50%; width: clamp(18px, 4vw, 40px); transform: translateY(-50%);
  text-align: center; font-weight: 400; color: var(--th-line3); }
.th .th-tiers li.is-held { color: var(--th-mid); border-color: rgb(var(--th-acc-rgb) / .3); }
.th .th-tiers li.is-on { color: var(--th-acc-ink); background: var(--th-acc); border-color: var(--th-acc); box-shadow: 0 0 0 4px rgb(var(--th-acc-rgb) / .12); }
.th .th-tiers li .lk { position: absolute; top: -9px; right: -7px; display: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%;
  background: var(--th-panel); border: 1px solid rgb(var(--th-acc-rgb) / .5); color: var(--th-acc); }
.th .th-tiers li.is-held .lk { display: block; }
.th .th-tiers .lk svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.th .th-ratchet-track { position: relative; height: 3px; margin-top: 22px; border-radius: 3px; background: var(--th-line2); overflow: hidden; }
.th .th-ratchet-track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 12.5%); background: linear-gradient(90deg, var(--th-fast), var(--th-acc));
  transition: width .6s var(--th-ease); }
.th .th-ratchet-foot { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--th-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--th-dim); }
.th .th-callout { margin-top: clamp(28px, 4vw, 40px); padding: 22px 24px; border: 1px solid rgb(var(--th-acc-rgb) / .35); border-radius: var(--th-r);
  background: rgb(var(--th-acc-rgb) / .05); font-family: var(--th-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -.02em; color: var(--th-ink); }
.th .th-callout b { color: var(--th-acc); font-weight: 600; }

/* ── 6 · Optimize (effective cost) ──────────────────────────────────────────────────────────── */
.th .th-econ { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: stretch; margin-top: clamp(36px, 5vw, 52px); }
@media (min-width: 820px) { .th .th-econ { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); } }
.th .th-opt { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.th .th-opt-k { font-family: var(--th-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--th-dim); }
.th .th-opt h3 { margin-top: -6px; font-size: 1.3rem; }
.th .th-opt-price { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px dashed var(--th-line3); border-radius: var(--th-r-sm);
  font-family: var(--th-mono); font-size: 12.5px; color: var(--th-mid); }
.th .th-opt ul { display: grid; gap: 8px; font-size: 14.5px; color: var(--th-mid); }
.th .th-opt li { display: flex; align-items: center; gap: 10px; }
.th .th-opt li::before { flex: none; width: 18px; font-family: var(--th-mono); font-weight: 700; text-align: center; }
.th .th-opt-switch li::before { content: "+"; color: var(--th-err); }
.th .th-opt-stay li::before { content: "\2713"; color: var(--th-ok); }
.th .th-eff { margin-top: auto; padding-top: 10px; }
.th .th-eff-lbl { display: flex; justify-content: space-between; margin-bottom: 8px; font-family: var(--th-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--th-dim); }
.th .th-eff-bar { display: flex; height: 10px; border-radius: 3px; background: var(--th-well); overflow: hidden; }
.th .th-eff-bar i { display: block; height: 100%; width: 0; transition: width 1s var(--th-ease); }
.th .th-eff-bar .base { background: var(--th-fast); }
.th .th-eff-bar .extra { background: repeating-linear-gradient(135deg, rgb(var(--th-err-rgb) / .75) 0 4px, rgb(var(--th-err-rgb) / .35) 4px 8px); }
.th .th-eff-bar .warm { background: var(--th-acc); }
.th .th-econ.is-in .th-opt-switch .base { width: 30%; } .th .th-econ.is-in .th-opt-switch .extra { width: 62%; transition-delay: .6s; }
.th .th-econ.is-in .th-opt-stay .warm { width: 54%; transition-delay: .3s; }
.th .th-opt-stay { border-color: rgb(var(--th-acc-rgb) / .45); box-shadow: 0 0 0 1px rgb(var(--th-acc-rgb) / .15), var(--th-card-shadow); }
.th .th-opt-pick { align-self: flex-start; margin-top: 4px; }
.th .th-vs { display: grid; place-items: center; font-family: var(--th-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--th-dim); }
.th .th-econ-note { margin-top: 10px; font-family: var(--th-mono); font-size: 11px; color: var(--th-dim); }
.th .th-mini .th-card { padding: 20px; }

/* ── 7 · How AirLLM saves you money (five steps, lit in turn) ─────────────────────────────────── */
.th .th-hiw-steps { position: relative; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
.th .th-hiw-step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.th .th-hiw-node { position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: var(--th-panel); border: 1px solid var(--th-line3); color: var(--th-acc);
  animation: th-hiw-lit 7.5s ease-in-out infinite; animation-delay: calc(var(--n) * 1.5s); }
.th .th-hiw-node svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.th .th-hiw-node b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center;
  border-radius: 10px; background: var(--th-acc); color: var(--th-acc-ink); font-family: var(--th-mono); font-size: 10.5px; font-weight: 700; }
.th .th-hiw-card { height: 100%; padding: 20px; background: var(--th-panel); border: 1px solid var(--th-line); border-radius: var(--th-r);
  box-shadow: var(--th-card-shadow); transition: border-color .2s; }
.th .th-hiw-card:hover { border-color: var(--th-line3); }
.th .th-hiw-card h3 { font-size: 1.02rem; }
.th .th-hiw-card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--th-mid); }
.th .th-hiw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.th .th-hiw-chips li { padding: 3px 8px; border: 1px solid var(--th-line2); border-radius: 4px; font-family: var(--th-mono); font-size: 11px; color: var(--th-mid); }
.th .th-hiw-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 10px; border-radius: var(--th-r-sm);
  border: 1px solid rgb(var(--th-acc-rgb) / .3); background: rgb(var(--th-acc-rgb) / .06); font-family: var(--th-mono); font-size: 11.5px; color: var(--th-ink); }
.th .th-hiw-card p.th-hiw-note { color: var(--th-ink); font-size: 11.5px; line-height: 1.4; }
.th .th-hiw-note svg { width: 13px; height: 13px; flex: none; fill: none; stroke: var(--th-acc); stroke-width: 2; stroke-linejoin: round; }
/* the rail: down the nodes on narrow screens, across them once the steps sit in one row */
.th .th-hiw-step:not(:last-child)::before { content: ""; position: absolute; left: 26px; top: 52px; bottom: -14px; width: 1px;
  background: linear-gradient(180deg, var(--th-line3), rgb(var(--th-acc-rgb) / .5)); }
@media (min-width: 1100px) {
  .th .th-hiw-step:not(:last-child)::before { content: none; }
  .th .th-hiw-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .th .th-hiw-step { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; justify-items: center; gap: 18px; text-align: center; }
  .th .th-hiw-card { width: 100%; }
  .th .th-hiw-chips { justify-content: center; }
  .th .th-hiw-note { justify-content: center; }
  .th .th-hiw-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 1px;
    background: linear-gradient(90deg, var(--th-line3), rgb(var(--th-acc-rgb) / .5), var(--th-line3)); }
}
.th .th-hiw-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: clamp(36px, 5vw, 52px); padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(90deg, rgb(var(--th-acc-rgb) / .06), transparent 60%), var(--th-panel); }
.th .th-hiw-cta > div { flex: 1 1 320px; min-width: 0; }
.th .th-hiw-cta-t { font-family: var(--th-display); font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 600; letter-spacing: -.02em; color: var(--th-ink); }
.th .th-hiw-cta-s { margin-top: 4px; font-size: 14px; color: var(--th-muted); }

/* ── Shared split layout (Protect, Reliability, …) ───────────────────────────────────────────── */
.th .th-split { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) { .th .th-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .th .th-split.is-rev > :first-child { order: 2; } }
/* ── 8 · Protect (runaway loop) ─────────────────────────────────────────────────────────────── */
.th .th-term { overflow: hidden; background: var(--th-well); }
.th .th-term-body { position: relative; min-height: 380px; padding: 16px 18px 20px; font-family: var(--th-mono); font-size: 13px; line-height: 1.85; color: var(--th-mid); }
.th .th-term-body .ln { display: flex; gap: 12px; }
.th .th-term-body .ln .r { color: var(--th-dim); width: 18px; flex: none; }
.th .th-term-body .ln b { font-weight: 500; color: var(--th-ink); }
.th .th-term-body .ln .fail { color: var(--th-err); font-weight: 600; }
.th .th-term-body .ln.gap { height: 10px; }
.th.th-js .th-term[data-state] .ln { opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.th.th-js .th-term .ln.is-in { opacity: 1; transform: none; }
.th .th-alert { margin-top: 12px; padding: 14px; border: 1px solid rgb(var(--th-err-rgb) / .55); border-radius: var(--th-r-sm); background: rgb(var(--th-err-rgb) / .07); }
.th .th-alert-t { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .14em; color: var(--th-err); }
.th .th-alert-t::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--th-err); box-shadow: 0 0 8px rgb(var(--th-err-rgb) / .8); }
.th .th-alert p { margin-top: 6px; color: var(--th-ink); }
.th .th-alert p span { color: var(--th-acc); }
.th .th-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.th .th-acts span { padding: 4px 10px; border: 1px solid var(--th-line3); border-radius: 4px; font-size: 11.5px; color: var(--th-muted); transition: color .3s, border-color .3s, background-color .3s; }
.th .th-acts em { font-style: normal; color: var(--th-dim); }
.th .th-acts span.is-on { color: var(--th-acc); border-color: var(--th-acc); background: rgb(var(--th-acc-rgb) / .08); }
.th .th-acts span.is-stop.is-on { color: var(--th-err); border-color: var(--th-err); background: rgb(var(--th-err-rgb) / .08); }
.th.th-js .th-term[data-state] .th-alert, .th.th-js .th-term[data-state] .th-acts { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--th-ease); }
.th.th-js .th-term[data-state="alert"] .th-alert, .th.th-js .th-term[data-state="alert"] .th-acts { opacity: 1; transform: none; }

/* ── 9 · Reliability ────────────────────────────────────────────────────────────────────────── */
.th .th-rel { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); margin-top: clamp(32px, 4vw, 44px); border: 1px solid var(--th-line); border-radius: var(--th-r); background: var(--th-panel); overflow: hidden; }
@media (min-width: 720px) { .th .th-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .th .th-rel { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.th .th-rel > div { padding: 22px; border-bottom: 1px solid var(--th-line); }
@media (min-width: 720px) { .th .th-rel > div { border-right: 1px solid var(--th-line); } }
.th .th-rel h3 { margin-top: 14px; font-size: 1rem; }
.th .th-rel p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--th-mid); }

/* ── 10 · AirCode reveal ────────────────────────────────────────────────────────────────────── */
.th .th-reveal { background: var(--th-well); border-block: 1px solid var(--th-line); overflow: hidden; }
.th .th-reveal::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--th-acc), transparent); }
.th .th-reveal::after { content: ""; position: absolute; left: 50%; top: -40%; width: 900px; height: 520px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--th-acc-rgb) / .1), transparent); }
.th .th-reveal .th-wrap { position: relative; z-index: 1; }
.th .th-reveal h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
.th .th-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; margin-top: clamp(40px, 5vw, 56px); }
@media (min-width: 820px) { .th .th-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); } }
.th .th-pair-node { padding: 20px; text-align: center; }
.th .th-pair-node .th-mono { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--th-muted); }
.th .th-pair-node b { font-family: var(--th-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.th .th-pair-node.is-acc { border-color: rgb(var(--th-acc-rgb) / .5); }
.th .th-pair-node.is-acc b { color: var(--th-acc); }
.th .th-wires { position: relative; display: grid; gap: 8px; }
.th .th-wire { position: relative; display: flex; align-items: center; gap: 10px; font-family: var(--th-mono); font-size: 11.5px; color: var(--th-muted); }
.th .th-wire::before, .th .th-wire::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, rgb(var(--th-acc-rgb) / .55) 0 4px, transparent 4px 8px);
  background-size: 16px 1px; animation: th-wire 1.2s linear infinite; }
.th .th-wire.is-back::before, .th .th-wire.is-back::after { animation-direction: reverse; }
.th .th-wire span { white-space: nowrap; }

/* ── 11 · Verified autonomy ─────────────────────────────────────────────────────────────────── */
.th .th-auto { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(36px, 5vw, 52px); }
@media (min-width: 960px) { .th .th-auto { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.th .th-bounds { position: relative; padding: clamp(36px, 5vw, 52px) clamp(14px, 3vw, 28px); }
.th .th-bounds-frame { position: absolute; inset: 14px; border: 1.5px dashed rgb(var(--th-acc-rgb) / .4); border-radius: 12px; pointer-events: none; }
.th .th-limit { position: absolute; z-index: 2; padding: 3px 9px; border: 1px solid rgb(var(--th-acc-rgb) / .5); border-radius: 4px; background: var(--th-panel);
  font-family: var(--th-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--th-acc); }
.th .th-limit.l1 { top: 4px; left: 50%; transform: translateX(-50%); }
.th .th-limit.l2 { bottom: 4px; left: 28px; }
.th .th-limit.l3 { bottom: 4px; right: 28px; }
.th .th-ring { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; }
.th .th-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.th .th-ring .rail { fill: none; stroke: var(--th-line3); stroke-width: 1.5; stroke-dasharray: 3 6; }
.th .th-ring .runner { fill: var(--th-acc); filter: drop-shadow(0 0 6px rgb(var(--th-acc-rgb) / .9)); }
.th .th-ring .rnode { position: absolute; transform: translate(-50%, -50%); padding: 8px 12px; border: 1px solid var(--th-line3); border-radius: var(--th-r-sm);
  background: var(--th-panel2); font-family: var(--th-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--th-mid); }
.th .th-ring .rnode.is-goal { color: var(--th-acc); border-color: rgb(var(--th-acc-rgb) / .55); }
/* on the rail (r = 37.5% of the box), clockwise from the top, 72° apart */
.th .th-ring .rnode.p1 { left: 50%; top: 12.5%; } .th .th-ring .rnode.p2 { left: 85.7%; top: 38.4%; } .th .th-ring .rnode.p3 { left: 72%; top: 80.3%; }
.th .th-ring .rnode.p4 { left: 28%; top: 80.3%; } .th .th-ring .rnode.p5 { left: 14.3%; top: 38.4%; }
.th .th-ring .rnode { animation: th-ringnode 6s linear infinite; }
.th .th-ring .rnode.p2 { animation-delay: 1.2s; } .th .th-ring .rnode.p3 { animation-delay: 2.4s; } .th .th-ring .rnode.p4 { animation-delay: 3.6s; } .th .th-ring .rnode.p5 { animation-delay: 4.8s; }
.th .th-decide { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); display: grid; gap: 8px; text-align: center; font-family: var(--th-mono); font-size: 12px; }
.th .th-decide span { padding: 6px 12px; border: 1px solid var(--th-line2); border-radius: 4px; white-space: nowrap; color: var(--th-dim); }
.th .th-decide .pass { animation: th-pass 12s linear infinite; }
.th .th-decide .fail { animation: th-fail 12s linear infinite; }
.th .th-ckpt { padding: 22px; display: flex; flex-direction: column; }
.th .th-ckpt ol { position: relative; display: grid; gap: 18px; margin-top: 16px; padding-left: 26px; }
.th .th-ckpt ol::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--th-line3); }
.th .th-ckpt li { position: relative; font-family: var(--th-mono); font-size: 13px; color: var(--th-mid); transition: color .3s; }
.th .th-ckpt li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--th-line3); background: var(--th-panel); transition: background-color .3s, border-color .3s; }
.th .th-ckpt li.is-on { color: var(--th-ink); }
.th .th-ckpt li.is-on::before { background: var(--th-acc); border-color: var(--th-acc); }
.th .th-ckpt li.is-bad.is-on { color: var(--th-err); }
.th .th-ckpt li.is-bad.is-on::before { background: var(--th-err); border-color: var(--th-err); }
.th .th-ckpt li.is-back.is-on { color: var(--th-ok); }
.th .th-ckpt li.is-back.is-on::before { background: var(--th-ok); border-color: var(--th-ok); }
.th .th-ckpt li small { display: block; font-size: 11.5px; color: var(--th-dim); }
.th .th-ckpt .th-ckpt-foot { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--th-muted); }

/* ── 12 · Done means verified ───────────────────────────────────────────────────────────────── */
.th .th-check { overflow: hidden; }
.th .th-check-g { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .th .th-check-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.th .th-check-col { padding: 20px 22px; border-bottom: 1px solid var(--th-line); }
@media (min-width: 820px) { .th .th-check-col + .th-check-col { border-left: 1px solid var(--th-line); } }
.th .th-check-col h3 { font-family: var(--th-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--th-muted); }
.th .th-check-col .task { margin-top: 8px; font-family: var(--th-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.th .th-check-col ul { display: grid; gap: 8px; margin-top: 12px; }
.th .th-check-col li { display: flex; align-items: center; gap: 10px; font-family: var(--th-mono); font-size: 13px; color: var(--th-mid); }
.th .th-check-col li::before { content: "\2713"; display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 4px; font-weight: 700; font-size: 11px;
  color: var(--th-ok); background: rgb(var(--th-ok-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--th-ok-rgb) / .35); }
.th.th-js .th-check[data-state] li::before { content: ""; color: transparent; background: transparent; box-shadow: inset 0 0 0 1px var(--th-line3); transition: all .25s; }
.th.th-js .th-check[data-state] li.is-on::before { content: "\2713"; color: var(--th-ok); background: rgb(var(--th-ok-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--th-ok-rgb) / .35); }
.th .th-check-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; background: var(--th-panel2); }
.th .th-stamp { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px; border: 2px solid var(--th-ok); border-radius: 6px;
  font-family: var(--th-mono); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 700; letter-spacing: .2em; color: var(--th-ok); }
.th.th-js .th-check[data-state] .th-stamp { opacity: .14; transform: scale(.96); filter: grayscale(1); transition: opacity .4s, transform .4s var(--th-ease), filter .4s; }
.th.th-js .th-check[data-state="verified"] .th-stamp { opacity: 1; transform: none; filter: none; }
.th .th-check-status p { font-size: 14.5px; color: var(--th-mid); }

/* ── 13 · Watch ─────────────────────────────────────────────────────────────────────────────── */
.th .th-watch { padding: 24px; }
.th .th-watch-g { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .th .th-watch-g { grid-template-columns: 150px 22px 150px 22px minmax(0, 1fr); } }
.th .th-wnode { padding: 12px 14px; border: 1px solid var(--th-line2); border-radius: var(--th-r-sm); background: var(--th-panel2); text-align: center;
  font-family: var(--th-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--th-mid); transition: color .3s, border-color .3s, background-color .3s; }
.th .th-warr { text-align: center; font-family: var(--th-mono); color: var(--th-dim); }
@media (max-width: 899px) { .th .th-warr { transform: rotate(90deg); } }
.th .th-branch { display: grid; gap: 10px; }
.th .th-branch > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border: 1px dashed var(--th-line2); border-radius: var(--th-r-sm); transition: border-color .3s, opacity .3s; }
.th .th-branch .th-wnode { padding: 8px 10px; font-size: 11.5px; }
.th .th-branch em { font-style: normal; font-family: var(--th-mono); color: var(--th-dim); }
.th .th-watch[data-run="pass"] .w-save, .th .th-watch[data-run="fail"] .w-save,
.th .th-watch[data-run="pass"] .w-run, .th .th-watch[data-run="fail"] .w-run { color: var(--th-ink); border-color: var(--th-line3); }
.th .th-watch[data-run="pass"] .b-pass { border-color: rgb(var(--th-ok-rgb) / .55); }
.th .th-watch[data-run="pass"] .b-pass .th-wnode { color: var(--th-ok); border-color: rgb(var(--th-ok-rgb) / .5); }
.th .th-watch[data-run="pass"] .b-fail { border-color: var(--th-line); }
.th .th-watch[data-run="pass"] .b-fail .th-wnode { color: var(--th-muted); border-color: var(--th-line); background: transparent; }
.th .th-watch[data-run="fail"] .b-fail { border-color: rgb(var(--th-err-rgb) / .55); }
.th .th-watch[data-run="fail"] .b-fail .w-fail { color: var(--th-err); border-color: rgb(var(--th-err-rgb) / .5); }
.th .th-watch[data-run="fail"] .b-fail .w-model { color: var(--th-acc); border-color: rgb(var(--th-acc-rgb) / .55); background: rgb(var(--th-acc-rgb) / .07); }
.th .th-watch[data-run="fail"] .b-pass { border-color: var(--th-line); }
.th .th-watch[data-run="fail"] .b-pass .th-wnode { color: var(--th-muted); border-color: var(--th-line); background: transparent; }
.th .th-watch-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--th-line);
  font-family: var(--th-mono); font-size: 12px; color: var(--th-muted); }
.th .th-watch-foot b { color: var(--th-ink); font-weight: 600; }

/* ── 14 · Three products ────────────────────────────────────────────────────────────────────── */
.th .th-prod { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.th .th-prod .th-mono { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--th-muted); }
.th .th-prod h3 { margin-top: 0; font-size: 1.6rem; letter-spacing: -.03em; }
.th .th-prod p { margin-top: 0; flex: 1; }
.th .th-prod.is-core { border-color: rgb(var(--th-acc-rgb) / .55); background: linear-gradient(180deg, rgb(var(--th-acc-rgb) / .07), transparent 55%), var(--th-panel);
  box-shadow: 0 0 0 1px rgb(var(--th-acc-rgb) / .2), 0 30px 60px -36px rgb(var(--th-acc-rgb) / .35); }
.th .th-prod.is-core .th-mono { color: var(--th-acc); }
.th .th-prod .th-btn { align-self: flex-start; margin-top: 6px; }
.th .th-stack { display: grid; justify-items: center; gap: 0; margin-top: clamp(36px, 5vw, 52px); }
.th .th-stack span { min-width: min(100%, 340px); padding: 11px 18px; border: 1px solid var(--th-line2); border-radius: var(--th-r-sm); background: var(--th-panel);
  text-align: center; font-family: var(--th-mono); font-size: 13px; font-weight: 600; color: var(--th-mid); }
.th .th-stack span.is-acc { color: var(--th-acc); border-color: rgb(var(--th-acc-rgb) / .5); }
.th .th-stack span.is-prov { font-weight: 500; color: var(--th-muted); border-style: dashed; }
.th .th-stack i { width: 1px; height: 18px; background: var(--th-line3); }
.th .th-stack-cap { margin-top: 16px; text-align: center; font-size: 14px; color: var(--th-muted); }

/* ── 15 · Tools / 16 · Families ─────────────────────────────────────────────────────────────── */
.th .th-tools { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 720px) { .th .th-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .th .th-tools { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.th .th-tools li { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px; border: 1px solid var(--th-line); border-radius: var(--th-r);
  background: var(--th-panel); text-align: center; font-family: var(--th-mono); font-size: 13px; font-weight: 600; color: var(--th-ink); }
.th .th-own { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; color: var(--th-mid); }
.th .th-fam { padding: 24px; }
.th .th-fam code { font-family: var(--th-mono); font-size: 1.05rem; font-weight: 600; color: var(--th-acc); }
.th .th-fam p { margin-top: 10px; font-size: 14.5px; color: var(--th-mid); }
.th .th-fam-tiers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--th-mono); font-size: 12.5px; }
.th .th-fam-tiers span { padding: 6px 10px; border: 1px solid var(--th-line2); border-radius: 4px; color: var(--th-mid); }
.th .th-fam-tiers span:nth-of-type(2) { border-color: rgb(var(--th-acc-rgb) / .3); }
.th .th-fam-tiers span:nth-of-type(3) { border-color: rgb(var(--th-acc-rgb) / .6); color: var(--th-acc); }
.th .th-fam-tiers em { font-style: normal; color: var(--th-dim); }

/* ── 18 · Dashboard ─────────────────────────────────────────────────────────────────────────── */
.th .th-dash { overflow: hidden; margin-top: clamp(32px, 4vw, 48px); }
.th .th-dash-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--th-line); }
@media (min-width: 720px) { .th .th-dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .th .th-dash-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.th .th-kpi { padding: 16px 18px; border-right: 1px solid var(--th-line); border-bottom: 1px solid var(--th-line); margin-bottom: -1px; }
.th .th-kpi small { display: block; font-family: var(--th-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--th-muted); }
.th .th-kpi .sk { display: block; height: 18px; width: 64%; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--th-panel2), var(--th-line2), var(--th-panel2));
  background-size: 200% 100%; animation: th-shimmer 2.4s linear infinite; }
.th .th-kpi .sp { display: block; height: 22px; margin-top: 8px; }
.th .th-kpi .sp path { fill: none; stroke: rgb(var(--th-acc-rgb) / .7); stroke-width: 1.4; }
.th .th-kpi.is-saved .sp path { stroke: var(--th-ok); }
.th .th-dash-tl { padding: 18px; border-bottom: 1px solid var(--th-line); }
.th .th-dash-tl h3, .th .th-dash-tbl h3 { font-family: var(--th-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--th-muted); }
.th .th-tl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.th .th-tl span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--th-line2); border-radius: 4px; font-family: var(--th-mono); font-size: 12px; color: var(--th-mid); }
.th .th-tl em { font-style: normal; color: var(--th-dim); }
.th .th-tl span { transition: border-color .3s, background-color .3s; }
.th .th-tl span.is-on { border-color: rgb(var(--th-acc-rgb) / .55); background: rgb(var(--th-acc-rgb) / .06); }
.th .th-tl b { font-weight: 600; }
.th .th-dash-tbl { padding: 18px; overflow-x: auto; }
.th .th-dash-tbl table { width: 100%; min-width: 620px; margin-top: 10px; border-collapse: collapse; font-family: var(--th-mono); font-size: 12.5px; }
.th .th-dash-tbl th { padding: 8px 10px; text-align: left; font-weight: 600; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--th-dim); border-bottom: 1px solid var(--th-line2); }
.th .th-dash-tbl td { padding: 10px; color: var(--th-mid); border-bottom: 1px solid var(--th-line); white-space: nowrap; }
.th .th-dash-tbl td .sk { display: inline-block; height: 10px; border-radius: 2px; background: var(--th-line2); vertical-align: middle; }
.th .th-example { float: right; }

/* ── 19 · Pricing ───────────────────────────────────────────────────────────────────────────── */
.th .th-plans { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 44px); }
@media (min-width: 720px) { .th .th-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .th .th-plans { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.th .th-plan { padding: 18px 16px; border: 1px solid var(--th-line); border-radius: var(--th-r); background: var(--th-panel); }
.th .th-plan small { display: block; font-family: var(--th-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--th-muted); }
.th .th-plan b { display: block; margin-top: 8px; font-family: var(--th-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; color: var(--th-ink); }
.th .th-plan b span { font-family: var(--th-sans); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--th-muted); }
.th .th-plan.is-payg { border-color: rgb(var(--th-acc-rgb) / .5); }
.th .th-plan.is-payg b { font-size: 1.15rem; line-height: 1.3; color: var(--th-acc); }
.th .th-honest { display: grid; gap: 10px; margin-top: 24px; padding: 20px 22px; border-left: 2px solid var(--th-acc); background: var(--th-panel); border-radius: 0 var(--th-r) var(--th-r) 0; }
.th .th-honest p { font-size: 15px; color: var(--th-mid); }
.th .th-honest p:first-child { font-family: var(--th-display); font-size: 1.1rem; font-weight: 600; color: var(--th-ink); }

/* ── 20 · FAQ ───────────────────────────────────────────────────────────────────────────────── */
.th .th-faq { max-width: 860px; margin: clamp(32px, 4vw, 44px) auto 0; border-top: 1px solid var(--th-line); }
.th .th-faq details { border-bottom: 1px solid var(--th-line); }
.th .th-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none;
  font-family: var(--th-display); font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; color: var(--th-ink); }
.th .th-faq summary::-webkit-details-marker { display: none; }
.th .th-faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--th-line3); border-radius: 4px;
  font-family: var(--th-mono); color: var(--th-acc); transition: transform .25s var(--th-ease); }
.th .th-faq details[open] summary::after { transform: rotate(45deg); }
.th .th-faq summary:hover { color: var(--th-acc); }
.th .th-faq .a { display: grid; gap: 10px; padding: 0 4px 22px; font-size: 15px; line-height: 1.65; color: var(--th-mid); }
.th .th-faq .a strong { color: var(--th-ink); }

/* ── 21 · Final CTA ─────────────────────────────────────────────────────────────────────────── */
.th .th-final { text-align: center; padding-block: clamp(96px, 12vw, 150px); overflow: hidden; border-top: 1px solid var(--th-line); }
.th .th-final::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 1000px; height: 520px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--th-acc-rgb) / .1), transparent); }
.th .th-final .th-wrap { position: relative; }
.th .th-final h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.th .th-final .th-lede { margin-inline: auto; }
.th .th-final .th-ctas { justify-content: center; }
.th .th-final .th-note { margin-top: 18px; font-family: var(--th-mono); font-size: 12.5px; color: var(--th-muted); }

/* ── Theme shapes ───────────────────────────────────────────────────────────────────────────── */
/* Telemetry's bracketed mono eyebrows become the site's LED pills in Night and Day, and Cloud's
   spaced grey caps; headline accents take each theme's treatment. Colours are all tokens above. */
html:not([data-final="telemetry"]) .th .th-eyebrow { align-items: center; padding: 5px 13px; border: 1px solid rgb(var(--th-acc-rgb) / .3);
  border-radius: 999px; background: rgb(var(--th-acc-rgb) / .07); font-family: var(--th-sans); font-size: 12px; letter-spacing: .1em; }
html:not([data-final="telemetry"]) .th .th-eyebrow::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
html:not([data-final="telemetry"]) .th .th-eyebrow::after { content: none; }
html:not([data-final="telemetry"]) .th :is(.th-headline, h2) .th-acc { background: var(--th-head-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

html[data-final="cloud"] .th .th-eyebrow { padding: 0; border: 0; border-radius: 0; background: none; font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; color: var(--th-muted); }
html[data-final="cloud"] .th .th-eyebrow::before { content: none; }
html[data-final="cloud"] .th :is(.th-headline, h2) { font-weight: 650; letter-spacing: -.04em; }
html[data-final="cloud"] .th :is(.th-headline, h2) .th-acc { background: none; -webkit-text-fill-color: currentColor; color: var(--th-head-ink); }
html[data-final="cloud"] .th .th-band { background: var(--th-band); }
html[data-final="cloud"] .th :is(.th-card, .th-panel, .th-hiw-card, .th-plan, .th-tools li, .th-rel) { border-color: rgb(24 27 38 / .045); }
html[data-final="cloud"][data-cloud="dark"] .th :is(.th-card, .th-panel, .th-hiw-card, .th-plan, .th-tools li, .th-rel) { border-color: rgb(255 255 255 / .06); }
html[data-final="cloud"] .th :is(.th-plan, .th-tools li, .th-rel, .th-honest) { box-shadow: var(--th-card-shadow); }
html[data-final="cloud"] .th .th-btn { transition: transform .25s var(--th-ease), box-shadow .25s var(--th-ease), background-color .25s; }
html[data-final="cloud"] .th .th-btn-p:hover { transform: translateY(-3px); box-shadow: 0 21px 42px rgb(10 132 255 / .28); }
html[data-final="cloud"] .th .th-btn-s { border-color: var(--th-line); box-shadow: var(--th-card-shadow); }
html[data-final="cloud"] .th .th-btn-s:hover { transform: translateY(-3px); color: var(--th-ink); border-color: var(--th-line2); }
html[data-final="cloud"] .th :is(.th-card, .th-pick):hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { html[data-final="cloud"] .th :is(.th-btn, .th-card, .th-pick):hover { transform: none; } }

/* ── Motion ─────────────────────────────────────────────────────────────────────────────────── */
@keyframes th-led { 0% { box-shadow: 0 0 0 0 rgb(var(--th-ok-rgb) / .55); } 100% { box-shadow: 0 0 0 7px rgb(var(--th-ok-rgb) / 0); } }
@keyframes th-flowpulse { 0%, 100% { border-color: var(--th-line2); color: var(--th-mid); } 6%, 14% { border-color: var(--th-acc); color: var(--th-ink); box-shadow: 0 0 0 3px rgb(var(--th-acc-rgb) / .1); } 22% { border-color: var(--th-line2); box-shadow: none; } }
@keyframes th-wire { to { background-position: 16px 0; } }
@keyframes th-ringnode { 0%, 100% { border-color: var(--th-line3); } 3%, 14% { border-color: var(--th-acc); color: var(--th-ink); box-shadow: 0 0 0 3px rgb(var(--th-acc-rgb) / .12); } 20% { border-color: var(--th-line3); box-shadow: none; } }
@keyframes th-pass { 0%, 40%, 100% { color: var(--th-dim); border-color: var(--th-line2); } 45%, 92% { color: var(--th-ok); border-color: rgb(var(--th-ok-rgb) / .6); } }
@keyframes th-fail { 0%, 100% { color: var(--th-dim); border-color: var(--th-line2); } 5%, 40% { color: var(--th-err); border-color: rgb(var(--th-err-rgb) / .6); } 45% { color: var(--th-dim); border-color: var(--th-line2); } }
@keyframes th-hiw-lit { 0%, 100% { border-color: var(--th-line3); box-shadow: none; } 4%, 16% { border-color: var(--th-acc); box-shadow: 0 0 0 4px rgb(var(--th-acc-rgb) / .12), 0 0 22px -6px rgb(var(--th-acc-rgb) / .6); } 22% { border-color: var(--th-line3); box-shadow: none; } }
@keyframes th-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .th *, .th *::before, .th *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .th .th-ring .runner { display: none; }
}

/* SEO (2026-10-20): the hero's eyebrow is the page's <h1>, carrying the search phrase; the big display headline under
   it is p.th-headline (the rules above that styled "h1" now style it). The eyebrow keeps its own look: these undo what
   final-type.css gives every h1 (the display face) and keep a wrapped eyebrow readable. */
.th h1.th-eyebrow { font-family: var(--th-mono); line-height: 1.5; text-wrap: balance; }
/* Telemetry brackets the eyebrow: as a block, a long one wraps with its brackets beside the words instead of at the edges. */
html[data-final="telemetry"] .th h1.th-eyebrow { display: block; }
html[data-final="telemetry"] .th h1.th-eyebrow::before { margin-right: 8px; }
html[data-final="telemetry"] .th h1.th-eyebrow::after { margin-left: 8px; }
