@font-face { font-family: "Geist"; src: url(/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
/* mxds landing. Colour tokens are the app's own (crates/app/src/mockup_theme.rs,
   verified against the running app on 2026-10-04); the replica window below
   reuses them, so the theme switch repaints page and app together. */

:root {
  --acc: #414a94;
  --acc-hi: #5b64b0;
  --acc-bg: rgba(65, 74, 148, .14);
  --acc-line: rgba(65, 74, 148, .32);
  --sel: rgba(65, 74, 148, .30);
  --ok: #3f9d6e;
  --warn: #c58a2c;
  --bad: #c0505e;
  --claude: #d77757;
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-word: cubic-bezier(0.645, 0.045, 0.355, 1); /* ease_in_out_cubic, as the welcome hero */
  --sans: "Geist", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --nav-h: 64px;
}

:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --logo-tile: #0b0b0c; --logo-glyph: #ffffff; --icon-fx: drop-shadow(0 0 .6px rgba(255,255,255,.55)) drop-shadow(0 12px 28px rgba(0,0,0,.5)); --mac-bg: #f4f5f7; --mac-fg: #0c0d10; --mac-hover: #ffffff;
  --bg-0: #0c0d10; --bg-1: #131418; --bg-2: #181a1f; --bg-3: #20232a; --bg-4: #2a2e37;
  --bd-1: #232730; --bd-2: #2a2f3a;
  --fg-1: #e7e9ee; --fg-2: #b3b8c4; --fg-3: #797f8c; --fg-4: #545864;
  --kw: #c084ff; --fn: #82aaff; --str: #6ee7b7; --num: #fbbf24; --com: #6b7280;
  --type-num: #6d9cf0; --type-txt: #4fb6c4;
  --acc-text: #8f97dc;
  --win-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
}

:root[data-theme="light"] {
  color-scheme: light;
  --logo-tile: #f8f8f9; --logo-glyph: #000000; --icon-fx: drop-shadow(0 0 .6px rgba(0,0,0,.25)) drop-shadow(0 10px 24px rgba(40,46,80,.18)); --mac-bg: #111214; --mac-fg: #ffffff; --mac-hover: #2b2d33;
  --bg-0: #fafafa; --bg-1: #ffffff; --bg-2: #f4f5f7; --bg-3: #ebedf0; --bg-4: #dee0e5;
  --bd-1: #e6e8ec; --bd-2: #d4d8de;
  --fg-1: #1a1c20; --fg-2: #4d525c; --fg-3: #6f7581; --fg-4: #adb1ba;
  --kw: #7c2d92; --fn: #2457c5; --str: #047857; --num: #b45309; --com: #94a3b8;
  --type-num: #2f6fd6; --type-txt: #0f8494;
  --acc-text: #414a94;
  --sel: rgba(65, 74, 148, .22);
  --win-shadow: 0 40px 100px -24px rgba(40, 46, 80, .28), 0 0 0 1px rgba(20, 24, 40, .08);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
  --logo-tile: #f8f8f9; --logo-glyph: #000000; --icon-fx: drop-shadow(0 0 .6px rgba(0,0,0,.25)) drop-shadow(0 10px 24px rgba(40,46,80,.18)); --mac-bg: #111214; --mac-fg: #ffffff; --mac-hover: #2b2d33;
    --bg-0: #fafafa; --bg-1: #ffffff; --bg-2: #f4f5f7; --bg-3: #ebedf0; --bg-4: #dee0e5;
    --bd-1: #e6e8ec; --bd-2: #d4d8de;
    --fg-1: #1a1c20; --fg-2: #4d525c; --fg-3: #6f7581; --fg-4: #adb1ba;
    --kw: #7c2d92; --fn: #2457c5; --str: #047857; --num: #b45309; --com: #94a3b8;
    --type-num: #2f6fd6; --type-txt: #0f8494;
    --acc-text: #414a94;
    --sel: rgba(65, 74, 148, .22);
    --win-shadow: 0 40px 100px -24px rgba(40, 46, 80, .28), 0 0 0 1px rgba(20, 24, 40, .08);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--sel); }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg-0) 78%, transparent);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--bd-1) 70%, transparent);
}
.nav .wrap { display: flex; align-items: center; gap: 36px; width: 100%; }
.nav-acc { font-size: 14px; color: var(--fg-2); margin-right: 8px; }
.nav-acc:hover { color: var(--fg-1); }
.brand .logo { width: 22px; height: 22px; fill: currentColor; }
.brand { display: flex; align-items: center; gap: 9px; font: 600 17px/1 var(--sans); letter-spacing: -.02em; }
.mark {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--acc), var(--acc-hi)); color: #fff;
  font: 700 11px/1 var(--mono); letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--fg-2); }
.nav-links a:hover { color: var(--fg-1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 36px; height: 36px; border-radius: 7px; display: grid; place-items: center;
  border: 0; background: none; color: var(--fg-2); cursor: pointer;
  transition: transform .14s var(--ease-out), background-color .2s ease, color .2s ease;
}
.theme-btn:hover { color: var(--fg-1); background: var(--bg-2); }
.theme-btn:active { transform: scale(.94); }
.theme-btn .ic { width: 17px; height: 17px; }
.theme-btn .moon, :root[data-theme="light"] .theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="dark"]) .theme-btn .moon { display: block; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: 7px; font: 500 14.5px/1 var(--sans); white-space: nowrap; cursor: pointer;
  transition: transform .14s var(--ease-out), background-color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-pri { background: var(--acc); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-pri:hover { background: var(--acc-hi); }
.btn-sec { border: 1px solid var(--bd-2); color: var(--fg-1); background: var(--bg-1); }
.btn-sec:hover { background: var(--bg-3); }
.btn-lg { height: 48px; padding: 0 20px; font-size: 15.5px; border-radius: 8px; }
.btn-mac { background: var(--mac-bg); color: var(--mac-fg); font-weight: 600; }
.btn-mac:hover { background: var(--mac-hover); }
.btn-mac .apple { width: 16px; height: 16px; fill: currentColor; margin-top: -2px; }
.btn-lg .apple { width: 18px; height: 18px; }
.nav .btn { height: 36px; padding: 0 14px; font-size: 14px; }

/* ── Hero (step 0 of the story: copy left, window right) ── */
.copy.hero-copy { width: min(520px, 38vw); }
.app-icon { display: block; width: 72px; height: 72px; margin-bottom: 26px; filter: var(--icon-fx);
  opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease-out) forwards; }
.hero-copy h1 { margin: 0; font-weight: 700; letter-spacing: -.045em; }
.hero-copy .word {
  display: block; font-size: clamp(64px, 8vw, 116px); line-height: .92;
  opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease-out) .05s forwards;
}
.tagline {
  display: block; margin-top: 12px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600;
  color: var(--fg-3); opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease-out) .15s forwards;
}
.slot { position: relative; display: inline-block; overflow: hidden; height: 1.2em; vertical-align: bottom;
  transition: width .65s var(--ease-word); }
.slot > span { display: inline-block; white-space: nowrap; transition: transform .65s var(--ease-word), opacity .65s var(--ease-word); }
.slot > span.out { position: absolute; left: 0; top: 0; }
.slot b { font-weight: inherit; }
.slot b.acc { color: var(--acc-text); }
.hero-copy .sub {
  max-width: 470px; margin: 26px 0 0; font-size: 19px; line-height: 1.5; color: var(--fg-2);
  opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease-out) .25s forwards;
}
.hero-copy .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease-out) .33s forwards; }
.hero-copy .req { margin: 14px 0 0; font-size: 13.5px; color: var(--fg-3); opacity: 0; animation: rise .9s var(--ease-out) .4s forwards; }
.winspace { display: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── Story (pinned app window + camera) ──────────────── */
.story { position: relative; height: calc(var(--steps) * 100dvh); }
.stage { position: sticky; top: 0; height: 100dvh; overflow: hidden; perspective: 2400px; perspective-origin: 50% 45%; }
.markers { position: absolute; inset: 0; pointer-events: none; }
.markers > div { height: 100dvh; }
.camera {
  position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform-origin: 0 0;
  backface-visibility: hidden;
}
.camera.enter { opacity: 0; translate: 0 28px; }
.camera { transition: transform 1.25s var(--ease-io), opacity .9s var(--ease-out), translate .9s var(--ease-out); }

.scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.scrim.left { background: linear-gradient(90deg, var(--bg-0) 0%, var(--bg-0) 30%, transparent 48%); }
.scrim.right { background: linear-gradient(270deg, var(--bg-0) 0%, var(--bg-0) 30%, transparent 48%); }
.scrim.on { opacity: 1; }
.copy {
  position: absolute; z-index: 2; top: 50%; width: min(380px, 30vw);
  opacity: 0; transform: translateY(calc(-50% + 14px)); pointer-events: none;
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.copy.left { left: max(32px, 4vw); }
.copy.right { right: max(32px, 4vw); }
.copy.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; transition-delay: .35s; }
.copy h2 { margin: 0; font-size: 38px; line-height: 1.08; letter-spacing: -.035em; font-weight: 650; }
.copy p { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--fg-2); }
.copy .keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px;
  border: 1px solid var(--bd-1); border-radius: 5px; background: var(--bg-1);
  font: 500 12.5px/1 var(--mono); color: var(--fg-2);
}
.chip img { width: 14px; height: 14px; }
kbd { font: 500 12px/1 var(--mono); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--bd-2); background: var(--bg-2); color: var(--fg-1); }

/* ── Replica window ──────────────────────────────────── */
.win {
  width: 1440px; height: 900px; border-radius: 12px; overflow: hidden; position: relative;
  display: grid; grid-template-columns: 46px 272px 520px 1fr; grid-template-rows: minmax(0, 1fr) 28px;
  background: var(--bg-0); box-shadow: var(--win-shadow);
  font: 400 12px/1.45 var(--mono); color: var(--fg-1); user-select: none;
}
.win .ic { width: 15px; height: 15px; }
.region { transition: opacity .6s var(--ease-io), filter .6s var(--ease-io); }
.win.focusing .region:not(.lit):not(.report):not(.git):not(.dbtv):not(.dash) { opacity: .28; filter: saturate(.5); }
.lights { position: absolute; left: 14px; top: 15px; display: flex; gap: 8px; z-index: 2; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }

.rail { grid-row: 1; position: relative; background: var(--bg-1); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 42px 0 10px; }
.rail::after { content: ""; position: absolute; right: 0; top: 44px; bottom: 0; width: 1px; background: var(--bd-1); }
.rail .proj { width: 28px; height: 28px; border-radius: 5px; background: var(--acc); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11.5px; margin-bottom: 4px; }
.rail .rb { position: relative; width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; color: var(--fg-3); }
.rail .rb.on { background: var(--acc-bg); color: var(--acc-text); }
.rail .gap { width: 30px; height: 1px; background: var(--bd-1); margin: 6px 0; }
.rail .badge { position: absolute; top: 1px; right: 2px; font-size: 8.5px; line-height: 1; color: var(--fg-3); }
.rail .grow { flex: 1; }

.side { grid-row: 1; min-height: 0; overflow: hidden; background: var(--bg-1); border-right: 1px solid var(--bd-1); display: flex; flex-direction: column; min-width: 0; }
.ph { height: 44px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--bd-1); font-weight: 600; }
.ph .tools { margin-left: auto; display: flex; gap: 10px; color: var(--fg-3); }
.ph .tools .ic { width: 14px; height: 14px; }
.side .db { flex: 0 0 384px; display: flex; flex-direction: column; border-bottom: 1px solid var(--bd-1); }
.side .db .ph { padding-left: 34px; }
.tree { padding: 6px 0; }
.tr { height: 25px; display: flex; align-items: center; gap: 6px; padding-right: 12px; white-space: nowrap; color: var(--fg-1); }
.tr .tw { width: 14px; display: grid; place-items: center; color: var(--fg-4); }
.tr .tw .ic { width: 12px; height: 12px; }
.tr .meta { margin-left: auto; color: var(--fg-3); font-size: 11px; }
.tr.grp { color: var(--fg-3); font-size: 11px; }
.tr.sel { background: var(--acc-bg); }
.eng { width: 13px; height: 13px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 7.5px; font-weight: 800; color: #111; }
.eng.duck { background: #fff100; } .eng.pg { background: #336791; color: #fff; } .eng.bq { background: #4386fa; color: #fff; }
.eng.rs { background: #8c4fff; color: #fff; } .eng.lite { background: #0f80cc; color: #fff; }
.tr .tbl { color: var(--fg-3); }
.tr .tbl .ic { width: 13px; height: 13px; }

.side .agents { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.ag { display: flex; align-items: flex-start; gap: 9px; padding: 8px 12px; border-bottom: 1px solid var(--bd-1); }
.ag .t, .chat .t { min-width: 0; flex: 1; }
.ag .n { display: flex; align-items: center; gap: 8px; }
.ag .x, .chat .x { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.ag .br { margin-left: auto; display: flex; align-items: center; gap: 3px; color: var(--fg-3); font-size: 11px; flex: none; }
.ag .br .ic { width: 11px; height: 11px; }
.ag .s, .chat .s { color: var(--fg-3); font-size: 11px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag .bad { color: var(--bad); }
.spin { width: 13px; height: 13px; margin-top: 2px; border-radius: 50%; border: 2px dotted var(--ok); flex: none; }
.spin.work { border-color: var(--acc-hi); animation: spin 2.4s linear infinite; }
.spin.block { border-color: var(--bad); }
@keyframes spin { to { transform: rotate(360deg); } }
.bi { display: inline-block; width: 14px; height: 14px; flex: none; background: var(--fg-1);
  -webkit-mask: url(/img/claude.png) center / contain no-repeat; mask: url(/img/claude.png) center / contain no-repeat; }
.bi.codex { -webkit-mask-image: url(/img/codex.png); mask-image: url(/img/codex.png); }
.shimmer {
  background: linear-gradient(90deg, var(--fg-3) 0%, var(--fg-3) 35%, var(--fg-1) 50%, var(--fg-3) 65%, var(--fg-3) 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.ch-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px 6px; color: var(--fg-3); font-size: 11px; letter-spacing: .04em; }
.ch-head .ic { width: 12px; height: 12px; }
.ch-search { margin: 4px 12px 6px; height: 28px; border: 1px solid var(--bd-1); border-radius: 4px; display: flex; align-items: center; gap: 8px; padding: 0 9px; color: var(--fg-4); background: var(--bg-2); }
.ch-search .ic { width: 13px; height: 13px; }
.chat { display: flex; align-items: flex-start; gap: 9px; padding: 6px 12px; }
.chat .bi { margin-top: 2px; }

.tabs { height: 44px; flex: none; display: flex; align-items: stretch; background: var(--bg-0); border-bottom: 1px solid var(--bd-1); }
.tab { display: flex; align-items: center; gap: 7px; padding: 0 14px; color: var(--fg-3); border-right: 1px solid var(--bd-1); white-space: nowrap; }
.tab .ic { width: 13px; height: 13px; }
.tab.on { color: var(--fg-1); background: var(--bg-2); }
.tab .x { color: var(--fg-4); margin-left: 4px; }
.tabs .plus { margin-left: auto; padding: 0 14px; display: grid; place-items: center; color: var(--fg-4); }

.term { grid-row: 1; background: var(--bg-2); border-right: 1px solid var(--bd-1); display: flex; flex-direction: column; min-width: 0; position: relative; }
.tty { padding: 12px 14px; white-space: pre; line-height: 1.55; color: var(--fg-1); flex: 1; overflow: hidden; position: relative; }
.tty .d { color: var(--fg-3); } .tty .g { color: var(--ok); } .tty .c { color: var(--claude); } .tty .a { color: var(--acc-text); }
.tty .u { color: var(--fg-2); }
.tty .hl-sel { background: var(--sel); }
.tty .cmd { border-radius: 3px; transition: background-color .5s ease, box-shadow .5s ease; }
.win[data-step="10"] .tty .cmd { background: var(--acc-bg); box-shadow: 0 0 0 3px var(--acc-bg); }
.prompt { margin: 0 14px 12px; color: var(--fg-1); white-space: pre; }
.prompt .eff { text-align: right; color: var(--fg-2); padding: 0 6px 6px; }
.prompt .eff i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fg-2); margin-right: 7px; }
.prompt .in { border-top: 1px solid var(--fg-4); border-bottom: 1px solid var(--fg-4); padding: 7px 0; }
.prompt .caret { display: inline-block; width: 7px; height: 14px; background: var(--fg-2); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.edcol { grid-row: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg-2); position: relative; }
.ed { flex: 0 0 438px; display: flex; flex-direction: column; border-bottom: 1px solid var(--bd-1); }
.tbar { height: 42px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.tbtn { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 4px; color: var(--fg-2); }
.tbtn.run { background: var(--acc); color: #fff; }
.tbtn.run kbd { background: none; border: 0; color: rgba(255,255,255,.8); padding: 0; }
.tbtn .ic { width: 13px; height: 13px; }
.conn { margin-left: auto; display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 1px solid var(--bd-1); border-radius: 4px; background: var(--bg-1); }
.conn .ic { width: 12px; height: 12px; color: var(--fg-3); }
.code { display: grid; grid-template-columns: 44px 1fr; padding-top: 4px; line-height: 19px; }
.code .ln { text-align: right; padding-right: 14px; color: var(--fg-4); white-space: pre; }
.code .ln b { color: var(--fg-1); font-weight: 400; }
.code pre { margin: 0; font: inherit; white-space: pre; }
.code .cur { background: color-mix(in srgb, var(--bg-3) 60%, transparent); display: block; }
:is(.code, .nb) .k { color: var(--kw); } :is(.code, .nb) .f { color: var(--fn); } :is(.code, .nb) .s { color: var(--str); } :is(.code, .nb) .n { color: var(--num); } .code .cm { color: var(--com); font-style: italic; }

.res { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.rtabs { height: 38px; flex: none; display: flex; align-items: center; gap: 2px; padding: 0 8px; border-bottom: 1px solid var(--bd-1); }
.rt { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 4px; color: var(--fg-3); }
.rt.on { background: var(--bg-3); color: var(--fg-1); }
.rt .ic { width: 13px; height: 13px; }
.rtabs .pg { margin-left: auto; color: var(--fg-2); display: flex; gap: 14px; align-items: center; }
.grid { display: grid; grid-template-columns: 34px 124px 82px 142px 92px 1fr; }
.grid > div { border-right: 1px solid var(--bd-1); white-space: nowrap; overflow: hidden; }
.grid > .gstat { white-space: normal; }
.gstat { padding: 8px 8px 6px; color: var(--fg-3); font-size: 10.5px; line-height: 1.5; border-bottom: 1px solid var(--bd-1); }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 22px; border-bottom: 1px dashed var(--bd-2); margin-bottom: 4px; }
.hist i { flex: 1; background: var(--acc-hi); opacity: .75; min-height: 1px; border-radius: 1px 1px 0 0; }
.gh { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 8px; font-weight: 600; border-bottom: 1px solid var(--bd-1); }
.gh .ty { font-weight: 600; } .gh .ty.num { color: var(--type-num); } .gh .ty.txt { color: var(--type-txt); font-size: 10.5px; }
.gh .db-on { margin-left: auto; color: var(--acc-text); }
.gh .db-on .ic { width: 13px; height: 13px; }
.gc { height: 27px; display: flex; align-items: center; padding: 0 8px; position: relative; }
.gc.r { justify-content: flex-end; }
.gc.idx { justify-content: flex-end; color: var(--fg-4); }
.gc.alt { background: var(--bg-1); }
.gc .bar { position: absolute; inset: 1px 0; background: color-mix(in srgb, var(--acc-hi) 24%, transparent); transform-origin: left; transform: scaleX(var(--w)); transition: transform 1s var(--ease-out); }
.gc span { position: relative; }
.win:not(.bars) .gc .bar { transform: scaleX(0); }

.status { grid-column: 1 / -1; grid-row: 2; position: relative; display: flex; align-items: center; gap: 14px; padding: 0 12px; background: var(--bg-0); border-top: 1px solid var(--bd-1); color: var(--fg-2); font-size: 11.5px; white-space: nowrap; }
.status .ic { width: 12px; height: 12px; }
.status > span { display: flex; align-items: center; gap: 6px; }
.status .bi { width: 12px; height: 12px; background: var(--fg-2); }
.status .meter { display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--bg-3); overflow: hidden; }
.status .meter::after { content: ""; display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--fg-2); border-radius: 2px; }
.status .caf { color: var(--acc-text); }
.status .r { margin-left: auto; color: var(--fg-3); }
.status .tip { position: absolute; left: 8px; bottom: 34px; padding: 8px 10px; border: 1px solid var(--bd-2); border-radius: 5px; background: var(--bg-1);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); line-height: 1.6; color: var(--fg-2); white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .35s var(--ease-out); }
.status .tip b { color: var(--fg-1); font-weight: 600; }
.caf-pop { position: absolute; left: 372px; bottom: 34px; width: 340px; border: 1px solid var(--bd-2); border-radius: 6px; background: var(--bg-1);
  box-shadow: 0 14px 40px -10px rgba(0,0,0,.4); padding: 10px 14px 6px; white-space: normal; color: var(--fg-1);
  opacity: 0; transform: translateY(6px) scale(.98); transform-origin: 30% 100%; transition: opacity .3s ease, transform .35s var(--ease-out); }
.caf-pop .hd { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--bd-1); margin-bottom: 4px; }
.caf-pop .hd span { color: var(--fg-3); }
.caf-pop .op { display: flex; gap: 10px; padding: 6px 0; }
.caf-pop .op i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--fg-3); margin-top: 3px; flex: none; }
.caf-pop .op.on i { border: 0; background: var(--acc); }
.caf-pop .op b { font-weight: 500; display: block; }
.caf-pop .op b em { font-style: normal; color: var(--fg-3); margin: 0 6px; }
.caf-pop .op span { color: var(--fg-3); }
.win[data-step="6"] .caf-pop { opacity: 1; transform: none; transition-delay: 1.1s; }
.win[data-step="6"] .status .tip { opacity: 1; transform: none; transition-delay: .9s; }

/* report mode: the editor column becomes the agent's Markdown report */
.report { position: absolute; inset: 44px 0 0; display: flex; flex-direction: column; background: var(--bg-2); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.win[data-mode="report"] .report { opacity: 1; }
.win[data-mode="report"] .tab-sql { color: var(--fg-3); background: none; }
.win[data-mode="report"] .tab-md { color: var(--fg-1); background: var(--bg-2); }
.md { flex: 1; overflow: hidden; padding: 6px 34px 0 30px; font-family: var(--sans); font-size: 13.5px; line-height: 1.6; color: var(--fg-2); }
.md-inner { transition: transform 6s cubic-bezier(.4, 0, .2, 1); }
.win[data-mode="report"] .md-inner { transform: translateY(-120px); transition-delay: 1.4s; }
.md h1 { font-size: 25px; letter-spacing: -.02em; color: var(--fg-1); margin: 14px 0 2px; line-height: 1.2; }
.md h2 { font-size: 17px; color: var(--fg-1); margin: 20px 0 6px; letter-spacing: -.01em; }
.md p { margin: 0 0 10px; }
.md strong { color: var(--fg-1); font-weight: 600; }
.md .by { font-family: var(--mono); font-size: 11px; color: var(--fg-3); margin-bottom: 12px; }
.md ul { margin: 0 0 10px; padding-left: 18px; }
.md table { border-collapse: collapse; width: 100%; font-family: var(--mono); font-size: 11.5px; margin: 6px 0 12px; color: var(--fg-1); }
.md th, .md td { border: 1px solid var(--bd-2); padding: 5px 9px; text-align: left; }
.md th { background: var(--bg-1); font-weight: 600; }
.md td.r, .md th.r { text-align: right; }
.md .up { color: var(--ok); } .md .down { color: var(--bad); }
.md figure { margin: 8px 0 14px; border: 1px solid var(--bd-1); border-radius: 8px; background: var(--bg-1); padding: 12px 14px 8px; }
.md figcaption { font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); margin-top: 6px; }
.md blockquote { margin: 10px 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--bd-2); color: var(--fg-2); }
.md mark { background: var(--sel); color: var(--fg-1); border-radius: 2px; padding: 1px 0; }
.mdot { position: absolute; left: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--acc-hi); }
.mdbar { height: 40px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--bd-1); }
.send { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 4px; background: var(--acc); color: #fff; font-family: var(--mono); }
.send .ic { width: 13px; height: 13px; }
.send kbd { background: none; border: 0; padding: 0; color: rgba(255,255,255,.8); }

.note {
  position: absolute; z-index: 3; width: 300px; border: 1px solid var(--bd-2); border-radius: 8px; background: var(--bg-1);
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, .35); padding: 10px; font-family: var(--mono); font-size: 11.5px;
  opacity: 0; transform: translateY(6px) scale(.97); transform-origin: top left; transition: opacity .3s ease, transform .35s var(--ease-out);
}
.note .in { border: 1px solid var(--acc-line); border-radius: 6px; padding: 7px 8px; color: var(--fg-1); background: var(--bg-2); min-height: 44px; line-height: 1.5; }
.note .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; color: var(--fg-3); }
.note .row b { font-weight: 500; color: #fff; background: var(--acc); border-radius: 5px; padding: 3px 8px; }
.win[data-mode="report"] .note { opacity: 1; transform: none; transition-delay: .9s; }
.win[data-mode="report"] .note.t2 { transition-delay: 1.3s; }
.tty .sel-zone { transition: background-color .4s ease; }
.win[data-mode="report"] .tty .sel-zone { background: var(--sel); transition-delay: .7s; }

/* ── Sections after the story ────────────────────────── */
section.block { padding: 140px 0; }
.and-more { padding: 40px 0 0; }
.and-more .wrap { display: flex; justify-content: center; }
.more-link { font-size: 19px; font-weight: 500; color: var(--fg-1); text-decoration: underline; text-decoration-color: var(--bd-2); text-underline-offset: 5px; transition: text-decoration-color .2s ease; }
.more-link:hover { text-decoration-color: currentColor; }
.speed h2, .more h2, .engines h2, .final h2 { margin: 0; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.045em; font-weight: 650; max-width: 16ch; }
.speed .lead { margin: 22px 0 0; max-width: 54ch; color: var(--fg-2); font-size: 19px; }
.facts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; margin-top: 72px; border-top: 1px solid var(--bd-1); }
.fact { padding: 32px 32px 0 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--bd-1); }
.fact .big { font-size: clamp(56px, 7vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.fact .big small { font-size: .38em; letter-spacing: -.02em; color: var(--fg-3); margin-left: 4px; }
.fact p { margin: 14px 0 0; color: var(--fg-2); max-width: 30ch; }
.fact .big sup { font-size: .6em; vertical-align: .55em; line-height: 0; margin-left: 2px; color: var(--fg-3); }
.fnote { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--bd-1); font-size: 12.5px; line-height: 1.6; color: var(--fg-3); max-width: 92ch; }
.fnote p { margin: 10px 0 0; }
.fnote summary { cursor: pointer; width: fit-content; list-style: none; display: flex; align-items: center; gap: 6px; color: var(--fg-2); }
.fnote summary::-webkit-details-marker { display: none; }
.fnote summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s var(--ease-out); }
.fnote[open] summary::before { transform: rotate(45deg); }
.fnote summary:hover { color: var(--fg-1); }
.fnote sup { font-size: 1em; vertical-align: baseline; }
.frame { margin-top: 64px; }
.frame .lbl { display: flex; justify-content: space-between; font: 500 12.5px/1 var(--mono); color: var(--fg-3); margin-bottom: 12px; }
.frame .track { height: 10px; border-radius: 5px; background: var(--bg-3); overflow: hidden; display: flex; }
.frame .track i { display: block; height: 100%; width: 0; background: var(--acc-hi); transition: width 1.4s var(--ease-out); }
.frame.seen .track i { width: 100%; }

.more .grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 64px; }
.tile { border: 1px solid var(--bd-1); border-radius: 10px; background: var(--bg-1); padding: 26px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-height: 300px; }
.tile.w4 { grid-column: span 4; } .tile.w2 { grid-column: span 2; } .tile.w3 { grid-column: span 3; }
.tile h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; font-weight: 600; }
.tile p { margin: 0; color: var(--fg-2); font-size: 15px; max-width: 42ch; }
.tile .vis { margin-top: auto; border: 1px solid var(--bd-1); border-radius: 6px; background: var(--bg-2); font: 400 11.5px/1.55 var(--mono); padding: 12px; color: var(--fg-1); }
.tile.tint { background: linear-gradient(160deg, var(--acc-bg), var(--bg-1) 60%); }
.nb .cell { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.nb .cell + .cell { margin-top: 10px; }
.nb .cnt { color: var(--fg-3); text-align: right; }
.nb .src { border-left: 2px solid var(--acc); padding-left: 10px; white-space: pre; }
.nb table { border-collapse: collapse; width: 100%; }
.nb td, .nb th { padding: 3px 8px; border-bottom: 1px solid var(--bd-1); text-align: left; }
.nb th { color: var(--fg-3); font-weight: 500; }
.lin { position: relative; height: 150px; }
.lin .nd { position: absolute; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--bd-2); background: var(--bg-1); white-space: nowrap; font-size: 10.5px; }
.lin .nd.src { border-radius: 50% / 9px; }
.lin .nd.hot { border-color: var(--acc-hi); color: var(--acc-text); }
.lin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lin path { fill: none; stroke: var(--fg-4); stroke-width: 1; }
.diff .del { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--fg-2); }
.diff .add { background: color-mix(in srgb, var(--ok) 14%, transparent); }
.diff div { white-space: pre; padding: 0 6px; border-radius: 3px; }
.bars-mini { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.bars-mini i { flex: 1; background: var(--acc-hi); border-radius: 3px 3px 0 0; opacity: .85; }
.recall .hit { padding: 6px 0; border-bottom: 1px solid var(--bd-1); }
.recall .hit:last-child { border: 0; }
.recall .hit b { font-weight: 600; }
.recall .hit span { display: block; color: var(--fg-3); }

.engines { padding: 40px 0 120px; }
.engines h2 { font-size: 28px; letter-spacing: -.03em; max-width: none; color: var(--fg-2); font-weight: 500; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 44px 56px; margin-top: 36px; }
.logos img { height: 34px; width: auto; opacity: .9; }

.final { padding: 120px 0 140px; border-top: 1px solid var(--bd-1); }
.final .row { display: flex; align-items: end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.final p { margin: 18px 0 0; color: var(--fg-2); font-size: 18px; max-width: 44ch; }
footer { padding: 0 0 48px; color: var(--fg-3); font-size: 14px; }
footer .wrap { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
footer .wrap::before { content: ""; flex: 0 0 100%; height: 1px; background: var(--bd-1); margin-bottom: 4px; }
footer .brand { color: var(--fg-1); font-size: 15px; }
footer .sp { margin-left: auto; }
footer .legal { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
footer a:hover { color: var(--fg-1); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.reveal.seen { opacity: 1; transform: none; }

/* ── Narrow screens: no camera, window shrinks to width, copy stacks ── */
@media (max-width: 959px) {
  :root { --nav-h: 58px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .winspace { display: block; margin-top: 28px; }
  .stage .copy.hero-copy { width: auto; padding-top: calc(var(--nav-h) + 40px); border: 0; }
  .hero-copy .sub { font-size: 17px; }
  .nav .btn-mac { padding: 0 12px; }
  .nav-acc { display: none; }
  .story { height: auto !important; }
  .stage { position: relative; height: auto; overflow: visible; }
  .markers, .scrim { display: none; }
  .camera { transition: none; }
  .copy, .copy.on { position: static; width: auto; opacity: 1; transform: none; margin: 0 16px; padding: 36px 0; border-bottom: 1px solid var(--bd-1); }
  .copy.left, .copy.right { left: auto; right: auto; }
  .copy h2 { font-size: 28px; }
  .copies { padding-top: 24px; }
  .win.focusing .region:not(.lit) { opacity: 1; filter: none; }
  section.block { padding: 88px 0; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--bd-1); }
  .more .grid6 { grid-template-columns: 1fr; }
  .tile.w4, .tile.w2, .tile.w3 { grid-column: auto; min-height: 0; }
  .logos { gap: 28px 36px; }
  .logos img { height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .camera, .copy, .region, .slot > span, .md-inner, .note, .gc .bar, .reveal, .frame .track i { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .app-icon, .hero-copy .word, .tagline, .hero-copy .sub, .hero-copy .ctas, .hero-copy .req { animation: none; opacity: 1; transform: none; }
  .spin.work { animation: none; }
  .shimmer, .prompt .caret { animation: none; }
  .shimmer { color: var(--fg-3); background: none; }
}

/* ── Terminal transcripts, one per window mode ── */
.tpane { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ttys { flex: 1; position: relative; min-height: 0; }
.ttys .tty { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.win[data-mode="sql"] .t-main, .win[data-mode="report"] .t-main,
.win[data-mode="git"] .t-git, .win[data-mode="recall"] .t-recall { opacity: 1; }

/* rail follows the panel on screen */
.win:is([data-mode="recall"], [data-mode="git"]) .rb-db { background: none; color: var(--fg-3); }
.win[data-mode="recall"] .rb-recall, .win[data-mode="git"] .rb-git { background: var(--acc-bg); color: var(--acc-text); }

/* ── Recall panel (over Databases) ── */
.side .db { position: relative; }
.recall-panel { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--bg-1); opacity: 0; transition: opacity .5s ease; display: flex; flex-direction: column; }
.win[data-mode="recall"] .recall-panel { opacity: 1; }
.recall-panel .ph { padding-left: 34px; border-bottom: 0; }
.rc { padding: 8px 12px; border-bottom: 1px solid var(--bd-1); transition: background-color .6s ease; }
.rc .x { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc .s { color: var(--fg-3); font-size: 10.5px; margin-top: 2px; }
.rc .s span { margin-left: 10px; }
.rc .tags { display: flex; gap: 4px; margin-top: 5px; }
.rc .tags i { font-style: normal; font-size: 10px; padding: 0 6px; border-radius: 2px; background: var(--acc-bg); color: var(--acc-text); }
.rc.new { opacity: 0; transform: translateY(-6px); transition: opacity .5s ease, transform .6s var(--ease-out), background-color .6s ease; }
.win[data-mode="recall"] .rc.new { opacity: 1; transform: none; background: var(--acc-bg); transition-delay: 1.2s; }
.rc-foot { margin-top: auto; white-space: nowrap; overflow: hidden; padding: 8px 12px; color: var(--fg-3); font-size: 10px; border-top: 1px solid var(--bd-1); }

/* ── Git overlay (over the editor column) ── */
.git { position: absolute; inset: 0; z-index: 2; background: var(--bg-2); opacity: 0; pointer-events: none; transition: opacity .5s ease; overflow: hidden; }
.win[data-mode="git"] .git { opacity: 1; }
.gbar { height: 44px; display: flex; align-items: center; gap: 16px; padding: 0 12px; border-bottom: 1px solid var(--bd-1); color: var(--fg-2); background: var(--bg-0); }
.gbar .br { display: flex; align-items: center; gap: 5px; }
.gbar .br .ic, .gbar > .ic { width: 13px; height: 13px; color: var(--fg-3); }
.gbar .sp { flex: 1; }
.gbar .x { color: var(--fg-3); }
.git .add { color: var(--ok); } .git .del { color: var(--bad); }
.gcommit { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--bd-1); color: var(--fg-3); }
.gcommit .in { flex: 1; height: 30px; display: flex; align-items: center; padding: 0 10px; border-radius: 4px; background: var(--bg-3); color: var(--fg-4); }
.gcommit .cbtn { height: 30px; display: flex; align-items: center; padding: 0 12px; border-radius: 4px; background: var(--acc); color: #fff; font-weight: 600; }
.gfile { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--bg-1); border-top: 1px solid var(--bd-1); border-bottom: 1px solid var(--bd-1); margin-top: 6px; white-space: nowrap; }
.gfile .st { color: var(--type-txt); font-weight: 600; } .gfile .st.ad { color: var(--ok); }
.gfile .p { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.gfile .act { color: var(--fg-3); }
.gfile .ic { width: 12px; height: 12px; color: var(--fg-3); }
.hunk { padding: 6px 10px 2px; color: var(--fg-3); }
.hunk span { margin-left: 16px; }
.dl { display: grid; grid-template-columns: 34px 34px 22px 1fr; line-height: 22px; white-space: pre; }
.dl i { font-style: normal; text-align: right; padding-right: 4px; color: var(--fg-4); }
.dl u { text-decoration: none; text-align: center; }
.dl.d { background: color-mix(in srgb, var(--bad) 13%, transparent); } .dl.d u { color: var(--bad); }
.dl.a { background: color-mix(in srgb, var(--ok) 13%, transparent); } .dl.a u { color: var(--ok); }
.win[data-mode="git"] .dl.a { animation: land .45s var(--ease-out) both; animation-delay: calc(.7s + var(--i) * 140ms); }
@keyframes land { from { opacity: 0; transform: translateX(-8px); background-color: transparent; } }

/* ── Bento: history tile ── */
.hist-list div { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--bd-1); }
.hist-list div:last-child { border: 0; }
.hist-list .q { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-list .w { color: var(--fg-3); }

/* ── Finale: Mix Data Science folds into the MX/DS tile ── */
.acro { position: relative; height: 140vh; border-top: 1px solid var(--bd-1); }
.acro-pin { position: sticky; top: 0; height: 100dvh; overflow: hidden; --fs: clamp(34px, 7vw, 96px); --tile: clamp(180px, 22vw, 270px); }
.acro-phrase {
  position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%);
  display: flex; gap: .28em; white-space: nowrap;
  font-size: var(--fs); font-weight: 700; letter-spacing: -.045em; color: var(--fg-4);
}
.acro-phrase .slot { text-align: center; }
.acro-phrase .slot > span { display: block; }
.acro-phrase .slot > span.out { right: 0; }
.acro-phrase b.acc { color: var(--fg-1); opacity: var(--acc-o, 1); }
.acro-tile {
  position: absolute; left: 50%; top: 36%; width: var(--tile); height: var(--tile); margin: calc(var(--tile) / -2) 0 0 calc(var(--tile) / -2);
  border-radius: 22.5%; background: var(--logo-tile); filter: var(--icon-fx); opacity: 0;
}
.acro-letters span {
  position: absolute; left: 0; top: 0; display: block; line-height: normal; opacity: 0; transform-origin: 50% 50%;
  font-size: var(--fs); font-weight: 700; letter-spacing: -.045em;
  color: color-mix(in srgb, var(--logo-glyph) calc(var(--t, 0) * 100%), var(--fg-1));
}
.acro-cta { position: absolute; left: 0; right: 0; top: calc(36% + var(--tile, 230px) / 2 + 48px); text-align: center; opacity: 0; padding: 0 16px; }
.acro-cta h2 { margin: 0 0 26px; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -.045em; font-weight: 650; }
.acro-cta p { margin: 14px 0 0; color: var(--fg-3); font-size: 13.5px; }

/* ── dbt lineage tile: the canvas's own shapes ── */
.lin2 svg { display: block; width: 100%; height: auto; }
.lin2 .e path { fill: none; stroke: var(--fg-4); stroke-width: 1.2; }
.lin2 .ah { fill: var(--fg-4); }
.lin2 .n rect, .lin2 .n path { fill: var(--bg-1); stroke: var(--bd-2); stroke-width: 1.2; }
.lin2 .n .cap { fill: none; }
.lin2 .n text { font: 500 11px var(--mono); fill: var(--fg-1); text-anchor: middle; }
.lin2 .n.src text { fill: var(--fg-2); }
.lin2 .n.hot rect { stroke: var(--acc-hi); stroke-width: 1.6; fill: var(--acc-bg); }
.lin2 .n.hot text { fill: var(--acc-text); }
.lin2 .n.exp rect { stroke: var(--warn); }

/* ── chart tile ── */
.chart2 .cbar { display: flex; gap: 14px; align-items: center; color: var(--fg-3); margin-bottom: 8px; }
.chart2 .cbar b { color: var(--fg-1); font-weight: 500; }
.chart2 .pill { padding: 2px 8px; border-radius: 4px; background: var(--acc-bg); color: var(--acc-text); }
.chart2 svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart2 .grid line { stroke: var(--bd-1); }
.chart2 text { font: 10px var(--mono); fill: var(--fg-3); }
.chart2 .yl { text-anchor: end; } .chart2 .xl { text-anchor: start; }
.chart2 .area { fill: var(--acc-hi); opacity: .12; }
.chart2 .s1 { fill: none; stroke: var(--acc-hi); stroke-width: 2; stroke-linejoin: round; }
.chart2 .s2 { fill: none; stroke: var(--fg-3); stroke-width: 1.6; stroke-dasharray: 0; stroke-linejoin: round; }
.chart2 .hov { stroke: var(--fg-4); stroke-dasharray: 3 3; }
.chart2 .dot { fill: var(--bg-1); stroke: var(--acc-hi); stroke-width: 2; }
.chart2 .tipg rect { fill: var(--bg-1); stroke: var(--bd-2); }
.chart2 .tipg text { fill: var(--fg-3); } .chart2 .tipg .b { fill: var(--fg-1); }
.chart2 .leg text { fill: var(--fg-2); }
.chart2 .l1 { fill: var(--acc-hi); } .chart2 .l2 { fill: var(--fg-3); }

/* Claude Code's banner at the top of each transcript */
.cc-head { display: flex; align-items: center; gap: 16px; white-space: pre; margin: 2px 0 2px; }
.cc-head .crit { width: 52px; height: 34px; flex: none; fill: var(--claude); }
.cc-head .crit .eye { fill: #000; }

/* dbt mode: the editor column shows a model with its dbt bar and run log */
.dbtv { position: absolute; inset: 44px 0 0; display: flex; flex-direction: column; background: var(--bg-2); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.win[data-mode="dbt"] .dbtv { opacity: 1; }
.win[data-mode="dbt"] .tab-sql { color: var(--fg-3); background: none; }
.win[data-mode="dbt"] .tab-dbt { color: var(--fg-1); background: var(--bg-2); }
.dbtv .tbar { border-bottom: 1px solid var(--bd-1); }
.tbtn.dbtb { background: #ff694a; color: #fff; }
.tbtn.dbtb .dbt { fill: currentColor; stroke: none; }
.tbtn.cmp { margin-left: auto; color: var(--fg-3); }
.tbtn.cmp span { color: var(--fg-2); margin-left: 6px; }
.dbtv .code { flex: 0 0 auto; padding-bottom: 8px; border-bottom: 1px solid var(--bd-1); }
.code .j { color: #ff694a; }
.dbtv .rtabs { border-bottom: 1px solid var(--bd-1); }
.dlog { flex: 1; overflow: hidden; padding: 10px 14px; white-space: pre; line-height: 1.6; font-size: 11.5px; color: var(--fg-2); }
.dlog .d { color: var(--fg-3); } .dlog .g { color: var(--ok); }
.win:not([data-mode="dbt"]) .tab-dbt, .win[data-mode="dbt"] .edcol .tab:first-child { display: none; }

/* stats mode: the usage dashboard covers everything right of the rail */
.dash { position: absolute; left: 46px; top: 44px; right: 0; bottom: 28px; z-index: 4; display: flex; flex-direction: column;
  background: var(--bg-1); border-top: 1px solid var(--bd-1); opacity: 0; pointer-events: none; transition: opacity .5s ease; font-size: 11.5px; }
.win[data-mode="stats"] .dash { opacity: 1; }
.dh { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.dh > div:first-child { margin-right: auto; display: flex; flex-direction: column; gap: 3px; }
.dh b { font-size: 15px; font-weight: 600; }
.dh > div > span { color: var(--fg-3); }
.seg { display: flex; border: 1px solid var(--bd-1); border-radius: 3px; overflow: hidden; }
.seg span { padding: 5px 10px; color: var(--fg-3); }
.seg span.on { background: var(--bg-3); color: var(--fg-1); }
.dx { border: 1px solid var(--bd-1); border-radius: 3px; padding: 4px 9px; color: var(--fg-3); }
.kpis { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--bd-1); border-bottom: 1px solid var(--bd-1); }
.kpi { padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi + .kpi { border-left: 1px solid var(--bd-1); }
.kpi small { font-size: 10.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .03em; }
.kpi .kv { font-size: 23px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 3px; }
.kpi .kv u { text-decoration: none; font-size: 11px; font-weight: 400; color: var(--fg-3); }
.kpi .spk { width: 60px; height: 18px; margin-left: auto; fill: var(--fg-2); align-self: flex-end; }
.kpi > span { color: var(--fg-3); font-size: 10.5px; white-space: nowrap; }
.drow { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--bd-1); }
.drow.r1 { grid-template-columns: 1.55fr 1fr; }
.drow.r3 { grid-template-columns: 1fr 1fr 1fr; }
.drow.r4 { grid-template-columns: 1fr 1fr; border-bottom: 0; flex: 1; }
.card { padding: 10px 16px 12px; min-width: 0; display: flex; flex-direction: column; }
.card + .card { border-left: 1px solid var(--bd-1); }
.ct { display: flex; align-items: center; font-weight: 600; margin-bottom: 8px; }
.ct span { margin-left: auto; font-weight: 400; color: var(--fg-3); display: flex; align-items: center; gap: 5px; }
.ct .lg1, .ct .lg2 { width: 8px; height: 8px; display: inline-block; background: var(--fg-1); margin-left: 6px; }
.ct .lg2 { background: color-mix(in srgb, var(--fg-1) 45%, var(--bg-3)); }
.heat { display: flex; gap: 8px; }
.wd { display: grid; grid-template-rows: repeat(4, 1fr); color: var(--fg-3); font-size: 10px; padding: 1px 0; }
.hm { flex: 1; display: grid; grid-template-columns: repeat(52, 1fr); grid-template-rows: repeat(7, 11px); gap: 3px; }
.hm i { border-radius: 1px; }
.cf { display: flex; justify-content: space-between; margin-top: 6px; color: var(--fg-3); font-size: 10.5px; }
.cf i { display: inline-block; width: 9px; height: 9px; vertical-align: -1px; }
.dbars { display: flex; align-items: flex-end; gap: 3px; }
.dbars.hrs { height: 96px; border-bottom: 1px solid var(--bd-1); }
.dbars.hrs i { flex: 1; min-height: 1px; }
.dbars.qpd { height: 150px; gap: 5px; border-bottom: 1px solid var(--bd-1); }
.dbars.qpd i { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; }
.dbars.qpd b { display: block; background: color-mix(in srgb, var(--fg-1) 45%, var(--bg-3)); }
.dbars.qpd b.h { background: var(--fg-1); order: -1; }
.ax { display: flex; justify-content: space-between; color: var(--fg-3); font-size: 10px; margin-top: 4px; }
.hr { display: grid; grid-template-columns: 120px 1fr 56px; align-items: center; gap: 12px; height: 21px; color: var(--fg-1); }
.hr b { height: 7px; background: var(--bg-3); display: block; }
.hr b i { display: block; height: 100%; background: var(--fg-2); }
.hr em { font-style: normal; text-align: right; color: var(--fg-2); }
.kvr { display: flex; justify-content: space-between; height: 22px; align-items: center; }
.kvr span { color: var(--fg-2); }
.kvr b { font-weight: 500; }

/* sidebar of the agents and terminal follow the editor in dbt/stats modes */
.win[data-mode="dbt"] .t-main, .win[data-mode="stats"] .t-main { opacity: 1; }

/* engines: the app's own logos as masks, so they take the text colour */
.logos .lg { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 500; color: var(--fg-2); letter-spacing: -.01em; }
.logos .lg i { width: 30px; height: 30px; background: var(--fg-2); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.logos .lg.more { color: var(--fg-3); font-weight: 400; }
.eng-faq { margin: 28px 0 0; font-size: 15px; }
.eng-faq a { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); border-bottom: 1px solid var(--bd-2); padding-bottom: 2px; }
.eng-faq a:hover { color: var(--fg-1); }
.eng-faq .ic { width: 14px; height: 14px; }

/* theme switch is instant: see the toggle in site.js */
.theme-snap *, .theme-snap *::before, .theme-snap *::after { transition: none !important; }

/* ── Secondary pages (pricing, faq, features, legal, coming soon) ── */
.skip { position: absolute; left: 16px; top: -48px; z-index: 30; padding: 8px 12px; border-radius: 7px; background: var(--fg-1); color: var(--bg-0); font-size: 14px; }
.skip:focus { top: 12px; }
.nav-links a[aria-current], .nav-acc[aria-current] { color: var(--fg-1); }
.page { padding-top: var(--nav-h); min-height: calc(100dvh - 140px); }
.page a:not(.btn):not(.brand) { color: var(--fg-1); text-decoration: underline; text-decoration-color: var(--bd-2); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.page a:not(.btn):not(.brand):hover { text-decoration-color: currentColor; }
.page :is(h1, h2, h3) { text-wrap: balance; }
.page p { text-wrap: pretty; }
.eyebrow { margin: 0 0 18px; font: 500 12.5px/1 var(--mono); color: var(--fg-3); letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--bd-2); }

/* page header with a faint grid fading out from the top left */
.phead { position: relative; padding: 112px 0 64px; overflow: hidden; }
.phead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--bd-1) 1px, transparent 1px), linear-gradient(90deg, var(--bd-1) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 20% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 20% 0%, #000 0%, transparent 70%);
  opacity: .55;
}
.phead::after { content: ""; position: absolute; left: -10%; top: -40%; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--acc-hi) 14%, transparent), transparent); }
.phead .wrap { position: relative; z-index: 1; }
.phead h1, .soon h1 { margin: 0; font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -.05em; font-weight: 650; max-width: 14ch; }
.phead .lead, .soon .lead { margin: 22px 0 0; max-width: 52ch; color: var(--fg-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.doc { padding: 0 0 112px; color: var(--fg-2); }
.doc code { font: 500 .88em var(--mono); color: var(--fg-1); }
.sec-title { margin: 0 0 24px; font-size: 28px; letter-spacing: -.03em; color: var(--fg-1); font-weight: 600; }

/* buttons with a trailing icon that nudges on hover */
.btn-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: -6px; border-radius: 5px; background: color-mix(in srgb, currentColor 12%, transparent); transition: transform .25s var(--ease-out); }
.btn-ic .ic { width: 13px; height: 13px; }
@media (hover: hover) and (pointer: fine) { .btn:hover .btn-ic { transform: translateX(2px); } }
.btn:focus-visible, .theme-btn:focus-visible, .page a:focus-visible { outline: 2px solid var(--acc-hi); outline-offset: 2px; }

/* surfaces: a hairline tray around an inner panel */
.plan, .fcard, .ghost-card, .callout, .cmp-wrap { --r: 16px; }
.plan, .fcard { padding: 6px; border-radius: var(--r); background: color-mix(in srgb, var(--bg-2) 60%, transparent); border: 1px solid var(--bd-1); }
.plan-in, .fcard-in { height: 100%; border-radius: calc(var(--r) - 6px); background: var(--bg-1); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fg-1) 6%, transparent); }

/* coming soon */
.soon { position: relative; padding: 128px 0 120px; overflow: hidden; }
.soon::before { content: ""; position: absolute; left: 50%; top: -30%; width: 900px; height: 900px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--acc-hi) 13%, transparent), transparent); }
.soon .wrap { position: relative; }
.soon-copy { max-width: 620px; }
.p-soon .soon:not(:has(.soon-split)) .soon-copy { margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.p-soon .soon:not(:has(.soon-split)) .eyebrow::before { display: none; }
.soon-icon { width: 96px; height: 96px; margin-bottom: 32px; filter: var(--icon-fx); }
.soon h1 { max-width: 13ch; }
.soon-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { padding: 6px 11px; border: 1px solid var(--bd-1); border-radius: 6px; font-size: 13px; color: var(--fg-2); background: var(--bg-1); }

/* waitlist form: the input and the button share one field */
.wl { margin-top: 36px; width: 100%; max-width: 480px; }
.wl-field { display: flex; gap: 6px; padding: 5px; border-radius: 11px; border: 1px solid var(--bd-2); background: var(--bg-1); transition: border-color .2s ease, box-shadow .2s ease; }
.wl-field:focus-within { border-color: color-mix(in srgb, var(--acc-hi) 70%, var(--bd-2)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc-hi) 16%, transparent); }
.wl input[type=email] { flex: 1; min-width: 0; height: 42px; padding: 0 10px; border: 0; background: none; color: var(--fg-1); font: 400 16px var(--sans); outline: none; }
.wl input::placeholder { color: var(--fg-4); }
.wl .btn { height: 42px; border-radius: 7px; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-note { margin: 12px 2px 0; font-size: 13.5px; color: var(--fg-3); min-height: 1.5em; text-align: left; }
.p-soon .soon:not(:has(.soon-split)) .wl-note { text-align: center; }
.wl.done .wl-field { display: none; }
.wl.done .wl-note { color: var(--fg-1); font-size: 16px; }
.wl button:disabled { opacity: .6; }

/* account: a silhouette of the screen to come */
.ghost { display: grid; gap: 12px; }
.ghost-card { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--bd-1); background: var(--bg-1); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.ghost-card:nth-child(2) { margin-left: 28px; } .ghost-card:nth-child(3) { margin-left: 56px; }
.g-faint { opacity: .55; }
.g-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g-label { font-size: 12.5px; color: var(--fg-3); font-family: var(--mono); }
.g-tag { font: 600 11px/1 var(--mono); padding: 4px 7px; border-radius: 4px; background: var(--acc-bg); color: var(--acc-text); }
.g-key { margin: 14px 0 12px; font: 500 19px/1 var(--mono); letter-spacing: .02em; color: var(--fg-1); }
.g-sub { font-size: 13px; color: var(--fg-3); }
.g-dot { font-size: 12.5px; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.g-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.g-mac { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.g-mac > .ic { width: 30px; height: 30px; padding: 6px; border-radius: 7px; background: var(--bg-3); color: var(--fg-2); }
.g-mac b { display: block; font-weight: 500; color: var(--fg-1); font-size: 14.5px; }
.g-mac span { font-size: 12.5px; color: var(--fg-3); }
.g-btn { margin-left: auto; font-size: 12.5px; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--bd-2); color: var(--fg-2); }

/* changelog */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding: 36px 0; border-top: 1px solid var(--bd-1); }
.tl-ver b { display: block; font: 600 22px/1 var(--mono); color: var(--fg-1); }
.tl-ver span { display: inline-block; margin-top: 10px; font-size: 12.5px; padding: 4px 8px; border-radius: 5px; border: 1px dashed var(--bd-2); color: var(--fg-3); }
.tl-body h2 { margin: 0 0 10px; font-size: 24px; color: var(--fg-1); letter-spacing: -.02em; }
.tl-body p { margin: 0; max-width: 60ch; line-height: 1.6; }
.tl-body .wl { margin-top: 24px; }

/* pricing */
.plans { padding: 0 0 96px; }
.plans .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 16px; }
.plan-in { padding: 32px; display: flex; flex-direction: column; }
.plan-head h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--fg-1); }
.plan-head p { margin: 8px 0 0; color: var(--fg-3); font-size: 15px; min-height: 2.9em; }
.price { margin: 28px 0 24px; display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: 64px; line-height: 1; font-weight: 650; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price span { color: var(--fg-3); font-size: 15px; }
.plan .btn { justify-content: center; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 0; color: var(--fg-2); }
.plan li { padding: 11px 0 11px 28px; position: relative; border-top: 1px solid var(--bd-1); line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 5px; border-left: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: rotate(-45deg); }
.plan.pro { border-color: color-mix(in srgb, var(--acc-hi) 45%, var(--bd-1)); background: color-mix(in srgb, var(--acc-hi) 10%, transparent); }
.plan.pro .plan-in { background: linear-gradient(180deg, color-mix(in srgb, var(--acc-hi) 9%, var(--bg-1)), var(--bg-1) 55%); }
.plan.pro li::before { border-color: var(--acc-text); }
.cmp-wrap { border: 1px solid var(--bd-1); border-radius: 14px; overflow: hidden; background: var(--bg-1); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--bd-1); }
.cmp thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--fg-1); background: var(--bg-2); }
.cmp tbody th { font-weight: 400; color: var(--fg-2); }
.cmp td { width: 22%; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.cmp .yes { display: inline-block; width: 12px; height: 6px; border-left: 1.5px solid var(--fg-1); border-bottom: 1.5px solid var(--fg-1); transform: rotate(-45deg) translateY(-2px); }
.qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin-top: 72px; }
.qgrid h3 { margin: 0 0 8px; font-size: 17px; color: var(--fg-1); font-weight: 600; }
.qgrid p { margin: 0; line-height: 1.6; }

/* faq and legal: a sticky table of contents beside the text */
.with-toc { display: grid; grid-template-columns: 200px minmax(0, 720px); gap: 72px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 1px solid var(--bd-1); }
.toc a { padding: 5px 0; font-size: 14px; color: var(--fg-3) !important; text-decoration: none !important; transition: color .2s ease; }
.toc a:hover, .toc a.on { color: var(--fg-1) !important; }
.toc-body > :first-child { margin-top: 0; }
.faq-sec { scroll-margin-top: calc(var(--nav-h) + 24px); }
.faq-sec + .faq-sec { margin-top: 64px; }
.faq-sec > h2 { margin: 0 0 8px; font: 500 12.5px/1 var(--mono); color: var(--fg-3); letter-spacing: .02em; }
.qa { padding: 24px 0; border-bottom: 1px solid var(--bd-1); }
.qa h3 { margin: 0 0 10px; font-size: 19px; color: var(--fg-1); font-weight: 600; letter-spacing: -.01em; }
.qa p { margin: 0 0 10px; line-height: 1.65; max-width: 64ch; }
.qa p:last-child { margin-bottom: 0; }
.dbgrid { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.dbgrid li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--bd-1); border-radius: 9px; background: var(--bg-1); color: var(--fg-1); font-size: 14px; }
.dbgrid i { width: 18px; height: 18px; flex: none; background: var(--fg-2); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.legal-body section { scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-body h2 { margin: 44px 0 12px; font-size: 20px; color: var(--fg-1); font-weight: 600; letter-spacing: -.015em; }
.legal-body p, .legal-body li { line-height: 1.7; }
.legal-body ul { padding-left: 20px; }
.callout { padding: 20px 24px; border-radius: 14px; border: 1px solid var(--bd-1); background: var(--bg-1); }
.callout > b { display: block; font: 500 12.5px/1 var(--mono); color: var(--fg-3); margin-bottom: 10px; }
.callout p { margin: 0; color: var(--fg-1); line-height: 1.6; }
.callout ul { margin: 0; padding-left: 18px; color: var(--fg-1); }
.callout li { line-height: 1.6; margin: 4px 0; }
.callout.big { display: flex; align-items: center; gap: 24px; }
.callout.big > b { margin: 0; font: 650 44px/1 var(--sans); letter-spacing: -.04em; color: var(--fg-1); flex: none; }

/* features bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.fcard.w7 { grid-column: span 7; } .fcard.w5 { grid-column: span 5; } .fcard.w6 { grid-column: span 6; }
.fcard.w4 { grid-column: span 4; } .fcard.w3 { grid-column: span 3; }
.fcard-in { padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.fcard, .fvis { min-width: 0; }
.fhead { display: flex; gap: 14px; align-items: flex-start; }
.fic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--bg-3); color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--bd-1); }
.fic .ic { width: 17px; height: 17px; }
.fic .dbt { fill: currentColor; stroke: none; }
.fhead h2 { margin: 0; font-size: 19px; color: var(--fg-1); letter-spacing: -.02em; font-weight: 600; }
.fhead p { margin: 4px 0 0; font-size: 14.5px; color: var(--fg-3); }
.fvis { margin: 20px 0 4px; }
.fvis .vis { margin: 0; }
.fcard ul { margin: 18px 0 0; padding: 0; list-style: none; }
.fcard li { position: relative; padding: 7px 0 7px 18px; font-size: 14.5px; line-height: 1.45; border-top: 1px solid var(--bd-1); }
.fcard li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 5px; height: 5px; border-radius: 1px; background: var(--fg-4); }
.snip { padding: 14px 16px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--bd-1); font: 400 12px/1.6 var(--mono); color: var(--fg-1); white-space: pre; overflow: hidden; }
.snip .d { color: var(--fg-3); } .snip .g { color: var(--ok); } .snip .c { color: var(--claude); } .snip .u { color: var(--fg-2); }
.snip.s-code .k { color: var(--kw); } .snip.s-code .f { color: var(--fn); } .snip.s-code .s { color: var(--str); } .snip.s-code .n { color: var(--num); }
.snip.s-notes { white-space: normal; display: grid; gap: 8px; font-family: var(--sans); }
.snip.s-notes div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 7px; background: var(--bg-1); border: 1px solid var(--bd-1); }
.snip.s-notes b { font-weight: 500; font-size: 13px; } .snip.s-notes span { font: 11px var(--mono); color: var(--fg-3); }
.snip.s-diff { white-space: pre; padding: 0; font-size: 11.5px; }
.snip.s-diff .dh { padding: 8px 12px; border-bottom: 1px solid var(--bd-1); color: var(--fg-2); }
.snip.s-diff .dl { padding: 2px 12px; overflow: hidden; text-overflow: ellipsis; } .snip.s-diff .dl.a { background: color-mix(in srgb, var(--ok) 14%, transparent); }
.snip.s-diff .dl.d { background: color-mix(in srgb, var(--bad) 14%, transparent); }
.snip.s-diff .add { color: var(--ok); } .snip.s-diff .del { color: var(--bad); }
.rgrid { border-radius: 10px; border: 1px solid var(--bd-1); overflow: hidden; font: 12.5px var(--mono); background: var(--bg-2); }
.rgrid > div { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.rgrid span { padding: 8px 12px; border-top: 1px solid var(--bd-1); }
.rgrid .rh span { border-top: 0; color: var(--fg-3); background: var(--bg-1); }
.rgrid .rr span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.rgrid .bar { position: relative; }
.rgrid .bar i { position: absolute; inset: 3px auto 3px 0; width: calc(var(--v) * 100%); background: color-mix(in srgb, var(--acc-hi) 24%, transparent); border-radius: 0 2px 2px 0; }
.cta-band { padding: 40px 0 120px; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta-band h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.045em; font-weight: 650; }

@media (max-width: 959px) {
  .phead { padding: 72px 0 40px; }
  .soon { padding: 72px 0 80px; }
  .soon-split, .with-toc { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; border-left: 0; padding: 0 0 16px; border-bottom: 1px solid var(--bd-1); }
  .plans .wrap, .qgrid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .fcard[class*="w"] { grid-column: auto; }
  .ghost-card:nth-child(n) { margin-left: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 16px; }
  .cmp th, .cmp td { padding: 12px 12px; font-size: 14px; }
  .callout.big { flex-direction: column; align-items: flex-start; gap: 12px; }
  .snip { font-size: 11px; }
}
@media (max-width: 520px) {
  .wl-field { flex-direction: column; }
  .wl .btn { justify-content: center; }
}

/* pricing reads as one centred column */
.p-pricing .phead .wrap { text-align: center; display: flex; flex-direction: column; align-items: center; }
.p-pricing .phead .eyebrow::before { display: none; }
.p-pricing .phead::before { -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 0%, transparent 70%); }
.p-pricing .phead::after { left: 15%; }
.p-pricing .plans .wrap { justify-content: center; }
.p-pricing .doc .wrap { max-width: 840px; }
.p-pricing .sec-title { text-align: center; }

/* download: the thank-you after the confirmation link */
[hidden] { display: none !important; }
.ok-badge { position: relative; width: 64px; height: 64px; margin-bottom: 32px; opacity: 0; transform: translateY(14px) scale(.96); border-radius: 18px; background: color-mix(in srgb, var(--ok) 16%, var(--bg-1)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 40%, transparent); animation: rise .6s var(--ease-out) forwards; }
.ok-badge::after { content: ""; position: absolute; left: 50%; top: 46%; width: 22px; height: 11px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: translate(-50%, -50%) rotate(-45deg); }
.thanks h1, .thanks .lead, .thanks .eyebrow, .thanks-cta { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease-out) forwards; }
.thanks .eyebrow { animation-delay: .05s; } .thanks h1 { animation-delay: .1s; } .thanks .lead { animation-delay: .16s; } .thanks-cta { animation-delay: .22s; }
.thanks-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (prefers-reduced-motion: reduce) { .ok-badge, .thanks h1, .thanks .lead, .thanks .eyebrow, .thanks-cta { animation: none; opacity: 1; transform: none; } }
