/* CatapalloVR — SHARED BASE STYLESHEET
   Every page loads this first, then its own small stylesheet on top
   for page-specific components. Never duplicate rules from this file
   into a page stylesheet — edit here once, every page updates. */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --innovation: #23B6FF;
  --royal: #6853FD;
  --deep: #2B1E8F;
  --ignite: #004CD2;
  --pink: #FE2285;
  --magenta: #D50261;
  --tail-end: #AF23FF;
  --darktext: #001569;

  --bg-0: #0B0830;
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);
  --fg-muted: #E5E7EB;
  --fg-dim: #B7B9D4;

  --ink: #0A0822;
  --slate: #3C3960;
  --line: #E8E6F2;
  --soft: #F6F5FB;

  --font: 'Barlow', system-ui, sans-serif;
  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--soft); color: var(--slate); font-family: var(--font); font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
section.tight { padding: clamp(48px, 7vw, 84px) 0; }
h1,h2,h3 { font-family: var(--font); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 42px); color: var(--ink); }
p { margin: 0; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--pink); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 10px; font-family: var(--font); font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: all .2s ease; white-space: nowrap; overflow: hidden; background-clip: padding-box; }
.btn-primary { background-image: linear-gradient(90deg,#5A17B8,var(--pink)); background-size: 100% 100%; background-repeat: no-repeat; color: #fff; box-shadow: 0 6px 18px rgba(254,34,133,0.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(254,34,133,0.4); }
.btn-pink { background: transparent; border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.85); box-shadow: none; }
.btn-pink:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.16); }
.btn-outline-dark { background: #fff; border-color: var(--deep); color: var(--deep); }
.btn-outline-dark:hover { background: var(--deep); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--deep); color: var(--deep); }
.btn-ghost:hover { background: var(--deep); color: #fff; }
.btn-contact { background: transparent; border: 2px solid var(--pink); color: #fff; font-weight: 800; padding: 8px 16px; }
.btn-contact:hover { background: var(--pink); }
.btn-login { background-image: linear-gradient(90deg, var(--innovation), var(--ignite)); background-size: 100% 100%; background-repeat: no-repeat; background-position: center; color: #fff; -webkit-background-clip: padding-box; background-clip: padding-box; transform: translateZ(0); -webkit-transform: translateZ(0); }
.btn-login:hover { transform: translateY(-1px) translateZ(0); box-shadow: 0 10px 26px rgba(35,182,255,0.5); }
.btn-lg { padding: 16px 30px; font-size: 15px; border-radius: 12px; }

/* ── Nav (identical on every page) ──────────────────────────── */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(11,8,48,0.94); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 0 4px; font-size: 13px; font-weight: 500; color: var(--fg-muted); }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links .btn { padding: 8px 14px; font-size: 12px; }

/* Mobile hamburger toggle — hidden on desktop */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; margin: 0 auto; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1050px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; height: calc(100vh - 68px);
    background: #0B0830; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 40px 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease;
    display: flex; z-index: 200; visibility: hidden;
  }
  .nav-links.is-open { transform: translateX(0); visibility: visible; }
  .nav-links a:not(.btn) { display: block; padding: 16px 4px; font-size: 16px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nav-links .btn { display: flex; margin-top: 14px; width: 100%; padding: 15px; font-size: 15px; }
  .nav-dd { display: block; padding: 0; width: 100%; }
  .nav-dd > span { display: block; padding: 16px 4px; font-size: 16px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nav-dd-menu {
    position: static !important; transform: none !important; display: none;
    background: rgba(255,255,255,0.06); border: none; border-radius: 0; box-shadow: none;
    padding: 4px 0 8px 16px; min-width: 0; z-index: auto;
  }
  .nav-dd.is-open .nav-dd-menu { display: flex !important; flex-direction: column; }
  .nav-dd.is-open > span { border-bottom-color: transparent; }
  .nav-dd-menu a { padding: 12px 4px; font-size: 15px; color: rgba(255,255,255,0.85); border-bottom: none; }
}

.nav-dd { position: relative; display: inline-flex; align-items: center; padding: 0 6px; }
.nav-dd > span { font-size: 13.5px; font-weight: 500; color: var(--fg-muted); cursor: pointer; }

/* Login dropdown — reuses .nav-dd/.nav-dd-menu mechanics with a button trigger instead of a span */
.login-dd { padding: 0; }
.login-dd > button { display: inline-flex; align-items: center; gap: 6px; }
.login-dd .dd-chevron { font-size: 10px; transition: transform .2s ease; }
.login-dd.is-open .dd-chevron { transform: rotate(180deg); }
.login-dd .nav-dd-menu { left: auto; right: 0; transform: none; }
.nav-dd:hover > span, .nav-dd:focus-within > span { color: #fff; }
.nav-dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: #15104A; border: 1px solid var(--border-strong); border-radius: 12px; padding: 8px; min-width: 170px; display: none; flex-direction: column; gap: 2px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); z-index: 60; }
.nav-dd.is-open .nav-dd-menu { display: flex; }
.nav-dd-menu a { padding: 9px 12px; border-radius: 8px; font-size: 13.5px; color: var(--fg-muted); }
.nav-dd-menu a:hover { background: rgba(35,182,255,0.16); color: #fff; }
.nav-dd-menu a.is-current { color: var(--innovation); font-weight: 700; }

/* ── Section headers ─────────────────────────────────────── */
.sec-head { max-width: 760px; margin: 0 auto 46px auto; }
.sec-head.center { text-align: center; }
.sec-head h2 { margin-top: 12px; }
.alt-bg { background: var(--soft); }

/* ── Shared hero pattern (dark hex-bg, used on Home/CORE/REHEARSE/About) ── */
.hero {
  background-image: radial-gradient(ellipse 80% 60% at 80% -10%, rgba(35,182,255,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 30%, rgba(104,83,253,0.12) 0%, transparent 60%),
    linear-gradient(160deg, rgba(11,8,48,0.55) 0%, rgba(26,13,94,0.55) 100%), url('/assets/hero-bg.png');
  background-size: cover; background-position: center;
  padding: clamp(90px, 11vw, 140px) 0 clamp(90px, 11vw, 130px);
  text-align: center; overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }
.hero-h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; line-height: 1.15; max-width: 1000px; margin: 20px auto 0 auto; }
.hero-h1 .light { color: #F1F0FF; }
.hero-h1 .grad { background: linear-gradient(90deg, var(--innovation), var(--tail-end), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: #fff; font-size: 19px; font-weight: 700; margin-top: 24px; }
.hero-p { color: #C9D3FF; font-size: 15px; max-width: 540px; margin: 10px auto 0 auto; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-more { display: block; margin-top: 24px; color: #B9C3F5; font-size: 13px; text-decoration: underline; }

/* ── Dark accent section (canonical — the ONLY dark-band class, avoids the drift bug we hit before) ── */
.dark-band { background: linear-gradient(135deg,#1c1266,#3a1a8f); color: #fff; }
.dark-band .sec-head h2, .dark-band .sec-head p { color: #fff; }

/* ── Final CTA (shared across every page) ───────────────────── */
.final-cta { background: linear-gradient(100deg,var(--innovation),var(--tail-end) 55%,var(--pink)); padding: clamp(56px,8vw,90px) clamp(24px,5vw,60px); border-radius: 28px; text-align: center; position: relative; overflow: hidden; }
.final-cta::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(55%, 460px); aspect-ratio: 1/1;
  background-image: url('/assets/logomark-color.png'); background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.08; pointer-events: none; z-index: 0;
}
.final-cta > * { position: relative; z-index: 1; }
@media (max-width: 700px) { .final-cta::after { width: 75%; } }
.final-cta h2 { color: var(--darktext); font-size: clamp(28px,4vw,38px); }
.final-cta > p { color: var(--darktext); font-size: 15px; max-width: 640px; margin: 14px auto 0 auto; font-weight: 600; }
.cta-row { display: flex; gap: 18px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.cta-btn { width: 220px; background: rgba(255,255,255,0.55); border: 1px solid rgba(0,21,105,0.25); border-radius: 12px; padding: 20px 16px; display: block; transition: transform .2s ease, background .2s ease; }
.cta-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.7); }
.cta-btn .kicker { display: block; color: var(--darktext); font-size: 10.5px; font-weight: 800; letter-spacing: 1px; }
.cta-btn .label { display: block; color: var(--darktext); font-size: 18px; font-weight: 800; margin-top: 6px; }

/* ── Footer (identical on every page) ───────────────────────── */
footer { background: #0A0822; padding-top: 50px; }
.footer-top { display: flex; gap: 70px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-brand .footer-logo { height: 32px; width: auto; margin-bottom: 12px; }
.footer-brand .tag { font-size: 13px; color: #8892C9; max-width: 220px; }
.footer-col h5 { color: var(--innovation); font-size: 11px; letter-spacing: 1.5px; font-weight: 800; margin: 0 0 12px 0; }
.footer-col a { display: block; color: #C9D3FF; font-size: 13px; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 12px; color: rgba(255,255,255,0.4); }

@media (max-width: 700px) {
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-bottom: 24px;
  }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 2px; }
  .footer-col a { margin-bottom: 13px; padding: 2px 0; }
}

/* ── Logo card + scrolling marquee (trust walls — Home/CORE/REHEARSE) ── */
.logo-card { flex-shrink: 0; height: 54px; padding: 8px 22px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.logo-card img { max-height: 100%; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter .2s ease, opacity .2s ease; }
.logo-card:hover img { filter: grayscale(0); opacity: 1; }
.logo-card a, .rec-card a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.rec-card a { flex-direction: column; gap: 8px; }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 20px; width: max-content; animation: scrollLogos 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes scrollLogos { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Generic light/dark tabbed panel (CORE framework / REHEARSE scenarios / homepage practice) ── */
.core-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.core-tab { padding: 10px 20px; border-radius: 999px; font-family: var(--font); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .2s ease; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); white-space: nowrap; flex-shrink: 0; }
.core-tab:hover { background: rgba(255,255,255,0.1); color: #fff; }
.core-tab.is-active { background: linear-gradient(90deg, var(--innovation), var(--tail-end)); color: #fff; border-color: transparent; }
.core-tab.is-disabled { opacity: 0.4; cursor: not-allowed; }
.core-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .core-panel { grid-template-columns: 1fr; } }
.core-panel-shot { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--border-strong); box-shadow: 0 30px 70px rgba(0,0,0,0.4); }
.core-panel-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.core-panel-shot img.is-active { opacity: 1; }
.core-panel-text > div, .core-panel-text > p { display: none; }
.core-panel-text > div.is-active, .core-panel-text > p.is-active { display: block; }
.core-panel-text h3 { color: #fff; font-size: 26px; margin-bottom: 18px; }
.core-panel-text a { color: var(--innovation); font-weight: 700; font-size: 14px; }
/* Light variant — used when a tabbed panel sits on a white section instead of dark */
.core-tabs.on-light .core-tab { background: var(--soft); border-color: var(--line); color: var(--slate); }
.core-tabs.on-light .core-tab:hover { background: #eceaf8; color: var(--darktext); }
.core-panel.on-light .core-panel-shot { border-color: var(--line); box-shadow: 0 20px 50px rgba(43,30,143,0.14); }
.core-panel.on-light .core-panel-text h3 { color: var(--darktext); }
.core-panel.on-light .core-panel-text a { color: var(--royal); }

/* ── Trust strip (individual cards, not the marquee — used by CORE + REHEARSE) ── */
.founding { padding: 40px 0; background: var(--soft); border-bottom: 1px solid var(--line); }
.founding-inner { display: flex; align-items: center; gap: clamp(24px,5vw,64px); flex-wrap: wrap; }
.founding-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); font-weight: 600; flex-shrink: 0; }
.founding-track { flex: 1; display: flex; align-items: center; gap: 18px; row-gap: 12px; flex-wrap: wrap; }

/* ── "Why X" three-benefit-card grid (used by CORE + REHEARSE) ── */
.three { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,2vw,28px); }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; } }
.benefit { padding: 32px 28px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(43,30,143,0.06), 0 12px 32px rgba(43,30,143,0.08); }
.benefit .num { font-size: 12.5px; font-weight: 600; color: var(--pink); letter-spacing: 0.14em; margin-bottom: 20px; display: inline-block; }
.benefit h3 { color: var(--ink); margin-bottom: 12px; }
.benefit p { font-size: 15px; color: var(--slate); }

/* ── Hero mascot float (used by CORE + REHEARSE hero) ── */
.hero-grid-2col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px,4vw,64px); align-items: center; text-align: left; }
@media (max-width: 960px) { .hero-grid-2col { grid-template-columns: 1fr; text-align: center; } }
.hero-right { position: relative; display: flex; justify-content: center; }
.mascot-float { width: min(360px, 80%); filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45)); animation: mascotFloat 7s ease-in-out infinite; }
@keyframes mascotFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); justify-content: flex-start; }
@media (max-width: 960px) { .hero-meta { justify-content: center; } }
.hero-meta-item { font-size: 13px; color: rgba(255,255,255,0.78); }
.hero-meta-item strong { color: #fff; font-weight: 600; }

/* ── Closing CTA (dark card variant — used by CORE + REHEARSE) ── */
.closing { padding: clamp(56px,8vw,100px); border-radius: 28px; text-align: center; background: radial-gradient(ellipse at top, rgba(254,34,133,0.22) 0%, transparent 60%), radial-gradient(ellipse at bottom, rgba(35,182,255,0.20) 0%, transparent 60%), linear-gradient(180deg, #1A1466 0%, #0E0A35 100%); border: 1px solid var(--border-strong); color: #fff; position: relative; overflow: hidden; }
.closing::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(60%, 480px); aspect-ratio: 1/1;
  background-image: url('/assets/logomark-color.png'); background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.06; pointer-events: none; z-index: 0;
}
.closing > * { position: relative; z-index: 1; }
@media (max-width: 700px) { .closing::after { width: 80%; } }
.closing h2 { color: #fff; max-width: 18ch; margin: 0 auto; }
.closing p { margin: 20px auto 0; max-width: 520px; color: var(--fg-muted); font-size: 16px; }
.closing-cta-row { margin-top: 34px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.closing .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: #fff; }
.closing .btn-ghost:hover { background: rgba(255,255,255,0.16); }

/* ── Cookie consent banner ──────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: #0B0830; border-top: 1px solid rgba(255,255,255,0.14);
  padding: 18px clamp(20px,4vw,56px); box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
  transform: translateY(110%); transition: transform .35s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cookie-text { font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.5; max-width: 640px; }
.cookie-text a { color: var(--innovation); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 18px; font-size: 13px; }

/* ── Accessibility: visible focus states + skip link ────────── */
a:focus-visible, button:focus-visible, .btn:focus-visible, .core-tab:focus-visible,
.nav-dd > span:focus-visible, .flip-card:focus-visible, .team-photo-btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--innovation);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 500;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ══════════════════════════════════════════════════════════
   ROCKET PATH — reusable interactive component for short,
   related, sequential concepts (2-5 stops). Data-driven via
   markup; see /about and /brand for usage examples.
   ══════════════════════════════════════════════════════════ */
.rocket-path { margin: 0 auto; max-width: 720px; }
.rp-track { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 44px 10px 8px 10px; }
.rp-track::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 52px; height: 2px;
  background: linear-gradient(90deg, var(--line), var(--line));
  z-index: 0;
}
.rp-stop {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer; padding: 4px; font-family: var(--font);
}
.rp-dot {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #D8D6E6; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(43,30,143,0.12);
  transition: background .35s ease, transform .25s ease, box-shadow .35s ease;
}
.rp-stop.is-active .rp-dot, .rp-stop.is-visited .rp-dot {
  background: var(--stop-color, var(--innovation));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--stop-color, var(--innovation)) 45%, transparent);
}
.rp-stop.is-active .rp-dot { transform: scale(1.12); }
.rp-stop:hover .rp-dot { transform: scale(1.08); }
.rp-stop:focus-visible .rp-dot { outline: 3px solid var(--innovation); outline-offset: 3px; }
.rp-check { width: 18px; height: 18px; color: #fff; opacity: 0; transition: opacity .2s ease; }
.rp-stop.is-visited:not(.is-active) .rp-check { opacity: 1; }
.rp-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--muted, #9A96B5); transition: color .3s ease; }
.rp-stop.is-active .rp-label, .rp-stop.is-visited .rp-label { color: var(--ink); }

.rp-rocket {
  position: absolute; top: 4px; width: 34px; height: 34px; z-index: 2; pointer-events: none;
  left: 0; transform: translateX(-50%);
  transition: left .5s cubic-bezier(.4,.1,.2,1);
}
.rp-rocket svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 10px rgba(104,83,253,0.5)); }
.rp-rocket.is-dragging { transition: none; cursor: grabbing; pointer-events: auto; }
.rp-rocket-grab { position: absolute; inset: -14px; cursor: grab; pointer-events: auto; }
@media (max-width: 900px) { .rp-rocket-grab { display: none; } } /* mobile: tap-to-activate only, per spec — drag not required to interfere with scroll */

.rp-panel { margin-top: 8px; min-height: 64px; }
.rp-panel > div { display: none; }
.rp-panel > div.is-active { display: block; animation: rpFadeIn .35s ease; }
.rp-panel p { font-size: 16px; line-height: 1.6; color: var(--slate); text-align: center; max-width: 560px; margin: 0 auto; }
@keyframes rpFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.rp-panel p em { font-style: normal; font-weight: 800; color: var(--innovation); }
.rp-panel h3 { font-size: 19px; font-weight: 700; color: var(--ink); text-align: center; margin: 0 0 8px 0; }

@media (prefers-reduced-motion: reduce) {
  .rp-rocket { transition: none; }
  .rp-panel > div.is-active { animation: none; }
  .rp-dot, .rp-stop:hover .rp-dot { transition: none; transform: none; }
}

@media (max-width: 560px) {
  .rp-track { padding: 40px 4px 8px 4px; }
  .rp-dot { width: 40px; height: 40px; }
  .rp-label { font-size: 10.5px; }
  .rp-rocket { width: 28px; height: 28px; }
}

/* ══════════════════════════════════════════════════════════
   GRAPHIC REVEAL — reusable click-to-expand card for longer
   explanatory content. Icon+label+headline always visible;
   body copy hidden until activated.
   ══════════════════════════════════════════════════════════ */
.reveal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 900px) { .reveal-grid { grid-template-columns: 1fr; } }
.reveal-grid-4 { grid-template-columns: repeat(2,1fr); max-width: 800px; margin: 0 auto; }
@media (max-width: 700px) { .reveal-grid-4 { grid-template-columns: 1fr; } }
.reveal-card { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(43,30,143,0.06), 0 12px 32px rgba(43,30,143,0.08); overflow: hidden; }
.reveal-trigger {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px 24px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font);
}
.reveal-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--innovation), var(--royal)); color: #fff; flex-shrink: 0; }
.reveal-icon svg { width: 20px; height: 20px; }
.reveal-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--pink); }
.reveal-headline-row { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 10px; }
.reveal-headline { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.reveal-chevron { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--slate); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.reveal-trigger[aria-expanded="true"] .reveal-chevron { transform: rotate(45deg); background: var(--innovation); border-color: var(--innovation); color: #fff; }
.reveal-body { padding: 0 24px 24px 24px; }
.reveal-body p { font-size: 14.5px; line-height: 1.6; color: var(--slate); margin: 0; }
.reveal-body[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal-chevron { transition: none; }
}

/* Live/pulse indicator — used wherever a "try it now" moment needs a live-feeling accent */
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6CE5A8;
  box-shadow: 0 0 0 0 rgba(108, 229, 168, 0.6);
  animation: live-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0    rgba(108, 229, 168, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(108, 229, 168, 0); }
  100% { box-shadow: 0 0 0 0    rgba(108, 229, 168, 0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Any section with an id can be an anchor-jump target — keep it clear of the sticky nav */
section[id] { scroll-margin-top: 84px; }

/* ── Reveal-on-scroll — shared across all product pages (SPAR is the source of truth) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Branded gradient CTA for live/playable experiences outside a card-hover context
   (e.g. Hidden Temple's standalone button) — same exact gradient/timing/easing as
   REHEARSE's Launch Now buttons, self-contained since it isn't wrapped in a hoverable card. */
.btn-gradient-live {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 14px;
  padding: 13px 24px; border-radius: 999px; border: none;
  background: linear-gradient(90deg, var(--innovation), var(--royal), var(--pink), var(--innovation));
  background-size: 300% 100%; background-position: 0% 50%;
  transition: background-position .6s ease, transform .2s ease;
  box-shadow: 0 8px 24px rgba(104,83,253,0.28);
}
.btn-gradient-live:hover, .btn-gradient-live:focus-visible { background-position: 100% 50%; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .btn-gradient-live { transition: none; }
  .btn-gradient-live:hover, .btn-gradient-live:focus-visible { background-position: 0% 50%; transform: none; }
}
