/* coding-tools.html — the Coding Tools page (since 2026-10-19; the page it replaced is in backup/): keep your coding
 * agent, let Air Router optimize the cost.
 *
 * One idea drawn throughout: your agent → Air Router → the best-fit model, with the request in the signal colour
 * and the response coming back in green. 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, with the same tokens as the Platform page (platform-page.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 <main> is marked data-st-own, so studio-icons.js and the theme layers' generic rules leave it alone. Every rule
 * is scoped under .ct; coding-tools-page.js draws the hero's wires and runs the demos (without it, every diagram
 * shows its finished state). */

/* ── Tokens ─────────────────────────────────────────────────────────────────────────────────── */
.ct {
  --ct-ink: #eceef1; --ct-mid: #b7bdc6; --ct-muted: #9aa2ae; --ct-dim: #8a929e;
  --ct-line: #22262c; --ct-line2: #2c3138; --ct-line3: #3d444e;
  --ct-panel: #111316; --ct-panel2: #16191d; --ct-well: #08090b; --ct-band: #0e1013;
  --ct-acc: var(--tm-accent, #ffb020); --ct-acc-rgb: var(--tm-accent-rgb, 255 176 32);
  --ct-acc-hi: var(--tm-accent-hi, #ffc34d); --ct-acc-ink: var(--tm-accent-ink, #1a1100);
  --ct-ok: #4ade80; --ct-ok-rgb: 74 222 128;
  --ct-lights: #5b6470;
  --ct-sheen: inset 0 1px 0 rgb(255 255 255 / .035);
  --ct-shadow: inset 0 1px 0 rgb(255 255 255 / .035), 0 30px 60px -40px rgb(0 0 0 / .9);
  --ct-card-shadow: var(--ct-sheen);
  --ct-win-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 0 0 1px rgb(0 0 0 / .45), 0 50px 90px -50px rgb(0 0 0 / .95);
  --ct-btn-bg: var(--ct-acc); --ct-btn-fg: var(--ct-acc-ink); --ct-btn-line: var(--ct-acc);
  --ct-btn-hi: var(--ct-acc-hi); --ct-btn-hi-line: var(--ct-acc-hi);
  --ct-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(--ct-acc-rgb) / .7);
  --ct-btn-font: var(--ct-mono); --ct-r-btn: 6px;
  --ct-mono: var(--ft-mono, 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace);
  --ct-display: var(--ft-display, 'Sora', 'Manrope', system-ui, sans-serif);
  --ct-sans: var(--ft-sans, 'Manrope', system-ui, sans-serif);
  --ct-r: 8px; --ct-r-sm: 6px; --ct-r-win: 10px;
  --ct-ease: cubic-bezier(.2, .8, .2, 1);
  display: block; position: relative; color: var(--ct-ink); font-family: var(--ct-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"]) .ct {
  --ct-ink: #ffffff; --ct-mid: #b4bbc6; --ct-muted: #9ca3af; --ct-dim: #8a93a2;
  --ct-line: rgb(255 255 255 / .08); --ct-line2: rgb(255 255 255 / .12); --ct-line3: rgb(255 255 255 / .2);
  --ct-panel: #0e0e10; --ct-panel2: #141417; --ct-well: #08080a; --ct-band: #0a0a0a;
  --ct-acc: #00f0ff; --ct-acc-rgb: 0 240 255; --ct-acc-hi: #5cf6ff; --ct-acc-ink: #00191c;
  --ct-ok: #4ade80; --ct-ok-rgb: 74 222 128;
  --ct-r: 16px; --ct-r-sm: 12px; --ct-r-win: 14px; --ct-r-btn: 999px; --ct-btn-font: var(--ct-sans);
  --ct-head-grad: linear-gradient(90deg, #3b82f6 0%, #8a2be2 50%, #00f0ff 100%);
  --ct-btn-bg: linear-gradient(90deg, #0055ff 0%, #8a2be2 100%); --ct-btn-fg: #ffffff; --ct-btn-line: transparent;
  --ct-btn-hi: linear-gradient(90deg, #1a66ff 0%, #9a40ee 100%); --ct-btn-hi-line: transparent;
  --ct-btn-shadow: 0 0 30px rgb(138 43 226 / .3), inset 0 1px 0 rgb(255 255 255 / .2);
  --ct-lights: rgb(255 255 255 / .28);
  --ct-sheen: inset 0 1px 0 rgb(255 255 255 / .04);
  --ct-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 30px 60px -30px rgb(0 0 0 / .85);
  --ct-win-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 0 80px -30px rgb(0 240 255 / .14), 0 50px 90px -50px rgb(0 0 0 / .95);
}
/* 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"]) .ct {
  --ct-ink: #0b1622; --ct-mid: #2e3b4a; --ct-muted: #4a5a6b; --ct-dim: #4a5a6b;
  --ct-line: rgb(11 22 34 / .11); --ct-line2: rgb(11 22 34 / .17); --ct-line3: rgb(11 22 34 / .26);
  --ct-panel: #ffffff; --ct-panel2: #f6f8fa; --ct-well: #eef1f5; --ct-band: #eef2f7;
  --ct-acc: #0c6a84; --ct-acc-rgb: 12 106 132; --ct-acc-hi: #155e75; --ct-acc-ink: #ffffff;
  --ct-ok: #036b4e; --ct-ok-rgb: 3 107 78;
  --ct-r: 16px; --ct-r-sm: 12px; --ct-r-win: 14px; --ct-r-btn: 999px; --ct-btn-font: var(--ct-sans);
  --ct-head-grad: linear-gradient(90deg, #0e7490 0%, #1e40af 100%);
  --ct-btn-bg: linear-gradient(90deg, #0e7490 0%, #1e40af 100%); --ct-btn-fg: #ffffff; --ct-btn-line: transparent;
  --ct-btn-hi: linear-gradient(90deg, #155e75 0%, #1e3a8a 100%); --ct-btn-hi-line: transparent;
  --ct-btn-shadow: 0 10px 26px -14px rgb(14 116 144 / .6);
  --ct-lights: rgb(11 22 34 / .3);
  --ct-sheen: 0 0 0 0 transparent;
  --ct-shadow: 0 1px 2px rgb(11 22 34 / .06), 0 10px 26px -18px rgb(11 22 34 / .45);
  --ct-card-shadow: 0 1px 2px rgb(11 22 34 / .05), 0 8px 22px -18px rgb(11 22 34 / .4);
  --ct-win-shadow: 0 1px 2px rgb(11 22 34 / .06), 0 40px 80px -40px rgb(11 22 34 / .38);
}
/* 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"] .ct {
  --ct-ink: #090a0d; --ct-mid: #474a56; --ct-muted: #5f6270; --ct-dim: #5f6270;
  --ct-line: rgb(24 27 38 / .07); --ct-line2: rgb(24 27 38 / .12); --ct-line3: rgb(24 27 38 / .2);
  --ct-panel: #ffffff; --ct-panel2: #f7f8fb; --ct-well: #f1f2f7; --ct-band: #fafbfd;
  --ct-acc: #0060c4; --ct-acc-rgb: 0 96 196; --ct-acc-hi: #0058b0; --ct-acc-ink: #ffffff;
  --ct-ok: #006b4f; --ct-ok-rgb: 0 107 79;
  --ct-r: 24px; --ct-r-sm: 14px; --ct-r-win: 20px; --ct-r-btn: 16px; --ct-btn-font: var(--ct-sans);
  --ct-head-ink: #555864;
  --ct-btn-bg: #0071e3; --ct-btn-fg: #ffffff; --ct-btn-line: #0071e3;
  --ct-btn-hi: #0066d6; --ct-btn-hi-line: #0066d6;
  --ct-btn-shadow: 0 16px 34px rgb(10 132 255 / .22);
  --ct-lights: rgb(24 27 38 / .25);
  --ct-sheen: 0 0 0 0 transparent;
  --ct-shadow: 0 20px 55px rgb(70 72 105 / .07);
  --ct-card-shadow: 0 20px 55px rgb(70 72 105 / .07);
  --ct-win-shadow: 0 30px 80px rgb(70 72 105 / .13);
}
/* Cloud Dark: Cloud on Telemetry's charcoal lifted 10%; the same action blue. */
html[data-theme="studio"][data-final="cloud"][data-cloud="dark"] .ct {
  --ct-ink: #ffffff; --ct-mid: #cfd1d8; --ct-muted: #b4b7c0; --ct-dim: #a7abb5;
  --ct-line: rgb(255 255 255 / .07); --ct-line2: rgb(255 255 255 / .12); --ct-line3: rgb(255 255 255 / .2);
  --ct-panel: #2c2e32; --ct-panel2: #313338; --ct-well: #1c1d20; --ct-band: #27292c;
  --ct-acc: #9ccbff; --ct-acc-rgb: 156 203 255; --ct-acc-hi: #b8d9ff; --ct-acc-ink: #0a1a2e;
  --ct-ok: #7ee2b8; --ct-ok-rgb: 126 226 184;
  --ct-head-ink: #a9acb6;
  --ct-btn-shadow: 0 16px 34px rgb(10 132 255 / .3);
  --ct-lights: rgb(255 255 255 / .3);
  --ct-shadow: 0 20px 55px rgb(0 0 0 / .34);
  --ct-card-shadow: 0 20px 55px rgb(0 0 0 / .3);
  --ct-win-shadow: 0 30px 80px rgb(0 0 0 / .45);
}
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct :focus-visible { outline: 2px solid var(--ct-acc); outline-offset: 3px; border-radius: 4px; }
.ct a { color: inherit; text-decoration: none; }
.ct p, .ct h1, .ct .ct-headline, .ct h2, .ct h3, .ct ol, .ct ul, .ct dl, .ct dd, .ct figure, .ct pre { margin: 0; }
.ct ol, .ct ul { padding: 0; list-style: none; }
.ct button { font: inherit; color: inherit; }
.ct code { font: inherit; }
.ct [hidden] { display: none !important; }
.ct .ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct .ct-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ct .ct-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.ct svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* ── Type ───────────────────────────────────────────────────────────────────────────────────── */
.ct .ct-headline, .ct h2, .ct h3 { font-family: var(--ct-display); color: var(--ct-ink); text-wrap: balance; }
.ct .ct-headline { font-size: clamp(2.1rem, 9.4vw, 4.6rem); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }
.ct h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); line-height: 1.06; font-weight: 600; letter-spacing: -.038em; }
.ct h3 { font-size: 1.1rem; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.ct .ct-acc { color: var(--ct-acc); }
.ct .ct-line { display: block; }
.ct .ct-eyebrow { display: inline-flex; gap: 8px; margin-bottom: 18px; font-family: var(--ct-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ct-acc); }
.ct .ct-eyebrow::before { content: "["; color: var(--ct-muted); letter-spacing: 0; }
.ct .ct-eyebrow::after { content: "]"; color: var(--ct-muted); letter-spacing: 0; }
.ct .ct-lede { margin-top: 20px; max-width: 62ch; font-size: clamp(1.02rem, 1.35vw, 1.13rem); line-height: 1.65; color: var(--ct-mid); text-wrap: pretty; }
.ct .ct-lede + .ct-lede { margin-top: 10px; }
.ct .ct-lede-strong { font-family: var(--ct-display); font-weight: 600; color: var(--ct-ink); letter-spacing: -.015em; }
/* Phones: a headline's accent half takes its own line, so the break never lands mid-phrase. */
@media (max-width: 639px) { .ct :is(h2, .ct-big) .ct-acc { display: block; } }
.ct .ct-big { margin-top: clamp(48px, 7vw, 80px); text-align: center; font-family: var(--ct-display); font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  font-weight: 600; line-height: 1.12; letter-spacing: -.035em; color: var(--ct-ink); text-wrap: balance; }

/* ── Sections ───────────────────────────────────────────────────────────────────────────────── */
.ct .ct-sec { position: relative; padding-block: clamp(76px, 9vw, 124px); }
.ct .ct-band { background: var(--ct-band); border-block: 1px solid var(--ct-line); }
.ct .ct-head { max-width: 860px; }
.ct .ct-head-c { margin-inline: auto; text-align: center; }
.ct .ct-head-c .ct-lede { margin-inline: auto; }
.ct .ct-body { margin-top: clamp(40px, 5vw, 60px); }
.ct .ct-note { margin-top: 28px; text-align: center; font-size: 14.5px; color: var(--ct-muted); text-wrap: balance; }
.ct .ct-note a { color: var(--ct-acc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ct .ct-note a:hover { text-decoration-thickness: 2px; }

/* ── Buttons and links ──────────────────────────────────────────────────────────────────────── */
.ct .ct-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ct .ct-ctas-c { justify-content: center; }
.ct .ct-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(--ct-r-btn); font-family: var(--ct-btn-font); font-size: 14px; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ct-ease), background-color .2s, border-color .2s, color .2s; }
.ct .ct-btn svg { width: 16px; height: 16px; flex: none; stroke-width: 2.1; transition: transform .2s var(--ct-ease); }
.ct .ct-btn-p { background: var(--ct-btn-bg); color: var(--ct-btn-fg); border-color: var(--ct-btn-line); box-shadow: var(--ct-btn-shadow); }
.ct .ct-btn-p:hover { background: var(--ct-btn-hi); border-color: var(--ct-btn-hi-line); transform: translateY(-1px); }
.ct .ct-btn-p:hover svg { transform: translateX(2px); }
.ct .ct-btn-s { background: var(--ct-panel); color: var(--ct-ink); border-color: var(--ct-line3); box-shadow: var(--ct-sheen); }
.ct .ct-btn-s:hover { color: var(--ct-acc); border-color: var(--ct-acc); background: var(--ct-panel2); }
.ct .ct-btn-sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.ct .ct-link { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-family: var(--ct-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ct-acc); }
.ct .ct-link svg { width: 15px; height: 15px; stroke-width: 2.1; transition: transform .2s var(--ct-ease); }
.ct .ct-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ct .ct-link:hover svg { transform: translateX(3px); }

/* ── Surfaces and small parts ───────────────────────────────────────────────────────────────── */
.ct .ct-panel { position: relative; background: var(--ct-panel); border: 1px solid var(--ct-line); border-radius: var(--ct-r);
  box-shadow: var(--ct-shadow); }
.ct .ct-bar { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 16px; border-bottom: 1px solid var(--ct-line); }
.ct .ct-bar-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ct-mono); font-size: 11px;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ct-mid); }
.ct .ct-bar-m { margin-left: auto; flex: none; padding: 2px 8px; border: 1px solid rgb(var(--ct-acc-rgb) / .45); border-radius: 4px;
  font-family: var(--ct-mono); font-size: 11px; color: var(--ct-acc); white-space: nowrap; }
.ct .ct-lights { display: inline-flex; gap: 6px; flex: none; }
.ct .ct-lights i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ct-lights); }
.ct .ct-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--ct-line3); border-radius: 4px;
  font-family: var(--ct-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ct-mid); white-space: nowrap; }
.ct .ct-tag-guided { color: var(--ct-acc); border-color: rgb(var(--ct-acc-rgb) / .5); background: rgb(var(--ct-acc-rgb) / .07); }
.ct .ct-tag-byok { border-style: dashed; }
.ct .ct-tag-own { color: var(--ct-ok); border-color: rgb(var(--ct-ok-rgb) / .5); background: rgb(var(--ct-ok-rgb) / .07); }
.ct .ct-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ct .ct-chips li { padding: 3px 9px; border: 1px solid var(--ct-line2); border-radius: 4px; background: var(--ct-panel2);
  font-family: var(--ct-mono); font-size: 11.5px; color: var(--ct-mid); white-space: nowrap; }

/* A coding tool's mark: a monogram tile (AirCode uses the AirLLM icon). */
.ct .ct-glyph { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid var(--ct-line3); border-radius: 6px;
  background: var(--ct-well); font-family: var(--ct-mono); font-size: 12px; font-weight: 700; letter-spacing: -.02em; color: var(--ct-ink);
  transition: background-color .3s, border-color .3s, color .3s; }
.ct .ct-glyph-lg { width: 42px; height: 42px; border-radius: 9px; font-size: 15px; }
.ct .ct-glyph-own img { width: 72%; height: auto; display: block; }
.ct .ct-glyphs { display: inline-flex; }
.ct .ct-glyphs .ct-glyph + .ct-glyph { margin-left: -8px; box-shadow: -3px 0 0 var(--ct-panel); }

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

/* ── 1 · Hero ───────────────────────────────────────────────────────────────────────────────── */
.ct .ct-hero { position: relative; padding-block: calc(80px + clamp(44px, 6vw, 84px)) clamp(70px, 8vw, 110px); overflow: clip; }
.ct .ct-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(42% 32% at 50% 8%, rgb(var(--ct-acc-rgb) / .09), transparent 70%), radial-gradient(30% 30% at 82% 78%, rgb(var(--ct-ok-rgb) / .04), transparent 70%); }
.ct .ct-hero .ct-wrap { position: relative; }
.ct .ct-hero-copy { max-width: 920px; margin-inline: auto; text-align: center; }
.ct .ct-hero-copy .ct-lede { margin-inline: auto; }
.ct .ct-hero-copy .ct-lede:first-of-type { color: var(--ct-ink); }

/* The integration diagram: tools → engine → models. */
.ct .ct-hv { max-width: 1120px; margin: clamp(48px, 6vw, 76px) auto 0; border-radius: var(--ct-r-win); box-shadow: var(--ct-win-shadow); }
.ct .ct-hv-body { position: relative; display: flex; flex-direction: column; padding: clamp(18px, 3vw, 34px); }
.ct .ct-hv-k { margin-bottom: 12px; font-family: var(--ct-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ct-dim); }
.ct .ct-hv-col { position: relative; z-index: 1; min-width: 0; }
.ct .ct-hv-list { display: grid; gap: 6px; }
.ct .ct-hv-tools .ct-hv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct .ct-hv-tool, .ct .ct-hv-model { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 10px 6px 6px; background: var(--ct-panel2);
  border: 1px solid var(--ct-line2); border-radius: var(--ct-r-sm); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.ct .ct-hv-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--ct-ink); }
.ct .ct-hv-tool.is-on, .ct .ct-hv-model.is-on { border-color: rgb(var(--ct-acc-rgb) / .7); box-shadow: 0 0 0 3px rgb(var(--ct-acc-rgb) / .1); }
.ct .ct-hv-tool.is-on .ct-glyph:not(.ct-glyph-own) { background: var(--ct-acc); border-color: var(--ct-acc); color: var(--ct-acc-ink); }
.ct .ct-hv-tool.is-on .ct-glyph-own { border-color: var(--ct-acc); }
.ct .ct-hv-models .ct-hv-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ct .ct-hv-model { padding: 10px 12px; }
.ct .ct-hv-mt { display: flex; flex-direction: column; min-width: 0; }
.ct .ct-hv-s { display: none; font-size: 12px; line-height: 1.35; color: var(--ct-muted); }
.ct .ct-hv-bars { display: inline-flex; align-items: flex-end; gap: 2px; flex: none; width: 14px; height: 16px; }
.ct .ct-hv-bars i { width: 4px; border-radius: 1px; transition: background-color .3s; }
.ct .ct-hv-bars i:nth-child(1) { height: 6px; }
.ct .ct-hv-bars i:nth-child(2) { height: 11px; }
.ct .ct-hv-bars i:nth-child(3) { height: 16px; }
.ct .ct-hv-model .ct-hv-bars i { background: var(--ct-mid); }
.ct .ct-hv-model.is-on .ct-hv-bars i { background: var(--ct-acc); }

/* The engine */
.ct .ct-engine { position: relative; padding: 14px; background: var(--ct-well); border: 1px solid rgb(var(--ct-acc-rgb) / .45); border-radius: var(--ct-r);
  box-shadow: 0 0 0 4px rgb(var(--ct-acc-rgb) / .05), 0 24px 50px -30px rgb(var(--ct-acc-rgb) / .35); transition: box-shadow .4s, border-color .4s; }
.ct .ct-hv[data-stage="think"] .ct-engine { border-color: rgb(var(--ct-acc-rgb) / .85); box-shadow: 0 0 0 5px rgb(var(--ct-acc-rgb) / .1), 0 24px 50px -26px rgb(var(--ct-acc-rgb) / .5); }
.ct .ct-engine-h { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--ct-line); }
.ct .ct-engine-logo { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border: 1px solid var(--ct-line3); border-radius: 7px; background: var(--ct-panel); }
.ct .ct-engine-logo img { width: 70%; height: auto; display: block; }
.ct .ct-engine-t { font-family: var(--ct-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ct-ink); }
.ct .ct-engine-led { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--ct-ok); box-shadow: 0 0 0 0 rgb(var(--ct-ok-rgb) / .6); }
.ct .ct-engine-rows { display: grid; gap: 6px; margin-top: 12px; }
.ct .ct-engine-rows div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.ct .ct-engine-rows dt { font-family: var(--ct-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ct-dim); }
.ct .ct-engine-rows dd { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ct-mono); font-size: 12.5px; color: var(--ct-ink); }
.ct .ct-engine-rows .ct-engine-route { color: var(--ct-acc); font-weight: 600; }
.ct .ct-engine-rows dd.is-new { animation: ct-in .35s var(--ct-ease) both; }
.ct .ct-engine-chk { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ct .ct-engine-chk li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border: 1px solid var(--ct-line2); border-radius: 4px;
  font-family: var(--ct-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-dim);
  transition: color .25s, border-color .25s, background-color .25s; }
.ct .ct-engine-chk svg { width: 11px; height: 11px; stroke-width: 2.6; opacity: .35; transition: opacity .25s; }
.ct .ct-engine-chk li.is-ok { color: var(--ct-ok); border-color: rgb(var(--ct-ok-rgb) / .45); background: rgb(var(--ct-ok-rgb) / .06); }
.ct .ct-engine-chk li.is-ok svg { opacity: 1; }

/* Phone and tablet: a vertical chain, joined by short connectors. */
.ct .ct-hv-c { position: relative; display: block; height: 34px; }
.ct .ct-hv-c::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 8px; width: 2px; margin-left: -1px;
  background: repeating-linear-gradient(180deg, rgb(var(--ct-acc-rgb) / .85) 0 4px, transparent 4px 8px); opacity: .45; transition: opacity .3s; }
.ct .ct-hv-c::after { content: ""; position: absolute; left: 50%; bottom: 2px; margin-left: -4.5px; border: 4.5px solid transparent; border-bottom: 0;
  border-top: 6px solid rgb(var(--ct-acc-rgb) / .85); opacity: .45; transition: opacity .3s; }
.ct .ct-hv[data-stage="in"] .ct-hv-c-in::before, .ct .ct-hv[data-stage="in"] .ct-hv-c-in::after,
.ct .ct-hv[data-stage="out"] .ct-hv-c-out::before, .ct .ct-hv[data-stage="out"] .ct-hv-c-out::after { opacity: 1; }
.ct.ct-js .ct-hv[data-stage="in"] .ct-hv-c-in::before, .ct.ct-js .ct-hv[data-stage="out"] .ct-hv-c-out::before { animation: ct-dn .5s linear infinite; }

/* The wires (drawn by the script on wide screens) */
.ct .ct-wires { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; display: none; }
.ct .ct-wires path { fill: none; stroke: var(--ct-line3); stroke-width: 1.3; transition: stroke .3s, opacity .3s; }
.ct .ct-wires path.is-lit { stroke: rgb(var(--ct-acc-rgb) / .6); stroke-width: 1.6; }
.ct .ct-wires path.is-on { stroke: var(--ct-acc); stroke-width: 1.8; stroke-dasharray: 5 7; }
.ct.ct-js .ct-wires path.is-on { animation: ct-dash .5s linear infinite; }
.ct .ct-wires circle { fill: var(--ct-panel); stroke: rgb(var(--ct-acc-rgb) / .8); stroke-width: 1.5; }

/* Phones: the bar keeps just the model chip, tool names wrap, and each tier stacks its bars over its name. */
@media (max-width: 519px) {
  .ct .ct-hv .ct-bar-t { display: none; }
  .ct .ct-hv-model { flex-direction: column; gap: 6px; padding: 10px 6px; text-align: center; }
}
@media (max-width: 919px) { .ct .ct-hv-n { white-space: normal; line-height: 1.25; } }
@media (min-width: 520px) {
  .ct .ct-hv-s { display: block; }
  .ct .ct-hv-models .ct-hv-model { align-items: flex-start; }
  .ct .ct-hv-models .ct-hv-bars { margin-top: 3px; }
}
@media (min-width: 640px) {
  .ct .ct-hv-tools .ct-hv-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ct .ct-hv-mid { width: min(100%, 420px); margin-inline: auto; }
}
@media (min-width: 920px) {
  .ct .ct-hv-body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .95fr); column-gap: clamp(60px, 7vw, 108px); align-items: center; }
  .ct .ct-hv-c { display: none; }
  .ct .ct-hv-tools .ct-hv-list, .ct .ct-hv-models .ct-hv-list { grid-template-columns: minmax(0, 1fr); }
  .ct .ct-hv-mid { width: auto; margin: 0; }
  .ct .ct-hv-models .ct-hv-list { gap: 10px; }
  .ct .ct-wires { display: block; }
  /* Without the script, plain arrows stand in for the wires. */
  .ct .ct-hv:not(.is-wired) .ct-hv-mid::before, .ct .ct-hv:not(.is-wired) .ct-hv-mid::after { content: "\2192"; position: absolute; top: 50%;
    font-family: var(--ct-mono); font-size: 20px; font-weight: 700; color: var(--ct-acc); transform: translate(-50%, -50%); }
  .ct .ct-hv:not(.is-wired) .ct-hv-mid::before { left: calc(clamp(60px, 7vw, 108px) / -2); }
  .ct .ct-hv:not(.is-wired) .ct-hv-mid::after { left: calc(100% + clamp(60px, 7vw, 108px) / 2); }
}

.ct .ct-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: clamp(28px, 4vw, 40px); }
.ct .ct-checks li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--ct-ink); }
.ct .ct-checks svg { width: 18px; height: 18px; padding: 2px; flex: none; stroke-width: 2.6; color: var(--ct-acc);
  border: 1px solid rgb(var(--ct-acc-rgb) / .5); border-radius: 50%; }

/* ── 2 · Tool cards ─────────────────────────────────────────────────────────────────────────── */
.ct .ct-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 30px; }
.ct .ct-legend div { display: flex; align-items: center; gap: 10px; }
.ct .ct-legend dd { font-size: 13.5px; color: var(--ct-muted); }
@media (max-width: 639px) {
  .ct .ct-legend { flex-direction: column; align-items: center; gap: 14px; }
  .ct .ct-legend div { flex-direction: column; gap: 6px; text-align: center; }
}
.ct .ct-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(32px, 4vw, 44px); }
@media (min-width: 640px) { .ct .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ct .ct-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ct .ct-card { display: flex; flex-direction: column; min-width: 0; padding: 22px 22px 18px; background: var(--ct-panel); border: 1px solid var(--ct-line);
  border-radius: var(--ct-r); box-shadow: var(--ct-card-shadow); transition: translate .25s var(--ct-ease), border-color .25s, box-shadow .25s; }
/* Hover lifts use `translate`, so the scroll reveal's transform never cancels them. */
.ct .ct-card:hover { translate: 0 -3px; border-color: rgb(var(--ct-acc-rgb) / .45); }
.ct .ct-card:hover .ct-glyph:not(.ct-glyph-own) { border-color: rgb(var(--ct-acc-rgb) / .6); color: var(--ct-acc); }
.ct .ct-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ct .ct-card h3 { margin-top: 18px; font-size: 1.2rem; }
.ct .ct-card-api { margin-top: 4px; font-family: var(--ct-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-dim); }
.ct .ct-card-d { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ct-mid); }
.ct .ct-card-note { margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--ct-line3); font-size: 13px; line-height: 1.5; color: var(--ct-muted); }
.ct .ct-card > .ct-link, .ct .ct-card .ct-links { margin-top: auto; padding-top: 18px; }
.ct .ct-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ct .ct-card-own { grid-column: 1 / -1; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center;
  border-color: rgb(var(--ct-ok-rgb) / .3); background: linear-gradient(120deg, rgb(var(--ct-ok-rgb) / .05), transparent 55%), var(--ct-panel); }
.ct .ct-card-own:hover { border-color: rgb(var(--ct-ok-rgb) / .55); }
.ct .ct-own-copy { display: flex; flex-direction: column; align-items: flex-start; }
.ct .ct-own-copy .ct-card-top { align-self: stretch; }
.ct .ct-own-copy .ct-btn { margin-top: 20px; }
@media (min-width: 820px) { .ct .ct-card-own { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; padding: 28px; } }
.ct .ct-term { min-width: 0; border: 1px solid var(--ct-line2); border-radius: var(--ct-r-sm); background: var(--ct-well); overflow: hidden; }
.ct .ct-term-bar { display: flex; align-items: center; gap: 12px; min-height: 34px; padding: 0 12px; border-bottom: 1px solid var(--ct-line);
  font-family: var(--ct-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ct-dim); }
.ct .ct-term-bar .ct-lights i { width: 8px; height: 8px; }
.ct .ct-term-b { padding: 14px 16px; overflow-x: auto; font-family: var(--ct-mono); font-size: 13px; line-height: 1.75; color: var(--ct-ink); white-space: pre; }
.ct .ct-term-c { color: var(--ct-dim); }
.ct .ct-term-p { color: var(--ct-acc); }
.ct .ct-term-ok { color: var(--ct-ok); }

/* ── 3 · Benefits ───────────────────────────────────────────────────────────────────────────── */
.ct .ct-feats { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ct .ct-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ct .ct-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ct .ct-feat { padding: 24px; background: var(--ct-panel); border: 1px solid var(--ct-line); border-radius: var(--ct-r); box-shadow: var(--ct-card-shadow);
  transition: translate .25s var(--ct-ease), border-color .25s; }
.ct .ct-feat:hover { translate: 0 -3px; border-color: rgb(var(--ct-acc-rgb) / .4); }
.ct .ct-feat h3 { margin-top: 22px; }
.ct .ct-feat-k { margin-top: 6px; font-family: var(--ct-display); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ct-acc); letter-spacing: -.01em; }
.ct .ct-feat p:last-child { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ct-mid); }
.ct .ct-fi { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--ct-line2); border-radius: var(--ct-r-sm); background: var(--ct-well); }
.ct .ct-fi svg { width: 40px; height: 40px; stroke-width: 2.2; color: var(--ct-mid); }
.ct .ct-fi * { transform-box: fill-box; }
/* routing: one input, three branches; the chosen one lights */
.ct .ct-fi-route .t { stroke: var(--ct-mid); }
.ct .ct-fi-route .b { stroke: var(--ct-line3); }
.ct .ct-fi-route .e { fill: var(--ct-panel); stroke: var(--ct-line3); }
.ct .ct-fi-route .s { fill: var(--ct-acc); stroke: none; }
.ct .ct-fi-route .b1 { stroke: var(--ct-acc); }
.ct .ct-fi-route .e1 { stroke: var(--ct-acc); fill: var(--ct-acc); }
/* context: kept bars in the signal colour, redundant ones trimmed */
.ct .ct-fi-trim rect { stroke: none; }
.ct .ct-fi-trim .k { fill: var(--ct-acc); }
.ct .ct-fi-trim .x { fill: var(--ct-line3); transform-origin: left center; }
/* cache: the loop turns, the hit glows */
.ct .ct-fi-cache .r { stroke: var(--ct-mid); transform-origin: center; }
.ct .ct-fi-cache .c { fill: var(--ct-acc); stroke: none; transform-origin: center; }
/* protection: a shield with a check */
.ct .ct-fi-guard .sh { stroke: var(--ct-mid); }
.ct .ct-fi-guard .ck { stroke: var(--ct-acc); stroke-width: 2.8; stroke-dasharray: 22; stroke-dashoffset: 0; }
.ct.ct-js .is-live .ct-fi-route .b { animation: ct-br 3.6s linear infinite; }
.ct.ct-js .is-live .ct-fi-route .e { animation: ct-be 3.6s linear infinite; }
.ct.ct-js .is-live .ct-fi-route .b2, .ct.ct-js .is-live .ct-fi-route .e2 { animation-delay: -2.4s; }
.ct.ct-js .is-live .ct-fi-route .b3, .ct.ct-js .is-live .ct-fi-route .e3 { animation-delay: -1.2s; }
.ct.ct-js .is-live .ct-fi-trim .x { animation: ct-trim 4s var(--ct-ease) infinite; }
.ct.ct-js .is-live .ct-fi-trim .x2 { animation-delay: .25s; }
.ct.ct-js .is-live .ct-fi-cache .r { animation: ct-rot 6s linear infinite; }
.ct.ct-js .is-live .ct-fi-cache .c { animation: ct-pulse 2s ease-in-out infinite; }
.ct.ct-js .is-live .ct-fi-guard .ck { animation: ct-draw 3.2s var(--ct-ease) infinite; }

/* ── 4 · How it works ───────────────────────────────────────────────────────────────────────── */
.ct .ct-steps { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .ct .ct-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.ct .ct-step { position: relative; display: flex; flex-direction: column; padding: 26px 24px; background: var(--ct-panel); border: 1px solid var(--ct-line);
  border-radius: var(--ct-r); box-shadow: var(--ct-card-shadow); }
.ct .ct-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(var(--ct-acc-rgb) / .55); border-radius: var(--ct-r-sm);
  background: rgb(var(--ct-acc-rgb) / .07); font-family: var(--ct-mono); font-size: 13px; font-weight: 700; color: var(--ct-acc); }
.ct .ct-step h3 { margin-top: 20px; font-size: 1.2rem; }
.ct .ct-step > p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ct-mid); }
.ct .ct-step .ct-chips { margin-top: 16px; }
@media (min-width: 900px) {
  .ct .ct-step:not(:last-child)::after { content: "\2192"; position: absolute; top: 46px; left: 100%; z-index: 1; display: grid; place-items: center;
    width: 28px; height: 28px; margin-left: 14px; transform: translate(-50%, -50%); border: 1px solid var(--ct-line2); border-radius: 50%; background: var(--ct-band);
    font-family: var(--ct-mono); font-size: 13px; font-weight: 700; color: var(--ct-acc); }
}
.ct .ct-ep { display: grid; gap: 8px; margin-top: 16px; }
.ct .ct-ep-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k k" "v c"; align-items: center; gap: 4px 8px;
  padding: 9px 10px 9px 12px; border: 1px solid var(--ct-line2); border-radius: var(--ct-r-sm); background: var(--ct-well); }
.ct .ct-ep-k { grid-area: k; font-family: var(--ct-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ct-dim); }
.ct .ct-ep-v { grid-area: v; min-width: 0; overflow-wrap: anywhere; font-family: var(--ct-mono); font-size: 13px; color: var(--ct-ink); }
.ct .ct-copy { grid-area: c; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--ct-line2); border-radius: 6px;
  background: var(--ct-panel); color: var(--ct-muted); cursor: pointer; transition: color .2s, border-color .2s; }
.ct .ct-copy svg { width: 15px; height: 15px; stroke-width: 2; }
.ct .ct-copy:hover { color: var(--ct-acc); border-color: var(--ct-acc); }
.ct .ct-copy.is-done { color: var(--ct-ok); border-color: rgb(var(--ct-ok-rgb) / .6); }

/* The loop: agent → router → models, and the response back to the agent. */
.ct .ct-flow { margin-top: clamp(36px, 5vw, 56px); padding: clamp(22px, 3vw, 34px) clamp(16px, 3vw, 34px) clamp(26px, 3vw, 34px);
  background: var(--ct-panel); border: 1px solid var(--ct-line); border-radius: var(--ct-r); box-shadow: var(--ct-card-shadow); }
.ct .ct-flow-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; padding-right: 40px; }
.ct .ct-flow-n { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 12px 14px; background: var(--ct-panel2);
  border: 1px solid var(--ct-line2); border-radius: var(--ct-r-sm); text-align: center; }
.ct .ct-flow-hub { border-color: rgb(var(--ct-acc-rgb) / .6); box-shadow: 0 0 0 3px rgb(var(--ct-acc-rgb) / .08); }
.ct .ct-flow-k { font-family: var(--ct-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ct-ink); }
.ct .ct-flow-hub .ct-flow-k { color: var(--ct-acc); }
.ct .ct-flow-s { margin-top: 2px; font-size: 12.5px; color: var(--ct-muted); }
.ct .ct-flow-c { position: relative; width: 2px; height: 40px; background: repeating-linear-gradient(180deg, rgb(var(--ct-acc-rgb) / .85) 0 5px, transparent 5px 10px); }
.ct .ct-flow-c::after { content: ""; position: absolute; left: 50%; bottom: -1px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0;
  border-top: 7px solid rgb(var(--ct-acc-rgb) / .9); }
.ct .ct-flow-c span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-family: var(--ct-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ct-dim); white-space: nowrap; }
/* phones: the response climbs a bracket on the right, from the models back up to the agent */
.ct .ct-flow-ret { position: absolute; top: 30px; bottom: 30px; right: 4px; width: 30px; border: 2px dashed rgb(var(--ct-ok-rgb) / .7); border-left: 0;
  border-radius: 0 14px 14px 0; }
.ct .ct-flow-ret::after { content: ""; position: absolute; left: -2px; top: -7px; border: 6px solid transparent; border-left: 0; border-right: 8px solid rgb(var(--ct-ok-rgb) / .85); }
.ct .ct-flow-ret-l { margin-top: 16px; text-align: center; font-family: var(--ct-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ct-ok); }
@media (min-width: 760px) {
  .ct .ct-flow-row { grid-template-columns: minmax(0, 1fr) minmax(48px, .7fr) minmax(0, 1fr) minmax(48px, .7fr) minmax(0, 1fr); align-items: center; padding-right: 0; }
  .ct .ct-flow-c { width: calc(100% - 16px); height: 2px; background: repeating-linear-gradient(90deg, rgb(var(--ct-acc-rgb) / .85) 0 6px, transparent 6px 11px); }
  .ct .ct-flow-c::after { left: auto; right: -2px; top: 50%; bottom: auto; margin: -5px 0 0; border: 5px solid transparent; border-right: 0; border-left: 7px solid rgb(var(--ct-acc-rgb) / .9); }
  .ct .ct-flow-c span { left: 50%; top: auto; bottom: 10px; transform: translateX(-50%); }
  /* the return: from the models' centre, under the row, back up into the agent's centre (columns are 1 + .7 + 1 + .7 + 1 = 4.4fr) */
  .ct .ct-flow-ret { left: calc(100% * .5 / 4.4); right: calc(100% * .5 / 4.4); top: 100%; bottom: auto; width: auto; height: 34px;
    border: 2px dashed rgb(var(--ct-ok-rgb) / .7); border-top: 0; border-radius: 0 0 14px 14px; }
  .ct .ct-flow-ret::after { left: -5px; top: -2px; border: 6px solid transparent; border-top: 0; border-bottom: 8px solid rgb(var(--ct-ok-rgb) / .85); }
  .ct .ct-flow-ret-l { margin-top: 48px; }
}
.ct.ct-js .is-live .ct-flow-c { animation: ct-dn .6s linear infinite; }
@media (min-width: 760px) { .ct.ct-js .is-live .ct-flow-c { animation-name: ct-rt; } }

/* ── 5 · Before vs after ────────────────────────────────────────────────────────────────────── */
.ct .ct-vs { max-width: 920px; margin-inline: auto; overflow: hidden; background: var(--ct-panel); border: 1px solid var(--ct-line); border-radius: var(--ct-r);
  box-shadow: var(--ct-shadow); }
.ct .ct-vs-t { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.ct .ct-vs-t th, .ct .ct-vs-t td { position: relative; padding: 16px clamp(12px, 2.4vw, 26px); text-align: left; vertical-align: middle; }
.ct .ct-vs-t th { font-family: var(--ct-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--ct-line2); }
.ct .ct-vs-t th.ct-vs-off { color: var(--ct-muted); }
.ct .ct-vs-t th.ct-vs-on { color: var(--ct-acc); }
.ct .ct-vs-logo { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 9px; vertical-align: -6px; border: 1px solid var(--ct-line3); border-radius: 5px; background: var(--ct-well); }
.ct .ct-vs-logo img { width: 72%; height: auto; display: block; }
.ct .ct-vs-t td { font-size: clamp(14px, 1.5vw, 15.5px); line-height: 1.4; border-top: 1px solid var(--ct-line); transition: background-color .2s; }
.ct .ct-vs-t tbody tr:first-child td { border-top: 0; }
.ct .ct-vs-t td svg { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; stroke-width: 2.4; }
.ct .ct-vs-t td.ct-vs-off { color: var(--ct-muted); }
.ct .ct-vs-t td.ct-vs-off svg { color: var(--ct-dim); }
.ct .ct-vs-t td.ct-vs-on { color: var(--ct-ink); font-weight: 600; }
.ct .ct-vs-t td.ct-vs-on svg { color: var(--ct-acc); }
.ct .ct-vs-t .ct-vs-on { background: rgb(var(--ct-acc-rgb) / .05); border-left: 1px solid rgb(var(--ct-acc-rgb) / .35); }
.ct .ct-vs-t tbody tr:hover td { background-color: var(--ct-panel2); }
.ct .ct-vs-t tbody tr:hover td.ct-vs-on { background-color: rgb(var(--ct-acc-rgb) / .1); }
@media (max-width: 479px) { .ct .ct-vs-t td svg { display: block; margin: 0 0 6px; } }

/* ── 6 · Final call to action ───────────────────────────────────────────────────────────────── */
.ct .ct-final { padding-top: 0; }
.ct .ct-final-p { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 56px); text-align: center; background: var(--ct-panel);
  border: 1px solid var(--ct-line); border-radius: var(--ct-r-win); box-shadow: var(--ct-shadow); }
.ct .ct-final-p::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgb(var(--ct-acc-rgb) / .1), transparent 72%); }
.ct .ct-final-p > * { position: relative; }
.ct .ct-final-p h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.04; }
.ct .ct-final-p .ct-lede { margin-inline: auto; }
.ct .ct-tagline { margin-top: 32px; font-family: var(--ct-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ct-muted); text-wrap: balance; }

/* ── 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"]) .ct .ct-eyebrow { align-items: center; padding: 5px 13px; border: 1px solid rgb(var(--ct-acc-rgb) / .3);
  border-radius: 999px; background: rgb(var(--ct-acc-rgb) / .07); font-family: var(--ct-sans); font-size: 12px; letter-spacing: .1em; }
html:not([data-final="telemetry"]) .ct .ct-eyebrow::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
html:not([data-final="telemetry"]) .ct .ct-eyebrow::after { content: none; }
html:not([data-final="telemetry"]) .ct :is(.ct-headline, h2, .ct-big) .ct-acc { background: var(--ct-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"] .ct .ct-eyebrow { padding: 0; border: 0; border-radius: 0; background: none; font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; color: var(--ct-muted); }
html[data-final="cloud"] .ct .ct-eyebrow::before { content: none; }
html[data-final="cloud"] .ct :is(.ct-headline, h2) { font-weight: 650; letter-spacing: -.04em; }
html[data-final="cloud"] .ct :is(.ct-headline, h2, .ct-big) .ct-acc { background: none; -webkit-text-fill-color: currentColor; color: var(--ct-head-ink); }
html[data-final="cloud"] .ct :is(.ct-panel, .ct-card, .ct-feat, .ct-step, .ct-flow, .ct-vs, .ct-final-p) { border-color: rgb(24 27 38 / .045); }
html[data-final="cloud"][data-cloud="dark"] .ct :is(.ct-panel, .ct-card, .ct-feat, .ct-step, .ct-flow, .ct-vs, .ct-final-p) { border-color: rgb(255 255 255 / .06); }
html[data-final="cloud"] .ct .ct-band { border-color: transparent; }
html[data-final="cloud"] .ct .ct-btn { transition: transform .25s var(--ct-ease), box-shadow .25s var(--ct-ease), background-color .25s; }
html[data-final="cloud"] .ct .ct-btn-p:hover { transform: translateY(-3px); box-shadow: 0 21px 42px rgb(10 132 255 / .28); }
html[data-final="cloud"] .ct .ct-btn-s { border-color: var(--ct-line); box-shadow: var(--ct-card-shadow); }
html[data-final="cloud"] .ct .ct-btn-s:hover { transform: translateY(-3px); color: var(--ct-ink); border-color: var(--ct-line2); }
html[data-final="cloud"] .ct :is(.ct-card, .ct-feat):hover { translate: 0 -4px; border-color: rgb(var(--ct-acc-rgb) / .25); }
@media (prefers-reduced-motion: reduce) {
  html[data-final="cloud"] .ct .ct-btn:hover { transform: none; }
  html[data-final="cloud"] .ct :is(.ct-card, .ct-feat):hover { translate: none; }
}

/* ── Motion ─────────────────────────────────────────────────────────────────────────────────── */
@keyframes ct-led { 0% { box-shadow: 0 0 0 0 rgb(var(--ct-ok-rgb) / .55); } 100% { box-shadow: 0 0 0 7px rgb(var(--ct-ok-rgb) / 0); } }
@keyframes ct-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes ct-dash { to { stroke-dashoffset: -12; } }
@keyframes ct-dn { to { background-position: 0 10px; } }
@keyframes ct-rt { to { background-position: 11px 0; } }
@keyframes ct-br { 0%, 30% { stroke: var(--ct-acc); } 34%, 100% { stroke: var(--ct-line3); } }
@keyframes ct-be { 0%, 30% { stroke: var(--ct-acc); fill: var(--ct-acc); } 34%, 100% { stroke: var(--ct-line3); fill: var(--ct-panel); } }
@keyframes ct-trim { 0%, 15% { transform: scaleX(1); } 45%, 72% { transform: scaleX(.26); } 100% { transform: scaleX(1); } }
@keyframes ct-rot { to { transform: rotate(360deg); } }
@keyframes ct-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .55; } }
@keyframes ct-draw { 0% { stroke-dashoffset: 22; } 35%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 22; } }
.ct.ct-js .ct-hv .ct-engine-led { animation: ct-led 2.2s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .ct *, .ct *::before, .ct *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* 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.ct-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. */
.ct h1.ct-eyebrow { font-family: var(--ct-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"] .ct h1.ct-eyebrow { display: block; }
html[data-final="telemetry"] .ct h1.ct-eyebrow::before { margin-right: 8px; }
html[data-final="telemetry"] .ct h1.ct-eyebrow::after { margin-left: 8px; }
