/* Soundgun web — the landing page itself.
 *
 * The design is a scroll film: three sections are taller than the viewport and pin a
 * 100vh stage while the page scrolls past them, and app.js drives the stage from the
 * section's own scroll progress. That only works when there is room to pin into, so
 * every pinned scene has a flow-layout twin below the --unpin breakpoint: same markup,
 * same copy, laid out as ordinary stacked blocks. Nothing is hidden on small screens.
 */

/* --------------------------------------------------------------------------
   Chrome — progress bar, header, telemetry
   -------------------------------------------------------------------------- */

.progress {
  position: fixed;
  left: 0; top: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 90;
}

.tele {
  position: fixed;
  right: clamp(12px, 3vw, 30px);
  bottom: 20px;
  z-index: 75;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border: 1px solid var(--bd);
  background: rgba(23, 21, 18, 0.94);
  opacity: 0;
  translate: 0 8px;
  pointer-events: none;
  transition: opacity 320ms ease, translate 320ms ease;
}
.tele .sec {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-4);
}
.tele .rule { width: 1px; height: 10px; background: var(--bd-raised); }
.tele .pct { font: 400 10px/1 var(--mono); color: var(--accent); width: 30px; text-align: right; }

.site-head {
  position: fixed;
  left: 0; right: 0; top: 0;
  height: var(--head-h);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--gut);
  background: rgba(20, 19, 17, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bd);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--tx); }
.brand:hover { color: var(--tx); }
.brand .mark { width: 20px; height: 20px; display: block; --sg-accent: var(--accent); }
.brand .word { font: 700 13px/1 var(--ui); letter-spacing: 0.22em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-5);
  transition: color 160ms ease;
}
.nav a:hover { color: var(--tx); }

.head-cta {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  font: 600 11px/1 var(--ui);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* The hamburger only exists below --unpin; it is display:none until then. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  flex: none;
  padding: 0;
  background: none;
  border: 1px solid var(--bd-raised);
  color: var(--tx-4);
}
.nav-toggle:hover { border-color: var(--bd-hover); color: var(--tx); }
.nav-toggle .bars { display: block; width: 15px; height: 11px; position: relative; }
.nav-toggle .bars i {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms cubic-bezier(.2, .7, .2, 1), opacity 160ms ease;
}
.nav-toggle .bars i:nth-child(1) { top: 0; }
.nav-toggle .bars i:nth-child(2) { top: 50%; margin-top: -0.75px; }
.nav-toggle .bars i:nth-child(3) { bottom: 0; }
.nav-toggle[aria-expanded='true'] .bars i:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .bars i:nth-child(3) { transform: translateY(-4.75px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  left: 0; right: 0;
  top: var(--head-h);
  z-index: 79;
  display: none;
  flex-direction: column;
  background: rgba(20, 19, 17, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bd);
  max-height: calc(100dvh - var(--head-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  transform-origin: 50% 0;
}
.nav-drawer a {
  padding: 17px var(--gut);
  border-bottom: 1px solid var(--bd-row);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-4);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover, .nav-drawer a:active { color: var(--accent); }
.nav-drawer.is-open { display: flex; animation: sg-drawer 200ms cubic-bezier(.2, .7, .2, 1); }
@keyframes sg-drawer {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Section furniture shared by the flow sections
   -------------------------------------------------------------------------- */

.band {
  padding: clamp(90px, 11vw, 150px) var(--gut);
  border-top: 1px solid var(--bd);
}
.band.app { background: var(--bg-app); }
.wrap { max-width: 1240px; margin: 0 auto; }
.wrap.narrow { max-width: 960px; }

.kicker {
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.h-sec {
  margin: 22px 0 0;
  font: 600 clamp(28px, 3.6vw, 54px)/1.08 var(--ui);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.wordmark {
  display: inline-block;
  font: 700 1em/1 var(--ui);
  letter-spacing: 0.235em;
  margin-right: -0.235em;
  white-space: nowrap;
  color: inherit;
}
.wordmark b { font-weight: inherit; color: var(--sg-wm, var(--sg-accent, currentColor)); }

/* --------------------------------------------------------------------------
   Scene: hero
   -------------------------------------------------------------------------- */

.scene { position: relative; }
.scene-hero { height: 240vh; }
.pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.scene-hero .pin { background: var(--bg-page); }

.hero-grid {
  position: absolute;
  inset: -140px 0;
  background-image:
    linear-gradient(#1b1a17 1px, transparent 1px),
    linear-gradient(90deg, #1b1a17 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.55;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 20%, transparent 72%);
}
.hero-ring {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  border-radius: 50%;
}
.hero-ring.a {
  top: -160px;
  width: min(1100px, 120vw); height: min(1100px, 120vw);
  border: 1px dashed var(--bd);
  animation: sg-spin-slow 140s linear infinite;
  opacity: 0.5;
}
.hero-ring.b {
  top: 0;
  width: min(760px, 86vw); height: min(760px, 86vw);
  border: 1px solid var(--bd);
  animation: sg-spin-back 90s linear infinite;
  opacity: 0.4;
}
.hero-wave {
  position: absolute;
  left: 0; right: 0;
  top: 36%;
  width: 100%;
  height: 190px;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(110px, 13vh, 170px) var(--gut) 0;
}
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.hero-eyebrow .now {
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-eyebrow .rule { width: 26px; height: 1px; background: var(--bd-raised); }
.hero-eyebrow .plat {
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-6);
}

.hero-h1 {
  margin: 0;
  max-width: 1020px;
  font: 600 clamp(38px, 6vw, 88px)/0.98 var(--ui);
  letter-spacing: -0.035em;
  color: var(--tx);
  text-wrap: balance;
}
/* Each word rides in a clipped mask so it can rise out of nothing on load. */
.hw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0 0.14em;
  margin: -0.06em 0 -0.14em;
}
.hw > span { display: inline-block; }

.hero-sub {
  margin: 26px 0 0;
  max-width: 640px;
  font: 400 clamp(14px, 1.3vw, 18px)/1.6 var(--ui);
  color: var(--tx-body);
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.hero-cta .go {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  font: 600 13px/1 var(--ui);
  letter-spacing: 0.1em;
}
.hero-cta .go .price-tag { font: 400 12px/1 var(--mono); opacity: 0.75; }
.hero-cta .see { padding: 15px 20px; font: 600 11px/1 var(--mono); letter-spacing: 0.14em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-win {
  position: absolute;
  left: 0; right: 0;
  bottom: 4vh;
  z-index: 3;
  margin: 0 auto;
  width: min(1240px, 92vw, 138vh);
  transform-origin: 50% 0;
}
.win-label { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 12px; }
.win-label .what {
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tx-7);
}
.win-label .rule { flex: 1; height: 1px; background: var(--bd); }
.win-label .os { font: 400 10px/1 var(--mono); color: var(--tx-7); white-space: nowrap; }

.hero-cue {
  position: absolute;
  left: 0; right: 0;
  bottom: 14px;
  z-index: 4;
  display: flex;
  justify-content: center;
  transition: opacity 400ms ease;
}
.hero-cue span {
  font: 400 14px/1 var(--mono);
  color: var(--tx-5);
  animation: sg-cue 2.4s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   The window frame + screenshot slot
   -------------------------------------------------------------------------- */

.win {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-canvas);
  border: 1px solid var(--bd-raised);
}
.win.ratio { aspect-ratio: 1440 / 884; }
.win-chrome {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bd);
  background: var(--bg-chrome);
}
.win-chrome .slot-name {
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--tx-6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win-chrome .dim { font: 400 10px/1 var(--mono); color: var(--tx-7); flex: none; }
.win-body { flex: 1; min-height: 0; position: relative; }

/* The drop-in screenshot. Until a capture lands in assets/shots/ the slot draws the
   design's own empty state: a soft frame, a dashed ring and the caption saying what
   belongs here. Add the file and it takes over with no markup change. */
.shot { position: absolute; inset: 0; overflow: hidden; background: rgba(127, 127, 127, 0.08); }
.shot img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 320ms ease;
}
.shot.is-filled img { opacity: 1; }
.shot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 12px;
  color: var(--tx);
}
.shot-empty svg { opacity: 0.45; }
.shot-empty .cap {
  max-width: 90%;
  font: 500 13px/1.3 var(--ui);
  letter-spacing: 0.01em;
  opacity: 0.75;
}
.shot-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1.5px dashed currentColor;
  color: var(--tx);
  opacity: 0.35;
}
.shot.is-filled .shot-empty,
.shot.is-filled .shot-ring { display: none; }

/* --------------------------------------------------------------------------
   The guarantee marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  background: var(--bg-app);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: sg-marquee 42s linear infinite;
  will-change: transform;
}
.marquee-run {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px;
  flex: none;
}
.marquee-run span { font: 600 11px/1 var(--mono); letter-spacing: 0.2em; color: var(--tx-5); white-space: nowrap; }
.marquee-run i { width: 5px; height: 5px; background: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   Scene: screens, the three-panel handoff
   -------------------------------------------------------------------------- */

.scene-seq { height: 330vh; border-top: 1px solid var(--bd); background: var(--bg-app); }
.scene-seq .pin { display: flex; align-items: center; }

.seq {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px var(--gut) 40px;
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.seq-head { grid-area: 1 / 1; align-self: end; padding-bottom: 26px; }
.seq-head .kicker { display: block; margin-bottom: 26px; }
.seq-ticks { display: flex; gap: 8px; }
.seq-ticks > div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.seq-ticks .track { height: 2px; background: var(--bd-raised); position: relative; overflow: hidden; }
.seq-ticks .track i {
  display: block;
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--accent);
  transition: width 180ms linear;
}
.seq-ticks .n { font: 400 9px/1 var(--mono); letter-spacing: 0.14em; color: var(--tx-7); }

.seq-cap { grid-area: 2 / 1; align-self: start; }
.seq-cap .n { font: 400 10px/1 var(--mono); letter-spacing: 0.18em; color: var(--tx-7); }
.seq-cap h3 {
  margin: 14px 0 0;
  font: 600 clamp(24px, 2.6vw, 38px)/1.1 var(--ui);
  letter-spacing: -0.02em;
}
.seq-cap p { margin: 16px 0 0; font: 400 13.5px/1.75 var(--ui); color: var(--tx-body); }
.seq-cap .marks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; align-items: center; }

.seq-panel {
  grid-area: 1 / 2 / span 2 / span 1;
  height: min(74vh, 640px);
  align-self: center;
}
.seq-panel .win { height: 100%; }

/* --------------------------------------------------------------------------
   Scene: the radial overlay
   -------------------------------------------------------------------------- */

.scene-ring { height: 260vh; border-top: 1px solid var(--bd); }
.scene-ring .pin { display: flex; align-items: center; }

.ov {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px var(--gut) 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.ov-copy p {
  margin: 24px 0 0;
  font: 400 15px/1.75 var(--ui);
  color: var(--tx-body);
  max-width: 520px;
  text-wrap: pretty;
}
.ov-keys { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; align-items: center; }
.ov-keys em { font: 400 11px/1 var(--mono); color: var(--tx-7); font-style: normal; }
.ov-modes {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--bd);
  background: var(--bd-row);
}
.ov-modes > div { display: flex; gap: 14px; padding: 14px 16px; background: var(--bg-app); }
.ov-modes .k {
  flex: none;
  font: 600 10px/1.6 var(--mono);
  letter-spacing: 0.1em;
  color: var(--accent);
  width: 96px;
}
.ov-modes .v { font: 400 11.5px/1.65 var(--ui); color: var(--tx-body); }

.ov-stage {
  position: relative;
  background: var(--bg-canvas);
  border: 1px solid var(--bd);
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
}
.ov-stage .bg-grid {
  position: absolute;
  inset: -90px 0;
  background-image:
    linear-gradient(#1b1a17 1px, transparent 1px),
    linear-gradient(90deg, #1b1a17 1px, transparent 1px);
  background-size: 44px 44px;
}
.ov-stage .canvas-tag { left: 18px; top: 16px; }

.ring { --stage: min(520px, calc(100cqw - 4px)); }
.ring .guide { inset: calc(0.06875 * var(--stage)); }
.ring .spin {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(0.86 * var(--stage)); height: calc(0.86 * var(--stage));
  transform: translate(-50%, -50%);
  border: 1px dashed var(--bd-raised);
  border-radius: 50%;
  animation: sg-spin-slow 60s linear infinite;
}
.ring .sweep {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(0.43 * var(--stage)); height: calc(0.43 * var(--stage));
  transform-origin: 0 0;
  opacity: 0;
}
.ring .sweep .arm {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(255, 61, 129, 0.05), var(--accent));
}
.ring .sweep .head { position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; background: var(--accent); }
.ring .slot-card {
  width: calc(0.17321 * var(--stage));
  height: calc(0.12321 * var(--stage));
}
.ring .slot-card.is-pick { border-color: var(--accent); background-color: rgba(255, 61, 129, 0.14); }

.ov-hud {
  position: absolute;
  left: 18px; bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--bd-raised);
  background: rgba(23, 21, 18, 0.96);
  padding: 10px 12px;
  opacity: 0;
  max-width: calc(100% - 36px);
}
.ov-hud .bars { display: flex; align-items: flex-end; gap: 2px; height: 16px; flex: none; }
.ov-hud .bars i {
  display: block;
  width: 2px; height: 100%;
  background: var(--accent);
  transform-origin: bottom;
  animation: sg-bars 0.7s ease-in-out infinite;
}
.ov-hud .bars i:nth-child(2) { animation-delay: 0.12s; }
.ov-hud .bars i:nth-child(3) { animation-delay: 0.24s; }
.ov-hud .bars i:nth-child(4) { animation-delay: 0.36s; }
.ov-hud .now { font: 500 11.5px/1 var(--ui); color: var(--tx); }
.ov-hud .at { font: 400 10px/1 var(--mono); color: var(--tx-6); white-space: nowrap; }

/* --------------------------------------------------------------------------
   What's in it
   -------------------------------------------------------------------------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  margin-top: 56px;
}
.feat-grid .card-body { gap: 12px; }
.feat-grid .card-body .lede { font: 400 12.5px/1.7 var(--ui); color: var(--tx-body); }

/* --------------------------------------------------------------------------
   What it does, stated plainly
   -------------------------------------------------------------------------- */

.honest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-top: 52px;
}
.honest-box { border: 1px solid var(--bd); background: var(--bg-panel); padding: 24px; }
.honest-box .sec-label { margin-bottom: 16px; }
.honest-list { display: flex; flex-direction: column; gap: 12px; }
.honest-list div { display: flex; gap: 10px; align-items: baseline; }
.honest-list .m { font: 400 11px/1.5 var(--mono); flex: none; }
.honest-list .m.no { color: var(--tx-faint); }
.honest-list .m.yes { color: var(--ok); }
.honest-list .t { font: 400 12.5px/1.6 var(--ui); color: var(--tx-body); }
.honest-notes { display: flex; flex-direction: column; gap: 14px; }

/* --------------------------------------------------------------------------
   Requirements
   -------------------------------------------------------------------------- */

.req-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1px;
  border: 1px solid var(--bd);
  background: var(--bd-row);
}
.req-grid > div { background: var(--bg-panel); padding: 22px 24px; }
.req-grid .sec-label { margin-bottom: 12px; }
.req-grid .v { font: 500 13px/1.6 var(--ui); color: var(--tx-2); }
.req-grid .mono-note { margin-top: 8px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-h { margin: 22px 0 44px; }
.faq { border-top: 1px solid var(--bd); }
.faq-item { border-bottom: 1px solid var(--bd); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  color: var(--tx);
  font: 500 15px/1.4 var(--ui);
}
.faq-q:hover { color: var(--accent-hi); }
.faq-q .mark {
  font: 400 14px/1 var(--mono);
  color: var(--accent);
  transition: transform 180ms ease;
  flex: none;
}
.faq-q[aria-expanded='true'] .mark { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 260ms cubic-bezier(.2, .7, .2, 1); }
.faq-a p {
  margin: 0;
  padding: 0 4px 24px;
  font: 400 13.5px/1.8 var(--ui);
  color: var(--tx-body);
  max-width: 680px;
}

.help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--bd-raised);
  background: var(--bg-panel);
}
.help .who { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.help .who .lbl {
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tx-7);
}
.help .who .q { font: 500 14px/1.4 var(--ui); color: var(--tx-2); }
.help .go {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 22px;
  font: 600 12px/1 var(--ui);
  letter-spacing: 0.08em;
}
.help .go .arr { font: 400 12px/1 var(--mono); opacity: 0.8; }

/* --------------------------------------------------------------------------
   Buy
   -------------------------------------------------------------------------- */

.band-buy { position: relative; padding: clamp(90px, 12vw, 160px) var(--gut); border-top: 1px solid var(--bd); overflow: hidden; }
.buy-deco {
  position: absolute;
  left: 50%; bottom: -460px;
  width: min(900px, 110vw); height: min(900px, 110vw);
  translate: -50% 0;
  border: 1px dashed var(--bd);
  border-radius: 50%;
  animation: sg-spin-slow 120s linear infinite;
}
.buy-grid {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 24px 0 0; }
.price-big {
  display: inline-flex;
  align-items: baseline;
  font: 500 clamp(58px, 8vw, 132px)/1 var(--mono);
  letter-spacing: -0.04em;
  color: var(--tx);
}
.price-big .win-d { display: inline-block; height: 1em; overflow: hidden; }
.price-big .stack { display: flex; flex-direction: column; }
.price-big .stack span { display: block; height: 1em; }
.price-once { font: 600 clamp(20px, 2.2vw, 32px)/1 var(--ui); color: var(--tx-5); }
.buy-lede { margin: 24px 0 0; font: 400 15px/1.75 var(--ui); color: var(--tx-body); max-width: 460px; text-wrap: pretty; }
.buy-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.buy-cta .go { display: flex; align-items: center; gap: 12px; padding: 18px 28px; font: 600 13px/1 var(--ui); letter-spacing: 0.1em; }
.buy-cta .go .price-tag { font: 400 12px/1 var(--mono); opacity: 0.75; }
.buy-cta .see { padding: 17px 22px; }
.buy-fine { margin-top: 22px; max-width: 420px; }

.spec {
  border: 1px solid var(--bd-raised);
  background: var(--bg-panel);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.spec-logo {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 8px 0 4px;
  --sg-accent: var(--accent);
  color: var(--tx);
}
.spec-logo .mark { width: 88px; height: 88px; }
.spec-logo .word { font-size: 24px; }
.spec-table { display: flex; flex-direction: column; gap: 1px; background: var(--bd-row); border: 1px solid var(--bd); }
.spec-table > div { display: flex; align-items: center; gap: 12px; padding: 13px 15px; background: var(--bg-app); }
.spec-table .k { font: 400 10px/1 var(--mono); letter-spacing: 0.14em; color: var(--tx-7); width: 88px; flex: none; }
.spec-table .v { font: 500 12px/1 var(--ui); color: var(--tx-2); }

/* --------------------------------------------------------------------------
   Contact + footer
   -------------------------------------------------------------------------- */

.contact-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(34px, 4vw, 48px); }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border: 1px solid var(--bd-raised);
  background: var(--bg-panel);
  color: var(--tx-4);
  transition: color 160ms ease, border-color 160ms ease;
}
.contact-link:hover { color: var(--accent); border-color: var(--accent); }
.contact-link svg { flex: none; }
.contact-link .lbl { font: 600 12px/1 var(--ui); letter-spacing: 0.08em; color: var(--tx-2); }
.contact-link:hover .lbl { color: var(--accent); }

.site-foot { border-top: 1px solid var(--bd); background: var(--bg-app); padding: 44px var(--gut); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.site-foot .brand .mark { width: 18px; height: 18px; }
.site-foot .brand .word { font-size: 12px; letter-spacing: 0.2em; }

/* --------------------------------------------------------------------------
   Flow layout — everything below the pin breakpoint
   -------------------------------------------------------------------------- */

@media (max-width: 940px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .site-head { gap: 14px; }
  .head-cta { padding: 10px 13px; font-size: 10.5px; letter-spacing: 0.08em; }
}

/* Unpin every scene: the stage becomes ordinary stacked flow, at full size and full
   legibility, rather than a 100vh box scaled down until the copy is unreadable. This
   condition is mirrored verbatim by isFlow() in app.js — if the two ever disagree, one
   layout gets painted by the other's rules. */
@media (max-width: 900px), (max-height: 560px) {
  .scene-hero, .scene-seq, .scene-ring { height: auto; }
  /* relative, not static: the decorative rings and the waveform are position:absolute, and
     a static .pin would hand their containing block to .scene — which does not clip — so
     they would escape the overflow:hidden here and push the document wider than the
     viewport. Relative with no offsets lays out identically and keeps them contained. */
  .scene .pin { position: relative; top: auto; height: auto; overflow: hidden; }
  .scene-seq .pin, .scene-ring .pin { display: block; }

  .scene-hero .pin { padding-bottom: clamp(48px, 9vw, 80px); }
  .hero-copy { padding-top: calc(var(--head-h) + clamp(52px, 13vw, 96px)); }
  .hero-win {
    position: static;
    width: auto;
    margin: clamp(38px, 8vw, 64px) 0 0;
    padding: 0 var(--gut);
    translate: none !important;
    scale: none !important;
  }
  /* In flow layout the waveform has no 100vh stage to sit a third of the way down, and
     at full strength it draws a stray line straight through the call to action. Dropped
     behind the tag row and dimmed to read as texture. */
  .hero-wave { top: auto; bottom: 26%; height: 120px; opacity: 0.5 !important; }
  .hero-cue { display: none; }
  .hero-grid { inset: -140px 0 0; }

  .seq {
    padding: clamp(56px, 12vw, 82px) var(--gut);
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
  }
  .seq-head { padding-bottom: 34px; }
  .seq-cap, .seq-panel {
    grid-area: auto;
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    translate: none !important;
    scale: none !important;
    pointer-events: auto !important;
  }
  .seq-ticks { display: none; }
  .seq-cap { margin-top: 4px; }
  .seq-panel { height: auto; margin: 22px 0 46px; }
  .seq-panel[data-step='3'] { margin-bottom: 0; }
  .seq-panel .win { height: auto; }
  /* Interleave: caption, its panel, next caption, next panel. */
  .seq-head { order: 0; }
  .seq-cap[data-step='1'] { order: 1; }
  .seq-panel[data-step='1'] { order: 2; }
  .seq-cap[data-step='2'] { order: 3; }
  .seq-panel[data-step='2'] { order: 4; }
  .seq-cap[data-step='3'] { order: 5; }
  .seq-panel[data-step='3'] { order: 6; }

  .ov {
    padding: clamp(56px, 12vw, 82px) var(--gut);
    grid-template-columns: 1fr;
    scale: none !important;
    max-width: 720px;
  }
  .ov-stage { flex-direction: column; align-items: stretch; }
  .ring { align-self: center; }
  .ring .slot-card, .ring .centre {
    opacity: 1 !important;
    scale: none !important;
  }
  .ring .sweep { opacity: 1 !important; rotate: 0deg !important; }
  .ov-hud {
    opacity: 1 !important;
    position: static;
    margin: 20px 0 0;
    max-width: none;
    align-self: flex-start;
    translate: none !important;
  }

  .band { padding: clamp(64px, 13vw, 110px) var(--gut); }
  .band-buy { padding: clamp(64px, 13vw, 110px) var(--gut); }
}

/* Narrow phones: brand + price + menu is three things in a 320px-wide bar, and at the
   full label they do not fit. The price is the part that has to survive. */
@media (max-width: 420px) {
  .site-head { gap: 10px; padding: 0 14px; }
  .head-cta .on { display: none; }
  .head-cta { padding: 10px 12px; letter-spacing: 0.06em; }
  .nav-toggle { width: 36px; height: 36px; }
  .brand .word { font-size: 12px; letter-spacing: 0.18em; }
}

@media (max-width: 620px) {
  .marquee-run { gap: 26px; padding: 16px 20px; }
  .marquee-run span { font-size: 10px; letter-spacing: 0.16em; }
  .honest-box { padding: 20px; }
  .req-grid > div { padding: 18px 20px; }
  .help { padding: 18px; }
  .help .who { min-width: 0; }
  .help .go { width: 100%; justify-content: center; }
  .faq-q { font-size: 14px; gap: 12px; }
  .hero-cta .go, .buy-cta .go { width: 100%; justify-content: center; }
  .hero-cta .see, .buy-cta .see { width: 100%; justify-content: center; text-align: center; }
  .contact-link { flex: 1 1 100%; justify-content: center; }
  .tele { bottom: 12px; right: 12px; gap: 8px; padding: 7px 10px; }
  .ov-modes .k { width: 74px; }
  .spec-logo .mark { width: 66px; height: 66px; }
  .spec-logo .word { font-size: 20px; }
}

@media (max-width: 380px) {
  .tele .sec { display: none; }
  .tele .rule { display: none; }
}

/* --------------------------------------------------------------------------
   Reduced motion — the page still tells its story, it just stops moving.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track { animation: none; }
  .hero-cue { display: none; }
}
