/* ============================================================
   Second View — marketing one-pager styles.
   Built on the Second View design-system tokens (styles.css).
   Words in SANS, numbers in MONO. One amber accent. Near-black ground.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--sv-amber-ink); }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--sv-amber-ink);
  padding: 10px 16px; font-weight: 600; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---- shared mono / label primitives ---------------------- */
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.label {
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: var(--fs-label); letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--text-label);
}
.amber { color: var(--accent); }
.measure { max-width: var(--maxw-prose); }

/* ---- layout shells --------------------------------------- */
.wrap { max-width: var(--maxw-content); margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.eyebrow {
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--accent);
  margin: 0 0 18px;
}
.eyebrow .num { font-family: var(--font-mono); color: var(--text-label); margin-right: 10px; }

h1, h2, h3 { margin: 0; letter-spacing: var(--ls-tight); }
h2.head {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(34px, 5vw, var(--fs-display-l)); line-height: 1.02;
  color: var(--text-primary);
}
h3.sub {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(26px, 3.4vw, var(--fs-display-m)); line-height: 1.04;
}
p.lede {
  font-size: var(--fs-body-lg); line-height: 1.55; color: var(--text-muted);
  text-wrap: pretty;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 28px;
  background: linear-gradient(180deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.0) 100%);
  transition: background var(--dur-base) var(--ease-standard), backdrop-filter var(--dur-base);
}
.nav.solid {
  background: rgba(5,5,5,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-panel);
}
.nav__brand {
  display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  pointer-events: none;
}
.nav__brand.is-shown {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav__brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav__brand b { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  text-decoration: none; color: var(--text-muted); font-size: 14px; font-weight: 500;
  padding: 7px 12px; border-radius: var(--r-sm); transition: color var(--dur-fast), background var(--dur-fast);
}
.nav__links a:hover { color: var(--text-primary); background: var(--sv-white-12); }
.nav__cta { margin-left: 8px; flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 0 20px; height: 44px; border-radius: var(--r-full);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-standard), background var(--dur-fast), opacity var(--dur-fast), border-color var(--dur-fast);
  white-space: nowrap;
}
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--primary { background: var(--accent); color: var(--sv-amber-ink); }
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--border-active); background: var(--sv-white-12); }
.btn--disabled { background: transparent; color: var(--text-footer); border-color: var(--border-panel); cursor: not-allowed; }
.btn small { font-weight: 500; opacity: 0.7; font-size: 11px; }
.btn .store { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; gap: 1px; }
.btn .store .s1 { font-size: 10px; font-weight: 500; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; }
.btn .store .s2 { font-size: 15px; font-weight: 700; }
.btn--store { height: 54px; padding: 0 22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 116px 0 72px; overflow: hidden;
  background: #050505;
}
.hero__bg { position: absolute; inset: -8% -4%; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  filter: saturate(0.92) contrast(1.02) brightness(0.82);
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.62) 0%, rgba(5,5,5,0.18) 30%, rgba(5,5,5,0.5) 62%, rgba(5,5,5,0.96) 100%),
    linear-gradient(90deg, rgba(5,5,5,0.78) 0%, rgba(5,5,5,0.1) 60%);
}
.hero__grain { position: absolute; inset: 0; z-index: 2; opacity: 0.05; pointer-events: none; mix-blend-mode: overlay; }

.hero__content { position: relative; z-index: 4; width: 100%; }
.hero__layout {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
}
.hero__copy { max-width: 36rem; }

/* ---- phone device: real app screenshots, with the hero scene composited
   into each frame's camera preview so lens + film format change live ---- */
.hero__device { justify-self: end; width: 100%; max-width: 340px; }
.dvc {
  position: relative; width: 100%;
  padding: 1.9%;
  background: linear-gradient(150deg, #131313 0%, #050505 62%);
  border: 1px solid #2a2a2a;
  border-radius: 13% / 6%;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 0 0 1.5px #000,
    0 48px 100px -34px rgba(0,0,0,0.92);
}
.dvc__screen {
  position: relative; width: 100%; aspect-ratio: 1179 / 2556;
  overflow: hidden; border-radius: 10.5% / 4.85%;
  background: #000; isolation: isolate;
}
/* screenshots stacked; cross-fade WITHOUT a luminance dip/flash — the outgoing
   frame is held fully opaque beneath (.is-prev) while the incoming fades in on
   top of it (.is-active), so an opaque layer always covers the black screen */
.dvc-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; }
.dvc-slide.is-prev { opacity: 1; z-index: 1; }
.dvc-slide.is-active {
  opacity: 1; z-index: 2;
  transition: opacity 700ms var(--ease-out);
}
.dvc-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; -webkit-user-select: none; user-select: none;
}
/* the live viewfinder — ONE framed preview centered over the screenshots'
   black camera window. JS smoothly tweens its size (film format / aspect) and
   the image zoom (focal length), exactly like the §02 viewfinder. Outside the
   frame is black, matching the screenshot beneath, so the chrome cross-fades
   for the LENS/FORMAT readouts while the frame morphs. Reuses .sim-* styles. */
.dvc-vf {
  position: absolute; left: 0; width: 100%; z-index: 3; pointer-events: none;
  top: 14.71%; height: 46.75%;
  display: flex; align-items: center; justify-content: center;
  background: #000;
}
.dvc-vf .sim-frame { background: #0c0c0c; will-change: width, height; }
.dvc-vf .sim-c { width: 13px; height: 13px; }
.hero__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero__kicker img { width: 46px; height: 46px; border-radius: 11px; box-shadow: var(--shadow-logo); }
.hero__kicker span { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(44px, 8.2vw, 96px); line-height: 0.96; letter-spacing: -0.03em;
  max-width: 16ch; text-wrap: balance;
}
.hero h1 .em { color: var(--accent); }
.hero__oneliner { font-size: clamp(18px, 2.2vw, 23px); color: var(--text-primary); margin: 24px 0 0; max-width: 30ch; font-weight: 500; }
.hero__disclaimer {
  margin: 18px 0 0; max-width: 52ch; font-size: 15px; line-height: 1.5; color: var(--text-muted);
  border-left: 2px solid var(--accent); padding-left: 14px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; align-items: center; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  border: 1px solid var(--border-badge); border-radius: var(--r-xs);
  padding: 5px 9px; background: rgba(5,5,5,0.4);
}
.chip.on { color: var(--accent); border-color: var(--accent); }
.scrollcue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
}
.scrollcue .bar { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: cue 2.4s var(--ease-standard) infinite; }
@keyframes cue { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   GENERIC SECTION RHYTHM
   ============================================================ */
.band { padding: clamp(72px, 11vh, 132px) 0; }
.band--tight { padding: clamp(56px, 8vh, 96px) 0; }
.band--line { border-top: 1px solid var(--border-panel); }

/* what-it-is */
.intro { display: grid; grid-template-columns: 1fr; gap: 40px; }
.intro__statement {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(26px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -0.025em;
  max-width: 22ch;
}
.intro__statement .mut { color: var(--text-value-muted); }
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-panel); border: 1px solid var(--border-panel); margin-top: 8px; }
.audience > div { background: var(--bg); padding: 22px 20px; }
.audience .label { margin-bottom: 8px; }
.audience h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: normal; }
.audience p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.45; }

/* ============================================================
   FEATURE ROWS
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vh, 128px); }
.feature--flip .feature__media { order: -1; }
.feature__body { max-width: 30em; }
.feature__body h2 { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.02; letter-spacing: -0.025em; }
.feature__answer { font-size: var(--fs-body-lg); line-height: 1.5; color: var(--text-muted); margin: 18px 0 0; text-wrap: pretty; }
.feature__answer strong { color: var(--text-primary); font-weight: 600; }
.feature__specs { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 26px; background: var(--border-panel); border: 1px solid var(--border-panel); }
.feature__specs > div { background: var(--bg); padding: 12px 16px; flex: 1 1 auto; min-width: 96px; }
.feature__specs .label { display: block; font-size: 11px; margin-bottom: 5px; }
.feature__specs .v { font-family: var(--font-mono); font-weight: 700; font-size: 19px; color: var(--text-primary); }
.feature__specs .v.amber { color: var(--accent); }

/* media frame: photo + drawn HUD overlay */
.media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-lg); background: var(--sv-grey-900);
  box-shadow: var(--shadow-card);
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* parallax: reticle moves; background pans with the correction offset */
.media--par { overflow: hidden; }
.media--par img {
  width: 112%; height: 112%; max-width: none; inset: auto; left: 50%; top: 50%;
  transform: translate(-50%, -50%); will-change: transform;
}
.par-reticle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none;
}
.par-reticle .ring {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent);
}
/* dashed crop rectangle ("CENTER") — pans with the parallax offset */
.par-guide {
  position: absolute; inset: 4%; pointer-events: none; will-change: transform;
  background-image:
    repeating-linear-gradient(90deg, var(--sv-white-50) 0 16px, transparent 16px 26px),
    repeating-linear-gradient(90deg, var(--sv-white-50) 0 16px, transparent 16px 26px),
    repeating-linear-gradient(0deg,  var(--sv-white-50) 0 16px, transparent 16px 26px),
    repeating-linear-gradient(0deg,  var(--sv-white-50) 0 16px, transparent 16px 26px);
  background-size: 100% 1.5px, 100% 1.5px, 1.5px 100%, 1.5px 100%;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  background-repeat: no-repeat;
}
.par-guide::after {
  content: "CENTER"; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; color: var(--sv-white-50);
}

/* viewfinder simulation: image zooms + frame reshapes with focal/format */
.media--sim { display: flex; align-items: center; justify-content: center; background: #050505; }
.sim-frame {
  position: relative; overflow: hidden; background: #111;
  outline: 1.5px solid var(--sv-white-80); outline-offset: 0;
  box-shadow: 0 10px 40px -12px rgba(0,0,0,0.7);
}
.sim-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform-origin: center; will-change: transform;
}
.sim-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.7;
  background-image:
    linear-gradient(var(--sv-white-50) 1px, transparent 1px),
    linear-gradient(90deg, var(--sv-white-50) 1px, transparent 1px);
  background-size: 33.333% 33.333%; background-position: 0 0;
}
.sim-c { position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); pointer-events: none; }
.sim-c.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.sim-c.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.sim-c.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.sim-c.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.media__readout--sim { right: auto; min-width: 220px; }

/* metering-mode glyph cell: global (matrix) vs spot (centre dot) */
.meter-mode .v { display: inline-flex; align-items: center; }
.meter-mode .ic { width: 18px; height: 18px; display: none; }
.meter-mode[data-mode="global"] .ic-global { display: block; color: var(--accent); }
.meter-mode[data-mode="spot"] .ic-spot { display: block; color: var(--accent); }

/* live light-meter spot marker */
.meter-spot {
  position: absolute; left: 50%; top: 50%; width: 17%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border: 2px solid var(--accent);
  opacity: 0; transition: left 0.6s var(--ease-out), top 0.6s var(--ease-out), opacity 0.35s ease;
}
.meter-spot.on { opacity: 1; }
.meter-spot span { position: absolute; background: var(--accent); }
.meter-spot span:nth-child(1) { top: -9px; left: 50%; width: 2px; height: 7px; transform: translateX(-50%); }
.meter-spot span:nth-child(2) { bottom: -9px; left: 50%; width: 2px; height: 7px; transform: translateX(-50%); }
.meter-spot span:nth-child(3) { left: -9px; top: 50%; height: 2px; width: 7px; transform: translateY(-50%); }
.meter-spot span:nth-child(4) { right: -9px; top: 50%; height: 2px; width: 7px; transform: translateY(-50%); }

/* reciprocity: white flash + full-screen countdown ring */
.media--recip { position: relative; }
.recip-flash {
  position: absolute; inset: 0; background: #fff; opacity: 0;
  pointer-events: none; z-index: 6;
}
.recip-flash.flash { animation: recipFlash 0.5s ease-out; }
@keyframes recipFlash {
  0% { opacity: 0; } 12% { opacity: 0.92; } 100% { opacity: 0; }
}
.recip-timer {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; background: rgba(5,5,5,0.55); backdrop-filter: blur(1px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.recip-timer.on { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.recip-timer svg { position: absolute; width: 46%; max-width: 168px; aspect-ratio: 1; transform: rotate(-90deg); }
.recip-timer .ring-track { fill: none; stroke: var(--sv-white-30); stroke-width: 4; }
.recip-timer .ring-fill {
  fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 339.292; stroke-dashoffset: 339.292;
}
.recip-timer__t {
  font-family: var(--font-mono); font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; line-height: 1;
}
.recip-timer__k {
  font-size: 10px; letter-spacing: 0.22em; color: var(--accent);
}

/* movements: cropped frame with an oversized image that pans */
.media--move { display: flex; align-items: center; justify-content: center; background: #050505; }
.move-frame {
  position: relative; width: 78%; aspect-ratio: 4 / 5; overflow: hidden; background: #111;
  outline: 1.5px solid var(--sv-white-80); box-shadow: 0 10px 40px -12px rgba(0,0,0,0.7);
}
.move-frame img {
  position: absolute; left: 50%; top: 50%; width: 134%; height: 134%; max-width: none;
  transform: translate(-50%, -50%); object-fit: cover; will-change: transform;
}
/* panorama: sweep a wide scene, capture overlapping frames, then stitch */
.media--pano { display: flex; align-items: center; justify-content: center; background: #050505; }
.pano-stage {
  position: relative; width: 92%; aspect-ratio: 16 / 8; overflow: hidden; background: #0d0d0d;
  outline: 1.5px solid var(--sv-white-80); box-shadow: 0 10px 40px -12px rgba(0,0,0,0.7);
}
.pano-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pano-dim img { filter: brightness(0.34) saturate(0.7); }
.pano-lit { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); will-change: clip-path; transition: clip-path 0.55s var(--ease-out); }
.pano-guides { position: absolute; inset: 0; pointer-events: none; }
.pano-guides .b { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed var(--sv-white-50); }
.pano-active {
  position: absolute; top: 0; bottom: 0; width: 25%; left: 0; pointer-events: none;
  border: 2px solid var(--accent); will-change: left, width;
  transition: left 0.5s var(--ease-out), width 0.5s var(--ease-out), opacity 0.4s ease;
}
.pano-active::before, .pano-active::after {
  content: ""; position: absolute; left: 50%; width: 2px; height: 8px; background: var(--accent); transform: translateX(-50%);
}
.pano-active::before { top: -9px; }
.pano-active::after { bottom: -9px; }
.pano-flash { position: absolute; top: 0; bottom: 0; width: 25%; left: 0; background: #fff; opacity: 0; pointer-events: none; }
.pano-flash.on { animation: panoFlash 0.45s ease-out; }
@keyframes panoFlash { 0% { opacity: 0; } 16% { opacity: 0.82; } 100% { opacity: 0; } }
.pano-stitched {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.22em; color: var(--accent);
  background: rgba(5,5,5,0.6); padding: 4px 10px; border: 1px solid var(--accent);
  opacity: 0; transition: opacity 0.4s ease;
}
.pano-stitched.on { opacity: 1; }
.media__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,0.55) 100%); }
.media__hud { position: absolute; inset: 0; pointer-events: none; }
.feature__media { position: relative; }
.media__readout {
  position: absolute; left: 14px; right: 14px; bottom: 0; z-index: 3;
  transform: translateY(50%);
  display: flex; gap: 1px; background: var(--border-panel); border: 1px solid var(--border-panel);
}
.media__readout > div { background: rgba(5,5,5,0.78); padding: 8px 12px; flex: 1; backdrop-filter: blur(3px); }
.media__readout .label { font-size: 10px; display: block; margin-bottom: 3px; }
.media__readout .v { font-family: var(--font-mono); font-weight: 700; font-size: 16px; }
.media__readout .v.amber { color: var(--accent); }
.media__caption {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 11px; color: var(--sv-white-80);
  background: rgba(5,5,5,0.5); padding: 3px 7px; border: 1px solid var(--sv-white-30);
}

/* small HUD glyph chip */
.glyphrow { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.glyphrow .g {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted);
  border: 1px solid var(--border-panel); border-radius: var(--r-sm); padding: 7px 11px;
}
.glyphrow .g svg { color: var(--accent); }

/* ============================================================
   SIMULATOR SANDBOX
   ============================================================ */
.sandbox { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; border: 1px solid var(--border-panel); background: var(--border-panel); }
.sandbox__stage { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sv-grey-900); }
.sandbox__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.96) brightness(0.92); }
.sandbox__stage img.bw { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.sandbox__overlay { position: absolute; inset: 0; pointer-events: none; }
.sandbox__panel { background: var(--bg); padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.tool-tabs { display: flex; flex-wrap: wrap; gap: 1px; background: var(--border-panel); border: 1px solid var(--border-panel); }
.tool-tabs button {
  flex: 1 1 auto; min-width: 33%; background: var(--bg); color: var(--text-muted);
  border: 0; padding: 10px 8px; cursor: pointer; font-family: var(--font-ui);
  font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.tool-tabs button:hover { color: var(--text-primary); }
.tool-tabs button[aria-selected="true"] { background: var(--bg-active); color: var(--accent); }
.tool-panel { display: none; flex-direction: column; gap: 16px; }
.tool-panel.active { display: flex; }
.tool-panel p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.ctl { display: flex; flex-direction: column; gap: 9px; }
.ctl > .label { font-size: 11px; }
.seg { display: flex; flex-wrap: wrap; gap: 1px; background: var(--border-panel); border: 1px solid var(--border-panel); }
.seg button {
  background: var(--bg); border: 0; color: var(--text-muted); cursor: pointer;
  font-family: var(--font-mono); font-size: 13px; padding: 8px 11px; flex: 1 0 auto;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.seg button:hover { color: var(--text-primary); }
.seg button[aria-pressed="true"], .seg button.on { background: var(--accent); color: var(--sv-amber-ink); font-weight: 700; }
.slider-row { display: flex; align-items: center; gap: 12px; }
.slider-row output { font-family: var(--font-mono); font-weight: 700; color: var(--accent); min-width: 56px; text-align: right; font-size: 15px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--border); border-radius: 2px; outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid var(--bg); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid var(--bg); }
.padgrid { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(2, 36px); gap: 4px; }
.padgrid button { background: var(--bg-panel); border: 1px solid var(--border-panel); color: var(--text-primary); cursor: pointer; font-size: 15px; border-radius: var(--r-xs); transition: background var(--dur-fast); }
.padgrid button:hover { background: var(--bg-active); }
.padgrid button:active { color: var(--accent); }
.readout-strip { display: flex; gap: 1px; background: var(--border-panel); border: 1px solid var(--border-panel); }
.readout-strip > div { background: var(--bg); padding: 9px 12px; flex: 1; }
.readout-strip .label { font-size: 10px; display: block; margin-bottom: 3px; }
.readout-strip .v { font-family: var(--font-mono); font-weight: 700; font-size: 17px; }
.readout-strip .v.amber { color: var(--accent); }
.readout-strip .v.green { color: var(--success); }
.demo-flag { font-family: var(--font-mono); font-size: 10px; color: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; }

/* spot reticle following pointer */
.spot {
  position: absolute; width: 56px; height: 56px; transform: translate(-50%,-50%);
  border: 3px solid var(--accent); pointer-events: none; display: none;
}
.spot::before, .spot::after { content: ""; position: absolute; background: var(--accent); }
.spot .lab {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; color: var(--accent); white-space: nowrap;
  background: rgba(5,5,5,0.6); padding: 1px 5px;
}
.level-bubble {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px;
  border: 1.5px solid var(--sv-white-60); border-radius: 50%; display: none;
}
.level-bubble .b { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--accent); transition: transform 80ms linear, background 120ms; }
.level-bubble .cross, .level-bubble .cross2 { position: absolute; background: var(--sv-white-30); }
.level-bubble .cross { left: 0; right: 0; top: 50%; height: 1px; }
.level-bubble .cross2 { top: 0; bottom: 0; left: 50%; width: 1px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-panel); border: 1px solid var(--border-panel); }
.steps article { background: var(--bg); padding: 32px 28px; }
.steps .n { font-family: var(--font-mono); font-weight: 700; font-size: 40px; color: var(--accent); line-height: 1; }
.steps h3 { margin: 18px 0 10px; font-size: 21px; font-weight: 600; font-family: var(--font-ui); letter-spacing: -0.01em; }
.steps p { margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   FORMATS TABLE
   ============================================================ */
.formats { width: 100%; border-collapse: collapse; font-size: 15px; }
.formats caption { text-align: left; color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }
.formats th, .formats td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border-panel); }
.formats thead th { font: var(--text-label-style); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-label); font-size: 12px; }
.formats tbody th { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--text-primary); }
.formats td { color: var(--text-muted); }
.formats td.mono { font-family: var(--font-mono); color: var(--text-primary); }
.formats tr:hover td, .formats tr:hover th { background: var(--bg-panel); }
.formats .grp td { background: var(--sv-grey-900); color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 16px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 1px; background: var(--border-panel); border: 1px solid var(--border-panel); }
.faq details { background: var(--bg); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; gap: 16px;
  font-size: clamp(16px, 1.7vw, 19px); font-weight: 600; color: var(--text-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--font-mono); font-size: 22px; color: var(--accent); transition: transform var(--dur-base); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 24px 24px 24px; color: var(--text-muted); line-height: 1.6; font-size: 16px; max-width: 70ch; }
.faq .a p { margin: 0 0 10px; }
.faq .a p:last-child { margin: 0; }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.finalcta { position: relative; overflow: hidden; padding: clamp(90px, 16vh, 180px) 0; text-align: center; }
.finalcta__bg { position: absolute; inset: 0; z-index: 0; }
.finalcta__bg img { width: 100%; height: 100%; object-fit: cover; }
.finalcta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0.7), rgba(5,5,5,0.92)); }
.finalcta__in { position: relative; z-index: 1; }
.finalcta h2 { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(38px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; text-wrap: balance; }
.finalcta .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.finalcta .note { margin-top: 18px; font-size: 13px; color: var(--text-value-muted); font-family: var(--font-mono); }

footer.site { border-top: 1px solid var(--border-panel); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 8px; }
.foot-brand b { font-size: 17px; font-weight: 600; }
.foot-about { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 46ch; }
.foot-col h5 { margin: 0 0 14px; font: var(--text-label-style); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-label); font-size: 12px; }
.foot-col a, .foot-col span { display: block; text-decoration: none; color: var(--text-muted); font-size: 14px; padding: 5px 0; transition: color var(--dur-fast); }
.foot-col a:hover { color: var(--text-primary); }
.foot-col span.soon { color: var(--text-footer); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-panel); }
.foot-bottom small { color: var(--text-footer); font-size: 12.5px; }
.foot-bottom .updated { font-family: var(--font-mono); color: var(--text-value-muted); }

/* ============================================================
   LEGAL / PROSE PAGES (privacy, terms)
   Always-visible prose — never gated behind scroll-reveal so the
   text is readable and crawlable even without JS.
   ============================================================ */
.legal { padding: 132px 0 clamp(64px, 10vh, 112px); }
.legal__wrap { max-width: 760px; }
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-label); margin: 0 0 26px; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text-primary); }
.crumbs .sep { margin: 0 8px; color: var(--text-footer); }
.legal h1 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(38px, 6vw, 64px); line-height: 1.0; letter-spacing: -0.03em;
}
.legal__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin: 18px 0 0; }
.legal__updated { font-family: var(--font-mono); font-size: 13px; color: var(--text-value-muted); }
.legal__canonical { font-size: 14px; color: var(--text-muted); }
.legal__canonical a { color: var(--accent); }
.legal__lede { font-size: var(--fs-body-lg); line-height: 1.6; color: var(--text-muted); margin: 28px 0 0; text-wrap: pretty; }
.legal hr { border: 0; border-top: 1px solid var(--border-panel); margin: 40px 0; }
.legal h2 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.legal h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text-muted); }
.legal p { margin: 0 0 16px; }
.legal strong { color: var(--text-primary); font-weight: 600; }
.legal a { color: var(--accent); text-underline-offset: 2px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal li::marker { color: var(--accent); }
.legal code { font-family: var(--font-mono); font-size: 0.9em; color: var(--text-primary); background: var(--sv-white-12); padding: 1px 6px; border-radius: var(--r-xs); }
.legal section + section { margin-top: 36px; }
.legal__callout {
  border: 1px solid var(--border-panel); border-left: 2px solid var(--accent);
  border-radius: var(--r-sm); background: var(--sv-grey-900);
  padding: 18px 20px; margin: 0 0 32px;
}
.legal__callout ul { margin: 0; }
.legal__callout li:last-child { margin: 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .feature, .sandbox, .intro { grid-template-columns: 1fr; }
  .sandbox__stage { aspect-ratio: 16 / 10; }
  .feature--flip .feature__media { order: 0; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero__layout { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: none; }
  .hero__device { justify-self: center; max-width: 300px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 12px 16px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero { padding: 104px 0 64px; }
  .hero__device { max-width: 250px; }
  .audience { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .media__readout { position: static; margin: 0; transform: none; }
  .feature__specs > div { min-width: 80px; }
}

/* ============================================================
   REDUCED MOTION — calm static fallback
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scrollcue .bar { animation: none; }
  .hero__bg img { will-change: auto; transform: none !important; }
  .dvc-slide { transition: none !important; }
  * { scroll-behavior: auto !important; }
}
