/* ===========================================================
   Heron — landing page
   Sleek wearable-tech. Coral = the focused element (app's own rule).
   =========================================================== */

@font-face {
  font-family: 'Rayve Wordmark';            /* Bitsumishi — ONLY for the wordmark */
  src: url('assets/rayve-wordmark.ttf') format('truetype');
  font-display: swap;
}

:root {
  /* surfaces — warm-neutral near-black, additive-display heritage */
  --bg:        #08080a;
  --bg-2:      #0d0d10;
  --surface:   #141418;
  --elev:      #1c1c22;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  /* text */
  --t1: #f4f4f5;
  --t2: #a0a0a8;
  --t3: #87878f;   /* ~4.6:1 on the near-black bg — meets WCAG AA for the small mono labels that use it */

  /* accent — the one hot color */
  --coral:        #ff4f3a;
  --coral-bright: #ff6a57;
  --coral-ink:    #1a0805;
  --coral-glow:   rgba(255,79,58,0.45);
  --coral-edge:   rgba(255,79,58,0.55);

  --maxw: 1180px;
  --ease: cubic-bezier(0.6, 0, 0.2, 1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--t1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* page-wide ambient texture: faint coral aurora + grain-free vignette */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 50% -8%, rgba(255,79,58,0.10), transparent 60%),
    radial-gradient(700px 700px at 92% 12%, rgba(255,79,58,0.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---- shared atoms ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--coral);
  opacity: 0.7;
}

.btn {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--coral-ink);
  box-shadow: 0 0 0 0 var(--coral-glow);
}
.btn-primary:hover {
  background: var(--coral-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px var(--coral-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--t1);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--coral-edge); color: var(--coral); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: sticky;
  left: 0; right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(8,8,10,0.86), rgba(8,8,10,0.5));
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Rayve Wordmark', var(--font-display);
  font-weight: 400;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--t1);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wordmark .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: block;
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link {
  font-size: 14px;
  color: var(--t2);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}
.nav-link:hover { color: var(--t1); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  z-index: 1;
  padding: 64px 0 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 7.2vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 22px auto 0;
  max-width: 16ch;
  text-wrap: balance;
}
.hero .lede {
  margin: 22px auto 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--t2);
  text-wrap: pretty;
}
.cta-row {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- hero stage: glasses with live in-lens RSVP ---- */
.stage {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin: 40px auto 0;
  aspect-ratio: 1772 / 888;
  /* establish a query container so the in-lens display scales with the
     GLASSES width (cqw), not the viewport — keeps text inside the lens */
  container-type: inline-size;
}
.stage-glow {
  position: absolute;
  inset: -8% -6% -22%;
  background: radial-gradient(closest-side, rgba(255,79,58,0.22), rgba(255,79,58,0.05) 62%, transparent 78%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}
.glasses {
  position: relative;
  width: 100%;
  display: block;
  z-index: 1;
  filter: drop-shadow(0 36px 60px rgba(0,0,0,0.6));
}

/* The in-lens display — additive: only the glowing glyphs read, no panel. */
.lens-display {
  position: absolute;
  /* tuned over the wearer's right lens (viewer right) */
  left: 54.6%;
  top: 24%;
  width: 30%;
  height: 40%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  /* soft inner mask so the projection feathers into the lens edge */
  -webkit-mask-image: radial-gradient(118% 118% at 50% 46%, #000 60%, transparent 92%);
          mask-image: radial-gradient(118% 118% at 50% 46%, #000 60%, transparent 92%);
  /* base unit for everything in the lens — 1em scales with the glasses */
  font-size: 2.7cqw;
}
.lens-rsvp {
  --fx: 50%;
  position: relative;
  width: 100%;
  transform: translateY(-6%);
}
.lens-reticle { height: 0.34em; position: relative; }
.lens-reticle::before {
  content: '';
  position: absolute;
  left: var(--fx);
  width: 0.06em; margin-left: -0.03em;
  background: var(--coral);
  opacity: 0.85;
  box-shadow: 0 0 0.24em var(--coral-glow);
}
.lens-reticle.top::before    { top: 0.08em; bottom: 0; }
.lens-reticle.bottom::before { top: 0; bottom: 0.08em; }

.lens-word {
  position: relative;
  height: 1.72em;
  line-height: 1.72em;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.02em;
}
.lens-word span { position: absolute; top: 0; white-space: pre; }
.lens-word .left  { right: calc(100% - var(--fx) + 0.5ch); text-align: right; color: #fff; }
.lens-word .pivot { left: var(--fx); transform: translateX(-50%); color: var(--coral-bright); }
.lens-word .right { left: calc(var(--fx) + 0.5ch); color: #fff; }
.lens-word span { text-shadow: 0 0 0.48em rgba(255,255,255,0.55); }
.lens-word .pivot { text-shadow: 0 0 0.55em var(--coral-glow); }

.lens-meta {
  margin-top: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.42em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
  text-shadow: 0 0 1em rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 0.6em;
}
/* When the glasses render small, the WPM readout would spill onto the frame.
   Drop it below a stage width threshold — the word re-centers in the lens. */
@container (max-width: 620px) {
  .lens-meta { display: none; }
}

/* floating caption under the stage */
.stage-tag {
  position: relative;
  z-index: 3;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t3);
}
/* ===========================================================
   SECTION SHELL
   =========================================================== */
.section { position: relative; z-index: 1; padding: 92px 0; }
.section-head { max-width: 60ch; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-top: 18px;
  text-wrap: balance;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--t2);
  max-width: 52ch;
}

/* ---- HOW IT WORKS — numbered steps ---- */
.steps {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 28px 26px 30px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.step:hover { border-color: var(--coral-edge); transform: translateY(-4px); }
.step::after {           /* hairline coral top accent on hover */
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--coral), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.step:hover::after { transform: scaleX(1); }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--coral);
}
.step h3 {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--t2);
}
.step .formats {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t2);
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
}

/* ---- NEURAL BAND STRIP ---- */
.band { padding: 4px 0 56px; }
.band-panel {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: center;
  gap: 28px;
  padding: 30px 48px 30px 28px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.band-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.band-glow {
  position: absolute;
  inset: -18% -10%;
  background: radial-gradient(closest-side, rgba(255,79,58,0.22), rgba(255,79,58,0.05) 60%, transparent 78%);
  filter: blur(8px);
  pointer-events: none;
}
.band-media img {
  position: relative;
  width: 100%;
  max-width: 160px;
  display: block;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,0.55));
}
.band-copy h2 {
  margin-top: 16px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}
.band-copy p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--t2);
  max-width: 64ch;
}
/* ---- SPEED STRIP ---- */
.speed {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.speed-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.speed-lead h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.speed-lead p { margin-top: 12px; color: var(--t2); font-size: 15px; line-height: 1.55; max-width: 30ch; }
.metric { text-align: left; }
.metric .val {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--t1);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metric .val .unit { font-size: 0.42em; color: var(--coral); margin-left: 4px; letter-spacing: 0.04em; }
.metric .lbl {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
}

/* ===========================================================
   ADD TO GLASSES
   =========================================================== */
.add-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
/* One-tap deep link into the Meta AI app — only useful on a touch device that has the app, so it's
   hidden on desktop (where the fb-viewapp:// scheme does nothing). The copy-link below is the universal path. */
.open-app-btn { display: none; }
@media (hover: none) and (pointer: coarse) {
  .open-app-btn { display: flex; justify-content: center; width: 100%; margin-bottom: 22px; }
}
.add-steps { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.add-steps li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.add-steps li:last-child { border-bottom: none; }
.add-steps .n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--coral);
  flex-shrink: 0;
  width: 28px;
  letter-spacing: 0.1em;
}
.add-steps .txt { font-size: 16px; line-height: 1.5; color: var(--t1); }
.add-steps .txt b { font-weight: 600; }
.add-steps .txt span { color: var(--t2); }

.url-pill {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 6px 6px 6px 18px;
  max-width: 420px;
}
.url-pill .u {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--t1);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.url-pill .u .scheme { color: var(--t3); }
.copy-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-ink);
  background: var(--coral);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.16s var(--ease), transform 0.12s var(--ease);
}
.copy-btn:hover { background: var(--coral-bright); }
.copy-btn:active { transform: scale(0.95); }
.copy-btn.done { background: var(--surface); color: var(--t2); }

/* QR card */
.qr-card {
  justify-self: end;
  width: 100%;
  max-width: 340px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.qr-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,79,58,0.12), transparent 60%);
  pointer-events: none;
}
.qr-frame {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 6px auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 50px -18px rgba(0,0,0,0.7);
}
.qr-frame img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
/* corner ticks */
.qr-frame i {
  position: absolute; width: 14px; height: 14px;
  border: 2px solid var(--coral); pointer-events: none;
}
.qr-frame i.tl { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.qr-frame i.tr { top: -7px; right: -7px; border-left: 0; border-bottom: 0; }
.qr-frame i.bl { bottom: -7px; left: -7px; border-right: 0; border-top: 0; }
.qr-frame i.br { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.qr-card .qr-title { margin-top: 22px; font-size: 17px; font-weight: 600; }
.qr-card .qr-sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t3);
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 42px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .wordmark { font-size: 22px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer .byline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--t3);
  padding-left: 42px;
  white-space: nowrap;
}
.footer .f-links { display: flex; gap: 22px; }
.footer .f-links a { font-size: 13px; color: var(--t2); text-decoration: none; }
.footer .f-links a:hover { color: var(--t1); }

@media (max-width: 520px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .footer-brand { align-items: center; }
  .footer .byline { padding-left: 0; }
  .footer .f-links { justify-content: center; }
}

/* ===========================================================
   LEGAL MODAL
   =========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4,4,6,0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  width: 100%;
  max-width: 720px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: 0 44px 130px -34px rgba(0,0,0,0.85);
  transform: translateY(14px) scale(0.99);
  transition: transform 0.32s var(--ease);
}
.modal-overlay.open .modal { transform: none; }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 30px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.modal-head h2 {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.modal-close {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--t2);
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
              border-color 0.16s var(--ease), transform 0.12s var(--ease);
}
.modal-close:hover { background: var(--coral); color: var(--coral-ink); border-color: var(--coral); }
.modal-close:active { transform: scale(0.92); }

.modal-body { padding: 22px 30px 30px; overflow-y: auto; }
.modal-body::-webkit-scrollbar { width: 10px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--elev); border-radius: 10px; border: 3px solid var(--bg-2); }
.modal-body { scrollbar-width: thin; scrollbar-color: var(--elev) transparent; }

.legal-doc .legal-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--coral);
  margin-bottom: 18px;
}
.legal-doc .legal-meta span { color: var(--t3); }
.legal-doc .legal-lead {
  font-size: 16px;
  line-height: 1.62;
  color: var(--t1);
  margin-bottom: 8px;
}
.legal-doc h3 {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t1);
  margin: 28px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal-doc p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--t2);
  margin-bottom: 6px;
}
.legal-doc ul { list-style: none; margin: 4px 0 6px; display: flex; flex-direction: column; gap: 9px; }
.legal-doc li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--t2);
}
.legal-doc li::before {
  content: '';
  position: absolute;
  left: 2px; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--coral);
}
.legal-doc li b, .legal-doc p b { color: var(--t1); font-weight: 600; }
.legal-doc a { color: var(--coral); text-decoration: none; border-bottom: 1px solid var(--coral-edge); }
.legal-doc a:hover { color: var(--coral-bright); }

@media (max-width: 520px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { max-width: none; max-height: 92vh; border-radius: 22px 22px 0 0; }
  .modal-head { padding: 22px 22px 16px; }
  .modal-head h2 { font-size: 23px; }
  .modal-body { padding: 20px 22px 26px; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .faq-body { animation: none; }
  .faq-item summary::after { transition: none; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 880px) {
  .wrap { padding: 0 22px; }
  .steps { grid-template-columns: 1fr; }
  .speed-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .speed-lead { grid-column: 1 / -1; }
  .add-grid { grid-template-columns: 1fr; gap: 40px; }
  .qr-card { justify-self: center; }
  .band-panel { grid-template-columns: 1fr; gap: 18px; padding: 30px 26px; text-align: center; }
  .band-media { order: -1; }
  .band-media img { max-width: 240px; }
  .band-copy p { margin-left: auto; margin-right: auto; }
  .section { padding: 70px 0; }
  .nav-right .nav-link { display: none; }
}
@media (max-width: 520px) {
  .speed-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
}

/* ============ Demo video: play button on the stage + lightbox ============ */
.stage-play {
  position: absolute; left: 50%; top: 87%; transform: translate(-50%, -50%); z-index: 4;
  width: 86px; height: 86px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(20, 8, 5, 0.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 16px 44px rgba(0,0,0,0.45), 0 0 38px var(--coral-glow);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: transform .25s cubic-bezier(.6,0,.4,1), background .2s, box-shadow .25s, color .2s;
}
.stage-play::before {
  content: ''; position: absolute; inset: -40px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(0,0,0,0.5), transparent 72%);
}
.stage-play .sp-tri { font-size: 30px; line-height: 1; margin-left: 5px; }
.stage:hover .stage-play, .stage-play:hover, .stage-play:focus-visible {
  background: var(--coral); color: var(--coral-ink); outline: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.4), 0 20px 54px rgba(0,0,0,0.5), 0 0 52px var(--coral-glow);
}
.stage-play:hover { transform: translate(-50%, -50%) scale(1.07); }
.stage-play:active { transform: translate(-50%, -50%) scale(0.95); }

.stage-tag-btn { background: none; border: 0; cursor: pointer; }
.stage-tag-btn:hover { color: var(--coral); }
.stage-tag-btn:focus-visible { color: var(--coral); outline: 2px solid var(--coral); outline-offset: 4px; border-radius: 4px; }

.video-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(6, 4, 3, 0.82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s;
}
.video-overlay.open { opacity: 1; visibility: visible; }
.video-overlay[hidden] { display: none; }
.video-box { width: 100%; max-width: 520px; transform: scale(0.97); transition: transform .28s cubic-bezier(.6,0,.4,1); }
.video-overlay.open .video-box { transform: none; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  background: #000; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-cap { margin-top: 14px; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t3); }
.video-close {
  position: absolute; top: 18px; right: 22px; z-index: 210;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(20,8,5,0.5);
  color: #fff; font-size: 18px; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, transform .15s, color .2s;
}
.video-close:hover { background: var(--coral); color: var(--coral-ink); border-color: var(--coral); }
.video-close:active { transform: scale(0.92); }

/* ============ "Enable developer mode" note + modal content ============ */
.dev-note { margin-top: 14px; font-size: 13px; color: var(--t3); line-height: 1.55; max-width: 360px; }
.dev-link {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: var(--coral); border-bottom: 1px solid var(--coral-edge);
}
.dev-link:hover { color: var(--coral-bright); }
.dev-link:focus-visible { color: var(--coral-bright); outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 3px; }

.dev-doc ol {
  margin: 4px 0 6px; padding-left: 0; list-style: none;
  counter-reset: dvs; display: flex; flex-direction: column; gap: 10px;
}
.dev-doc ol li { position: relative; padding-left: 32px; counter-increment: dvs; }
.dev-doc ol li::before {
  content: counter(dvs); position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,79,58,0.14); color: var(--coral);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  display: grid; place-items: center;
}
.dev-tip {
  margin-top: 10px; padding: 11px 13px; border-radius: 10px;
  background: rgba(255,79,58,0.07); border: 1px solid var(--coral-edge);
  font-size: 13px; color: var(--t2); line-height: 1.5;
}
.dev-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.dev-shots figure { margin: 0; }
.dev-shots img {
  width: 100%; height: auto; display: block; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1); background: #0a0a0f;
}
.dev-shots figcaption {
  margin-top: 8px; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t3);
}
@media (max-width: 520px) { .dev-shots { grid-template-columns: 1fr; } }

/* footer "by RAYVE" → parent studio link */
.footer .byline { text-decoration: none; transition: color .18s; }
.footer .byline:hover, .footer .byline:focus-visible { color: var(--coral); outline: none; }

/* ============ FAQ (accordion, native <details>) ============ */
.faq-list { margin-top: 44px; max-width: 780px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 2px 24px 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.1vw, 20px); font-weight: 600; letter-spacing: -0.012em;
  color: var(--t1);
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--coral-bright); }
.faq-item summary:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; color: var(--coral-bright); }
.faq-item summary::after {
  content: ''; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--t3); border-bottom: 2px solid var(--t3);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), border-color 0.2s var(--ease);
}
.faq-item summary:hover::after { border-color: var(--coral-bright); }
.faq-item[open] summary::after { transform: rotate(-135deg); border-color: var(--coral); }
.faq-body { padding: 2px 0 28px; max-width: 64ch; animation: faqIn 0.4s var(--ease); }
.faq-body p { margin: 0 0 13px; font-size: 16px; line-height: 1.65; color: var(--t2); }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body b { color: var(--t1); font-weight: 600; }
.faq-body a {
  color: var(--coral); text-decoration: none;
  border-bottom: 1px solid var(--coral-edge); transition: color 0.2s var(--ease);
}
.faq-body a:hover { color: var(--coral-bright); }
.faq-tag {
  font-family: var(--font-mono); font-size: 0.82em;
  padding: 2px 7px; border-radius: 5px;
  background: var(--elev); border: 1px solid var(--line-2);
  color: var(--t1); white-space: nowrap;
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .faq-list { margin-top: 32px; }
  .faq-item summary { padding: 20px 2px 20px 0; gap: 16px; }
  .faq-body { padding-bottom: 24px; }
}
