/* Haze Mask Fit — desktop-first visual system.
   Calm, editorial health-tech. Hairline surfaces, big numbers, no stock cards. */

@font-face { font-family: 'Space Grotesk'; src: url('/fonts/SpaceGrotesk-Variable.ttf') format('truetype'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/JetBrainsMono-Variable.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #04100f;
  --bg-2: #071816;
  --paper: #eef1e9;
  --paper-dim: #c9d2c9;
  --muted: #96a59e;
  --muted-2: #73837d;
  --line: rgba(233, 242, 235, 0.14);
  --line-soft: rgba(233, 242, 235, 0.08);
  --band: #7be9d6;
  --band-soft: rgba(123, 233, 214, 0.16);
  --band-glow: rgba(123, 233, 214, 0.22);
  --tint: #0b3733;
  --amber: #f0a63c;
  --amber-soft: rgba(240, 166, 60, 0.16);
  --danger: #ff7a52;
  --radius: 4px;
  --font-ui: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Mono', monospace;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 1.1s;
  --pad: clamp(28px, 3.4vw, 56px);
}

body[data-band='moderate'] { --bg: #0b0f0d; --bg-2: #121410; --band: #e4cf9c; --band-soft: rgba(228, 207, 156, 0.15); --band-glow: rgba(228, 207, 156, 0.2); --tint: #3f3928; --amber: #e4cf9c; }
body[data-band='unhealthy'] { --bg: #120e07; --bg-2: #1a1308; --band: #ffb04a; --band-soft: rgba(255, 176, 74, 0.15); --band-glow: rgba(255, 176, 74, 0.22); --tint: #5b3a0d; --amber: #ffb04a; }
body[data-band='hazardous'] { --bg: #130a07; --bg-2: #1c0d09; --band: #ff7a52; --band-soft: rgba(255, 122, 82, 0.15); --band-glow: rgba(255, 122, 82, 0.22); --tint: #5b1f11; --amber: #ff7a52; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 1.2s var(--ease);
}
body.is-locked { overflow: hidden; }
::selection { background: var(--band); color: #06100f; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 400; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--band); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--paper); color: var(--bg); border-radius: 2px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Atmosphere */
.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmosphere__wash {
  position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse 70% 55% at 72% 8%, var(--band-soft), transparent 60%),
    radial-gradient(ellipse 60% 60% at 8% 92%, var(--tint), transparent 62%),
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35));
  opacity: .85;
  transition: background 1.4s var(--ease), opacity 1.4s var(--ease);
}
#hazeCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.atmosphere__grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.atmosphere__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 80% at 50% 45%, transparent 55%, rgba(0,0,0,.5)); }

main, .footer, .nav { position: relative; z-index: 2; }

/* Type helpers */
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section-label { display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.section-label span { color: var(--band); }
.section-label::after { content: ''; flex: 0 0 54px; height: 1px; background: var(--line); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 58px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--paper); color: #07110f; }
.btn--primary:hover { background: #ffffff; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 14px 40px -16px var(--band); }
.btn--primary:disabled { background: rgba(238,241,233,.18); color: rgba(238,241,233,.45); cursor: not-allowed; box-shadow: none; }
.btn--quiet { border-color: var(--line); color: var(--paper); background: rgba(255,255,255,.02); }
.btn--quiet:hover { border-color: rgba(233,242,235,.34); background: rgba(255,255,255,.06); }
.btn--small { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--wide { width: 100%; }
.text-button { display: inline-flex; align-items: center; gap: 8px; color: var(--paper-dim); font-size: 16px; padding: 4px 0; border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.text-button:hover { color: var(--band); border-color: var(--band); }
.icon-button { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, background .2s; }
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { border-color: var(--band); background: var(--band-soft); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(4, 14, 13, .78); border-color: var(--line-soft); backdrop-filter: blur(16px) saturate(120%); }
body[data-band='moderate'] .nav.is-scrolled { background: rgba(9, 13, 11, .8); }
body[data-band='unhealthy'] .nav.is-scrolled { background: rgba(16, 12, 7, .8); }
body[data-band='hazardous'] .nav.is-scrolled { background: rgba(17, 10, 7, .8); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { width: 30px; height: 30px; color: var(--band); flex: 0 0 auto; transition: color 1.2s; }
.brand__type { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.brand__type span { color: var(--muted); font-weight: 400; }
.brand__place { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 3px 5px; }
.nav__links { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(5, 15, 14, .35); backdrop-filter: blur(8px); }
.nav__links a { position: relative; padding: 8px 16px; font-size: 15px; color: var(--paper-dim); border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--paper); background: rgba(255,255,255,.055); }
.nav__links a.is-current { color: var(--paper); background: rgba(255,255,255,.08); }
.nav__tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nav__air { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border: 1px solid var(--line-soft); border-radius: 999px; transition: border-color .2s, background .2s; }
.nav__air:hover { border-color: var(--line); background: rgba(255,255,255,.04); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); box-shadow: 0 0 0 3px rgba(255,255,255,.04); transition: background .6s, box-shadow .6s; flex: 0 0 auto; }
body[data-live='true'] .status-dot { background: var(--band); box-shadow: 0 0 0 3px var(--band-soft), 0 0 12px var(--band-glow); }
.nav__air-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__air-text .mono { font-size: 11px; color: var(--paper); }
.nav__band { font-size: 10px; color: var(--muted); white-space: nowrap; }
.nav__demo { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--band); border: 1px solid var(--line); padding: 8px 10px; border-radius: 999px; transition: border-color .2s, background .2s; }
.nav__demo:hover { background: var(--band-soft); border-color: var(--band); }
.motion-button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; font-size: 12px; color: var(--muted); border-radius: 999px; transition: color .2s, background .2s; }
.motion-button svg { width: 16px; height: 16px; }
.motion-button:hover { color: var(--paper); background: rgba(255,255,255,.05); }
.motion-button[aria-pressed='true'] { color: var(--band); }
.badge { position: absolute; top: -3px; right: -3px; min-width: 15px; height: 15px; border-radius: 10px; background: var(--band); color: #08100e; font: 600 9px/15px var(--font-mono); text-align: center; padding: 0 3px; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 68px) var(--pad) 26px; max-width: 1680px; margin: 0 auto; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(40px, 4vw, 80px); align-items: center; flex: 1; }
.hero__copy { max-width: 860px; padding-bottom: 20px; }
.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); margin-bottom: 34px; }
.kicker__dot { width: 7px; height: 7px; background: var(--band); border-radius: 50%; box-shadow: 0 0 14px var(--band); }
.kicker__rule { width: 64px; height: 1px; background: var(--line); }
.hero h1 { font-size: clamp(54px, 5.15vw, 94px); line-height: .99; letter-spacing: -0.045em; font-weight: 500; max-width: 14ch; }
.hero__soft { color: rgba(238, 241, 233, .5); }
.hero__sub { margin-top: 30px; max-width: 560px; font-size: clamp(19px, 1.35vw, 22px); line-height: 1.5; color: var(--paper-dim); }
.hero__sub em { color: var(--paper); font-style: normal; border-bottom: 1px solid var(--band); }
.hero__actions { display: flex; align-items: center; gap: 14px; margin-top: 42px; flex-wrap: wrap; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.hero__meta dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 5px; }
.hero__meta dd { font-size: 14px; color: var(--paper-dim); }
.hero__meta > div:first-child dd { color: var(--band); }

.hero__art { position: relative; align-self: stretch; min-height: 540px; display: flex; align-items: center; justify-content: center; }
.profile { position: relative; width: min(100%, 540px); aspect-ratio: 13 / 15; display: flex; align-items: center; justify-content: center; }
.profile::before { content: ''; position: absolute; inset: 8% 4%; background: radial-gradient(ellipse at 55% 40%, var(--band-soft), transparent 65%); filter: blur(20px); }
.profile__svg { position: relative; width: 100%; height: 100%; color: rgba(238, 241, 233, .32); overflow: visible; }
.profile__grid { opacity: .14; }
.profile__face { fill: none; stroke: rgba(238, 241, 233, .82); stroke-width: 1.5; filter: drop-shadow(0 0 1px rgba(238,241,233,.28)); }
.profile__brow, .profile__eye { fill: none; stroke: rgba(238, 241, 233, .66); stroke-width: 1.4; stroke-linecap: round; }
.profile__mask { fill: url(#meshDots); stroke: rgba(123, 233, 214, .5); stroke-width: 1.1; stroke-dasharray: 2 5; }
.profile__mask-seal { fill: none; stroke: var(--band); stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--band-glow)); stroke-dasharray: 300; stroke-dashoffset: 0; animation: sealDraw 2.6s var(--ease) .3s both; }
.profile__seal { fill: none; stroke: url(#sealFade); stroke-width: 1.2; stroke-dasharray: 1 6; opacity: .8; }
.profile__node { fill: var(--band); filter: drop-shadow(0 0 4px var(--band)); }
.profile__leader { stroke: rgba(238, 241, 233, .22); stroke-width: .8; }
.profile__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; fill: rgba(238, 241, 233, .45); }
.profile__cap { position: absolute; top: 12px; right: 0; display: flex; gap: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.profile__cap .mono { color: var(--band); }
.profile__gap { position: absolute; left: 2%; bottom: 8%; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--line); background: rgba(4, 14, 13, .62); backdrop-filter: blur(8px); border-radius: 2px; font-size: 12px; color: var(--paper-dim); }
.profile__gap .mono { font-size: 10px; color: var(--muted); }
.profile__gap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
@keyframes sealDraw { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }

.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted-2); }
.hero__foot p { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; }
.scroll-cue { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue__line { width: 1px; height: 26px; background: linear-gradient(var(--band), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* CLAIMS */
.claims { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(2, 9, 8, .35); }
.claims__inner { max-width: 1680px; margin: 0 auto; padding: 72px var(--pad) 64px; }
.claims__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 0; border-top: 1px solid var(--line); }
.claim { padding: 30px 34px 10px 0; border-right: 1px solid var(--line); }
.claim + .claim { padding-left: 34px; }
.claim__index { display: block; font-size: 11px; color: var(--band); margin-bottom: 46px; }
.claim h2, .claim h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.claim p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 270px; }
.claims__note { align-self: end; padding: 30px 0 10px 46px; font-size: 22px; line-height: 1.35; letter-spacing: -.02em; color: var(--paper-dim); max-width: 340px; }

/* SECTIONS */
.section { max-width: 1680px; margin: 0 auto; padding: clamp(96px, 9vw, 152px) var(--pad); border-top: 1px solid var(--line-soft); }
.section-head { max-width: 980px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(42px, 4.2vw, 70px); line-height: 1.03; letter-spacing: -.04em; font-weight: 500; max-width: 15ch; }
.section-head h2 em { color: var(--band); font-style: normal; }
.section-lede { margin-top: 24px; max-width: 590px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: end; }
.section-head--split .section-lede { margin-top: 0; max-width: 480px; }

/* AIR */
.air__grid { display: grid; grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr); gap: 22px; align-items: stretch; }
.air__panel { position: relative; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); border-radius: var(--radius); }
.air__panel--place { padding: 38px; display: flex; flex-direction: column; justify-content: space-between; min-height: 650px; overflow: hidden; }
.air__panel--place::after { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border: 1px solid var(--line-soft); border-radius: 50%; pointer-events: none; }
.location { position: relative; z-index: 1; }
.location h3 { font-size: clamp(26px, 2vw, 32px); line-height: 1.18; letter-spacing: -.025em; font-weight: 500; max-width: 17ch; margin: 18px 0 16px; }
.location__copy { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 400px; }
.location__actions { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.location__or { font-size: 14px; color: var(--muted-2); }
.city-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.city-list button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--paper-dim); transition: border-color .2s, color .2s, background .2s; }
.city-list button:hover { border-color: var(--band); color: var(--paper); background: var(--band-soft); }
.location__status { margin-top: 18px; font-size: 14px; color: var(--muted); min-height: 22px; }
.location__status.is-busy { color: var(--band); }
.location__error { margin-top: 18px; padding: 14px 16px; border-left: 2px solid var(--danger); background: rgba(255, 122, 82, .06); }
.location__error-title { font-size: 15px; color: var(--paper); margin-bottom: 3px; }
.location__error-copy { font-size: 13px; color: var(--muted); }
.location__privacy { display: flex; align-items: center; gap: 8px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted-2); }
.location__privacy svg { width: 15px; height: 15px; flex: 0 0 auto; }
.location-active h3 { margin-bottom: 6px; }
.location__coords { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-bottom: 18px; }
.live-line { display: flex; align-items: center; gap: 9px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-dim); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--band); box-shadow: 0 0 10px var(--band); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.location__source-note { margin-top: 16px; font-size: 12px; line-height: 1.55; color: var(--muted-2); max-width: 360px; }

.air__panel--reading { padding: 34px 42px 26px; display: flex; flex-direction: column; min-height: 650px; }
.reading__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.reading__place { margin-left: auto; font-size: 12px; color: var(--paper-dim); letter-spacing: .03em; }
.demo-tag { display: inline-flex; align-items: center; height: 19px; padding: 0 6px; border: 1px solid var(--amber); border-radius: 2px; color: var(--amber); font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; font-weight: 600; vertical-align: 1px; }
.demo-tag--inline { height: 15px; padding: 0 4px; font-size: 8px; margin-left: 6px; }
.dial { position: relative; width: min(100%, 356px); aspect-ratio: 1; margin: 16px auto 4px; }
.dial__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial__track { fill: none; stroke: rgba(233,242,235,.09); stroke-width: 2; }
.dial__ticks { fill: none; stroke: rgba(233,242,235,.18); stroke-width: 5; stroke-dasharray: 1 9; }
.dial__value { fill: none; stroke: var(--band); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 892.2; stroke-dashoffset: 892.2; transition: stroke-dashoffset 1.5s var(--ease), stroke 1s var(--ease); filter: drop-shadow(0 0 8px var(--band-glow)); }
.dial__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.dial__number { font-size: clamp(84px, 8vw, 126px); line-height: .9; font-weight: 300; letter-spacing: -.07em; color: var(--paper); transition: color .6s; }
.dial__unit { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); margin-top: 12px; }
.dial__band { margin-top: 10px; font-size: 15px; color: var(--band); max-width: 200px; line-height: 1.25; transition: color .6s; }
.reading__steps { display: flex; gap: 4px; justify-content: center; margin: 2px 0 20px; }
.reading__steps span { width: 34px; height: 2px; background: var(--line); transition: background .4s; }
.reading__steps span.is-on { background: var(--band); }
.reading__advice { font-size: 19px; line-height: 1.5; color: var(--paper-dim); max-width: 560px; min-height: 57px; transition: color .6s; }
.reading__note { margin-top: 5px; font-size: 12px; color: var(--muted-2); }
.reading__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 26px 0 18px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.reading__metrics > div { padding: 16px 0; }
.reading__metrics > div + div { padding-left: 22px; border-left: 1px solid var(--line-soft); }
.reading__metrics dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.reading__metrics dd { display: flex; align-items: baseline; gap: 6px; font-size: 25px; line-height: 1.1; color: var(--paper); }
.reading__metrics dd .mono { font-size: 22px; font-weight: 400; }
.reading__metrics .unit { font-size: 11px; color: var(--muted-2); }
.reading__metrics #updatedValue { font-size: 14px; }
.reading__source { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-2); }
.reading__source > span:first-child { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reading__source a { color: var(--paper-dim); border-bottom: 1px solid var(--line); }
.reading__source a:hover { color: var(--band); border-color: var(--band); }
.reading__source-sep { opacity: .5; }
.air__error { margin-top: 18px; padding: 16px; border: 1px solid rgba(255,122,82,.35); background: rgba(255,122,82,.05); }
.air__error-title { font-size: 16px; margin-bottom: 4px; }
.air__error p { font-size: 13px; color: var(--muted); }
.air__error .btn { margin-top: 12px; }

.demo-drawer { margin-top: auto; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.demo-drawer summary { list-style: none; display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 12px; color: var(--muted); user-select: none; }
.demo-drawer summary::-webkit-details-marker { display: none; }
.demo-drawer summary:hover { color: var(--paper); }
.demo-drawer__icon { width: 9px; height: 9px; border: 1px solid var(--muted); border-radius: 50%; transition: border-color .2s; }
.demo-drawer[open] .demo-drawer__icon { border-color: var(--band); background: var(--band); box-shadow: 0 0 8px var(--band); }
.demo-drawer__state { margin-left: auto; font-size: 9px; letter-spacing: .1em; color: var(--muted-2); }
.demo-drawer__body { padding-top: 14px; }
.demo-drawer__body > p { font-size: 12px; color: var(--muted-2); max-width: 420px; }
.demo-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.demo-options button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 2px; font-size: 12px; color: var(--paper-dim); transition: border-color .2s, background .2s; }
.demo-options button:hover { border-color: var(--paper-dim); }
.demo-options button[aria-checked='true'] { border-color: var(--band); background: var(--band-soft); color: var(--paper); }
.swatch { width: 6px; height: 6px; border-radius: 50%; }
.swatch--live { background: #7be9d6; }
.swatch--moderate { background: #e4cf9c; }
.swatch--unhealthy { background: #ffb04a; }
.swatch--hazardous { background: #ff7a52; }

/* FIT */
.fit__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); gap: clamp(40px, 5vw, 90px); align-items: start; }
.steps { border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps__num { font-size: 11px; color: var(--band); padding-top: 4px; }
.steps h3 { font-size: 23px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 6px; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 480px; }
.fit__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.fit__facts > div { padding-top: 16px; border-top: 1px solid var(--line-soft); }
.fit__facts .mono { display: block; font-size: 11px; letter-spacing: .05em; color: var(--band); margin-bottom: 7px; }
.fit__facts p { font-size: 13px; line-height: 1.45; color: var(--muted); }
.consent { position: relative; padding: 34px; border: 1px solid var(--line); border-top: 2px solid var(--band); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border-radius: var(--radius); }
.consent h3 { font-size: 30px; font-weight: 500; letter-spacing: -.03em; margin: 12px 0 14px; }
.consent__body { font-size: 16px; line-height: 1.6; color: var(--paper-dim); }
.consent__list { margin: 22px 0; display: grid; gap: 10px; }
.consent__list li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tick { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; color: var(--band); margin-top: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px 0 18px; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.5; color: var(--paper-dim); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { width: 20px; height: 20px; border: 1px solid var(--muted); border-radius: 2px; margin-top: 1px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check__box::after { content: ''; width: 9px; height: 5px; border-left: 1.5px solid #06100f; border-bottom: 1.5px solid #06100f; transform: rotate(-45deg) scale(0); transition: transform .15s; margin-top: -2px; }
.check input:checked + .check__box { background: var(--band); border-color: var(--band); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--band); outline-offset: 3px; }
.consent .btn { margin-top: 6px; }
.consent__fallback { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.consent__fallback .mono { font-size: 9px; letter-spacing: .12em; color: var(--amber); border: 1px solid rgba(240,166,60,.4); padding: 2px 4px; }
.consent__status { margin-top: 12px; font-size: 13px; color: var(--muted); min-height: 20px; }

/* HOW */
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.how__item { background: var(--bg); padding: 28px 30px 34px; transition: background .3s; }
.how__item:hover { background: rgba(255,255,255,.02); }
.how__diagram { height: 180px; margin-bottom: 26px; display: grid; place-items: center; border-bottom: 1px solid var(--line-soft); color: var(--band); position: relative; overflow: hidden; }
.how__diagram svg { width: 240px; height: 160px; opacity: .75; }
.how__ring { position: absolute; width: 110px; height: 110px; border: 1px solid rgba(123,233,214,.24); border-radius: 50%; }
.how__ring--2 { width: 150px; height: 150px; opacity: .6; }
.how__ring--3 { width: 190px; height: 190px; opacity: .3; }
.how__centre { font-size: 10px; letter-spacing: .1em; color: var(--band); }
.how__item h3 { font-size: 25px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.how__item p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.how__tag { margin-top: 22px; font-size: 9px; letter-spacing: .1em; color: var(--muted-2); }
.honesty { margin-top: 26px; display: grid; grid-template-columns: 340px 1fr; gap: 46px; padding: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.018); }
.honesty__title h3 { font-size: 28px; font-weight: 500; letter-spacing: -.025em; margin-top: 12px; max-width: 9ch; }
.honesty__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 38px; }
.honesty__grid dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--band); margin-bottom: 4px; }
.honesty__grid dd { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* FOOTER */
.footer { border-top: 1px solid var(--line); background: rgba(2, 8, 7, .55); margin-top: 20px; }
.footer__inner { max-width: 1680px; margin: 0 auto; padding: 64px var(--pad) 40px; display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: 56px; align-items: start; }
.brand--footer { margin-bottom: 20px; }
.footer__brand > p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 300px; }
.footer__powered { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--band); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.footer__powered:hover { border-color: var(--band); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.footer__head { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer__nav a { display: block; font-size: 14px; color: var(--paper-dim); margin-bottom: 9px; width: fit-content; border-bottom: 1px solid transparent; }
.footer__nav a:hover { color: var(--paper); border-color: var(--line); }
.footer__disclaimer { border-left: 1px solid var(--line); padding-left: 30px; }
.footer__disclaimer .eyebrow { margin-bottom: 12px; }
.footer__disclaimer p { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin-bottom: 12px; }
.footer__disclaimer strong { color: var(--paper-dim); font-weight: 500; }
.footer__fine { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: var(--muted-2); }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 30px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 8, 7, .74); backdrop-filter: blur(14px); animation: fadeIn .3s var(--ease); }
.modal__card { position: relative; width: min(100%, 580px); padding: 38px; background: #0a1513; border: 1px solid var(--line); border-top: 2px solid var(--band); border-radius: var(--radius); box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); animation: rise .45s var(--ease); }
.modal__icon { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--band); margin-bottom: 22px; }
.modal__icon svg { width: 22px; height: 22px; }
.modal__card h2 { font-size: 36px; line-height: 1.08; letter-spacing: -.03em; font-weight: 500; margin: 12px 0 14px; }
.modal__card > p:not(.eyebrow, .modal__fine) { font-size: 16px; line-height: 1.6; color: var(--muted); }
.modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.modal__fine { margin-top: 18px; font-size: 10px; letter-spacing: .04em; color: var(--muted-2); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* HINTS */
.hints { position: fixed; right: 18px; bottom: 58px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 1px solid var(--line-soft); border-radius: 3px; background: rgba(3, 10, 9, .7); backdrop-filter: blur(10px); opacity: .38; transition: opacity .25s; }
.hints:hover, .hints:focus-within, .hints.is-open { opacity: 1; }
.hints__toggle { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 2px 4px; }
.hints ul { display: flex; gap: 12px; align-items: center; }
.hints li { font-family: var(--font-mono); font-size: 9px; letter-spacing: .03em; color: var(--muted); white-space: nowrap; }
.hints kbd { font-family: var(--font-mono); font-size: 9px; color: var(--paper-dim); border: 1px solid var(--line); border-radius: 2px; padding: 1px 4px; margin-right: 4px; background: rgba(255,255,255,.04); }
.hints:not(.is-open) ul { display: none; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 250; padding: 11px 18px; border: 1px solid var(--line); background: #0a1513; border-radius: 2px; font-size: 13px; color: var(--paper-dim); box-shadow: 0 20px 60px -20px #000; }
.toast[hidden] { display: none; }

/* EXPERIENCE */
.experience:focus { outline: none; }
.experience { position: fixed; inset: 0; z-index: 150; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
.experience[hidden] { display: none; }
.experience::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 40%, var(--band-soft), transparent 70%); opacity: .5; pointer-events: none; transition: background 1.2s; }
.exp__chrome { position: relative; z-index: 5; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line-soft); background: rgba(4, 14, 13, .35); backdrop-filter: blur(10px); }
.exp__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.exp__brand .brand__mark { width: 22px; height: 22px; }
.exp__steps { display: flex; gap: 26px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.exp__steps span { position: relative; padding-bottom: 5px; }
.exp__steps span.is-done { color: var(--muted); }
.exp__steps span.is-active { color: var(--band); }
.exp__steps span.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--band); }
.exp__canvas-wrap { position: absolute; inset: 64px 0 0; z-index: 1; }
#stageCanvas { width: 100%; height: 100%; display: block; outline: none; touch-action: none; cursor: grab; }
#stageCanvas:active { cursor: grabbing; }
.stage__sweep { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.05) 50%, transparent 58%); transform: translateX(-120%); pointer-events: none; opacity: 0; }
.stage__sweep.is-on { animation: sweep 1.8s var(--ease); }
@keyframes sweep { 0% { transform: translateX(-120%); opacity: 1; } 100% { transform: translateX(120%); opacity: 0; } }
.stage__grain { position: absolute; inset: 0; opacity: .04; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.exp-stage { position: absolute; inset: 64px 0 0; z-index: 3; display: none; }
.exp-stage.is-active { display: flex; animation: stageIn .5s var(--ease); }
@keyframes stageIn { from { opacity: 0; } }
.exp__footer { position: relative; margin-top: auto; z-index: 6; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; border-top: 1px solid var(--line-soft); background: rgba(4,14,13,.5); font-size: 8px; letter-spacing: .12em; color: var(--muted-2); }
.experience[data-stage='scan'] .exp__footer { display: none; }
.experience[data-stage='scan'] .exp__canvas-wrap { display: none; }
.experience[data-stage='scan'] .exp-stage { inset: 64px 0 0; }
.experience[data-stage='result'] .exp-stage { inset: 64px 0 34px; }

/* SCAN */
.scan { display: grid; grid-template-columns: minmax(0, 1fr) 370px; width: 100%; height: 100%; }
.scan__video-wrap { position: relative; overflow: hidden; background: #010605; display: flex; align-items: center; justify-content: center; }
#scanVideo { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); filter: saturate(.82) contrast(1.02) brightness(.94); }
.scan__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scan__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 52% 66% at 50% 48%, transparent 35%, rgba(1,6,5,.55) 78%, rgba(1,6,5,.88)); pointer-events: none; }
.scan__grid { position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 75%); }
.scan__guide { position: absolute; width: min(46vh, 380px); aspect-ratio: 3/4; left: 50%; top: 46%; transform: translate(-50%, -50%); pointer-events: none; }
.scan__guide svg { width: 100%; height: 100%; }
.scan__guide ellipse { fill: none; stroke: rgba(233,242,235,.3); stroke-width: 1.2; stroke-dasharray: 3 7; transition: stroke .35s, filter .35s; }
.scan__guide.is-good ellipse { stroke: var(--band); filter: drop-shadow(0 0 10px var(--band-glow)); }
.scan__guide-tick { position: absolute; width: 12px; height: 12px; border-color: rgba(233,242,235,.5); border-style: solid; transition: border-color .3s; }
.scan__guide-tick--a { left: 0; top: 12%; border-width: 1px 0 0 1px; }
.scan__guide-tick--b { right: 0; top: 12%; border-width: 1px 1px 0 0; }
.scan__guide-tick--c { left: 0; bottom: 12%; border-width: 0 0 1px 1px; }
.scan__guide-tick--d { right: 0; bottom: 12%; border-width: 0 1px 1px 0; }
.scan__guide.is-good .scan__guide-tick { border-color: var(--band); }
.scan__countdown { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; z-index: 4; pointer-events: none; }
.scan__countdown .mono { font-size: 150px; line-height: 1; font-weight: 200; color: var(--paper); text-shadow: 0 0 60px rgba(0,0,0,.6); animation: countPop .9s var(--ease); }
.scan__countdown small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--band); }
@keyframes countPop { 0% { opacity: 0; transform: scale(.82); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: .8; transform: scale(1.06); } }
.scan__scanline { position: absolute; left: 6%; right: 6%; height: 1px; top: 20%; background: linear-gradient(90deg, transparent, var(--band) 25%, var(--band) 75%, transparent); box-shadow: 0 0 22px var(--band); opacity: 0; pointer-events: none; }
.scan__scanline.is-on { opacity: .85; animation: scanline 2.2s linear infinite; }
@keyframes scanline { 0% { top: 20%; opacity: 0; } 12% { opacity: .85; } 88% { opacity: .85; } 100% { top: 76%; opacity: 0; } }
.scan__pose { position: absolute; left: 34px; top: 28px; z-index: 3; max-width: 420px; text-shadow: 0 1px 20px rgba(0,0,0,.7); }
.scan__pose .eyebrow { color: var(--band); margin-bottom: 6px; }
.scan__pose h2 { font-size: 32px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 5px; }
.scan__pose p { font-size: 14px; color: rgba(238,241,233,.75); max-width: 330px; }
.scan__quality { position: absolute; right: 26px; top: 28px; z-index: 3; padding: 14px 16px; border: 1px solid rgba(233,242,235,.14); background: rgba(2,9,8,.5); backdrop-filter: blur(10px); border-radius: 2px; min-width: 132px; }
.scan__quality .eyebrow { font-size: 9px; margin-bottom: 9px; }
.scan__quality ul { display: grid; gap: 7px; }
.scan__quality li { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: rgba(238,241,233,.5); transition: color .25s; }
.scan__quality li.is-good { color: var(--paper); }
.scan__quality li.is-bad { color: var(--danger); }
.q-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; transition: background .25s; }
.scan__quality li.is-good .q-dot { background: var(--band); border-color: var(--band); box-shadow: 0 0 8px var(--band); }
.scan__badge { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; padding: 8px 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); background: rgba(2,9,8,.62); border: 1px solid rgba(233,242,235,.16); border-radius: 999px; backdrop-filter: blur(8px); white-space: nowrap; }
.scan__badge.is-warn { color: var(--danger); border-color: rgba(255,122,82,.4); }
.scan__rail { padding: 36px 30px 24px; border-left: 1px solid var(--line-soft); background: rgba(4,14,13,.55); display: flex; flex-direction: column; gap: 0; }
.scan__ring { position: relative; width: 132px; height: 132px; margin: 18px 0 12px; border-radius: 50%; background: conic-gradient(var(--band) calc(var(--p) * 1%), rgba(255,255,255,.07) 0); display: grid; place-items: center; }
.scan__ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #071210; }
.scan__ring span { position: relative; z-index: 1; font-size: 22px; color: var(--paper); }
.scan__frames { font-size: 10px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.scan__status { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); min-height: 74px; }
.scan__status > p:first-child { font-size: 16px; line-height: 1.4; color: var(--paper-dim); }
.scan__status-sub { margin-top: 5px; font-size: 11px; color: var(--muted-2); }
.pose-list { display: grid; gap: 1px; margin: 22px 0; }
.pose-list span { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--muted-2); transition: color .25s; }
.pose-list i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pose-list span.is-active { color: var(--paper); }
.pose-list span.is-active i { background: var(--band); box-shadow: 0 0 8px var(--band); }
.pose-list span.is-done { color: var(--muted); }
.pose-list span.is-done i { background: var(--band); }
.scan__rail .btn { align-self: flex-start; }
.scan__privacy { margin-top: auto; padding-top: 24px; font-size: 11px; color: var(--muted-2); }
.scan__error { margin-top: 18px; padding: 16px; border: 1px solid rgba(255,122,82,.35); background: rgba(255,122,82,.05); }
.scan__error:not([hidden]) { position: fixed; z-index: 20; left: clamp(20px, 4vw, 64px); top: 50%; transform: translateY(-50%); width: min(430px, calc(100vw - 470px)); padding: 24px 26px; background: rgba(8, 17, 15, .94); backdrop-filter: blur(14px); border-color: rgba(255,122,82,.5); border-radius: var(--radius); }
.scan__error:not([hidden]) h3 { font-size: 24px; letter-spacing: -.03em; }
.scan__error:not([hidden]) p { font-size: 15px; color: var(--paper-dim); }
.scan__error-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
.scan__error h3 { font-size: 17px; margin-bottom: 6px; }
.scan__error p { font-size: 12px; line-height: 1.5; color: var(--muted); }
.scan__error-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 14px; }

/* WAIT */
.exp-stage--wait { align-items: center; justify-content: flex-end; padding: 0 clamp(30px, 5vw, 80px); pointer-events: none; }
.wait__copy { width: 470px; max-width: 42vw; background: linear-gradient(90deg, rgba(4,14,13,0), rgba(4,14,13,.72) 30%); padding: 30px 0 30px 30px; }
.wait__copy .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.wait__copy h2 { font-size: clamp(42px, 4.4vw, 66px); line-height: 1; letter-spacing: -.045em; font-weight: 500; margin: 16px 0 18px; }
.wait__lede { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 390px; }
.wait__log { margin-top: 30px; border-top: 1px solid var(--line); }
.wait__log li { display: grid; grid-template-columns: 18px 1fr auto; gap: 11px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted-2); transition: color .3s; }
.wait__log li .log-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; margin-top: 5px; }
.wait__log li .log-time { font-family: var(--font-mono); font-size: 9px; color: var(--muted-2); }
.wait__log li.is-active { color: var(--paper); }
.wait__log li.is-active .log-dot { background: var(--band); border-color: var(--band); box-shadow: 0 0 10px var(--band); animation: pulse 1.6s infinite; }
.wait__log li.is-done { color: var(--muted); }
.wait__log li.is-done .log-dot { background: var(--muted); border-color: var(--muted); }
.wait__log li.is-error { color: var(--danger); }
.wait__meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.wait__meta .mono { font-size: 22px; font-weight: 300; letter-spacing: -.03em; color: var(--paper); }
.wait__powered { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wait__powered strong { color: var(--band); font-weight: 500; }
.wait__honest { margin-top: 12px; font-size: 10px; color: var(--muted-2); }
.exp-stage--wait .wait__copy .btn { margin-top: 18px; pointer-events: auto; }

/* REVEAL */
.exp-stage--reveal { align-items: flex-end; justify-content: center; padding-bottom: 7vh; pointer-events: none; }
.reveal__copy { text-align: center; max-width: 640px; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.reveal__copy h2 { font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 500; margin: 12px 0 10px; }
.reveal__copy p:last-child { font-size: 16px; color: var(--muted); }

/* BUILD */
.exp-stage--fit { align-items: center; justify-content: flex-start; padding: 0 clamp(30px, 5vw, 80px); pointer-events: none; }
.build__copy { width: 440px; max-width: 38vw; }
.build__copy h2 { font-size: clamp(38px, 3.6vw, 58px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; margin: 14px 0 28px; }
.build__copy h2 em { color: var(--band); font-style: normal; }
.build__regions { display: grid; gap: 2px; max-width: 300px; }
.build__regions li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted-2); transition: color .3s; }
.build__regions li span { width: 26px; height: 1px; background: var(--line); position: relative; }
.build__regions li span::after { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.build__regions li.is-active { color: var(--paper); }
.build__regions li.is-active span { background: var(--band); }
.build__regions li.is-active span::after { background: var(--band); box-shadow: 0 0 8px var(--band); }
.build__regions li.is-done { color: var(--muted); }
.build__regions li.is-done span::after { background: var(--band); }
.build__hint { margin-top: 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--muted); }

/* RESULT */
.exp-stage--result { pointer-events: none; }
.result { width: 100%; padding: 30px clamp(20px, 3vw, 44px) 22px; display: flex; flex-direction: column; }
.result__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 10px; }
.result__top h2:focus { outline: none; }
.result__top h2 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin-top: 7px; max-width: 560px; }
.result__disclaimer { font-family: var(--font-mono); font-size: 9px; letter-spacing: .05em; color: var(--paper-dim); text-align: right; max-width: 250px; line-height: 1.6; }
.result__grid { flex: 1; display: grid; grid-template-columns: 1fr 476px; gap: 24px; min-height: 0; }
.result__view { position: relative; min-height: 300px; }
.view__hud { position: absolute; left: 0; top: 0; display: flex; gap: 20px; font-size: 8px; letter-spacing: .1em; color: var(--muted-2); }
.view__tip { position: absolute; left: 0; bottom: 4px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; color: var(--muted-2); }
.result__card { position: relative; pointer-events: auto; overflow-y: auto; overscroll-behavior: contain; padding: 24px 26px; border: 1px solid var(--line); background: rgba(6, 15, 14, .82); backdrop-filter: blur(16px); border-radius: var(--radius); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.result__card::-webkit-scrollbar { width: 4px; }
.result__card::-webkit-scrollbar-thumb { background: var(--line); }
.seal-score { padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.seal-score .eyebrow { color: var(--band); }
.seal-score__value { display: flex; align-items: baseline; gap: 2px; margin-top: 4px; line-height: 1; }
.seal-score__value #sealScore { font-size: 64px; font-weight: 300; letter-spacing: -.06em; }
.seal-score__pct { font-family: var(--font-mono); font-size: 18px; color: var(--muted); }
.seal-score__caption { font-size: 12px; line-height: 1.45; color: var(--muted); margin-top: 8px; max-width: 340px; }
.seal-map { position: relative; height: 92px; margin: 14px 0 8px; border: 1px solid var(--line-soft); background: radial-gradient(ellipse at 50% 120%, var(--band-soft), transparent 70%); overflow: hidden; }
.seal-map__key { display: flex; align-items: center; gap: 14px; font-size: 10px; color: var(--muted); }
.seal-map__key span { display: inline-flex; align-items: center; gap: 5px; }
.seal-map__key .mono { margin-left: auto; font-size: 8px; color: var(--muted-2); letter-spacing: .04em; }
.key-dot { width: 5px; height: 5px; border-radius: 50%; }
.key-dot--gap { background: var(--amber); }
.key-dot--seal { background: var(--band); }
.compare { padding: 16px 0 12px; }
.compare__head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.compare input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 6px 0 0; cursor: ew-resize; }
.compare input[type='range']::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--amber), var(--band)); }
.compare input[type='range']::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--amber), var(--band)); }
.compare input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 0; margin-top: -7.5px; box-shadow: 0 0 0 4px rgba(238,241,233,.12); }
.compare input[type='range']::-moz-range-thumb { width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 0; }
.compare__readout { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 4px; }
.toggle-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); text-align: left; }
.toggle-row__switch { width: 38px; height: 21px; border-radius: 999px; border: 1px solid var(--muted-2); padding: 2px; flex: 0 0 auto; transition: background .25s, border-color .25s; }
.toggle-row__switch i { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease), background .25s; }
.toggle-row[aria-pressed='true'] .toggle-row__switch { background: var(--band); border-color: var(--band); }
.toggle-row[aria-pressed='true'] .toggle-row__switch i { transform: translateX(16px); background: #06100f; }
.toggle-row strong { display: block; font-size: 13px; font-weight: 500; color: var(--paper); }
.toggle-row small { display: block; font-size: 11px; color: var(--muted-2); }
.fitcard { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.fitcard dt { font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 5px; }
.fitcard dd { font-size: 13px; line-height: 1.25; color: var(--paper); }
.fitcard dd .mono { display: block; font-size: 25px; line-height: 1; margin-bottom: 4px; }
.fitcard dd small { display: block; font-size: 9px; color: var(--muted-2); margin-top: 4px; line-height: 1.3; }
.m5 { padding-top: 16px; }
.m5 .eyebrow { font-size: 9px; }
.m5 > p { font-size: 11px; line-height: 1.55; color: var(--muted); margin-top: 7px; }
.m5__disclaimer { border-left: 1px solid var(--amber); padding-left: 10px; color: var(--paper-dim) !important; }
.m5__disclaimer strong { color: var(--paper); font-weight: 500; }
.m5__actions { display: flex; gap: 8px; margin-top: 14px; }
.m5__actions .btn { height: 40px; padding: 0 16px; font-size: 13px; }
.m5__fine { font-size: 8px; letter-spacing: .04em; color: var(--muted-2) !important; margin-top: 12px; }
.seal-map canvas { display: block; width: 100%; height: 100%; }

/* Background stage visibility helpers */
.experience[data-stage='scan'] #stageViewport,
.experience[data-stage='scan'] .stage__sweep,
.experience[data-stage='scan'] #stageCanvas { visibility: hidden; }

/* REDUCED MOTION / MOTION TOGGLE */
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
body.reduce-motion .scan__scanline { display: none; }
body.reduce-motion #hazeCanvas { opacity: .28; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* RESPONSIVE (desktop-first; mobile is a later pass) */
@media (max-width: 1440px) {
  .nav__links a { padding: 8px 13px; font-size: 14px; }
  .hero h1 { font-size: clamp(52px, 5vw, 80px); }
  .result__grid { grid-template-columns: 1fr 448px; }
  .result__card { padding: 20px 22px; }
}
@media (max-width: 1240px) {
  .motion-button span, .nav__air .nav__band { display: none; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 36px; }
  .air__grid { grid-template-columns: 1fr 1.25fr; }
  .fit__grid { grid-template-columns: 1fr 440px; gap: 40px; }
  .result__grid { grid-template-columns: 1fr 430px; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr 1fr; }
  .hero__art { min-height: 440px; }
  .claims__grid { grid-template-columns: 1fr 1fr; }
  .claim:nth-child(2) { border-right: 0; }
  .claims__note { padding-left: 0; grid-column: 1 / -1; max-width: none; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
  .air__grid { grid-template-columns: 1fr; }
  .air__panel--place { min-height: 0; }
  .air__panel--reading { min-height: 620px; }
  .fit__grid { grid-template-columns: 1fr; }
  .consent { max-width: 560px; }
  .how__grid { grid-template-columns: 1fr; }
  .how__diagram { height: 140px; }
  .honesty { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .hero { min-height: auto; }
  .hero__meta { gap: 24px; }
  .section-head--split { grid-template-columns: 1fr; gap: 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__disclaimer { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 26px; }
  .scan { grid-template-columns: 1fr; }
  .scan__rail { display: none; }
  .result__grid { grid-template-columns: 1fr; overflow-y: auto; }
  .result__view { display: none; }
  .exp__steps { display: none; }
}

.wait__actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; pointer-events: auto; }
.wait__actions .text-button { font-size: 13px; }
.scan__glasses { margin-top: 12px; font-size: 10px; line-height: 1.45; color: var(--muted-2); max-width: 280px; }
.stage-fallback { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center; gap: 10px; padding: 40px; background: radial-gradient(ellipse at 50% 60%, var(--band-soft), transparent 70%); }
.stage-fallback .eyebrow { color: var(--amber); }
.stage-fallback p:last-child { max-width: 380px; font-size: 14px; color: var(--muted); }
.experience[data-stage='result'] .stage-fallback { inset: 64px 480px 34px 0; }

/* PHONE (<=700px). Laptop layouts above stay untouched. */
.nav__menu, .mobile-menu { display: none; }

@media (max-width: 700px) {
  :root { --nav-h: 64px; --pad: 20px; }
  body { font-size: 17px; }

  /* header + phone menu */
  .nav { display: flex; align-items: center; gap: 8px; height: var(--nav-h); padding: 0 14px; }
  .brand { flex: 1 1 auto; gap: 8px; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__type { font-size: 16px; letter-spacing: -.025em; }
  .brand__place { display: none; }
  .nav__tools { flex: 0 0 auto; gap: 6px; }
  .nav__air { height: 34px; padding: 0 9px; gap: 6px; }
  .nav__air-text .mono { font-size: 10px; }
  .nav__band, .nav__demo, .motion-button { display: none; }
  .nav__tools .icon-button { width: 34px; height: 34px; }
  .nav__tools .icon-button svg { width: 17px; height: 17px; }
  .nav__menu { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); }
  .nav__menu svg { width: 18px; height: 18px; }
  .nav__menu[aria-expanded='true'] { color: var(--band); border-color: var(--band); background: var(--band-soft); }
  .mobile-menu:not([hidden]) { display: block; position: fixed; z-index: 65; top: calc(var(--nav-h) + 8px); left: 12px; right: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,14,13,.97); backdrop-filter: blur(18px); box-shadow: 0 24px 70px -20px #000; }
  .mobile-menu nav { display: grid; }
  .mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 12px; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .mobile-menu nav a.is-current { color: var(--band); }
  .mobile-menu nav a .mono { font-size: 9px; color: var(--muted-2); }
  .mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 8px; }
  .mobile-menu__action { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-soft); font-size: 12px; color: var(--paper-dim); text-align: left; }
  .mobile-menu__action .mono { font-size: 9px; color: var(--muted-2); }
  .mobile-menu__action[aria-pressed='true'] { color: var(--band); border-color: rgba(123,233,214,.3); }
  .hints { display: none; }

  /* hero */
  .hero { min-height: 100svh; padding: calc(var(--nav-h) + 38px) var(--pad) 22px; }
  .hero__inner { display: block; }
  .hero__copy { max-width: none; padding-bottom: 0; }
  .kicker { gap: 8px; margin-bottom: 24px; font-size: 10px; letter-spacing: .1em; }
  .kicker__rule { width: 36px; }
  .hero h1 { font-size: clamp(41px, 12vw, 50px); line-height: 1; max-width: 12ch; }
  .hero__sub { margin-top: 22px; font-size: 18px; line-height: 1.55; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 30px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 36px; padding-top: 20px; }
  .hero__meta dd { font-size: 13px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 16px; }
  .hero__foot p { font-size: 9px; line-height: 1.6; letter-spacing: .02em; }
  .scroll-cue { display: none; }

  /* 00 claims */
  .claims__inner { padding: 42px var(--pad) 34px; }
  .claims__grid { grid-template-columns: 1fr; }
  .claim, .claim + .claim { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .claim__index { margin-bottom: 16px; }
  .claim h2, .claim h3 { font-size: 23px; }
  .claim p { max-width: none; font-size: 15px; }
  .claims__note { grid-column: auto; margin-top: 0; padding: 24px 0 0; border-top: 0; font-size: 20px; max-width: none; }

  /* sections */
  .section { padding: 64px var(--pad); }
  .section-label { margin-bottom: 18px; font-size: 10px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(36px, 10.5vw, 48px); }
  .section-lede { margin-top: 16px; font-size: 17px; line-height: 1.55; }
  .section-head--split { gap: 16px; }

  /* air */
  .air__grid { gap: 12px; }
  .air__panel--place { min-height: 0; padding: 24px 20px 22px; }
  .location h3 { margin: 14px 0 12px; font-size: 28px; }
  .location__copy { font-size: 15px; }
  .location__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
  .location__actions .btn { width: 100%; justify-content: center; }
  .location__or { display: none; }
  .city-list { gap: 6px; margin-top: 18px; }
  .city-list button { padding: 7px 10px; font-size: 12px; }
  .location__privacy { margin-top: 26px; padding-top: 16px; }
  .air__panel--reading { min-height: 0; padding: 20px 18px 20px; }
  .reading__top { gap: 8px; padding-bottom: 12px; }
  .reading__place { max-width: 48%; font-size: 11px; text-align: right; }
  .dial { width: min(100%, 274px); margin: 10px auto 2px; }
  .dial__number { font-size: clamp(88px, 24vw, 104px); }
  .dial__band { font-size: 14px; }
  .reading__advice { min-height: 0; font-size: 17px; }
  .reading__metrics { margin: 20px 0 16px; }
  .reading__metrics > div { padding: 13px 0; }
  .reading__metrics > div + div { padding-left: 12px; }
  .reading__metrics dt { font-size: 8px; letter-spacing: .08em; }
  .reading__metrics dd { gap: 4px; font-size: 20px; }
  .reading__metrics dd .mono { font-size: 20px; }
  .reading__metrics #updatedValue { font-size: 12px; }
  .reading__metrics .unit { font-size: 9px; }
  .demo-drawer { margin-top: 20px; }

  /* fit */
  .fit__grid { gap: 34px; }
  .steps li { grid-template-columns: 28px 1fr; gap: 12px; padding: 22px 0; }
  .steps h3 { font-size: 21px; }
  .steps p { font-size: 15px; }
  .fit__facts { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .fit__facts > div { padding: 14px 0; }
  .fit__facts p { font-size: 13px; }
  .consent { max-width: none; padding: 22px 18px; }
  .consent h3 { margin: 10px 0 12px; font-size: 26px; }
  .consent__body { font-size: 15px; }
  .consent__list { margin: 18px 0; }
  .consent__list li { font-size: 13px; }
  .consent .btn { width: 100%; }
  .consent__fallback { align-items: flex-start; flex-wrap: wrap; }
  .consent__fallback .btn { width: auto; }

  /* how */
  .how__grid { grid-template-columns: 1fr; }
  .how__item { padding: 22px 18px 26px; }
  .how__diagram { height: 150px; margin-bottom: 20px; }
  .how__item h3 { font-size: 23px; }
  .how__item p { font-size: 15px; }
  .honesty { grid-template-columns: 1fr; gap: 20px; margin-top: 16px; padding: 22px 18px; }
  .honesty__title h3 { max-width: none; font-size: 24px; }
  .honesty__grid { grid-template-columns: 1fr; gap: 18px; }
  .honesty__grid dd { font-size: 13px; }

  /* footer */
  .footer__inner { grid-template-columns: 1fr; gap: 30px; padding: 44px var(--pad) 28px; }
  .footer__nav { gap: 24px; }
  .footer__disclaimer { grid-column: auto; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 24px; }
  .footer__fine { line-height: 1.7; }

  /* modal + toast */
  .modal { padding: 14px; }
  .modal__card { padding: 24px 20px; }
  .modal__icon { width: 38px; height: 38px; margin-bottom: 16px; }
  .modal__card h2 { font-size: 29px; }
  .modal__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .modal__actions .btn { width: 100%; justify-content: center; }
  .modal__fine { font-size: 9px; line-height: 1.6; }
  .toast { left: 12px; right: 12px; bottom: 18px; transform: none; text-align: center; font-size: 12px; }

  /* experience chrome */
  .exp__chrome { height: 64px; padding: 0 16px; gap: 10px; }
  .exp__brand { font-size: 13px; gap: 8px; }
  .exp__brand .brand__mark { width: 20px; height: 20px; }
  .exp__steps { display: none; }
  .exp__footer { display: none; }
  .exp__canvas-wrap, .exp-stage, .experience[data-stage='scan'] .exp-stage, .experience[data-stage='result'] .exp-stage { inset: 64px 0 0; }
  .icon-button--close { width: 36px; height: 36px; }

  /* scan: camera fills the screen; compact controls live over the lower edge */
  .scan { position: relative; display: block; height: 100%; }
  .scan__video-wrap { height: 100%; }
  .scan__guide { width: min(48vw, 200px); top: 38%; }
  .scan__pose { left: 18px; right: 18px; top: 16px; max-width: none; }
  .scan__pose .eyebrow { font-size: 9px; }
  .scan__pose h2 { font-size: 27px; }
  .scan__pose p { max-width: none; font-size: 13px; }
  .scan__quality { left: 12px; right: 12px; top: auto; bottom: calc(34% + 10px); min-width: 0; display: flex; align-items: center; gap: 12px; padding: 9px 11px; }
  .scan__quality .eyebrow { display: none; }
  .scan__quality ul { display: flex; flex: 1; justify-content: space-between; gap: 8px; }
  .scan__quality li { gap: 5px; font-size: 9px; }
  .scan__badge { left: 50%; bottom: calc(34% + 54px); max-width: calc(100vw - 32px); padding: 6px 10px; font-size: 9px; overflow: hidden; text-overflow: ellipsis; }
  .scan__rail { display: grid; position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 12px; max-height: 34%; overflow-y: auto; grid-template-columns: 60px 1fr; grid-template-areas: 'ring status' 'poses poses' 'cancel cancel'; gap: 10px 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(4,14,13,.88); backdrop-filter: blur(14px); }
  .scan__rail > .eyebrow, .scan__frames, .scan__privacy, .scan__glasses { display: none; }
  .scan__ring { grid-area: ring; width: 60px; height: 60px; margin: 0; align-self: center; }
  .scan__ring::before { inset: 4px; }
  .scan__ring span { font-size: 13px; }
  .scan__status { grid-area: status; align-self: center; min-height: 0; margin: 0; padding: 0; border: 0; }
  .scan__status > p:first-child { font-size: 14px; line-height: 1.35; }
  .scan__status-sub { margin-top: 3px; font-size: 10px; }
  .pose-list { grid-area: poses; display: flex; gap: 4px; margin: 0; }
  .pose-list span { flex: 1; justify-content: center; gap: 5px; padding: 6px 3px; border: 1px solid var(--line-soft); border-radius: 3px; font-size: 9px; }
  .scan__rail .btn { grid-area: cancel; width: 100%; height: 38px; align-self: stretch; font-size: 13px; }
  .scan__error:not([hidden]) { left: 16px; right: 16px; top: 44%; transform: translateY(-50%); width: auto; max-height: 70vh; overflow-y: auto; padding: 20px; }
  .scan__error:not([hidden]) h3 { font-size: 22px; }
  .scan__error:not([hidden]) p { font-size: 14px; }
  .scan__error-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }

  /* wait, reveal, fit build */
  .exp-stage--wait { align-items: flex-end; justify-content: center; padding: 0 12px 12px; }
  .wait__copy { width: 100%; max-width: none; max-height: 62vh; overflow-y: auto; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, rgba(4,14,13,.72), rgba(4,14,13,.96)); }
  .wait__copy h2 { margin: 10px 0 12px; font-size: 36px; }
  .wait__lede { font-size: 14px; }
  .wait__log { margin-top: 16px; }
  .wait__log li { padding: 8px 0; font-size: 11px; }
  .wait__meta { margin-top: 14px; }
  .wait__meta .mono { font-size: 19px; }
  .wait__honest { font-size: 9px; }
  .wait__actions { gap: 10px; }
  .wait__actions .btn { width: 100%; }
  .exp-stage--reveal { align-items: flex-end; padding: 0 18px 9vh; }
  .reveal__copy h2 { font-size: 44px; }
  .reveal__copy p:last-child { font-size: 14px; }
  .exp-stage--fit { align-items: flex-end; justify-content: stretch; padding: 0 12px 12px; }
  .build__copy { width: 100%; max-width: none; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(4,14,13,.84); backdrop-filter: blur(12px); }
  .build__copy h2 { margin: 10px 0 14px; font-size: 33px; }
  .build__regions { grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: none; }
  .build__regions li { display: block; padding: 7px 0; border-top: 1px solid var(--line-soft); border-bottom: 0; font-size: 10px; }
  .build__regions li span { display: none; }
  .build__hint { margin-top: 12px; font-size: 9px; }

  /* result: head above, scrollable fit card below */
  .experience[data-stage='result'] .exp__canvas-wrap { inset: 154px 0 auto; height: clamp(190px, 30vh, 260px); }
  .result { height: 100%; padding: 12px 12px 0; }
  .result__top { display: block; margin: 0 0 6px; }
  .result__top h2 { margin-top: 4px; max-width: none; font-size: 24px; line-height: 1.1; }
  .result__disclaimer { display: none; }
  .result__grid { display: flex; flex-direction: column; gap: 0; min-height: 0; overflow: hidden; }
  .result__view { display: block; order: 1; flex: 0 0 clamp(190px, 30vh, 260px); min-height: 0; }
  .view__hud { top: 8px; left: 0; gap: 10px; font-size: 7px; }
  .view__tip { display: none; }
  .result__card { order: 2; flex: 1; min-height: 0; margin: 0 -12px; padding: 18px 18px calc(28px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; background: rgba(6,15,14,.96); }
  .seal-score__value #sealScore { font-size: 54px; }
  .seal-score__caption { font-size: 11px; }
  .seal-map { height: 84px; }
  .seal-map__key { flex-wrap: wrap; gap: 8px; }
  .seal-map__key .mono { margin-left: 0; }
  .fitcard { gap: 8px; }
  .fitcard dd .mono { font-size: 23px; }
  .m5__actions { flex-direction: column; }
  .m5__actions .btn { width: 100%; justify-content: center; }
  .result__card .m5 { padding-bottom: 10px; }
}

