:root {
  --surround: #262626;
  --panel: #2f2f2f;
  --line: #3b3b3b;
  --ink: #ecebe8;
  --muted: #a3a19c;
  --black: #000;
  --font: "Futura PT", "Futura Std", Futura, Jost, "Century Gothic", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --brand-red: #D70229;
  --brand-yellow: #FFF64D;
  --brand-green: #00985D;
  --brand-cyan: #00C6FF;
  --brand-blue: #3A54FF;
  --brand-magenta: #FF05D3;
  --brand-bars: linear-gradient(90deg, var(--brand-red) 0 16.667%, var(--brand-yellow) 0 33.333%, var(--brand-green) 0 50%, var(--brand-cyan) 0 66.667%, var(--brand-blue) 0 83.333%, var(--brand-magenta) 0);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surround);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: rgba(236, 235, 232, 0.22); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(40px, 9vw, 132px); line-height: 0.95; letter-spacing: -0.03em; }
h2 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.025em; }
h3 { font-size: 22px; line-height: 1.3; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.lede { font-size: clamp(19px, 1.6vw, 22px); color: var(--muted); max-width: 34em; margin-top: 28px; }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  height: 64px; padding: 0 var(--gutter);
  background: rgba(38, 38, 38, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wordmark { display: block; text-decoration: none; }
.wordmark img { display: block; height: 30px; width: auto; }
.nav-main { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-main > a, .nav-menu-btn { font: inherit; font-size: 15px; color: var(--muted); text-decoration: none; }
.nav-main > a:hover, .nav-menu-btn:hover, .nav-menu.open .nav-menu-btn { color: var(--ink); }

.nav-menu { position: relative; }
.nav-menu-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.nav-menu-btn svg { transition: transform .2s; }
.nav-menu.open .nav-menu-btn svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: -18px; width: 280px; padding: 8px;
  background: rgba(34, 34, 34, 0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,.4);
}
.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dropdown a { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: rgba(255,255,255,.06); }
.dd-title { display: block; font-size: 16px; color: var(--ink); }
.dd-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.dd-soon { font-size: 13px; color: #75736f; padding: 10px 14px 8px; margin-top: 4px; border-top: 1px solid var(--line); }

.subnav {
  position: fixed; left: 0; right: 0; top: 64px; z-index: 49;
  background: rgba(30, 30, 30, 0.72);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.subnav-inner { display: flex; align-items: center; gap: 28px; height: 44px; padding: 0 var(--gutter); }
.subnav-title { font-size: 17px; font-weight: 500; text-decoration: none; }
.subnav nav { display: flex; gap: 24px; margin-left: auto; }
.subnav nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.subnav nav a:hover { color: var(--ink); }
.product .hero-copy { top: clamp(132px, calc(14vh + 44px), 194px); }
.product .photo-note { top: 118px; }
html { scroll-padding-top: 108px; }

.section-rail {
  position: fixed; right: clamp(10px, 1.6vw, 22px); top: 50%; transform: translateY(-50%); z-index: 40;
  padding: 10px 6px; border-radius: 999px;
  background: rgba(24, 24, 24, 0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .4s;
}
.section-rail.ready { opacity: 1; }
.section-rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.section-rail ol::before { content: ""; position: absolute; left: 50%; top: 9px; bottom: 9px; width: 1px; background: rgba(255,255,255,.12); }
.section-rail a {
  position: relative; display: block; width: 20px; height: 20px;
  font-size: 0; color: transparent; text-decoration: none;
}
.section-rail a::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: #262626; box-shadow: inset 0 0 0 1.5px rgba(236,235,232,.6);
  transition: transform .3s, background .3s, box-shadow .3s;
}
.section-rail a.is-past::before { background: rgba(236,235,232,.55); box-shadow: none; }
.section-rail a.is-active::before { background: var(--dot); box-shadow: 0 0 0 3px rgba(0,0,0,.35); transform: scale(1.7); }
.section-rail a:hover::before, .section-rail a:focus-visible::before { box-shadow: inset 0 0 0 1px var(--ink); transform: scale(1.4); }
.section-rail a.is-active:hover::before { transform: scale(1.7); }

.section-rail a::after {
  content: attr(data-label); position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; font-size: 13px; color: var(--ink); background: rgba(24,24,24,.86);
  padding: 4px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.section-rail a:hover::after, .section-rail a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.section-rail a:focus-visible { outline: none; }
.nav-cta, .button {
  display: inline-block; text-decoration: none; font-size: 15px; font-weight: 500;
  background: var(--ink); color: var(--surround);
  padding: 8px 18px; border-radius: 999px;
}
.button { font-size: 17px; padding: 13px 28px; }
.nav-cta:hover, .button:hover { background: #fff; }

.hero { position: relative; background: var(--black); }
.hero-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 65% at 18% 24%, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 72%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 34%),
    linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 30%);
}
.hero-side-shade {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 60%);
}

.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 55%; pointer-events: none; opacity: 0;
  background: linear-gradient(0deg, var(--surround) 0%, rgba(38,38,38,.85) 22%, rgba(38,38,38,0) 100%);
}
.hero-statement {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-58%);
  margin: 0; font-size: clamp(52px, 8.4vw, 128px); line-height: 0.92; font-weight: 500;
  letter-spacing: -0.03em; color: var(--ink);
}
.hero-statement span { display: block; }
.hero-copy { position: absolute; left: var(--gutter); top: clamp(88px, 14vh, 150px); max-width: 900px; }
p.product { font-size: 17px; color: rgba(236, 235, 232, 0.82); margin-bottom: 18px; }
.hero-lede { font-size: clamp(19px, 1.8vw, 24px); margin-top: 22px; color: rgba(236, 235, 232, 0.9); max-width: 24em; }
.hero-steps {
  position: absolute; left: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  list-style: none; margin: 0; padding: 0; font-size: 17px;
}
.hero-steps li { position: absolute; bottom: 0; white-space: nowrap; opacity: 0; color: var(--ink); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 14px; color: rgba(236,235,232,.7); }
.photo-note { position: absolute; right: var(--gutter); top: 66px; font-size: 12px; color: rgba(236,235,232,.55); z-index: 2; }

.mini-panel {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  width: 330px; padding: 14px 16px 10px;
  background: rgba(30, 30, 30, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 10px;
  font-size: 13px; color: #c9c7c2;
}
.mini-head { font-weight: 500; color: var(--ink); margin-bottom: 8px; font-size: 14px; }
.mini-row { display: grid; grid-template-columns: 10px 92px 1fr 52px; align-items: center; gap: 8px; padding: 5px 0; }
.mini-row .dot, .vector-list li::before { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: block; }
.mini-track { position: relative; height: 2px; background: #4a4a4a; }
.mini-track i { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #d8d6d1; }
.mini-row output { font-variant-numeric: tabular-nums; text-align: right; background: #1c1c1c; border-radius: 3px; padding: 1px 6px; color: var(--ink); }
.mini-row.live output { color: #fff; }

.vector-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); }
.vector-list li { padding: 22px 0 0; font-size: clamp(17px, 1.6vw, 22px); display: flex; flex-direction: column; gap: 14px; }
.vector-list li::before { content: ""; width: 14px; height: 14px; }
.vectors { position: relative; z-index: 1; margin-top: -3px; background: var(--surround); }
.aside { color: var(--muted); margin-top: 36px; max-width: 34em; }

.highlight { background: var(--surround); }
.highlight-stage { background: var(--black); }
.highlight-stage { height: 100vh; height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.hl-frame { position: relative; overflow: hidden; }
.hl-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#hl-checker { clip-path: inset(0 100% 0 0); }
.hl-line { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.hl-copy { padding: 28px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; max-width: var(--wrap); margin: 0 auto; width: 100%; }
.hl-copy h2 { font-size: clamp(30px, 3.8vw, 52px); }
.hl-copy p { color: var(--muted); max-width: 30em; }

.selection, .wheel { padding: clamp(56px, 7vw, 96px) 0; }
.wheel { padding-top: 0; }
.limits { padding-bottom: clamp(48px, 6vw, 80px); }
.selection-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sel-terms { margin: 44px 0 0; }
.sel-terms div { padding: 18px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .3s; }
.sel-terms div.on { opacity: 1; }
.sel-terms dt { font-size: 22px; font-weight: 500; }
.sel-terms dd { margin: 4px 0 0; color: var(--muted); }
.sel-graph { margin: 0; }
.sel-graph figcaption { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-top: 10px; }

.compare-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: 48px; }
.compare { margin: 0; }
.compare figcaption { margin-top: 20px; }
.compare figcaption p, .protect-row p { color: var(--muted); margin-top: 8px; max-width: 34em; }
.compare-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; --p: 50%;
}
.compare-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cmp-b { clip-path: inset(0 0 0 var(--p)); }
.cmp-tag {
  position: absolute; top: 12px; font-size: 13px; line-height: 1; color: var(--ink);
  background: rgba(20, 20, 20, 0.72); padding: 7px 10px; border-radius: 999px; pointer-events: none;
}
.cmp-tag-a { left: 12px; }
.cmp-tag-b { right: 12px; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 44px; margin-left: -22px; outline: none; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.cmp-handle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  background: rgba(24, 24, 24, 0.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M6 1L1 6l5 5M16 1l5 5-5 5' fill='none' stroke='%23ecebe8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 12px no-repeat;
  border: 1.5px solid rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}
.compare-frame:hover .cmp-handle::after, .cmp-handle:focus-visible::after, .compare-frame.dragging .cmp-handle::after { transform: scale(1.08); }
.cmp-handle:focus-visible::after { box-shadow: 0 0 0 3px var(--ink); }
.protect-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.scope { margin: 0; justify-self: center; width: min(100%, 380px); }
.scope canvas { width: 100%; height: auto; aspect-ratio: 1; }
.scope figcaption { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
.scope-key { display: inline-flex; align-items: center; gap: 8px; }
.scope-key::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(236,235,232,.16); }
.scope-key-hue::before { border-radius: 2px; border-color: #e3ab8c; background: rgba(227,171,140,.2); }
.compare-note { font-size: 14px; color: var(--muted); margin-top: 24px; max-width: 46em; }
.strip { position: relative; height: 34px; margin-top: 26px; border-radius: 4px; overflow: hidden; }
.strip-protect { background: linear-gradient(90deg, #f0707a, #e3ab8c 8%, #e6cd72 17%, #74c696 33%, #72d0de 50%, #8a97ef 67%, #d18ad0 83%, #f0707a); }
.strip::after { content: ""; position: absolute; inset: 0; background: rgba(38,38,38,.72); clip-path: polygon(0 0, var(--l) 0, var(--l) 100%, 0 100%, 0 0, 100% 0, 100% 100%, var(--r) 100%, var(--r) 0, 100% 0); }
.strip-protect::after { clip-path: none; background: transparent; }
.gate { position: absolute; top: 0; bottom: 0; left: var(--l); right: calc(100% - var(--r)); border: 1.5px solid var(--ink); border-radius: 4px; }

.wheel-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.wheel-copy p { color: var(--muted); margin-top: 24px; max-width: 28em; }
.wheel-canvas-wrap { aspect-ratio: 1; width: 100%; max-width: min(640px, calc(100svh - 160px)); justify-self: center; }
#wheel-canvas { width: 100%; height: 100%; }

.real-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.real-shot { perspective: 1400px; justify-self: center; }
.inspector {
  width: min(360px, 100%); border-radius: 10px; overflow: hidden; background: #28282e;
  border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0,0,0,.45); transform-origin: 50% 60%;
}
.inspector img { display: block; width: 100%; height: auto; }
.inspector-view { position: relative; height: clamp(360px, calc(100vh - 300px), 620px); height: clamp(360px, calc(100svh - 300px), 620px); overflow: hidden; }
.inspector-scroll { will-change: transform; }
.real-copy > p { color: var(--muted); margin-top: 24px; max-width: 30em; }
.specs { margin: 36px 0 0; }
.specs div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.demo-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.demo-head p { color: var(--muted); max-width: 22em; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 40px; align-items: start; }
.demo-image canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: #000; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; font-size: 15px; color: var(--muted); }
.disclaimer { font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 46em; padding-left: 14px; border-left: 2px solid var(--line); }
.demo-controls { background: var(--panel); border-radius: 12px; padding: 20px; }
.vector-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vector-picker button {
  font: inherit; font-size: 14px; color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 6px; padding: 7px 4px;
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.vector-picker button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.vector-picker button[aria-pressed="true"] { color: var(--ink); border-color: var(--c); background: rgba(255,255,255,.04); }
.toggle { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; font-size: 15px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--vector, #ecebe8); }
fieldset { border: 0; padding: 0; margin: 18px 0 0; }
legend { font-size: 13px; color: var(--muted); padding: 0; margin-bottom: 6px; }
.slider { display: grid; grid-template-columns: 1fr auto; padding: 6px 0; }
.slider label { font-size: 15px; }
.slider output { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.slider input { grid-column: 1 / -1; width: 100%; margin: 6px 0 0; accent-color: var(--vector, #ecebe8); }
.ghost { font: inherit; font-size: 14px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.ghost:hover { border-color: var(--muted); }
#demo-reset { margin-top: 18px; width: 100%; }
#demo-reset-all { margin-top: 8px; width: 100%; color: var(--muted); }
#demo-reset-all:hover { color: var(--ink); }

.edition-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: 48px; align-items: stretch; }
.edition { padding: clamp(28px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; }
.edition-stack { display: grid; gap: 24px; }
.edition-soon { border-style: dashed; }
.edition-soon h3, .edition-soon > p:not(.edition-sub) { color: var(--muted); }
.edition-soon h3 { font-size: clamp(26px, 2.4vw, 32px); }
.edition-soon .price { margin-top: auto; padding-top: 24px; }
.edition-pro { position: relative; overflow: hidden; background: var(--panel); border-color: #4a4a4a; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.brand-bars { display: block; height: 4px; background: var(--brand-bars); }
.edition-pro .brand-bars { position: absolute; top: 0; left: 0; right: 0; }
.edition-pro li { display: flex; gap: 14px; align-items: baseline; }
.edition-pro li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--bar); transform: translateY(1px); }
.edition-pro li:nth-child(1) { --bar: var(--brand-red); }
.edition-pro li:nth-child(2) { --bar: var(--brand-yellow); }
.edition-pro li:nth-child(3) { --bar: var(--brand-green); }
.edition-pro li:nth-child(4) { --bar: var(--brand-cyan); }
.edition-pro li:nth-child(5) { --bar: var(--brand-magenta); }
.edition h3 { font-size: clamp(30px, 3vw, 40px); }
.edition-sub { color: var(--muted); margin-top: 6px; }
.edition ul { list-style: none; padding: 0; margin: 32px 0; flex: 1; }
.edition li { padding: 12px 0; border-top: 1px solid var(--line); }
.price { font-size: 17px; color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); margin-top: 24px; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.steps li { border-top: 3px solid var(--step, var(--ink)); padding-top: 20px; }
.steps li:nth-child(1) { --step: var(--brand-red); }
.steps li:nth-child(2) { --step: var(--brand-yellow); }
.steps li:nth-child(3) { --step: var(--brand-cyan); }
.steps li:nth-child(4) { --step: var(--brand-blue); }
.steps { grid-template-rows: auto auto 1fr; row-gap: 0; }
.steps li { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
.step-num { font-size: 15px; font-variant-numeric: tabular-nums; color: var(--muted); margin-bottom: 14px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 16px; }

.faq h2 { margin-bottom: 36px; }
.faq details { border-top: 1px solid var(--line); max-width: 860px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 0; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 40em; }

.closing { padding: clamp(96px, 13vw, 176px) 0; text-align: center; }
.closing h2 { font-size: clamp(48px, 8vw, 112px); }
.closing p { color: var(--muted); font-size: clamp(19px, 1.8vw, 24px); margin: 20px 0 40px; }

.footer { position: relative; padding: 48px 0 40px; font-size: 13px; color: var(--muted); }
.brand-bars-footer { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.footer .wordmark img { height: 40px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px 48px; }
.footer-links { display: flex; gap: 32px; justify-self: end; flex-wrap: wrap; }
.footer-links a { font-size: 15px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }

.subpage main { padding-top: 64px; }
.eyebrow { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.page-title { font-size: clamp(44px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.03em; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; margin-top: clamp(56px, 8vw, 104px); }
.about-copy p { color: var(--muted); font-size: clamp(18px, 1.4vw, 20px); }
.about-copy p + p { margin-top: 1.2em; }
.about-copy p:first-child { color: var(--ink); }
.image-slot {
  margin: 0; aspect-ratio: 4 / 5; border-radius: 10px;
  background: var(--panel); border: 1px dashed #4a4a4a;
  display: grid; place-items: center;
}
.image-slot span { font-size: 14px; color: var(--muted); letter-spacing: 0.04em; }

.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-intro .lede { margin-top: 24px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field:nth-child(n+3) { grid-column: 1 / -1; }
.field label { font-size: 15px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; width: 100%;
}
.field textarea { resize: vertical; min-height: 150px; }

.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  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; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--muted); }
.field [aria-invalid="true"] { border-color: #f0707a; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .button { border: 0; cursor: pointer; font-family: inherit; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.is-error { color: #f0707a; }

.legal .placeholder-note { margin-top: 28px; font-size: 15px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--line); }
.legal-body { max-width: 44em; margin-top: 56px; }
.legal-body h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 44px; }
.legal-body p { color: var(--muted); margin-top: 12px; }

@supports (height: 100lvh) {
  .hero-stage, .highlight-stage { height: 100lvh; }
  .hero-steps, .mini-panel { margin-bottom: calc(100lvh - 100svh); }
  .hl-copy { padding-bottom: calc(40px + 100lvh - 100svh); }
}

@media (min-width: 901px) {
  .highlight-stage { background: var(--surround); padding: 124px var(--gutter) 0; }
  .hl-frame { width: 100%; max-width: calc(var(--wrap) - 96px); margin: 0 auto; border-radius: 16px; }
  .hl-copy { padding-left: 0; padding-right: 0; max-width: calc(var(--wrap) - 96px); }
}

@media (max-width: 900px) {
  .subnav nav { display: none; }
  .section-rail { display: none; }
  .mini-panel { left: var(--gutter); right: var(--gutter); width: auto; bottom: 72px; }
  .hero-steps { bottom: 24px; }
  .scroll-hint { display: none; }
  .vector-list { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .hl-copy, .selection-stage, .wheel-stage, .real-grid { grid-template-columns: minmax(0, 1fr); }
  .hl-copy { gap: 12px; }
  .selection-stage, .wheel-stage { align-content: center; gap: 36px; }
  .wheel-canvas-wrap { max-width: 420px; }
  .compare-cols, .protect-row, .edition-cols { grid-template-columns: minmax(0, 1fr); }
  .inspector-view { height: clamp(320px, calc(100svh - 260px), 520px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .specs div { grid-template-columns: 130px 1fr; gap: 16px; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .image-slot { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav { gap: 20px; }
  .nav-main { gap: 20px; }
  .nav-cta { display: none; }
  .wordmark img { height: 26px; }
  .nav-dropdown { left: auto; right: -60px; width: min(280px, calc(100vw - 32px)); }
  .hero-copy { top: 84px; }
  .hero-statement { top: 38%; }
  .mini-row { grid-template-columns: 10px 84px 1fr 48px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vector-list { margin-top: 36px; }
  .selection-stage .sel-terms { margin-top: 24px; }
  .sel-terms div { padding: 12px 0; }
  .wheel-copy p { margin-top: 14px; font-size: 16px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-self: start; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .section-rail a::before, .section-rail a::after, .nav-menu-btn svg { transition: none; }
  .sel-terms div { opacity: 1; transition: none; }
  .hero-steps li { position: static; opacity: 1; }
  .scroll-hint { display: none; }
  .inspector-view { overflow-y: auto; }
  .cmp-handle::after { transition: none; }
}

.hero-copy { text-shadow: 0 1px 18px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.35); }
.edition-pro .price { color: var(--ink); font-size: 22px; font-weight: 500; }
.price .price-note { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.price-amount { display: block; font-size: clamp(48px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; }

/* Hide the second hero headline until the scroll animation reveals it,
   so it never flashes on top of "Find Your Latitude." while the page loads. */
.hero-statement span { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-statement, .hero-steps { display: none; }
}

.edition-download { align-self: flex-start; margin-top: 24px; }
@media (max-width: 520px) {
  .edition-download { display: block; width: 100%; text-align: center; font-size: 16px; padding: 13px 16px; white-space: nowrap; }
}
