/* vxbench.com
   Direction: calm, exact, a little warm. vx is a workbench, so the neutrals
   are warm paper and ink rather than cold grey; vx blue (shared with the
   product UI) is the only accent. Richness lives in three moments: the race
   in the hero, the merge diagram and the real product screenshot. Agents keep
   one colour each across every diagram (the signature). Geist for text,
   Geist Mono only for code and terminal output. */
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --raised: #EFEDE8;
  --text: #1B1A17;
  --text-2: #4F4C46;
  --muted: #6B675F;
  --line: rgba(27, 26, 23, .10);
  --line-strong: rgba(27, 26, 23, .17);
  --accent: #2257D6;
  --accent-hover: #1C49B5;
  --accent-ink: #FFFFFF;
  --accent-text: #1F4FC2;
  --ok: #15803D;
  --warn: #9A5A06;
  --bad: #C42B2B;
  --hash: #1F4FC2;
  --shadow: 0 1px 2px rgba(27, 26, 23, .05), 0 12px 32px rgba(27, 26, 23, .06);
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131210;
    --surface: #1B1A17;
    --raised: #262420;
    --text: #EEEBE5;
    --text-2: #B3AEA5;
    --muted: #918C83;
    --line: rgba(238, 235, 229, .09);
    --line-strong: rgba(238, 235, 229, .16);
    --accent: #6E9BFF;
    --accent-hover: #8AAFFF;
    --accent-ink: #0B0C0E;
    --accent-text: #8AAFFF;
    --ok: #5BC98A;
    --warn: #E0A84A;
    --bad: #F07070;
    --hash: #8AAFFF;
    --shadow: none;
    color-scheme: dark;
  }
}

/* agent colours, shared by every diagram on the site; they match the vx web UI */
.c1 { --agent: #C2410C; } .c2 { --agent: #15803D; } .c3 { --agent: #2257D6; }
.c4 { --agent: #7C3AED; } .c5 { --agent: #0E7490; } .c6 { --agent: #BE185D; }
@media (prefers-color-scheme: dark) {
  .c1 { --agent: #EA6A2A; } .c2 { --agent: #1F9D52; } .c3 { --agent: #4A7BF0; }
  .c4 { --agent: #8B5CF6; } .c5 { --agent: #0E8FAF; } .c6 { --agent: #DB2777; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; transition: color .15s var(--ease), text-decoration-color .15s var(--ease); }
a:hover { text-decoration-color: currentColor; }
code { white-space: nowrap; font-family: var(--mono); font-size: .875em; background: var(--raised); color: var(--text); padding: .1em .35em; border-radius: 4px; }
em { font-style: normal; font-family: var(--mono); font-size: .875em; color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); padding: .1em .4em; border-radius: 4px; white-space: nowrap; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 12px; }
.mono { font-family: var(--mono); font-size: .9em; }
.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: 1168px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* ---------- nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 30; }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; text-decoration: none; }
.logo-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--text); color: var(--bg); font: 600 12px/1 var(--mono); }
.logo-word { font-size: 16px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a, .nav-text { color: var(--text-2); text-decoration: none; }
.nav-links a:hover, .nav-text:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.nav-cta .nav-back { display: inline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 15px/1 var(--sans); height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 104px 0 96px; }
.hero-kicker { font-size: 14px; color: var(--text-2); }
h1 { margin-top: 20px; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; max-width: 21ch; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text-2); margin-top: 28px; max-width: 56ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* the race: the benchmark on one 0 to 11 minute axis. A 15 s loop plays
   1 minute per second (from 1 s to 12 s), then holds. Bars grow with scaleX;
   labels swap with visibility; the clock is an animated integer. Only
   measured numbers: per-agent timings were not measured, so a group's agent
   bars share one length. site.js adds the pause button. */
.race { margin: 72px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.race-top { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 28px; border-bottom: 1px solid var(--line); }
.race-title { flex: 1; font-size: 15px; color: var(--text-2); }
.race-toggle { flex: none; font: 500 13px/1 var(--sans); color: var(--text-2); background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; height: 30px; padding: 0 12px; cursor: pointer; transition: background-color .15s var(--ease); }
.race-toggle:hover { background: var(--raised); }
.race.is-paused *, .race.is-paused *::after { animation-play-state: paused; }
@property --min { syntax: "<integer>"; inherits: false; initial-value: 0; }
.race-clock { font: 500 15px/1 var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }
.race-clock::after { content: counter(m) " min"; counter-reset: m var(--min); animation: clock 15s linear infinite; }
.race-chart { display: grid; grid-template-columns: 210px minmax(0, 1fr) 150px; column-gap: 24px; row-gap: 28px; align-items: center; padding: 32px 28px 24px; }
.rname p { font-size: 17px; line-height: 24px; font-weight: 500; }
.rname span { font-size: 14px; line-height: 20px; color: var(--muted); }
.rlanes { position: relative; display: grid; gap: 5px; }
.lane { position: relative; display: block; height: 12px; border-radius: 6px; background: var(--raised); overflow: hidden; }
.bar { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 6px; transform-origin: left center; transform: scaleX(0); animation: 15s linear infinite; }
.bar.wt { width: 63.64%; background: color-mix(in srgb, var(--text) 32%, transparent); animation-name: grow-wt; }
.bar.merge { left: 63.64%; width: 36.36%; background: repeating-linear-gradient(-45deg, var(--warn) 0 6px, color-mix(in srgb, var(--warn) 70%, transparent) 6px 12px); animation-name: grow-merge; }
.bar.vx { width: 54.55%; background: var(--accent); animation-name: grow-vx; }
.gap { position: absolute; left: 54.55%; right: 0; top: -4px; bottom: -4px; display: grid; place-items: center; border-left: 2px dashed var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 0 8px 8px 0; clip-path: inset(0 100% 0 0); animation: gap 15s linear infinite; }
.gap span { font-size: 14px; font-weight: 500; color: var(--accent-text); background: var(--surface); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.rresult { display: grid; font-size: 15px; line-height: 22px; }
.rs { grid-area: 1 / 1; display: flex; align-items: center; gap: 6px; visibility: hidden; color: var(--muted); white-space: nowrap; animation: 15s step-end infinite; }
.rs b { font-size: 20px; font-weight: 500; color: var(--text); letter-spacing: -.01em; }
.rs-wt-2 { color: var(--warn); }
.rs-vx-2, .rs-vx-2 b { color: var(--accent-text); }
.rs-wt-1 { animation-name: rs-wt-1; } .rs-wt-2 { animation-name: rs-wt-2; } .rs-wt-3 { animation-name: rs-wt-3; }
.rs-vx-1 { animation-name: rs-vx-1; } .rs-vx-2 { animation-name: rs-vx-2; }
.raxis { grid-column: 2; position: relative; height: 16px; margin-top: -12px; font: 12px/16px var(--mono); color: var(--muted); }
.raxis i { position: absolute; top: 0; font-style: normal; white-space: nowrap; transform: translateX(-50%); }
.raxis i:nth-child(1) { left: 0; transform: none; } .raxis i:nth-child(2) { left: 18.18%; } .raxis i:nth-child(3) { left: 36.36%; }
.raxis i:nth-child(4) { left: 54.55%; } .raxis i:nth-child(5) { left: 72.73%; } .raxis i:nth-child(6) { left: 90.91%; transform: translateX(-4px); }
.race-cap { padding: 18px 28px; border-top: 1px solid var(--line); background: var(--bg); font-size: 14px; line-height: 22px; color: var(--text-2); }
@keyframes clock { 0%, 6.67% { --min: 0; } 80%, 97% { --min: 11; } 100% { --min: 0; } }
@keyframes grow-wt { 0%, 6.67% { transform: scaleX(0); opacity: 1; } 53.33%, 94% { transform: scaleX(1); opacity: 1; } 98% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes grow-merge { 0%, 53.33% { transform: scaleX(0); opacity: 1; } 80%, 94% { transform: scaleX(1); opacity: 1; } 98% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes grow-vx { 0%, 6.67% { transform: scaleX(0); opacity: 1; } 46.67%, 94% { transform: scaleX(1); opacity: 1; } 98% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes gap { 0%, 80% { clip-path: inset(0 100% 0 0); } 85%, 95% { clip-path: inset(0 0 0 0); } 95.1%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes rs-wt-1 { 0% { visibility: visible; } 53.33% { visibility: hidden; } 97% { visibility: visible; } }
@keyframes rs-wt-2 { 0% { visibility: hidden; } 53.33% { visibility: visible; } 80% { visibility: hidden; } }
@keyframes rs-wt-3 { 0% { visibility: hidden; } 80% { visibility: visible; } 97% { visibility: hidden; } }
@keyframes rs-vx-1 { 0% { visibility: visible; } 46.67% { visibility: hidden; } 97% { visibility: visible; } }
@keyframes rs-vx-2 { 0% { visibility: hidden; } 46.67% { visibility: visible; } 97% { visibility: hidden; } }

.proof-row { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; color: var(--text-2); }
.proof-row b { font-weight: 600; color: var(--text); }
.proof-note { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: 128px 0; }
.sec-tight { padding-top: 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.035em; max-width: 20ch; }
.sec-head { margin-bottom: 56px; }
.sec-head p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.sec-head-split p { margin-top: 0; font-size: 17px; }
.split-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.split-head h2 { position: sticky; top: 100px; }

/* why: before and after */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cmp { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.cmp figcaption h3 { font-size: 21px; line-height: 28px; }
.cmp figcaption p { margin-top: 2px; font-size: 15px; color: var(--text-2); }
.cmp svg { display: block; width: 100%; height: auto; margin: 24px 0; }
.cmp-list { margin: 0; padding: 0 0 0 20px; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.cmp-before .cmp-list li::marker { color: var(--bad); }
.cmp-after .cmp-list li::marker { color: var(--ok); }
.g-main { fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; }
.g-line { fill: none; stroke: var(--agent); stroke-width: 3; stroke-linecap: round; opacity: .85; }
.g-shared { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.g-agent circle { fill: var(--agent); }
.g-agent text, .g-pr-text { font: 500 12px var(--sans); fill: #FFFFFF; text-anchor: middle; }
.g-dots circle { fill: var(--bg); stroke: var(--agent); stroke-width: 3; }
.g-x path { fill: none; stroke: var(--bad); stroke-width: 3; stroke-linecap: round; }
.g-end { fill: var(--bg); stroke: var(--line-strong); stroke-width: 3; }
.g-end-bad { stroke: var(--bad); }
.g-pr { fill: var(--accent); }
.g-pr-text { fill: var(--accent-ink); }
.words { margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; }
.words div { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.words dt { font-size: 15px; font-weight: 600; color: var(--text); }
.words dd { margin: 2px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* a real run, as a timeline with the agents' colours */
.steps-tl { list-style: none; margin: 0; padding: 0; max-width: 820px; display: grid; gap: 40px; position: relative; }
.steps-tl::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.stl { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 24px; }
.stl-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--agent); color: #FFFFFF; font: 500 15px/1 var(--sans); box-shadow: 0 0 0 6px var(--bg); position: relative; }
.stl-pr { background: var(--text); color: var(--bg); font-size: 13px; }
.stl-body h3 { font-size: 21px; line-height: 1.3; padding-top: 6px; }
.stl-body > p { margin-top: 8px; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 64ch; }
.proof { margin-top: 12px; min-width: 0; }
.proof summary { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--accent-text); cursor: pointer; list-style: none; padding: 4px 0; }
.proof summary::-webkit-details-marker { display: none; }
.proof summary::before { content: "+"; font: 400 16px/1 var(--mono); width: 12px; }
.proof[open] summary::before { content: "-"; }
.proof summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.proof > .tx, .proof > .run-stack { margin-top: 12px; }
.run-stack { display: grid; gap: 12px; min-width: 0; }

/* transcripts */
.tx { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-width: 0; overflow: hidden; }
.tx-head { display: flex; justify-content: space-between; gap: 16px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--raised); font: 12px/20px var(--mono); color: var(--muted); }
.tx-head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tx-head span:first-child { color: var(--text-2); flex-shrink: 0; }
.tx pre { margin: 0; padding: 16px; font: 13px/20px var(--mono); color: var(--text-2); overflow-x: auto; tab-size: 4; }
.tx b { font-weight: 500; color: var(--text); }
.tx .p { color: var(--muted); user-select: none; }
.tx .ok { color: var(--ok); }
.tx .bad { color: var(--bad); }
.tx .warn { color: var(--warn); }
.tx .h { color: var(--hash); }
.tx .k { color: var(--text); }
.tx .dim { color: var(--muted); }

/* the product, and the record in git */
.shot { margin: 0; }
.shot picture, .shot img { display: block; width: 100%; height: auto; }
.shot img { border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow); background: var(--surface); }
.shot figcaption { margin-top: 14px; font-size: 14px; line-height: 22px; color: var(--muted); max-width: 80ch; }
.record { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; margin-top: 96px; }
.record-text h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
.record-text p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* people stay in charge */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 40px; }
.facts dt { font-size: 18px; font-weight: 500; color: var(--text); }
.facts dd { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }

/* get started: two paths */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.path { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); min-width: 0; }
.path h3 { font-size: 21px; line-height: 1.3; }
.path > p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.path .tx { margin-top: 8px; }
.path-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
.plans { margin: 0; }
.plan { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.plan:last-child { border-bottom: 1px solid var(--line-strong); }
.plan dt { font-size: 18px; font-weight: 500; line-height: 26px; }
.plan dd { margin: 0; display: grid; gap: 8px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.plan .plan-price { font-weight: 500; color: var(--text); }
.waitlist-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.waitlist-box h3 { font-size: 20px; line-height: 1.3; }
.box-sub { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.waitlist { display: grid; gap: 4px; margin-top: 20px; }
.waitlist label { font-size: 13px; font-weight: 500; color: var(--text); }
.waitlist .opt { color: var(--muted); font-weight: 400; }
.waitlist input, .waitlist select { font: 15px var(--sans); height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; margin-bottom: 12px; transition: border-color .15s var(--ease); }
.waitlist input:hover, .waitlist select:hover { border-color: var(--muted); }
.waitlist input:focus-visible, .waitlist select:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); border-radius: 10px; }
.waitlist .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist button { margin-top: 4px; }
.waitlist button[disabled] { opacity: .6; cursor: progress; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.form-note.ok { color: var(--ok); font-weight: 500; }
.form-note.bad { color: var(--bad); font-weight: 500; }
.waitlist.done label, .waitlist.done input, .waitlist.done select, .waitlist.done .row, .waitlist.done button { display: none; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { padding: 20px 0; font-weight: 500; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/24px var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "-"; }
.faq p { color: var(--text-2); padding-bottom: 20px; max-width: 64ch; font-size: 16px; line-height: 1.6; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 calc(56px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--text-2); }
.foot-contact { font-size: 17px; color: var(--text); }
.foot .mail { font-family: var(--mono); font-size: 15px; user-select: all; }
.foot .copy { margin-left: 4px; font: 500 12px/1 var(--sans); color: var(--text-2); background: transparent; border: 1px solid var(--line-strong); border-radius: 6px; height: 26px; padding: 0 9px; cursor: pointer; vertical-align: 1px; transition: background-color .15s var(--ease); }
.foot .copy:hover { background: var(--surface); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-in-solo { margin-top: 0; padding-top: 0; border-top: 0; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { color: var(--text-2); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot-brand { color: var(--muted); }

/* ---------- legal pages ---------- */
.legal { padding: 72px 0 112px; }
.legal .wrap { max-width: 768px; }
.legal h1 { margin-top: 0; font-size: 40px; letter-spacing: -.03em; }
.legal h1 + p { margin-top: 8px; color: var(--muted); }
.legal h2 { font-size: 20px; margin: 40px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--text); font-weight: 500; }

/* ---------- reduced motion: the finished race ---------- */
@media (prefers-reduced-motion: reduce) {
  .bar, .rs, .gap, .race-clock::after { animation: none; }
  .bar { transform: none; }
  .gap { clip-path: none; }
  .race-clock::after { content: "11 min"; }
  .rs-wt-3, .rs-vx-2 { visibility: visible; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .pricing { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
}
@media (max-width: 960px) {
  .hero { padding: 64px 0 72px; }
  .race { margin-top: 56px; }
  .race-chart { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; padding: 24px 20px 20px; }
  .rname { grid-column: 1; grid-row: 1; }
  .rresult { grid-column: 2; grid-row: 1; justify-items: end; }
  .rlanes { grid-column: 1 / -1; grid-row: 2; margin-bottom: 20px; }
  .rname-vx { grid-row: 3; } .rresult-vx { grid-row: 3; } .rlanes-vx { grid-row: 4; margin-bottom: 8px; }
  .raxis { grid-column: 1 / -1; grid-row: 5; margin-top: 0; }
  .sec { padding: 88px 0; }
  .sec-tight { padding-top: 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-head-split, .split-head, .record, .compare, .paths { grid-template-columns: minmax(0, 1fr); }
  .split-head h2 { position: static; }
  .record { margin-top: 64px; }
  .words { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .nav-text { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .race { border-radius: 16px; }
  .race-top { padding: 12px 12px 12px 16px; }
  .race-title { font-size: 14px; }
  .race-chart { padding: 20px 16px 16px; }
  .rname p { font-size: 16px; }
  .rname span { font-size: 13px; }
  .rs b { font-size: 18px; }
  .gap span { font-size: 12px; padding: 1px 6px; }
  .raxis i:nth-child(even) { visibility: hidden; }
  .race-cap { padding: 16px; }
  .proof-row { flex-direction: column; gap: 8px; }
  .sec { padding: 72px 0; }
  .sec-tight { padding-top: 0; }
  .cmp, .path, .waitlist-box { padding: 20px; }
  .words, .facts { grid-template-columns: minmax(0, 1fr); }
  .steps-tl { gap: 32px; }
  .steps-tl::before { left: 15px; }
  .stl { grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
  .stl-av { width: 32px; height: 32px; font-size: 13px; }
  .stl-pr { font-size: 11px; }
  .stl-body h3 { font-size: 19px; padding-top: 2px; }
  .stl-body > p { font-size: 16px; }
  .tx pre { font-size: 12px; padding: 12px; }
  .tx-head { padding: 8px 12px; }
  .plan { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .waitlist .row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
