/* ==========================================================================
   Self-hosted fonts (SIL Open Font License) — no external requests.
   Inter · Saira Condensed · JetBrains Mono, latin subset (woff2).
   ========================================================================== */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('../assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('../assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('../assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('../assets/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family:'Saira Condensed'; font-style:normal; font-weight:600; font-display:swap; src:url('../assets/fonts/saira-condensed-600.woff2') format('woff2'); }
@font-face { font-family:'Saira Condensed'; font-style:normal; font-weight:700; font-display:swap; src:url('../assets/fonts/saira-condensed-700.woff2') format('woff2'); }
@font-face { font-family:'Saira Condensed'; font-style:normal; font-weight:800; font-display:swap; src:url('../assets/fonts/saira-condensed-800.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:500; font-display:swap; src:url('../assets/fonts/jetbrains-mono-500.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:600; font-display:swap; src:url('../assets/fonts/jetbrains-mono-600.woff2') format('woff2'); }

/* ==========================================================================
   OHMIE — 2026 web language.
   Same instrument brand as the app (Theme.swift): warm graphite ground,
   safety-amber as the ENERGIZED color, hairlines as light. New architecture:
   liquid-glass surfaces with specular edges + cursor refraction, type as
   structure (viewport-scaled, outlined, overlapping), scroll-driven motion
   via CSS animation-timeline, editorial asymmetry instead of card grids.
   ========================================================================== */

:root {
  --bg:        #0A0B0E;
  --bg-2:      #0d0f13;
  --card:      #15171C;
  --card-2:    #1D2026;
  --line:      rgba(255,255,255,.08);
  --line-hi:   rgba(255,255,255,.16);
  --ink:       #F4F2ED;
  --sub:       #A3A9B3;
  --faint:     #666C77;
  --amber:     #F7A600;
  --amber-deep:#D98500;
  --volt:      #FFCB37;
  --ok:        #44BA85;
  --warn:      #E85D3D;
  --on-amber:  #1B1404;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Saira Condensed', 'Arial Narrow', var(--font-body);
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw: 1240px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* liquid glass recipe */
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.015) 40%, rgba(255,255,255,.045));
  --glass-edge: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,255,255,.06) 30%, rgba(255,255,255,.02) 60%, rgba(247,166,0,.14));
  interpolate-size: allow-keywords;
}

/* ---------- reset / ground ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--volt); }
h1,h2,h3,p { margin: 0; }
ul { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* engineering grid — the ground plane */
body::before {
  content:""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.023) 1px, transparent 1px) 0 0 / 27px 27px,
    linear-gradient(90deg, rgba(255,255,255,.023) 1px, transparent 1px) 0 0 / 27px 27px;
  mask-image: radial-gradient(130% 90% at 50% 0%, #000 50%, transparent 100%);
}
/* filmic noise */
body::after {
  content:""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared voices ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--amber);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content:""; width: 20px; height: 1px; background: var(--amber); opacity:.6; }
.eyebrow.no-tick::before { display:none; }

.cite {
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500; color: var(--sub);
  padding: .18em .5em; border-radius: 6px; background: rgba(0,0,0,.34);
  border: 1px solid var(--line); white-space: nowrap;
}
.display {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: .88; letter-spacing: .004em;
}
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244,242,237,.8);
}
@supports not (-webkit-text-stroke: 1px #fff) { .outline { color: var(--sub); } }
.amber { color: var(--amber); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ==========================================================================
   LIQUID GLASS — the material system
   Translucent blur + gradient edge-light + specular sheen + cursor-tracked
   refraction highlight (set as --gx/--gy by js on pointer-fine devices).
   ========================================================================== */
.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1);
  isolation: isolate;
}
.glass::before { /* gradient edge — bright catch-light top-left, amber whisper bottom-right */
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: var(--glass-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.glass::after { /* cursor refraction highlight */
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: radial-gradient(340px circle at var(--gx,70%) var(--gy,-10%),
              rgba(255,255,255,.09), rgba(247,166,0,.05) 40%, transparent 65%);
  opacity: 0; transition: opacity .4s var(--ease); z-index: -1;
}
.glass:hover::after { opacity: 1; }
/* specular sheen sweep on hover */
.sheen { overflow: clip; }
.sheen > .sheen-x {
  content:""; position:absolute; inset:-40% auto -40% -80%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.055) 45%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.055) 55%, transparent);
  transform: skewX(-18deg) translateX(0);
  transition: transform 1.1s var(--ease-out); pointer-events:none;
}
.sheen:hover > .sheen-x { transform: skewX(-18deg) translateX(420%); }

/* solid machined panel (kept for dense UI like the phone rows) */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--card) 0%, var(--bg) 240%);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.panel::before {
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.035));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}

/* corner registration ticks — instrument detail */
.crop { position: relative; }
.crop > .tick { position:absolute; width:14px; height:14px; pointer-events:none; opacity:.55; }
.crop > .tick::before, .crop > .tick::after { content:""; position:absolute; background: var(--amber); }
.crop > .tick::before { width:100%; height:1px; } .crop > .tick::after { width:1px; height:100%; }
.crop > .tick.tl { top:-7px; left:-7px; } .crop > .tick.tr { top:-7px; right:-7px; transform:scaleX(-1); }
.crop > .tick.bl { bottom:-7px; left:-7px; transform:scaleY(-1); } .crop > .tick.br { bottom:-7px; right:-7px; transform:scale(-1); }

/* amber aurora — the energy the glass refracts (per-section, not fixed) */
.aura { position:absolute; inset:-10%; pointer-events:none; z-index:-1; overflow:visible; filter: blur(60px); }
.aura i { position:absolute; border-radius:50%; opacity:.5; }
.aura i:nth-child(1) { width:44vw; height:30vw; right:-8%; top:-6%; background:radial-gradient(closest-side, rgba(247,166,0,.32), transparent 70%); animation: drift1 26s var(--ease) infinite alternate; }
.aura i:nth-child(2) { width:30vw; height:26vw; left:-6%; bottom:-10%; background:radial-gradient(closest-side, rgba(217,133,0,.18), transparent 70%); animation: drift2 34s var(--ease) infinite alternate; }
.aura i:nth-child(3) { width:18vw; height:18vw; left:38%; top:30%; background:radial-gradient(closest-side, rgba(255,203,55,.1), transparent 70%); animation: drift1 40s var(--ease) infinite alternate-reverse; }
@keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-6vw,4vw,0) scale(1.15); } }
@keyframes drift2 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(5vw,-3vw,0) scale(.92); } }

/* hero energized beams — directional current, not blobs. Same lightweight
   CSS-only language as .aura (no canvas, no JS, respects reduced-motion)
   but reads as voltage running through the scene — the hero only, so it
   doesn't compete with content lower on the page. */
.hero-beams { position:absolute; inset:-25% -5% -5%; pointer-events:none; z-index:-1; overflow:hidden; }
.hero-beams i {
  --rot: -22deg;
  position:absolute; top:-30%; width:120px; height:170%;
  background: linear-gradient(180deg, transparent, rgba(247,166,0,.15) 35%, rgba(255,203,55,.24) 50%, rgba(247,166,0,.15) 65%, transparent);
  filter: blur(30px);
  transform: rotate(var(--rot)) translateY(0);
}
.hero-beams i:nth-child(1) { --rot:-24deg; left:6%;  animation: beamdrift 19s var(--ease) infinite alternate; }
.hero-beams i:nth-child(2) { --rot:-17deg; left:34%; width:90px;  opacity:.7;  animation: beamdrift 25s var(--ease) infinite alternate-reverse; }
.hero-beams i:nth-child(3) { --rot:-27deg; left:62%; width:80px;  opacity:.6;  animation: beamdrift 22s var(--ease) infinite alternate; }
.hero-beams i:nth-child(4) { --rot:-19deg; left:86%; width:110px; opacity:.45; animation: beamdrift 30s var(--ease) infinite alternate-reverse; }
@keyframes beamdrift { from { transform: rotate(var(--rot)) translateY(0); } to { transform: rotate(var(--rot)) translateY(6%); } }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing:.01em;
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  padding:.85em 1.6em; border-radius: 999px; border:0; cursor:pointer; text-align:center;
  transition: transform .14s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-amber {
  color: var(--on-amber); position: relative;
  background: linear-gradient(180deg, var(--volt), var(--amber) 55%, var(--amber-deep));
  box-shadow: 0 8px 26px rgba(247,166,0,.35), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn-amber:hover { color: var(--on-amber); box-shadow: 0 10px 40px rgba(247,166,0,.55), inset 0 1px 0 rgba(255,255,255,.65); filter: brightness(1.05); }
.btn-ghost {
  color: var(--ink);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-hi);
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(255,255,255,.32); }
.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }

/* ---------- wordmark ---------- */
.wordmark { display:inline-flex; align-items:center; gap:.55em; }
.wordmark .bolt {
  --s:1.7em; width:var(--s); height:var(--s); border-radius:.5em; display:grid; place-items:center;
  background: linear-gradient(180deg, var(--volt), var(--amber) 55%, var(--amber-deep));
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.35), 0 2px 12px rgba(247,166,0,.4);
}
.wordmark .bolt svg { width:56%; height:56%; fill:var(--on-amber); }
.wordmark .type { font-family:var(--font-display); font-weight:800; font-size:1.25rem; letter-spacing:.06em; text-transform:uppercase; }
.wordmark .type .om { color:var(--ink); } .wordmark .type .ie { color:var(--amber); }
@keyframes boltpulse { 0%,100%{ box-shadow: inset 0 0 0 .5px rgba(255,255,255,.35), 0 2px 10px rgba(247,166,0,.35);} 50%{ box-shadow: inset 0 0 0 .5px rgba(255,255,255,.5), 0 2px 24px rgba(247,166,0,.75);} }
.pulse { animation: boltpulse 2.6s var(--ease) infinite; }

/* ==========================================================================
   SCROLL PROGRESS — pure CSS scroll-driven where supported
   ========================================================================== */
.scrollbar {
  position: fixed; top:0; left:0; height:2px; width:100%; z-index:80;
  background: linear-gradient(90deg, var(--amber-deep), var(--volt));
  box-shadow: 0 0 12px rgba(247,166,0,.8);
  transform-origin: 0 50%; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .scrollbar { animation: growbar linear both; animation-timeline: scroll(root); }
  @keyframes growbar { from { transform: scaleX(0);} to { transform: scaleX(1);} }
}

.skip {
  position:absolute; left:-9999px; top:.5rem; z-index:100;
  background:var(--amber); color:var(--on-amber); padding:.6em 1em; border-radius:10px; font-weight:700;
}
.skip:focus { left:.75rem; color:var(--on-amber); }

/* ==========================================================================
   NAV — floating glass pill with scroll-spy dots
   ========================================================================== */
.nav { position: fixed; top:0; left:0; right:0; z-index:50; display:flex; justify-content:center; padding:.7rem var(--pad); }
.nav-inner {
  width:100%; max-width: var(--maxw);
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:.55rem .7rem .55rem 1rem; border-radius: 999px; border:1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled .nav-inner {
  background: linear-gradient(135deg, rgba(29,32,38,.68), rgba(10,11,14,.55));
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  border-color: var(--line-hi);
  box-shadow: 0 14px 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.nav-links { display:flex; align-items:center; gap:.15rem; }
.nav-links a {
  position:relative; color:var(--sub); font-size:.9rem; font-weight:500;
  padding:.5em .85em; border-radius:999px; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a::after {
  content:""; position:absolute; left:50%; bottom:.15em; width:4px; height:4px; border-radius:50%;
  background:var(--amber); transform:translateX(-50%) scale(0); transition: transform .25s var(--ease);
  box-shadow: 0 0 8px rgba(247,166,0,.9);
}
.nav-links a:hover { color:var(--ink); background:rgba(255,255,255,.05); }
.nav-links a.active { color:var(--ink); }
.nav-links a.active::after { transform:translateX(-50%) scale(1); }
.nav-cta { display:flex; align-items:center; gap:.6rem; }
.nav-toggle { display:none; }

@media (max-width: 880px) {
  .nav-links { display:none; }
  .nav-links.open {
    display:flex; flex-direction:column; align-items:stretch;
    position:absolute; top:calc(100% + .5rem); left:var(--pad); right:var(--pad);
    padding:.6rem; border-radius:22px; gap:.1rem;
    background: linear-gradient(160deg, rgba(29,32,38,.97), rgba(10,11,14,.97));
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    border:1px solid var(--line-hi); box-shadow: 0 24px 50px rgba(0,0,0,.55);
  }
  .nav-links.open a { padding:.85em 1em; font-size:1rem; }
  .nav-links.open a::after { display:none; }
  .nav-toggle {
    display:grid; place-items:center; width:42px; height:42px; border-radius:50%;
    background:transparent; border:1px solid var(--line-hi); cursor:pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content:""; display:block; width:16px; height:2px; background:var(--ink); position:relative;
  }
  .nav-toggle span::before { position:absolute; top:-5px; } .nav-toggle span::after { position:absolute; top:5px; }
  .nav-desktop-cta { display:none; }
}

/* ==========================================================================
   HERO — type as architecture; phone sits INSIDE the headline
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(7rem,14vh,9rem) 0 clamp(2rem,5vh,3.5rem); overflow: clip;
}
.hero .wrap { position: relative; width: 100%; }
.hero-eyebrow { margin-bottom: 1.4rem; display:block; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.6rem, 11.5vw, 11rem); line-height: .84; letter-spacing:.002em;
  position: relative; z-index: 2; pointer-events: none;
}
.hero h1 .l { display:block; }
.hero h1 .l2 { margin-left: clamp(0px, 3vw, 3.5rem); }
.hero h1 .l3 { color: var(--amber); text-shadow: 0 0 60px rgba(247,166,0,.3); }
.hero-sub {
  position: relative; z-index: 2;
  color: var(--sub); font-size: clamp(1rem,1.5vw,1.15rem); max-width: 44ch; margin: 1.8rem 0 1.7rem;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { position:relative; z-index:2; display:flex; flex-wrap:wrap; gap:.8rem; align-items:center; }

/* phone floats right, layered UNDER the outline line so letters carve through it */
.hero-stage {
  position: absolute; z-index: 1; right: clamp(-1rem, 2vw, 4rem); top: 50%;
  transform: translateY(-52%) rotate(4deg);
}
.hero-stage .halo {
  position:absolute; inset:-22%; border-radius:50%;
  background: radial-gradient(circle, rgba(247,166,0,.2), transparent 62%); filter: blur(24px);
}
/* glass spec strip along the hero bottom */
.spec-strip {
  position: relative; z-index: 3;
  margin-top: clamp(2.2rem, 6vh, 4rem);
  display:flex; flex-wrap:wrap; align-items:stretch;
  border-radius: 20px; padding: .4rem;
}
.spec-strip .cell {
  flex:1 1 150px; padding: .9rem 1.2rem; display:flex; flex-direction:column; gap:.25rem;
  border-right: 1px solid var(--line);
}
.spec-strip .cell:last-child { border-right: 0; }
.spec-strip .n { font-family:var(--font-display); font-weight:800; font-size:1.6rem; line-height:1; color:var(--ink); }
.spec-strip .n .amber { color:var(--amber); }
.spec-strip .l { font-family:var(--font-mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--faint); }
.scroll-cue {
  position:absolute; left:50%; bottom:1.1rem; transform:translateX(-50%); z-index:3;
  font-family:var(--font-mono); font-size:.58rem; letter-spacing:.3em; text-transform:uppercase; color:var(--faint);
  display:flex; flex-direction:column; align-items:center; gap:.5rem;
}
.scroll-cue::after { content:""; width:1px; height:34px; background: linear-gradient(var(--amber), transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0%{ transform: scaleY(.2); transform-origin:top; opacity:0;} 40%{ transform: scaleY(1); opacity:1;} 100%{ transform: scaleY(1); transform-origin:top; opacity:0;} }

@media (max-width: 1000px) {
  .hero { min-height: auto; padding-top: 7rem; }
  .hero h1 { font-size: clamp(3.4rem, 14.5vw, 6.5rem); }
  .hero-stage { position: relative; right:auto; top:auto; transform: rotate(3deg); margin: 2.5rem auto 0; width: fit-content; }
  .scroll-cue { display:none; }
}

/* ==========================================================================
   PHONE + APP STATES (the interactive preview)
   ========================================================================== */
.phone {
  position: relative; width: clamp(250px, 26vw, 330px); aspect-ratio: 320/660;
  border-radius: 48px; padding: 11px;
  background: linear-gradient(150deg, #2a2d34, #0c0d10 60%);
  box-shadow: 0 50px 100px rgba(0,0,0,.65), 0 0 0 1.5px rgba(255,255,255,.1), inset 0 0 0 2px rgba(0,0,0,.6);
  transition: transform .8s var(--ease-out);
}
.phone .screen {
  position:relative; height:100%; border-radius:38px; overflow:hidden;
  background: radial-gradient(120% 60% at 50% 0%, #16181e, var(--bg) 70%);
}
.phone .island { position:absolute; top:12px; left:50%; transform:translateX(-50%); width:34%; height:22px; background:#000; border-radius:20px; z-index:6; }

.app-state { position:absolute; inset:0; display:flex; flex-direction:column; padding:38px 14px 14px; gap:10px; opacity:0; transition: opacity .45s var(--ease); }
.phone[data-step="1"] .s1, .phone[data-step="2"] .s2, .phone[data-step="3"] .s3 { opacity:1; }

.app-top { display:flex; align-items:center; justify-content:space-between; }
.app-top .wordmark .type { font-size:.8rem; } .app-top .wordmark .bolt { --s:1.2em; }
.app-job { font-family:var(--font-mono); font-size:.5rem; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); }

/* state 1 — wizard */
.wiz-prog { height:3px; border-radius:2px; background:rgba(255,255,255,.08); overflow:hidden; }
.wiz-prog i { display:block; height:100%; width:58%; background:linear-gradient(90deg, var(--amber-deep), var(--volt)); border-radius:2px; }
.wiz-eyebrow { font-family:var(--font-mono); font-size:.5rem; letter-spacing:.2em; color:var(--amber); text-transform:uppercase; }
.wiz-q { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:1.05rem; line-height:1.05; color:var(--ink); }
.wiz-help { font-size:.6rem; color:var(--sub); line-height:1.45; }
.wiz-chips { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:2px; }
.wiz-chip {
  padding:8px 9px; border-radius:10px; border:1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--bg) 220%);
  font-family:var(--font-mono); font-size:.6rem; color:var(--sub); display:flex; flex-direction:column; gap:2px;
}
.wiz-chip b { color:var(--ink); font-size:.68rem; }
.wiz-chip.on { border-color: var(--amber); background: linear-gradient(180deg, rgba(247,166,0,.16), rgba(247,166,0,.05)); }
.wiz-chip.on b { color:var(--amber); }
.wiz-next { margin-top:auto; text-align:center; font-weight:700; font-size:.72rem; color:var(--on-amber); padding:10px; border-radius:12px; background:linear-gradient(180deg, var(--volt), var(--amber) 55%, var(--amber-deep)); box-shadow: 0 6px 16px rgba(247,166,0,.3), inset 0 1px 0 rgba(255,255,255,.5); }

/* state 2 — verdict + materials */
.app-verdict {
  border-radius:14px; padding:12px 13px; display:flex; gap:10px; align-items:center;
  background: linear-gradient(180deg, rgba(68,186,133,.14), rgba(68,186,133,.04));
  border:1px solid rgba(68,186,133,.3);
}
.app-verdict .tickc { flex:0 0 auto; width:26px; height:26px; border-radius:50%; background:var(--ok); display:grid; place-items:center; }
.app-verdict .tickc svg { width:14px; height:14px; }
.app-verdict .big { display:block; font-family:var(--font-display); font-weight:800; font-size:1.05rem; letter-spacing:.02em; color:var(--ink); line-height:1; }
.app-verdict .small { display:block; font-family:var(--font-mono); font-size:.53rem; color:var(--ok); margin-top:4px; white-space:nowrap; }
.app-knowns { display:flex; flex-wrap:wrap; gap:5px; }
.app-knowns span { font-family:var(--font-mono); font-size:.52rem; color:var(--sub); padding:3px 7px; border-radius:7px; background:rgba(255,255,255,.045); border:1px solid var(--line); }
.app-listlabel { font-family:var(--font-mono); font-size:.48rem; letter-spacing:.16em; text-transform:uppercase; color:var(--faint); display:flex; justify-content:space-between; margin-top:2px; }
.app-rows { display:flex; flex-direction:column; gap:6px; overflow:hidden; position:relative; flex:1; }
.app-row { display:flex; align-items:center; gap:8px; padding:7px 9px; border-radius:10px; background:linear-gradient(180deg, var(--card), var(--bg) 220%); border:1px solid var(--line); }
.app-row .q { font-family:var(--font-mono); font-size:.58rem; font-weight:600; color:var(--amber); flex:0 0 auto; min-width:30px; }
.app-row .nm { font-size:.6rem; color:var(--ink); flex:1; line-height:1.25; }
.app-row .cite { font-size:.48rem; padding:.12em .4em; }
.app-rows::after { content:""; position:absolute; bottom:0; left:0; right:0; height:26px; background:linear-gradient(transparent, var(--bg)); pointer-events:none; }
.app-cta { margin-top:2px; text-align:center; font-weight:700; font-size:.72rem; color:var(--on-amber); padding:10px; border-radius:12px; background:linear-gradient(180deg, var(--volt), var(--amber) 55%, var(--amber-deep)); box-shadow:0 6px 16px rgba(247,166,0,.3), inset 0 1px 0 rgba(255,255,255,.5); }

/* state 3 — report */
.rep-head { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:1rem; color:var(--ink); }
.rep-sub { font-family:var(--font-mono); font-size:.5rem; color:var(--faint); letter-spacing:.1em; text-transform:uppercase; }
.rep-row { display:flex; align-items:center; gap:8px; padding:7px 9px; border-radius:10px; background:linear-gradient(180deg, var(--card), var(--bg) 220%); border:1px solid var(--line); font-size:.58rem; color:var(--ink); }
.rep-row .delta { font-family:var(--font-mono); font-size:.5rem; color:var(--amber); margin-left:auto; white-space:nowrap; }
.rep-row .added { font-family:var(--font-mono); font-size:.46rem; color:var(--on-amber); background:linear-gradient(180deg, var(--volt), var(--amber)); padding:2px 6px; border-radius:6px; margin-left:auto; font-weight:600; }
.rep-check { display:flex; gap:7px; align-items:center; font-size:.56rem; color:var(--sub); }
.rep-check svg { width:11px; height:11px; flex:0 0 auto; }

/* ==========================================================================
   MARQUEE TICKER — rotated code-citation strip
   ========================================================================== */
.ticker-wrap { position:relative; z-index:5; overflow:clip; }
.ticker {
  display:flex; white-space:nowrap; user-select:none;
  background: linear-gradient(180deg, var(--volt), var(--amber) 55%, var(--amber-deep));
  padding:.6em 0;
  box-shadow: 0 14px 40px rgba(247,166,0,.25);
}
.ticker span {
  font-family:var(--font-mono); font-weight:600; font-size:.72rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--on-amber); flex:0 0 auto; padding-right:.5em;
  animation: tick 46s linear infinite;
}
@keyframes tick { to { transform: translateX(-100%); } }

/* ==========================================================================
   40% — editorial mega-stat
   ========================================================================== */
.stat40 { position:relative; padding: clamp(5rem,12vw,9rem) 0 clamp(3rem,7vw,5rem); overflow:clip; }
.stat40 .wrap { display:grid; grid-template-columns: auto 1fr; gap: clamp(1rem,4vw,4rem); align-items:end; }
.stat40 .huge {
  font-family:var(--font-display); font-weight:800; line-height:.75; letter-spacing:-.01em;
  font-size: clamp(9rem, 27vw, 24rem);
  color: transparent; -webkit-text-stroke: 2px rgba(247,166,0,.85);
  filter: drop-shadow(0 0 40px rgba(247,166,0,.18));
}
@supports not (-webkit-text-stroke: 1px #fff) { .stat40 .huge { color: var(--amber); } }
.stat40 .huge sup { font-size:.22em; vertical-align: baseline; position:relative; top:-2.4em; -webkit-text-stroke:1.2px rgba(247,166,0,.85); }
.stat40 .txt h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(1.7rem,4vw,3rem); line-height:.95; margin-bottom:.9rem; }
.stat40 .txt p { color:var(--sub); font-size:1.05rem; max-width:44ch; }
.stat40 .src { font-family:var(--font-mono); font-size:.6rem; color:var(--faint); letter-spacing:.12em; text-transform:uppercase; margin-top:1.1rem; }
@media (max-width: 780px){ .stat40 .wrap { grid-template-columns:1fr; align-items:start; } }

/* ==========================================================================
   WALKTHROUGH — sticky phone, scroll-swapped states
   ========================================================================== */
.walk { position:relative; padding-block: clamp(3rem,8vw,6rem); }
.walk-head { margin-bottom: clamp(2rem,5vw,4rem); max-width:720px; }
.walk-head h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2.3rem,6vw,4.4rem); line-height:.92; margin:.7rem 0 .9rem; }
.walk-head p { color:var(--sub); font-size:1.06rem; max-width:58ch; }
.walk-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,5vw,5rem); align-items:start; }
.walk-stage { position: sticky; top: 12vh; height: 76vh; display:grid; place-items:center; }
.walk-stage .halo { position:absolute; width:min(46vh,420px); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle, rgba(247,166,0,.16), transparent 62%); filter:blur(26px); }
.wsteps { display:flex; flex-direction:column; }
.wstep { min-height: 76vh; display:flex; flex-direction:column; justify-content:center; gap:1rem; padding-block: 2rem; }
.wstep .num {
  font-family:var(--font-mono); font-size:.66rem; letter-spacing:.2em; color:var(--amber);
  border:1px solid rgba(247,166,0,.35); border-radius:999px; padding:.35em .9em; width:fit-content;
  background: rgba(247,166,0,.06);
}
.wstep h3 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(1.9rem,4vw,3.2rem); line-height:.94; }
.wstep p { color:var(--sub); font-size:1.04rem; max-width:46ch; }
.wstep .fine { font-family:var(--font-mono); font-size:.66rem; color:var(--faint); letter-spacing:.06em; }
@media (max-width: 900px) {
  /* Mobile: no sticky overlap — phone shows once, steps stack as compact cards */
  .walk-grid { grid-template-columns:1fr; gap: 1.5rem; }
  .walk-stage { position: static; height: auto; margin-bottom: .5rem; }
  .walk-stage .phone { width: clamp(220px, 62vw, 280px); }
  .wsteps { gap: 0; }
  .wstep { min-height: auto; padding-block: 1.4rem; border-top: 1px solid var(--line); }
  .wstep:first-child { border-top: 0; padding-top: 0; }
}

/* ==========================================================================
   LEDGER — numbered feature index (details/summary accordions)
   ========================================================================== */
.ledger { padding-block: clamp(4rem,9vw,7rem); }
.ledger-head { display:flex; align-items:end; justify-content:space-between; gap:2rem; margin-bottom:2.2rem; flex-wrap:wrap; }
.ledger-head h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2.3rem,6vw,4.4rem); line-height:.92; margin-top:.7rem; }
.ledger-head .side { font-family:var(--font-mono); font-size:.66rem; color:var(--faint); letter-spacing:.14em; text-transform:uppercase; text-align:right; line-height:2; }
.lrow { border-top:1px solid var(--line); }
.lrow:last-of-type { border-bottom:1px solid var(--line); }
.lrow summary {
  list-style:none; cursor:pointer; display:grid; grid-template-columns: auto 1fr auto; gap: clamp(.8rem,3vw,2.5rem);
  align-items:baseline; padding: clamp(1.1rem,2.5vw,1.7rem) .2rem;
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.lrow summary::-webkit-details-marker { display:none; }
.lrow summary:hover { background: linear-gradient(90deg, rgba(247,166,0,.05), transparent 60%); padding-left:.8rem; }
.lrow .no { font-family:var(--font-mono); font-size:.72rem; color:var(--faint); letter-spacing:.1em; }
.lrow summary:hover .no, .lrow[open] .no { color:var(--amber); }
.lrow h3 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(1.5rem,3.6vw,2.7rem); line-height:1; letter-spacing:.005em; }
.lrow .plus { font-family:var(--font-mono); font-size:1.4rem; color:var(--amber); transition: transform .3s var(--ease); line-height:1; }
.lrow[open] .plus { transform: rotate(45deg); }
.lrow .body { padding: 0 .2rem clamp(1.3rem,3vw,2rem) clamp(2rem,6vw,4.5rem); display:grid; grid-template-columns: minmax(0,52ch) 1fr; gap:2rem; }
.lrow .body p { color:var(--sub); font-size:1rem; }
.lrow .body .extras { display:flex; flex-direction:column; gap:7px; }
.mini-row { display:flex; align-items:center; gap:9px; padding:8px 11px; border-radius:10px; background:rgba(0,0,0,.26); border:1px solid var(--line); }
.mini-row .q { font-family:var(--font-mono); font-size:.7rem; font-weight:600; color:var(--amber); min-width:42px; }
.mini-row .nm { font-size:.8rem; color:var(--ink); flex:1; }
@supports (interpolate-size: allow-keywords) {
  .lrow::details-content { block-size:0; overflow:clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .lrow[open]::details-content { block-size:auto; }
}
@media (max-width: 760px){ .lrow .body { grid-template-columns:1fr; padding-left:.2rem; } }

/* ==========================================================================
   STATES — "the address sets the code"
   ========================================================================== */
.states { padding-block: clamp(3rem,7vw,5rem); }
.states-inner { padding: clamp(1.8rem,4.5vw,3.5rem); display:grid; grid-template-columns: 1.1fr 1fr; gap:clamp(1.5rem,4vw,3.5rem); align-items:center; }
.states-inner h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2rem,4.6vw,3.6rem); line-height:.92; margin:.7rem 0 1rem; }
.states-inner .lede { color:var(--sub); font-size:1.04rem; max-width:46ch; }
.states-inner .stamp { display:inline-flex; align-items:center; gap:.5em; margin-top:1.2rem; font-family:var(--font-mono); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; color:var(--amber); border:1px solid rgba(247,166,0,.3); background:rgba(247,166,0,.06); padding:.5em 1em; border-radius:999px; }
.stategrid-legend { display:flex; flex-wrap:wrap; gap: 1.1rem; margin-top:1rem; }
.stategrid-legend .item { display:flex; align-items:center; gap:.55em; font-family:var(--font-mono); font-size:.68rem; color:var(--sub); }
.stategrid-legend .sw { width:10px; height:10px; border-radius:3px; flex:none; }
.stategrid-legend .sw.full { background:var(--amber); box-shadow:0 0 8px rgba(247,166,0,.5); }
.stategrid-legend .sw.clean { background:var(--ok); box-shadow:0 0 8px rgba(68,186,133,.5); }
.stategrid-legend .sw.profile { background:transparent; border:1.5px solid rgba(247,166,0,.5); }
.stategrid { display:grid; grid-template-columns: repeat(9, 1fr); gap:5px; }
.stategrid span {
  font-family:var(--font-mono); font-size:.66rem; font-weight:500; color:var(--faint);
  display:grid; place-items:center; aspect-ratio:1.5; border-radius:8px;
  border:1px solid var(--line); background:rgba(255,255,255,.02);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.stategrid span:hover { color:var(--on-amber); background:linear-gradient(180deg, var(--volt), var(--amber)); border-color:transparent; transform:translateY(-2px); }
/* Three honest tiers, not a binary lit/unlit — every one of the 51 gets a
   real answer, these just distinguish HOW MUCH of it is loaded (D-77):
   .full = OHMIE has authored that state's own amendment text on top of the
   NEC; .clean = the state adopts the NEC with NO amendments, so the NEC
   result already IS the complete state answer (nothing left to author);
   .profile = a real, sourced best-effort profile (edition + local-adoption
   note) — accurate, just not a full amendment layer yet. */
.stategrid span.full { color:var(--amber); border-color:rgba(247,166,0,.5); background:rgba(247,166,0,.09); box-shadow:0 0 14px rgba(247,166,0,.15); }
.stategrid span.clean { color:var(--ok); border-color:rgba(68,186,133,.5); background:rgba(68,186,133,.09); box-shadow:0 0 14px rgba(68,186,133,.15); }
.stategrid span.profile { color:var(--amber); border-color:rgba(247,166,0,.35); background:transparent; }
.stategrid span { cursor:pointer; }
.stategrid span:focus-visible { outline:2px solid var(--amber); outline-offset:2px; }
.stategrid-hint { font-family:var(--font-mono); font-size:.66rem; color:var(--faint); margin-top:.9rem; }
@media (max-width: 860px){ .states-inner { grid-template-columns:1fr; } .stategrid { grid-template-columns: repeat(8,1fr);} }

/* ---- State detail panel (click-through from the coverage grid) ---- */
.state-modal[hidden] { display:none; }
.state-modal { position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:1.2rem; }
.state-modal-backdrop { position:absolute; inset:0; background:rgba(6,7,9,.68); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.state-modal-panel {
  position:relative; width:min(480px, 100%); max-height:min(560px, 86vh); overflow-y:auto;
  padding:clamp(1.5rem,4vw,2.1rem); border-radius:20px; background:var(--card);
}
.state-modal-close {
  position:absolute; top:.9rem; right:.9rem; width:34px; height:34px; border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.03); color:var(--sub);
  font-size:1.3rem; line-height:1; display:grid; place-items:center; cursor:pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.state-modal-close:hover { color:var(--ink); border-color:var(--line-hi); background:rgba(255,255,255,.07); }
.state-modal-tier {
  display:inline-flex; align-items:center; font-family:var(--font-mono); font-size:.62rem;
  letter-spacing:.1em; text-transform:uppercase; padding:.4em 1em; border-radius:999px;
  margin-bottom:.9rem;
}
.state-modal-tier.full { color:var(--amber); border:1px solid rgba(247,166,0,.4); background:rgba(247,166,0,.09); }
.state-modal-tier.clean { color:var(--ok); border:1px solid rgba(68,186,133,.4); background:rgba(68,186,133,.09); }
.state-modal-tier.profile { color:var(--amber); border:1px solid rgba(247,166,0,.3); background:transparent; }
.state-modal-panel h3 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:1.7rem; margin:0 0 .6rem; }
.state-modal-code { font-family:var(--font-mono); font-size:.78rem; color:var(--sub); margin:0 0 1rem; line-height:1.5; }
.state-modal-note { font-size:.92rem; color:var(--ink); line-height:1.55; margin:0 0 1.1rem; }
.state-modal-caveat { font-size:.76rem; color:var(--faint); line-height:1.5; margin:0; padding-top:1rem; border-top:1px solid var(--line); }

/* ==========================================================================
   CREDIBILITY — "not a chatbot"
   ========================================================================== */
.cred { padding: clamp(3rem,7vw,5rem) 0; position:relative; overflow:clip; }
.cred-inner { padding: clamp(2rem,5vw,4.5rem); position:relative; }
.cred h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2.6rem,7.5vw,6rem); line-height:.88; margin:.8rem 0 .5rem; }
.cred h2 em { font-style:normal; color:var(--amber); }
.cred .sub2 { font-family:var(--font-display); font-weight:600; text-transform:uppercase; font-size:clamp(1.1rem,2.4vw,1.7rem); color:var(--sub); letter-spacing:.02em; margin-bottom:1.4rem; }
.cred .lede { color:var(--sub); font-size:1.08rem; max-width:60ch; margin-bottom:2.4rem; }
.principles { display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.principle { border-top:1px solid var(--line-hi); padding-top:1.1rem; }
.principle .k { font-family:var(--font-mono); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; color:var(--amber); margin-bottom:.5rem; }
.principle p { font-size:.94rem; color:var(--sub); }
@media (max-width:760px){ .principles { grid-template-columns:1fr; } }

/* ==========================================================================
   ABOUT + PRESS
   ========================================================================== */
.about { padding: clamp(3rem,7vw,5rem) 0; }
.about .wrap { display:grid; grid-template-columns:1.25fr 1fr; gap:clamp(1.5rem,4vw,3.5rem); align-items:center; }
.about h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(1.9rem,4.6vw,3.4rem); line-height:.94; margin:.7rem 0 1rem; }
.about p { color:var(--sub); font-size:1.04rem; margin-bottom:1rem; max-width:56ch; }
.about-card { padding:1.6rem; }
.about-card .k { font-family:var(--font-mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); margin-bottom:.9rem; }
.about-card .links { display:flex; flex-direction:column; gap:.6rem; }
.about-card .links a {
  display:flex; align-items:center; justify-content:space-between; color:var(--ink); font-weight:600;
  padding:.85em 1.05em; border-radius:14px; background:rgba(255,255,255,.03); border:1px solid var(--line);
  transition:.25s var(--ease);
}
.about-card .links a:hover { border-color:rgba(247,166,0,.45); background:rgba(247,166,0,.07); color:var(--ink); transform:translateX(4px); }
.about-card .links a span:last-child { color:var(--amber); }
@media (max-width:760px){ .about .wrap { grid-template-columns:1fr; } }

/* ==========================================================================
   FOR CREWS & CONTRACTORS — the owner/buyer case
   ========================================================================== */
.crews { padding-block: clamp(3.5rem,8vw,6rem); position:relative; }
.crews-head { max-width: 760px; margin-bottom: clamp(2rem,4vw,3.2rem); }
.crews-head h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2.3rem,6vw,4.4rem); line-height:.92; margin:.7rem 0 1rem; }
.crews-head h2 .amber { text-shadow:0 0 44px rgba(247,166,0,.3); }
.crews-head p { color:var(--sub); font-size:1.08rem; max-width:60ch; }
.crew-grid { display:grid; grid-template-columns:repeat(2,1fr); gap: clamp(.8rem,1.6vw,1.2rem); }
.crew-card {
  --sx:50%; --sy:50%; --rx:0deg; --ry:0deg;
  position:relative; padding: clamp(1.5rem,2.6vw,2.1rem); border-radius:20px; overflow:clip;
  transition: transform .3s var(--ease);
}
/* .reveal.in (2 classes) sets transform:none after scroll-reveal fires, which
   otherwise beats a plain .crew-card rule (1 class) on specificity — repeat
   .reveal.in here so the tilt still wins once the card has revealed in. */
.crew-card, .crew-card.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.crew-card:hover, .crew-card.reveal.in:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px); }
.crew-card:hover.panel::before { background: linear-gradient(180deg, rgba(247,166,0,.5), rgba(255,255,255,.035)); }
/* spotlight glow — cursor-tracked (set as --sx/--sy by js on pointer-fine
   devices), same family as .glass's --gx/--gy refraction highlight */
.crew-card::after {
  content:""; position:absolute; inset:0; border-radius:inherit;
  background: radial-gradient(320px circle at var(--sx) var(--sy), rgba(247,166,0,.16), transparent 65%);
  opacity:0; transition: opacity .35s var(--ease); pointer-events:none;
}
.crew-card:hover::after { opacity:1; }
.crew-card .k, .crew-card h3, .crew-card p { position:relative; z-index:1; }
.crew-card .k { font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--amber); margin-bottom:.9rem; display:flex; align-items:center; gap:.6em; }
.crew-card .k::before { content:""; width:22px; height:1px; background:var(--amber); opacity:.6; }
.crew-card h3 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(1.5rem,2.8vw,2rem); line-height:1; margin-bottom:.6rem; }
.crew-card p { color:var(--sub); font-size:.98rem; margin:0; }
.crews-foot {
  margin-top: clamp(1.2rem,2.5vw,1.8rem); padding: clamp(1.1rem,2.2vw,1.5rem) clamp(1.3rem,2.6vw,2rem);
  border-radius:18px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem;
}
.crews-foot p { color:var(--ink); font-weight:600; font-size:1.02rem; margin:0; max-width:46ch; }
.crews-foot p span { color:var(--sub); font-weight:400; }
@media (max-width: 760px){ .crew-grid { grid-template-columns:1fr; } .crews-foot { flex-direction:column; align-items:stretch; text-align:center; } .crews-foot .btn { width:100%; } }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { position:relative; padding-block: clamp(3.5rem,8vw,6rem); overflow:clip; }
.pricing-head { max-width: 760px; margin-bottom: clamp(2rem,4vw,3.2rem); }
.pricing-head h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2.3rem,6vw,4.4rem); line-height:.92; margin:.7rem 0 1rem; }
.pricing-head h2 .amber { text-shadow:0 0 44px rgba(247,166,0,.3); }
.pricing-head p { color:var(--sub); font-size:1.08rem; max-width:64ch; }
.price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap: clamp(.8rem,1.6vw,1.2rem); align-items:stretch; }
.price-card { position:relative; display:flex; flex-direction:column; padding: clamp(1.6rem,2.6vw,2.2rem); border-radius:20px; overflow:clip; transition: transform .3s var(--ease); }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: rgba(247,166,0,.4); box-shadow: 0 0 0 1px rgba(247,166,0,.25), 0 30px 60px rgba(0,0,0,.4); }
.price-card.featured::before { background: linear-gradient(180deg, rgba(247,166,0,.55), rgba(255,255,255,.04)); }
.price-badge { position:absolute; top:14px; right:14px; font-family:var(--font-mono); font-size:.5rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; background:linear-gradient(180deg, var(--volt), var(--amber)); color:var(--on-amber); padding:.35em .7em; border-radius:7px; }
.price-card .k { font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--amber); margin-bottom:1rem; display:flex; align-items:center; gap:.6em; }
.price-card .k::before { content:""; width:22px; height:1px; background:var(--amber); opacity:.6; }
.price-tag { font-family:var(--font-display); font-weight:800; font-size:clamp(2.4rem,5vw,3.4rem); line-height:1; color:var(--ink); letter-spacing:-.01em; display:flex; align-items:baseline; gap:.4em; flex-wrap:wrap; }
.price-tag .per { font-family:var(--font-mono); font-size:.7rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
.price-sub { color:var(--sub); font-size:.9rem; margin:.7rem 0 0; }
.price-feat { list-style:none; margin:1.3rem 0 1.6rem; padding:0; display:flex; flex-direction:column; gap:.6rem; }
.price-feat li { position:relative; padding-left:1.5em; color:var(--sub); font-size:.94rem; }
.price-feat li::before { content:""; position:absolute; left:0; top:.5em; width:.5em; height:.5em; border-radius:50%; background:var(--amber); opacity:.85; }
.price-card .btn { margin-top:auto; width:100%; }
@media (max-width: 860px){ .price-grid { grid-template-columns:1fr; max-width:440px; margin-inline:auto; } }

/* Plan terms (D-97) — the honest small print under the three cards. A
   card-required auto-renewing trial has to state exactly when the charge
   lands and how to switch/cancel, so this is prose, not a footnote. */
.price-terms { margin-top: clamp(1.6rem,3vw,2.4rem); padding: clamp(1.3rem,2.4vw,1.8rem); border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.02); }
.price-terms h3 { font-family:var(--font-mono); font-size:.62rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--amber); margin:0 0 1rem; }
.price-terms ul { list-style:none; margin:0; padding:0; display:grid; gap:.7rem; }
.price-terms li { position:relative; padding-left:1.5em; color:var(--sub); font-size:.9rem; line-height:1.55; }
.price-terms li::before { content:""; position:absolute; left:0; top:.6em; width:.45em; height:.45em; border-radius:50%; background:var(--amber); opacity:.7; }
.price-terms strong { color:var(--ink); font-weight:600; }

/* ==========================================================================
   GUARANTEE / SALES PITCH — 30-day risk-free
   ========================================================================== */
.guarantee { position:relative; padding-block: clamp(3rem,7vw,5rem); overflow:clip; }
.guarantee-inner { padding: clamp(2rem,5vw,4rem); display:grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.g-copy .eyebrow { margin-bottom:1rem; }
.g-copy h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2rem,5vw,3.7rem); line-height:.94; margin-bottom:1.1rem; }
.g-copy h2 .amber { text-shadow:0 0 44px rgba(247,166,0,.35); }
.g-copy .lede { color:var(--sub); font-size:1.06rem; max-width:52ch; margin-bottom:1.5rem; }
.g-points { list-style:none; padding:0; margin:0 0 1.9rem; display:flex; flex-direction:column; gap:.75rem; }
.g-points li { position:relative; padding-left:2rem; color:var(--ink); font-size:1rem; }
.g-points li::before { content:""; position:absolute; left:0; top:.05em; width:21px; height:21px; border-radius:50%; background:rgba(247,166,0,.14); border:1px solid rgba(247,166,0,.45); }
.g-points li::after { content:""; position:absolute; left:6px; top:.42em; width:8px; height:5px; border-left:2px solid var(--amber); border-bottom:2px solid var(--amber); transform:rotate(-45deg); }

.seal { display:grid; place-items:center; }
.seal-medallion {
  position:relative; width:min(60vw,250px); aspect-ratio:1; border-radius:50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.15em;
  background: radial-gradient(circle at 50% 28%, rgba(247,166,0,.18), rgba(10,11,14,.35) 70%);
  border:1px solid rgba(247,166,0,.45);
  box-shadow: 0 0 60px rgba(247,166,0,.28), inset 0 0 44px rgba(247,166,0,.09);
}
.seal-medallion::before { content:""; position:absolute; inset:11px; border-radius:50%; border:1.5px dashed rgba(247,166,0,.45); animation: spin 30s linear infinite; }
.seal-top, .seal-bot { font-family:var(--font-mono); font-size:.6rem; letter-spacing:.26em; text-transform:uppercase; color:var(--amber); z-index:1; }
.seal-num { font-family:var(--font-display); font-weight:800; font-size:clamp(3.6rem,11vw,5.6rem); line-height:.78; color:var(--ink); text-shadow:0 0 34px rgba(247,166,0,.45); z-index:1; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 820px) {
  .guarantee-inner { grid-template-columns:1fr; text-align:center; }
  .g-copy .eyebrow { justify-content:center; }
  .g-points { text-align:left; max-width:24rem; margin-inline:auto; }
  .g-copy .btn { width:100%; max-width:24rem; }
  .seal { order:-1; margin-bottom:.5rem; }
}

/* hero trial line */
.hero-trial { position:relative; z-index:2; display:inline-flex; align-items:center; gap:.55em; margin-top:1.3rem; font-family:var(--font-mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--amber); }
.hero-trial .dot { width:6px; height:6px; border-radius:50%; background:var(--amber); box-shadow:0 0 9px var(--amber); }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.finalcta { position:relative; padding: clamp(3rem,7vw,5rem) 0 clamp(4rem,8vw,6rem); overflow:clip; }
.finalcta-inner { position:relative; padding: clamp(3rem,7vw,5.5rem) clamp(1.5rem,4vw,3rem); text-align:center; }
.finalcta h2 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2.6rem,7vw,5.4rem); line-height:.9; margin:.8rem 0 1rem; }
.finalcta h2 .amber { text-shadow:0 0 50px rgba(247,166,0,.35); }
.finalcta p { color:var(--sub); font-size:1.08rem; max-width:48ch; margin:0 auto 2.2rem; }
.finalcta .cta-row { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; align-items:center; }

.appstore-badge {
  display:inline-flex; align-items:center; gap:.7em; padding:.7em 1.25em; border-radius:16px;
  background:#000; border:1px solid rgba(255,255,255,.22); color:#fff; position:relative;
  transition:.25s var(--ease);
}
.appstore-badge:hover { color:#fff; border-color:rgba(255,255,255,.5); box-shadow:0 0 30px rgba(255,255,255,.15); }
.appstore-badge svg { width:26px; height:26px; fill:#fff; }
.appstore-badge .t1 { font-size:.58rem; letter-spacing:.05em; text-transform:uppercase; color:#b9bcc2; line-height:1; }
.appstore-badge .t2 { font-family:var(--font-display); font-weight:700; font-size:1.15rem; line-height:1; margin-top:2px; }
.appstore-badge .soon { position:absolute; top:-9px; right:-9px; font-family:var(--font-mono); font-size:.5rem; letter-spacing:.08em; background:var(--amber); color:var(--on-amber); padding:.25em .5em; border-radius:6px; font-weight:700; }

/* ==========================================================================
   CONTACT
   ========================================================================== */

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site { border-top:1px solid var(--line); background:linear-gradient(180deg, transparent, rgba(0,0,0,.3)); }
.footer-inner { max-width:var(--maxw); margin:0 auto; padding:clamp(2.5rem,5vw,4rem) var(--pad) 2rem; }
.footer-top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:2rem; margin-bottom:2.5rem; }
.footer-brand { max-width:320px; }
.footer-brand p { color:var(--faint); font-size:.9rem; margin-top:1rem; }
.footer-cols { display:flex; gap:clamp(2rem,6vw,4rem); flex-wrap:wrap; }
.footer-col h4 { font-family:var(--font-mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); margin:0 0 1rem; }
.footer-col a { display:block; color:var(--sub); font-size:.92rem; padding:.3em 0; }
.footer-col a:hover { color:var(--amber); }
.footer-legal { border-top:1px solid var(--line); padding-top:1.6rem; display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; }
.footer-legal .disclaimer { color:var(--faint); font-size:.78rem; line-height:1.55; max-width:68ch; }
.footer-legal .copy { color:var(--faint); font-size:.8rem; font-family:var(--font-mono); letter-spacing:.04em; }

/* ==========================================================================
   SCROLL-DRIVEN REVEALS — CSS animation-timeline first, JS IO fallback
   ========================================================================== */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.08s; } .reveal.d2 { transition-delay:.16s; } .reveal.d3 { transition-delay:.24s; }

@supports (animation-timeline: view()) {
  .reveal, .reveal.d1, .reveal.d2, .reveal.d3 {
    opacity:1; transform:none; transition:none;
    animation: rise both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  @keyframes rise { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform:none; } }
  /* parallax accents */
  .stat40 .huge { animation: para both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes para { from { transform: translateY(4vh);} to { transform: translateY(-4vh);} }
}

/* ==========================================================================
   Legal / support document pages
   ========================================================================== */
.doc { max-width:760px; margin:0 auto; padding: clamp(7rem,14vw,9rem) clamp(1.2rem,5vw,2rem) 5rem; }
.doc-head { border-bottom:1px solid var(--line); padding-bottom:1.6rem; margin-bottom:2.2rem; }
.doc-head h1 { font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:clamp(2.2rem,6vw,3.4rem); line-height:.96; margin:.8rem 0 .5rem; }
.doc-head .updated { color:var(--faint); font-family:var(--font-mono); font-size:.78rem; letter-spacing:.06em; }
.doc h2 { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:1.35rem; letter-spacing:.01em; margin:2.4rem 0 .7rem; }
.doc h3 { font-size:1.05rem; margin:1.6rem 0 .4rem; color:var(--ink); }
.doc p, .doc li { color:var(--sub); font-size:1rem; line-height:1.7; }
.doc strong { color:var(--ink); }
.doc ul { padding-left:1.2rem; margin:.6rem 0; }
.doc li { margin:.4rem 0; }
.doc .callout { border-left:3px solid var(--amber); background:rgba(247,166,0,.07); padding:1.1rem 1.2rem; border-radius:0 12px 12px 0; margin:1.8rem 0; }
.doc .callout p { color:var(--ink); font-weight:600; margin:0; }
.faq-item { border:1px solid var(--line); border-radius:14px; margin-bottom:.8rem; overflow:hidden; }
.faq-item summary { cursor:pointer; padding:1.1rem 1.3rem; font-weight:600; color:var(--ink); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; color:var(--amber); font-family:var(--font-mono); font-size:1.3rem; transition:transform .2s var(--ease); }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item .a { padding:0 1.3rem 1.2rem; color:var(--sub); font-size:.96rem; line-height:1.65; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .reveal { opacity:1 !important; transform:none !important; transition:none !important; animation:none !important; }
  .aura i, .hero-beams i, .ticker span, .scroll-cue::after, .pulse, .stat40 .huge, .seal-medallion::before { animation:none !important; }
  .sheen > .sheen-x { display:none; }
  .phone, .app-state { transition:none !important; }
  .lrow::details-content { transition:none !important; }
}
