/* YourAlgo - one stylesheet for every page. Dark-first; light follows the OS. */
:root {
  --bg: #0B1014; --bg-2: #10171C; --panel: #141C22; --panel-2: #1B242B; --panel-3: #232E37;
  --ink: #F1F0EA; --ink-2: #C5CDD2; --muted: #8A97A0; --faint: #5E6B74;
  --line: #232D35; --line-2: #34414B;
  --accent: #F26A1B; --accent-2: #FF8A3D; --accent-ink: #14100C; --accent-soft: rgba(242,106,27,.14);
  --signal: #34B7A4; --signal-soft: rgba(52,183,164,.14);
  --warn: #E2A93B; --warn-soft: rgba(226,169,59,.14);
  --paper: #F3F1EB; --paper-2: #E9E6DE; --paper-ink: #12181D; --paper-ink-2: #3D4952; --paper-muted: #6B777F; --paper-line: #D6D2C8;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -30px rgba(0,0,0,.8);
  --f-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F6F5F0; --bg-2: #EFEDE6; --panel: #FFFFFF; --panel-2: #F1EFE9; --panel-3: #E6E3DA;
    --ink: #12181D; --ink-2: #3D4952; --muted: #6B777F; --faint: #98A2A9;
    --line: #DDD9CF; --line-2: #C6C1B5;
    --accent: #E25F14; --accent-2: #F26A1B; --accent-ink: #FFFFFF; --accent-soft: rgba(226,95,20,.12);
    --signal: #178B7C; --signal-soft: rgba(23,139,124,.12);
    --warn: #B5760C; --warn-soft: rgba(181,118,12,.14);
    --paper: #12181D; --paper-2: #1B242B; --paper-ink: #F1F0EA; --paper-ink-2: #C5CDD2; --paper-muted: #8A97A0; --paper-line: #2C3740;
    --shadow: 0 1px 2px rgba(18,24,29,.06), 0 24px 60px -30px rgba(18,24,29,.35);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; font-variation-settings: "opsz" 96; }
p, ul, ol { margin: 0; } ul { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 44px); }
.wrap.narrow { max-width: 780px; }
.eyebrow { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 34em; }
.lede b, .body b { color: var(--ink); font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 9px; font: 600 15px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease, border-color .12s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -12px rgba(242,106,27,.65); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); background: var(--panel); }
.btn-link { background: none; border: 0; color: var(--ink-2); font: 500 14px/1 var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; width: auto; min-height: 0; }
.btn .arr { transition: transform .15s ease; } .btn:hover .arr { transform: translateX(3px); }
.btn.sm { min-height: 36px; padding: 8px 12px; font-size: 13px; border-radius: 6px; }
.btn.full { width: 100%; }

/* nav */
.navbar { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.logo .mark { width: 28px; height: 28px; display: block; }
.logo .ai { color: var(--accent); }
.nav ul { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--ink-2); padding-block: 4px; border-bottom: 1px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav .cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; appearance: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 42px; height: 42px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding-block: 8px 14px; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 17px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 12px; }
.navbar.open .mobile-nav { display: block; }

/* sections */
section { padding-block: clamp(56px, 8vw, 112px); }
section.tight { padding-block: clamp(36px, 5vw, 64px); }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: clamp(32px, 4vw, 56px); line-height: .98; font-weight: 700; margin-top: 14px; }
.sec-head p { color: var(--ink-2); font-size: 17px; max-width: 34em; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center p { max-width: 40em; }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(55% 50% at 80% 25%, var(--accent-soft), transparent 70%),
  linear-gradient(to bottom, transparent 60%, var(--bg)); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 8vw, 112px) clamp(36px, 5vw, 72px); }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .94; font-weight: 800; margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.hero .fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* operations board (hero illustration) */
.board { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.board-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.board-bar .t { font: 600 13px/1.2 var(--f-body); }
.board-bar .t small { display: block; font: 400 11px/1.4 var(--f-mono); color: var(--muted); margin-top: 3px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 5px; font: 500 11px/1 var(--f-mono); letter-spacing: .04em; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--panel); white-space: nowrap; }
.chip.ok { border-color: transparent; color: var(--signal); background: var(--signal-soft); }
.chip.ac { border-color: transparent; color: var(--accent-2); background: var(--accent-soft); }
.chip.wn { border-color: transparent; color: var(--warn); background: var(--warn-soft); }
.grid-map { padding: 16px; border-bottom: 1px solid var(--line); }
.grid-map .lbl { display: flex; justify-content: space-between; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.tile { aspect-ratio: 1; border-radius: 3px; background: var(--panel-3); transition: background .6s ease, box-shadow .6s ease; }
.tile.run { background: var(--accent); box-shadow: 0 0 0 1px rgba(242,106,27,.35); }
.tile.you { background: var(--signal); box-shadow: 0 0 0 2px var(--signal-soft); }
.legend { display: flex; gap: 14px; margin-top: 10px; font: 400 11px/1.2 var(--f-mono); color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; vertical-align: -1px; margin-right: 6px; }
.funnel { padding: 14px 16px; display: grid; gap: 9px; border-bottom: 1px solid var(--line); }
.frow { display: grid; grid-template-columns: 90px minmax(0,1fr) 34px; gap: 12px; align-items: center; font-size: 12.5px; }
.frow .l { color: var(--ink-2); font-weight: 500; }
.frow .bar { height: 9px; border-radius: 3px; background: var(--panel-3); overflow: hidden; }
.frow .bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.frow .bar i.s { background: var(--signal); }
.frow .n { text-align: right; font: 500 11px/1 var(--f-mono); color: var(--muted); }
.queue { padding: 12px 16px; display: grid; gap: 8px; }
.queue .q { display: grid; grid-template-columns: 8px minmax(0,1fr) auto; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.queue .q i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.queue .q i.g { background: var(--signal); }
.queue .q b { color: var(--ink); font-weight: 600; }
.queue .q .chip { font-size: 10px; }
.board-foot { padding: 10px 16px; border-top: 1px solid var(--line); font: 400 11px/1.4 var(--f-mono); color: var(--muted); }

/* proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.proof-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); }
.proof-item { padding: 20px 18px 20px 0; border-right: 1px solid var(--line); margin-right: 18px; min-width: 0; }
.proof-item:last-child { border-right: 0; margin-right: 0; }
.proof-item .v { font: 700 26px/1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof-item .v small { font: 600 14px/1 var(--f-display); color: var(--ink-2); margin-left: 3px; }
.proof-item .k { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.ticker .track { display: flex; gap: 0; width: max-content; animation: tick 60s linear infinite; }
.ticker span { padding: 10px 22px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); white-space: nowrap; }
.ticker span b { color: var(--accent); font-weight: 500; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform .15s ease, border-color .15s ease; }
.pillar:hover { transform: translateY(-2px); border-color: var(--line-2); }
.pillar .k { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pillar h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.02; }
.pillar p { font-size: 15.5px; color: var(--ink-2); }
.pillar ul { display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); margin-top: auto; padding-top: 8px; }
.pillar li { padding-left: 16px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1.5px; background: var(--accent); }
.pillar .more { font: 600 14px/1 var(--f-body); color: var(--ink); text-decoration: none; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.pillar .more:hover { color: var(--accent); }

/* engine */
.engine { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); position: relative; }
.engine::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--signal)); opacity: .55; }
.stage { padding-right: 22px; position: relative; min-width: 0; }
.stage + .stage { padding-left: 22px; border-left: 1px solid var(--line); }
.stage .node { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line-2); position: relative; z-index: 1; font: 700 13px/1 var(--f-mono); color: var(--accent); }
.stage:last-child .node { color: var(--signal); border-color: var(--signal); }
.stage h3 { font-size: 24px; margin-top: 18px; font-weight: 700; }
.stage .do { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.stage .chk { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); font: 400 12px/1.5 var(--f-mono); color: var(--muted); }
.stage .chk b { color: var(--ink-2); font-weight: 500; display: block; letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; margin-bottom: 4px; }
.sauce { margin-top: clamp(28px, 4vw, 48px); padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: 14px; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; align-items: start; background: var(--panel); }
.sauce .lock { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; }
.sauce .lock svg { width: 22px; height: 22px; }
.sauce h3 { font-size: 20px; font-weight: 700; }
.sauce p { color: var(--ink-2); font-size: 15px; margin-top: 6px; max-width: 70ch; }

/* standards */
.standards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.std { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 18px; align-items: start; }
.std .n { font: 800 40px/1 var(--f-display); color: var(--accent); letter-spacing: -0.03em; }
.std h3 { font-size: 22px; font-weight: 700; }
.std p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.std .why { margin-top: 12px; font: 400 12px/1.5 var(--f-mono); color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* paper band (offer) */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .eyebrow { color: var(--accent); }
.paper .btn-ghost { color: var(--paper-ink); border-color: var(--paper-line); }
.paper .btn-ghost:hover { background: var(--paper-2); border-color: var(--paper-ink-2); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.offer h2 { font-size: clamp(34px, 4.4vw, 62px); line-height: .96; font-weight: 800; margin-top: 14px; }
.offer .lede { color: var(--paper-ink-2); margin-top: 20px; max-width: 30em; }
.offer .cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.audit { border: 1px solid var(--paper-line); border-radius: 14px; overflow: hidden; background: color-mix(in oklab, var(--paper) 70%, var(--paper-2)); }
.audit .ah { padding: 14px 20px; border-bottom: 1px solid var(--paper-line); display: flex; justify-content: space-between; gap: 12px; align-items: center; font: 600 14px/1.2 var(--f-body); }
.audit .ah small { font: 400 11.5px/1.2 var(--f-mono); color: var(--paper-muted); }
.audit li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--paper-line); align-items: start; }
.audit li:last-child { border-bottom: 0; }
.audit .n { font: 700 13px/1 var(--f-mono); color: var(--accent); padding-top: 4px; }
.audit .t { font: 600 16px/1.3 var(--f-body); }
.audit .d { font-size: 14px; color: var(--paper-ink-2); margin-top: 4px; }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--paper-line); }
.term .h { font: 700 20px/1.1 var(--f-display); letter-spacing: -0.01em; }
.term p { font-size: 14px; color: var(--paper-ink-2); margin-top: 8px; }

/* trades */
.trades { display: flex; flex-wrap: wrap; gap: 10px; }
.trade { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 14px/1 var(--f-body); color: var(--ink-2); background: var(--panel); }
.trade.hi { border-color: var(--accent); color: var(--ink); }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1; font-weight: 700; margin-top: 14px; }
.faq .lede { margin-top: 16px; font-size: 16px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 600 18px/1.3 var(--f-body); }
summary::-webkit-details-marker { display: none; }
summary .pl { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); font: 400 18px/1 var(--f-mono); transition: transform .15s; }
details[open] summary .pl { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
details .a { padding: 0 0 22px; font-size: 15.5px; color: var(--ink-2); max-width: 62ch; }
details .a b { color: var(--ink); font-weight: 600; }

/* final cta */
.final { text-align: center; padding-block: clamp(64px, 10vw, 128px); }
.final h2 { font-size: clamp(40px, 6vw, 84px); line-height: .94; font-weight: 800; }
.final h2 em { font-style: normal; color: var(--accent); }
.final p { color: var(--ink-2); font-size: 18px; margin: 20px auto 0; max-width: 34em; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* subpage header */
.page-head { padding-block: clamp(44px, 7vw, 96px) clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(40px, 6vw, 84px); line-height: .94; font-weight: 800; margin-top: 16px; }
.page-head h1 em { font-style: normal; color: var(--accent); }
.page-head .lede { margin-top: 22px; max-width: 40em; }

/* services ledger */
.ledger { border-top: 1px solid var(--line-2); }
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 40px; padding-block: 34px; border-bottom: 1px solid var(--line); }
.svc h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.02; }
.svc .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.svc .what p { font-size: 16.5px; color: var(--ink); }
.svc .what p + p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.svc .cols { display: grid; gap: 14px; }
.svc .inc { font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; }
.svc .inc li { padding-left: 16px; position: relative; }
.svc .inc li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1.5px; background: var(--accent); }
.svc .inc .h { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-left: 0; margin-bottom: 2px; }
.svc .inc .h::before { display: none; }
.svc .meas { font: 400 12px/1.5 var(--f-mono); color: var(--signal); padding-top: 10px; border-top: 1px solid var(--line); }
.svc.feat { background: linear-gradient(135deg, var(--panel), transparent); margin-inline: calc(-1 * clamp(16px, 4vw, 44px)); padding-inline: clamp(16px, 4vw, 44px); }

/* how: stage detail */
.stage-detail { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, .9fr); gap: 24px 40px; padding-block: 40px; border-bottom: 1px solid var(--line); }
.stage-detail .big { font: 800 64px/1 var(--f-display); color: var(--accent); letter-spacing: -0.04em; }
.stage-detail .big small { display: block; font: 500 11px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.stage-detail h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.02; }
.stage-detail .body { margin-top: 12px; font-size: 16px; color: var(--ink-2); max-width: 56ch; }
.stage-detail .body p + p { margin-top: 10px; }
.kv { display: grid; gap: 10px; }
.kv .row { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.kv .row .h { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.kv .row .h.ours { color: var(--accent); }
.kv .row .h.std { color: var(--signal); }
.kv .row p { font-size: 14px; color: var(--ink-2); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.tl { padding: 24px 22px; border-right: 1px solid var(--line); }
.tl:last-child { border-right: 0; }
.tl .n { font: 700 13px/1 var(--f-mono); color: var(--accent); }
.tl h3 { font-size: 24px; margin-top: 10px; font-weight: 700; }
.tl p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.tl .gate { margin-top: 14px; font: 500 12px/1.4 var(--f-mono); color: var(--ink-2); padding-top: 10px; border-top: 1px dashed var(--line-2); }
.tl .gate::before { content: "GATE "; color: var(--accent); letter-spacing: .08em; }

/* booking flow (check page) */
.flow-wrap { max-width: 620px; margin: 0 auto; padding-inline: 18px; }
.flow-hero { padding-block: clamp(26px, 5vw, 48px) 22px; }
.flow-hero h1 { font-size: clamp(36px, 8vw, 60px); line-height: .96; font-weight: 800; margin-top: 12px; }
.flow-hero h1 em { font-style: normal; color: var(--accent); }
.flow-hero .lede { margin-top: 14px; font-size: 16.5px; }
.flow { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--panel-2); }
.stp { padding: 10px 8px; text-align: center; font: 500 11px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); position: relative; }
.stp b { display: block; font-weight: 700; color: var(--ink-2); margin-bottom: 3px; font-size: 12px; }
.stp.on, .stp.on b { color: var(--accent); }
.stp.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.stp.done b { color: var(--signal); }
.pane { padding: 18px 18px 20px; display: grid; gap: 14px; }
.pane h2 { font-size: 22px; font-weight: 700; line-height: 1.1; }
.pane .sub { color: var(--ink-2); font-size: 14.5px; margin-top: -6px; }
label.f { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.f input, .f select, .f textarea { font: 16px var(--f-body); padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; min-height: 48px; appearance: none; -webkit-appearance: none; }
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: var(--warn); font-size: 13px; display: none; }
.err.on { display: block; }
.fine { font: 400 11.5px/1.5 var(--f-mono); color: var(--muted); }
.fine a { color: var(--ink-2); }
.verdict { border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; border: 1px solid; }
.verdict.open { background: var(--signal-soft); border-color: var(--signal); }
.verdict.taken { background: var(--warn-soft); border-color: var(--warn); }
.verdict .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #0B1014; }
.verdict.open .ic { background: var(--signal); }
.verdict.taken .ic { background: var(--warn); }
.verdict .ic svg { width: 20px; height: 20px; }
.verdict h3 { font-size: 20px; font-weight: 700; line-height: 1.1; }
.verdict p { font-size: 14px; color: var(--ink-2); margin-top: 5px; }
.verdict .tag { display: inline-block; margin-top: 8px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; scroll-snap-align: start; min-width: 64px; padding: 10px 8px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--ink-2); text-align: center; cursor: pointer; font: 500 12px/1.2 var(--f-mono); }
.day b { display: block; font: 700 20px/1.1 var(--f-display); color: var(--ink); margin: 4px 0 2px; }
.day small { display: block; font-size: 10.5px; color: var(--muted); }
.day[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.day[aria-pressed="true"] b { color: var(--accent); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time { min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--ink); font: 500 15px/1 var(--f-body); cursor: pointer; font-variant-numeric: tabular-nums; }
.time[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tz { font: 400 11.5px/1.4 var(--f-mono); color: var(--muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.embed { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.embed iframe { width: 100%; min-height: 640px; border: 0; display: block; }
.sum { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sum li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.sum li:first-child { border-top: 0; }
.sum .k { font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sum .v { color: var(--ink); font-weight: 500; }
.done-hd { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; }
.done-hd .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--signal); color: #0B1014; display: grid; place-items: center; }
.done-hd .ic svg { width: 26px; height: 26px; }
.done-hd h2 { font-size: 24px; }
.done-hd p { color: var(--ink-2); font-size: 14px; margin-top: 3px; }
.cal { display: grid; gap: 8px; }
.cal .btn { min-height: 46px; font-size: 15px; width: 100%; }
.cal .btn svg { width: 18px; height: 18px; }
.checks { display: grid; gap: 10px; margin-top: 14px; }
.checks .chk { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.checks .chk .n { font: 700 12px/1 var(--f-mono); color: var(--accent); padding-top: 4px; }
.checks .chk .t { font-weight: 600; font-size: 15.5px; }
.checks .chk .d { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.h2 { font-size: 24px; font-weight: 700; line-height: 1.1; }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 44px 56px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .7fr)); gap: 32px; align-items: start; }
.foot .about { font-size: 14px; color: var(--ink-2); margin-top: 16px; max-width: 34ch; }
.foot .h { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot li { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.foot a { text-decoration: none; } .foot a:hover { text-decoration: underline; color: var(--ink); }
.legal { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

/* reveal (from a visible resting state; only nudges) */
.rv { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.js .rv:not(.in) { opacity: .001; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) { .js .rv:not(.in) { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .engine { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .engine::before { display: none; }
  .stage + .stage { border-left: 0; padding-left: 0; }
  .stage:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
  .proof-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .proof-item:nth-child(3) { border-right: 0; }
  .proof-item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
  .terms, .timeline { grid-template-columns: 1fr 1fr; }
  .tl:nth-child(2) { border-right: 0; } .tl:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
  .stage-detail { grid-template-columns: 1fr; gap: 16px; }
  .stage-detail .big { font-size: 48px; }
}
@media (max-width: 860px) {
  .nav ul, .nav .cta .btn-ghost { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero-grid, .sec-head, .offer, .faq, .svc { grid-template-columns: 1fr; }
  .svc { gap: 14px; padding-block: 28px; }
  .standards { grid-template-columns: 1fr; }
  .sauce { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .engine, .terms, .timeline, .two, .foot { grid-template-columns: 1fr; }
  .stage:nth-child(2n) { padding-left: 0; border-left: 0; }
  .tl { border-right: 0; border-bottom: 1px solid var(--line); } .tl:last-child { border-bottom: 0; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(10, 1fr); }
  .nav .cta .btn-primary { min-height: 40px; padding: 8px 12px; font-size: 13px; }
}
@media (min-width: 700px) { .times { grid-template-columns: repeat(4, 1fr); } }
