@font-face { font-family: "Inter"; src: url("../fonts/Inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #000;
  --fg: #f0f0f0;
  --fg-2: #a1a4a8;
  --fg-3: #6b6f76;
  --line: rgb(255 255 255 / 7%);
  --line-2: rgb(255 255 255 / 12%);
  --panel: #0a0a0b;
  --panel-2: #121214;
  --crit: #ff7a4d;
  --high: #f5b84a;
  --ok: #4fd1b0;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --h-from: #fff; --h-to: #a9acb2;
  --nav-bg: rgb(0 0 0 / 70%);
  --card: #0b0b0c;
  --pill-bg: #f0f0f0; --pill-fg: #000;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fff; --fg: #0b0b0c; --fg-2: #52565d; --fg-3: #80848b;
  --line: rgb(0 0 0 / 7%); --line-2: rgb(0 0 0 / 12%);
  --h-from: #0b0b0c; --h-to: #5c6067;
  --nav-bg: rgb(255 255 255 / 75%);
  --card: #fafafa;
  --pill-bg: #0b0b0c; --pill-fg: #fff;
  color-scheme: light;
}
/* Product shots stay dark in both themes */
.shot, .code-shot, .run-shot, .how .story-stage {
  --bg: #000; --fg: #f0f0f0; --fg-2: #a1a4a8; --fg-3: #6b6f76;
  --line: rgb(255 255 255 / 7%); --line-2: rgb(255 255 255 / 12%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg-2); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; font-feature-settings: "cv11", "ss03"; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* Navigation */
.nav-bar { position: sticky; top: 0; z-index: 20; background: var(--nav-bg); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color 300ms; }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; letter-spacing: -0.02em; font-size: 1rem; }
.logo svg, .app-brand svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; font-size: 0.92rem; }
.nav-links a { color: var(--fg-2); transition: color 160ms; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
@media (max-width: 900px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 12px; background: var(--pill-bg); color: var(--pill-fg); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; transition: background-color 200ms, transform 200ms var(--ease); }
.pill:hover { opacity: 0.9; transform: translateY(-1px); }
.pill-sm { height: 38px; padding: 0 16px; border-radius: 10px; font-size: 0.88rem; }
.link-more { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 8px; color: var(--fg); font-weight: 500; font-size: 0.95rem; }
.link-more span { transition: transform 200ms var(--ease); }
.link-more:hover span { transform: translateX(3px); }

/* Hero */
.hero { position: relative; padding: 120px 0 0; }
.hero-light { position: absolute; inset: -64px 0 auto; height: 900px; pointer-events: none; background: radial-gradient(50% 55% at 50% 0%, rgb(255 255 255 / 9%), transparent 70%), radial-gradient(30% 40% at 70% 10%, rgb(255 255 255 / 4%), transparent 70%); }
.hero-copy { position: relative; text-align: center; display: grid; justify-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; color: var(--fg); border: 1px solid var(--line-2); background: rgb(255 255 255 / 3%); transition: border-color 200ms; }
.badge:hover { border-color: rgb(255 255 255 / 25%); }
.badge span { color: var(--fg-3); }
h1 { margin: 32px 0 0; font-family: var(--sans); font-weight: 600; font-size: clamp(3rem, 7.6vw, 6.2rem); line-height: 1; letter-spacing: -0.055em; color: var(--fg); background: linear-gradient(180deg, var(--h-from) 30%, var(--h-to)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; text-wrap: balance; }
.hero-tag { margin-top: 28px; font-size: 1.32rem; line-height: 1.4; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); max-width: 32em; }
.hero-sub { margin-top: 12px; font-size: 1.12rem; line-height: 1.55; color: var(--fg-2); max-width: 36em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
@media (max-width: 640px) { .hero { padding-top: 72px; } .br-d { display: none; } .hero-sub { font-size: 1.04rem; } .hero-tag { font-size: 1.14rem; } }

/* Product shot */
.shot { position: relative; margin: 96px 0 0; }
.shot::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; background: linear-gradient(180deg, rgb(255 255 255 / 22%), rgb(255 255 255 / 4%) 40%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 1; }
.app { display: grid; grid-template-columns: 200px 330px minmax(0, 1fr); height: 580px; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #0d0d0f, #070708); border: 1px solid var(--line); box-shadow: 0 60px 140px -40px rgb(0 0 0 / 90%); font-size: 13px; color: var(--fg-2); }
.shot figcaption, .code-shot figcaption { margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--fg-3); }

.app-side { border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 18px; background: rgb(255 255 255 / 1.5%); }
.app-brand { display: flex; align-items: center; gap: 8px; padding: 0 8px; color: var(--fg); font-weight: 600; }
.app-brand svg { width: 18px; height: 18px; }
.app-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-nav li { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 8px; }
.app-nav li.on { background: rgb(255 255 255 / 6%); color: var(--fg); }
.app-nav b { font-weight: 600; font-size: 11px; min-width: 20px; height: 18px; border-radius: 6px; display: grid; place-items: center; background: rgb(255 122 77 / 18%); color: var(--crit); }
.app-nav b.muted-b { background: rgb(255 255 255 / 7%); color: var(--fg-2); }
.app-status { margin-top: auto; display: grid; gap: 6px; padding: 0 8px; font-size: 11.5px; color: var(--fg-3); }
.app-status p { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgb(79 209 176 / 15%); }

.app-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--fg); font-weight: 600; }
.app-filter { font-weight: 450; font-size: 12px; color: var(--fg-2); padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; }
.inc-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.inc { display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; }
.inc p { color: var(--fg); font-weight: 500; font-size: 13.5px; }
.inc.on { background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px var(--line-2); }
.inc.done p { color: var(--fg-2); }
.inc-meta { font-size: 12px; color: var(--fg-3); }
.sev { justify-self: start; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; }
.s-crit { color: var(--crit); background: rgb(255 122 77 / 13%); }
.s-high { color: var(--high); background: rgb(245 184 74 / 12%); }
.s-med { color: var(--fg); background: rgb(255 255 255 / 8%); }
.s-low { color: var(--fg-2); background: rgb(255 255 255 / 5%); }
.s-ok { color: var(--ok); background: rgb(79 209 176 / 11%); }

.app-detail { padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; overflow: hidden; }
.det-top { display: flex; align-items: center; gap: 10px; }
.det-id { font-family: var(--mono); font-size: 11.5px; color: var(--fg-3); margin-left: auto; }
.det-title { color: var(--fg); font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.det-timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1px solid var(--line-2); display: grid; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--fg); }
.det-timeline li { position: relative; display: grid; grid-template-columns: 64px 74px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.det-timeline li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--crit); }
.det-timeline time { color: var(--fg-3); }
.det-timeline .layer { color: var(--fg-2); }
.det-ai, .det-action { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: rgb(255 255 255 / 2%); line-height: 1.55; }
.det-ai p:last-child, .det-action > p:nth-child(2) { color: var(--fg); font-size: 13.5px; }
.det-label { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); margin-bottom: 6px !important; }
.det-label i { width: 6px; height: 6px; background: var(--fg); transform: rotate(45deg); }
.det-action { border-color: rgb(79 209 176 / 25%); background: rgb(79 209 176 / 4%); }
.det-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ui-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--fg); font-size: 12.5px; font-weight: 500; }
.ui-primary { background: var(--fg); color: #000; border-color: var(--fg); }
.ui-ghost { border-color: transparent; color: var(--fg-2); }

@media (max-width: 1000px) {
  .app { grid-template-columns: 300px minmax(0, 1fr); }
  .app-side { display: none; }
}
@media (max-width: 720px) {
  .shot { margin-top: 64px; }
  .app { grid-template-columns: minmax(0, 1fr); height: auto; }
  .app-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .inc-list .inc:nth-child(n+3) { display: none; }
  .app-detail { padding: 18px; }
  .det-timeline li { grid-template-columns: 58px minmax(0, 1fr); }
  .det-timeline .layer { display: none; }
}

/* Blocks */
.block { padding: 220px 0 0; }
.block-head { text-align: center; display: grid; justify-items: center; }
.icon-tile { width: 112px; height: 112px; border-radius: 28px; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 10%, #2a2b2f, #0c0c0e 60%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), inset 0 -10px 30px rgb(0 0 0 / 60%), 0 30px 60px -20px rgb(0 0 0 / 90%), 0 0 0 1px rgb(255 255 255 / 6%); margin-bottom: 40px; }
.icon-tile svg { width: 56px; height: 56px; }
h2 { margin: 0; font-family: var(--sans); font-weight: 500; font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.045em; background: linear-gradient(180deg, var(--h-from) 35%, var(--h-to)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.05em; text-wrap: balance; }
/* Gradient text is painted only inside the box; tight tracking pushes the last glyph past it. */
h1, h2 { padding-inline: 0.1em; margin-inline: -0.1em; }
.block-sub { margin-top: 20px; font-size: 1.12rem; line-height: 1.55; max-width: 34em; }

.tiles { list-style: none; margin: 64px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 10px; max-width: 1120px; }
.tiles li { display: grid; justify-items: center; gap: 10px; width: 72px; font-size: 12.5px; color: var(--fg-2); text-align: center; }
.tile { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, #161618, #0b0b0c); box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 0 0 1px var(--line-2); transition: transform 300ms var(--ease), box-shadow 300ms; }
.tile svg { width: 24px; height: 24px; fill: none; stroke: var(--fg-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 300ms; }
.tiles li:hover .tile { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 0 0 1px rgb(255 255 255 / 22%); }
.tiles li:hover .tile svg { stroke: var(--fg); }

.code-shot { position: relative; margin: 56px auto 0; max-width: 1040px; }
.code-shot::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 25%) 50%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; height: 60px; }
.code-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; background: #0b0b0c; }
.code-tabs button { font: inherit; font-size: 0.88rem; color: var(--fg-2); background: none; border: 1px solid transparent; border-radius: 9px; padding: 6px 12px; cursor: pointer; transition: color 160ms, background-color 160ms; }
.code-tabs button:hover { color: var(--fg); }
.code-tabs button[aria-selected="true"] { color: var(--fg); background: rgb(255 255 255 / 6%); border-color: var(--line-2); }
.code-body { position: relative; border: 1px solid var(--line); border-radius: 0 0 20px 20px; background: linear-gradient(180deg, #08080a, #050506); min-height: 360px; overflow-x: auto; }
.code-pane { display: none; margin: 0; padding: 28px 32px; font-family: var(--mono); font-size: 14px; line-height: 1.95; color: #e3e4e6; white-space: pre; }
.code-pane.is-on { display: block; animation: pane-in 420ms var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.code-pane .k { color: var(--fg-3); }
.code-pane .m { color: var(--fg-3); }
.code-pane .s { color: #f7c48b; }
.code-pane .c { color: var(--fg-3); font-style: italic; }
.code-pane .ok { color: var(--ok); }
@media (max-width: 640px) { .code-pane { font-size: 12.5px; padding: 20px; } .block { padding-top: 150px; } .tiles { gap: 18px 6px; } }

/* Story block: tokens the ported scene stylesheet expects */
.how {
  --bg: #000; --surface: #0c0c0e; --surface-2: #131316;
  --ink: var(--fg); --ink-2: var(--fg-2); --muted: var(--fg-3);
  --accent: var(--ok); --accent-soft: rgb(79 209 176 / 12%); --accent-ink: #021a14;
  --signal: var(--crit); --signal-soft: rgb(255 122 77 / 14%);
  --high-soft: rgb(245 184 74 / 13%); --hl: #c9cfdb;
  --code-bg: rgb(255 255 255 / 6%);
  --plane: rgb(255 255 255 / 2%); --plane-line: rgb(255 255 255 / 22%); --plane-grid: rgb(255 255 255 / 5%);
  --slab-l: rgb(255 255 255 / 5%); --slab-r: rgb(255 255 255 / 2.5%);
  --shadow: 0 40px 90px -40px rgb(0 0 0 / 90%), 0 0 0 1px rgb(255 255 255 / 6%);
  --font: var(--sans); --ease-out: var(--ease); --ease-io: cubic-bezier(0.65, 0, 0.35, 1); --pad: 32px;
}
.how .story-stage {
  --ink: #f0f0f0; --ink-2: #a1a4a8; --muted: #6b6f76;
  --line: rgb(255 255 255 / 7%); --line-2: rgb(255 255 255 / 12%);
  --bg: #000; --surface: #0c0c0e; --surface-2: #131316; --code-bg: rgb(255 255 255 / 6%);
}
:root[data-theme="light"] .how { --bg: #fff; --surface: #fafafa; --surface-2: #f3f3f4; --code-bg: rgb(0 0 0 / 5%); }
:root[data-theme="light"] .how .story-stage { --bg: #000; --surface: #0c0c0e; --surface-2: #131316; --code-bg: rgb(255 255 255 / 6%); }
.how h3 { margin: 0; color: var(--fg); font-weight: 600; }
.how code { font-family: var(--mono); font-size: 0.84em; background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 4px; color: var(--fg); }
.how .story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; margin-top: 40px; }
.how .steps { padding-top: 4vh; }
@media (max-width: 1000px) { .how .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 48px; } }
@media (max-width: 640px) { .how { --pad: 20px; } }


/* Entrance */
.js .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise 900ms var(--ease) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: 80ms; }
.js .hero-copy > :nth-child(3) { animation-delay: 200ms; }
.js .hero-copy > :nth-child(4) { animation-delay: 280ms; }
.js .hero-copy > :nth-child(5) { animation-delay: 360ms; }
.js .shot { opacity: 0; transform: translateY(40px) scale(0.985); animation: rise 1300ms var(--ease) 380ms forwards; }
.js .inc { animation: fade 600ms var(--ease) both; }
.js .inc:nth-child(1) { animation-delay: 1100ms; } .js .inc:nth-child(2) { animation-delay: 1180ms; } .js .inc:nth-child(3) { animation-delay: 1260ms; } .js .inc:nth-child(4) { animation-delay: 1340ms; } .js .inc:nth-child(5) { animation-delay: 1420ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-copy > *, .js .shot, .js .inc { animation: none; opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .code-pane.is-on { animation: none; }
}

/* Navigation actions */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--fg-2); cursor: pointer; transition: color 160ms, border-color 160ms; }
.theme-btn:hover { color: var(--fg); border-color: var(--fg-3); }
.theme-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }
:root[data-theme="light"] .hero-light { background: radial-gradient(50% 55% at 50% 0%, rgb(0 0 0 / 5%), transparent 70%); }
:root[data-theme="light"] .icon-tile { background: radial-gradient(120% 90% at 30% 10%, #2a2b2f, #0c0c0e 60%); }
:root[data-theme="light"] .tile { background: linear-gradient(180deg, #fff, #f3f3f4); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--line-2); }
:root[data-theme="light"] .badge { background: rgb(0 0 0 / 2%); }
:root[data-theme="light"] .badge:hover { border-color: rgb(0 0 0 / 25%); }

/* Stack block extras */
.tiles-note { margin: 28px auto 0; max-width: 46em; text-align: center; font-size: 0.9rem; color: var(--fg-3); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 40px auto 0; }
.duo-item { padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.duo-item h3, .feat h3, .plan h3, .trust b { margin: 0; color: var(--fg); font-weight: 600; letter-spacing: -0.02em; }
.duo-item h3 { font-size: 1.1rem; }
.duo-item p { margin-top: 8px; font-size: 0.96rem; line-height: 1.55; }
@media (max-width: 720px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Detection: known problems */
.probs { list-style: none; margin: 72px auto 0; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prob { display: grid; align-content: start; gap: 10px; padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color 200ms; }
.prob:hover { border-color: var(--line-2); }
.prob-k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.prob h3 { margin: 0; color: var(--fg); font-size: 1.12rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.prob p { font-size: 0.93rem; line-height: 1.55; }
.probs-more { margin-top: 32px; text-align: center; }
@media (max-width: 960px) { .probs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .probs { grid-template-columns: minmax(0, 1fr); margin-top: 48px; gap: 12px; } .prob { padding: 22px; } }

/* Patch run shot */
.run-shot { position: relative; margin: 72px auto 0; max-width: 880px; }
.run { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #0d0d0f, #070708); box-shadow: 0 60px 140px -40px rgb(0 0 0 / 80%); overflow: hidden; color: var(--fg-2); font-size: 13.5px; }
.run-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.run-head p { color: var(--fg); font-family: var(--mono); font-size: 13px; }
.run-head .m { color: var(--fg-3); }
.run-meta { margin-left: auto; font-size: 12px; color: var(--fg-3); }
.run-steps { list-style: none; margin: 0; padding: 10px 22px; }
.run-steps li { position: relative; display: grid; grid-template-columns: 22px 150px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.run-steps li:last-child { border-bottom: 0; }
.run-steps b { color: var(--fg); font-weight: 500; }
.run-steps time { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.run-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--fg-3); display: grid; place-items: center; }
.run-steps .done .run-dot { border-color: var(--ok); background: rgb(79 209 176 / 14%); }
.run-steps .done .run-dot::after { content: ""; width: 6px; height: 3px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg) translate(1px, -1px); }
.run-steps .skip { opacity: 0.55; }
.run-steps .skip .run-dot { border-style: dashed; }
.run-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; padding: 16px 22px; border-top: 1px solid var(--line); background: rgb(255 255 255 / 2%); }
.run-foot b { color: var(--fg); font-size: 15px; font-weight: 600; }
.run-note { color: var(--fg-3); font-size: 12px; }
.run-shot figcaption { margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--fg-3); }
.js .run-steps li { opacity: 0; transform: translateX(-6px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .run-shot.in .run-steps li { opacity: 1; transform: none; }
.js .run-shot.in .run-steps li:nth-child(2) { transition-delay: 150ms; } .js .run-shot.in .run-steps li:nth-child(3) { transition-delay: 300ms; } .js .run-shot.in .run-steps li:nth-child(4) { transition-delay: 450ms; } .js .run-shot.in .run-steps li:nth-child(5) { transition-delay: 600ms; }
.js .run-shot.in .run-steps .skip { opacity: 0.55; }
@media (max-width: 640px) {
  .run-steps li { grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; }
  .run-steps li > span:not(.run-dot) { grid-column: 2; font-size: 12.5px; }
  .run-steps time { grid-column: 2; }
  .run-meta { margin-left: 0; width: 100%; }
}

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; max-width: 1040px; margin: 80px auto 0; }
.feat { padding-top: 18px; border-top: 1px solid var(--line-2); }
.feat h3 { font-size: 1.04rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feat p { margin-top: 8px; font-size: 0.94rem; line-height: 1.55; }
.tag { font-family: var(--mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--high); border: 1px solid rgb(245 184 74 / 35%); padding: 2px 7px; border-radius: 6px; }
.honest { max-width: 1040px; margin: 48px auto 0; font-size: 0.95rem; color: var(--fg-2); }
.honest b { color: var(--fg); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 56px; } }

/* Law band */
.block-tight { padding-top: 200px; }
.law { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: end; padding: 56px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.law-k { font-size: 0.9rem; color: var(--fg-2); }
.law-date { margin-top: 10px; font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.law-left { margin-top: 12px; font-family: var(--mono); font-size: 0.82rem; color: var(--crit); }
.law-text { margin-top: 20px; font-size: 1.06rem; line-height: 1.55; max-width: 32em; }
.law .link-more { margin-top: 14px; padding-left: 0; }
.law-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.law-steps li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.law-steps b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .law { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; gap: 32px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.plan { display: grid; align-content: start; gap: 10px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.plan-main { border-color: var(--line-2); box-shadow: 0 0 0 1px var(--fg-3); }
.plan h3 { font-size: 1.25rem; }
.plan-desc { font-size: 0.95rem; }
.plan-price { margin-top: 14px; font-size: 0.95rem; }
.plan-price b { color: var(--fg); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; margin-right: 4px; font-variant-numeric: tabular-nums; }
.plan-price2 { font-size: 0.88rem; color: var(--fg-3); }
.plan-feats { list-style: none; margin: 16px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 0.93rem; }
.plan-feats li { position: relative; padding-left: 20px; }
.plan-feats li::before { content: ""; position: absolute; left: 1px; top: 0.6em; width: 8px; height: 4px; border-left: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: rotate(-45deg); }
.plans-foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 0.95rem; }
.plans-foot b { color: var(--fg); }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* Pilot */
.trust { list-style: none; margin: 56px auto 0; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.trust li { display: grid; align-content: start; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.pilot-form { max-width: 720px; margin: 56px auto 0; padding: 32px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); display: grid; gap: 18px; }
.form-note { font-size: 0.86rem; color: var(--high); border: 1px solid rgb(245 184 74 / 30%); background: rgb(245 184 74 / 8%); border-radius: 10px; padding: 10px 14px; }
.form-note strong { color: inherit; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 0.88rem; font-weight: 500; color: var(--fg); padding: 0; }
.field legend { margin-bottom: 8px; }
.pilot-form input[type="text"], .pilot-form input[type="email"], .pilot-form select { width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: border-color 140ms, box-shadow 140ms; }
.pilot-form select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2380848b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.pilot-form select option { background: var(--bg); color: var(--fg); }
.pilot-form input:focus, .pilot-form select:focus { outline: none; border-color: var(--fg-2); box-shadow: 0 0 0 3px var(--line-2); }
.pilot-form [aria-invalid="true"] { border-color: var(--crit) !important; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 9px; font-size: 0.95rem; color: var(--fg-2); cursor: pointer; }
.choices .choice { border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 14px; transition: border-color 160ms, background-color 160ms; }
.choices .choice:has(input:checked) { border-color: var(--fg-2); color: var(--fg); background: var(--line); }
.pilot-form input[type="checkbox"], .pilot-form input[type="radio"] { accent-color: var(--fg); width: 16px; height: 16px; margin: 0; flex: none; }
.consent { align-items: flex-start; font-size: 0.88rem; color: var(--fg-3); }
.consent input { margin-top: 3px !important; }
.pilot-form button[type="submit"] { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.pilot-form button[type="submit"] span { margin-left: 6px; }
.form-status { font-size: 0.92rem; min-height: 1.4em; }
.form-status.error { color: var(--crit); }
.form-status.ok { color: var(--fg); background: var(--line); border-radius: 10px; padding: 12px 14px; }
.form-foot { text-align: center; margin-top: 18px; font-size: 0.88rem; color: var(--fg-3); }
.form-foot a, .faq-more a, .faq p a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
@media (max-width: 640px) { .pilot-form { padding: 20px; } .field-row { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.narrow { max-width: 800px; }
.block-faq { padding-bottom: 160px; }
.faq-title { text-align: left; }
.faq { margin-top: 36px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; color: var(--fg); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 300; color: var(--fg-3); transition: transform 240ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; font-size: 0.98rem; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 400ms var(--ease), content-visibility 400ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { .faq { interpolate-size: allow-keywords; } }
.faq-more { margin-top: 24px; font-size: 0.92rem; color: var(--fg-3); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 0.86rem; color: var(--fg-3); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a:hover { color: var(--fg); }
.foot-legal { flex-basis: 100%; max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  .js .run-steps li { opacity: 1; transform: none; transition: none; }
  .faq details::details-content { transition: none; }
}
@media (forced-colors: active) {
  h1, h2 { -webkit-text-fill-color: CanvasText; background: none; }
}
.notfound { min-height: 100svh; display: grid; place-items: center; padding: 80px 0; }

/* Pricing page */
.pr-hero { position: relative; padding: 112px 0 0; }
.pr-title { margin-top: 28px; }
.pr-plans { margin-top: 72px; align-items: stretch; }
.pr-plans .plan { gap: 0; padding: 32px; }
.plan-name { margin: 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); background: none; -webkit-text-fill-color: currentColor; padding: 0; }
.pr-plans .plan-desc { margin-top: 8px; min-height: 3.1em; }
.pr-plans .plan-price { margin-top: 24px; }
.plan-rows { margin: 14px 0 24px; display: grid; align-content: start; gap: 8px; font-size: 0.92rem; min-height: 5.6em; }
.plan-rows div { display: flex; justify-content: space-between; gap: 12px; }
.plan-rows dd { margin: 0; color: var(--fg); font-variant-numeric: tabular-nums; }
.pr-plans .pill { width: 100%; }
.pill-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill-ghost:hover { box-shadow: inset 0 0 0 1px var(--fg-3); opacity: 1; }
.pr-plans .plan-feats { margin-top: 24px; }
.pr-pilot { margin-top: 24px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); font-size: 0.96rem; }
.pr-pilot b { color: var(--fg); }
.pr-note { margin-top: 14px; font-size: 0.86rem; color: var(--fg-3); }

.pr-section { padding-top: 140px; }
.pr-h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); text-align: left; margin-bottom: 28px; }
.pr-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.pr-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.94rem; }
.pr-table th, .pr-table td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.pr-table thead th { position: sticky; top: 0; font-size: 1rem; font-weight: 600; color: var(--fg); padding-top: 20px; padding-bottom: 20px; background: var(--card); }
.pr-table tbody th { font-weight: 400; color: var(--fg-2); width: 38%; }
.pr-table td { color: var(--fg); width: 20.66%; }
.pr-table .grp th { padding-top: 26px; padding-bottom: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); border-bottom: 1px solid var(--line-2); }
.pr-table .m { background: rgb(255 255 255 / 3%); }
:root[data-theme="light"] .pr-table .m { background: rgb(0 0 0 / 2.5%); }
.pr-table thead .m { box-shadow: inset 0 2px 0 var(--fg); }
.pr-table .n { color: var(--fg-3); }
.ck { display: inline-block; width: 12px; height: 7px; border-left: 1.6px solid var(--fg); border-bottom: 1.6px solid var(--fg); transform: rotate(-45deg) translateY(-3px); }
.pr-table tbody:last-child tr:last-child th, .pr-table tbody:last-child tr:last-child td { border-bottom: 0; }
.pr-section .honest { margin-left: 0; }

.pr-two { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
.pr-list { margin: 0; border-top: 1px solid var(--line-2); }
.pr-list div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.pr-list dt { color: var(--fg); font-weight: 500; }
.pr-list dd { margin: 0; font-size: 0.95rem; }
.pr-examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pr-examples li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.pr-examples p { color: var(--fg); font-size: 0.95rem; }
.pr-examples code { grid-column: 1; font-family: var(--mono); font-size: 0.78rem; color: var(--fg-3); }
.pr-examples b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--fg); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-examples span { grid-column: 1 / -1; font-size: 0.82rem; color: var(--fg-3); }
.pr-small { margin-top: 12px; font-size: 0.84rem; color: var(--fg-3); }
@media (max-width: 960px) { .pr-two { grid-template-columns: minmax(0, 1fr); gap: 72px; } }

.pr-services { margin: 0; border-top: 1px solid var(--line-2); }
.pr-services div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr) minmax(0, 1.2fr); gap: 16px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pr-services dt { color: var(--fg); font-weight: 500; }
.pr-services dd { margin: 0; font-size: 0.95rem; }
.pr-services dd b { color: var(--fg); font-weight: 600; }
.pr-services .sn { color: var(--fg-3); font-size: 0.9rem; }
@media (max-width: 760px) { .pr-services div { grid-template-columns: minmax(0, 1fr); gap: 4px; } .pr-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.narrow-wide .faq { margin-top: 0; max-width: 860px; }
.pr-cta { padding: 160px 0 140px; text-align: center; display: grid; justify-items: center; }
.pr-cta .hero-actions { margin-top: 28px; }
@media (max-width: 640px) {
  .pr-hero { padding-top: 64px; }
  .pr-plans { margin-top: 48px; }
  .pr-plans .plan-desc { min-height: 0; }
  .pr-section { padding-top: 96px; }
  .pr-table { font-size: 0.86rem; min-width: 560px; }
  .pr-table th, .pr-table td { padding: 12px 12px; }
  .pr-table tbody th { position: sticky; left: 0; background: var(--card); min-width: 150px; z-index: 1; }
  .pr-cta { padding: 110px 0 100px; }
}
.plans-note { margin-top: 14px; font-size: 0.86rem; color: var(--fg-3); }
.law .link-more + .link-more { margin-left: 24px; }

/* Pricing: four plans, Enterprise */
.pr-plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pr-plans-4 .plan { padding: 26px; }
.pr-plans-4 .plan-desc { min-height: 4.7em; }
.pr-plans-4 .plan-rows { min-height: 7.4em; }
.plan-price .from { font-size: 0.9rem; color: var(--fg-3); }
.plan-rows dd { text-align: right; }
.pr-table-4 { min-width: 820px; }
.pr-table-4 tbody th { width: 30%; }
.pr-table-4 td { width: 17.5%; }
.pr-two-tight { padding: 0; gap: 40px; align-items: start; }
.pr-section .pr-pilot { margin-top: 0; }
@media (max-width: 1100px) { .pr-plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pr-plans-4 { grid-template-columns: minmax(0, 1fr); } .pr-plans-4 .plan-desc, .pr-plans-4 .plan-rows { min-height: 0; } .pr-table-4 { min-width: 640px; } }
.plan-ent .plan-price b { white-space: nowrap; }
.pr-plans .pill { white-space: nowrap; }
.pr-plans-4 .plan-rows { min-height: 9.6em; }
@media (max-width: 640px) { .pr-plans-4 .plan-rows { min-height: 0; } }
.prob-k { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: none; color: var(--ok); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgb(79 209 176 / 15%); }
:root[data-theme="light"] .live { color: #0a7f63; }
:root[data-theme="light"] .live::before { background: #0a7f63; }
.probs-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }
.probs-legend { display: inline-flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--fg-3); }
.pilot-mail { max-width: 720px; margin: 56px auto 0; padding: 32px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); display: grid; gap: 18px; justify-items: start; }
.pilot-mail p { margin: 0; color: var(--fg-2); }
.pilot-mail .pill span { margin-left: 6px; }
@media (max-width: 640px) { .pilot-mail { padding: 20px; } .pilot-mail .pill { width: 100%; } }
