/* ============================================================
   STIMHEAD — cinematic marketing site
   ============================================================ */

:root {
  --bg: #000000;
  --bg-2: #010103;
  --cyan: #00F0FF;
  --magenta: #FF006E;
  --violet: #7B00FF;
  --gold: #d4af37;
  --off: #E8E8E8;
  --muted: #c8c8c8;
  --dim: #5e6470;
  --rule: rgba(232, 232, 232, 0.14);
}

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

html, body {
  background: var(--bg);
  color: var(--off);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* no overflow / max-width rules here — they break position:sticky */
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

/* Vignette */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.85) 100%);
}

/* ============================================================ */
/* Hero — sticky 3D scene + scroll-driven narrative              */
/* ============================================================ */
.hero {
  position: relative;
  height: 600vh; /* 6× viewport = long scroll for cinematic pacing */
  background: #000;
  z-index: 1;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: var(--off);
}
.hero-overlay .stage-el {
  position: absolute;
  opacity: 0;
  transition: opacity 500ms cubic-bezier(.2,.7,.2,1), transform 800ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  text-align: center;
  will-change: opacity, transform;
}

/* Scroll hint (bottom-center, first frame only) */
.stage-title-hint {
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--muted);
  text-transform: uppercase;
}
.stage-title-hint .hint-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: hint-pulse 1.4s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}
.hero-overlay[data-stage="title"] .stage-title-hint { opacity: 0; }
/* clarity HUD (with its ↓ button) replaces the scroll hint on the title frame */

/* Top scan label */
.stage-brain-top {
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: rgba(212,216,223,0.85);
  text-transform: uppercase;
}
.hero-overlay[data-stage="p1"] .stage-brain-top,
.hero-overlay[data-stage="p2"] .stage-brain-top,
.hero-overlay[data-stage="zoom"] .stage-brain-top { opacity: 0.7; }

/* Phrase overlays — large type centered */
.stage-phrase-1,
.stage-phrase-2,
.stage-phrase-3,
.stage-phrase-4 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-wrap: balance;
  max-width: 90vw;
  text-transform: lowercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85), 0 0 30px rgba(0,0,0,0.6);
}
.stage-phrase-1 { font-size: clamp(56px, 10vw, 180px); }
.stage-phrase-2 { font-size: clamp(56px, 10vw, 180px); color: var(--cyan); }
.stage-phrase-3 {
  font-size: clamp(32px, 4vw, 56px);
  color: var(--muted);
  top: 62%;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.stage-phrase-4 {
  font-size: clamp(80px, 14vw, 240px);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff3c4 0%, #d4af37 60%, #6b5418 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-overlay[data-stage="p1"] .stage-phrase-1 { opacity: 1; }
.hero-overlay[data-stage="p2"] .stage-phrase-2 { opacity: 1; }
.hero-overlay[data-stage="can"] .stage-phrase-3 { opacity: 1; }
.hero-overlay[data-stage="p4"] .stage-phrase-4 { opacity: 1; }

/* Door / final CTA stage */
.stage-door {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 600px;
}
.stage-door .door-head {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: lowercase;
}
.stage-door .enter-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: rgba(0,240,255,0.06);
  pointer-events: auto;
  transition: background 300ms, transform 300ms;
}
.stage-door .enter-btn:hover { background: rgba(0,240,255,0.16); transform: scale(1.04); }
.stage-door .door-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.stage-door .cyan-txt { color: var(--cyan); }
.stage-door .appstore-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(232,232,232,0.25);
  border-radius: 10px;
  color: var(--off);
  pointer-events: auto;
}
.stage-door .asm { font-family:'JetBrains Mono', monospace; font-size: 8px; letter-spacing: 0.25em; color: var(--muted); }
.stage-door .asb { font-family:'Inter', sans-serif; font-weight: 700; font-size: 18px; }
.hero-overlay[data-stage="door"] .stage-door { opacity: 1; }

/* Scroll indicator — thin bar on right edge */
.scroll-ind {
  position: absolute;
  right: 32px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.scroll-ind .bar {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--cyan) 0%, transparent 100%);
  animation: scroll-bar-flow 2s ease-in-out infinite;
}
@keyframes scroll-bar-flow {
  0%, 100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1.2); }
}
.hero-overlay[data-stage="door"] ~ .scroll-ind { opacity: 0; }

@media (max-width: 720px) {
  .scroll-ind { display: none; }
}

/* ============================================================ */
/* Nav                                                           */
/* ============================================================ */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
nav.top .wordmark {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--off);
}
nav.top .links {
  display: flex;
  gap: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--off);
}
nav.top .links a { opacity: 0.7; transition: opacity 200ms; }
nav.top .links a:hover { opacity: 1; }
nav.top .status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}
nav.top .status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@media (max-width: 720px) {
  nav.top { padding: 16px 20px; }
  nav.top .links { display: none; }
}

/* ============================================================ */
/* Labels                                                        */
/* ============================================================ */
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
}
.label.cyan { color: var(--cyan); }
.label.gold { color: var(--gold); }

/* ============================================================ */
/* Hero — scroll-driven 3D                                      */
/* ============================================================ */
.hero {
  position: relative;
  height: 828vh;
  background: #000;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Overlay: stage-controlled text */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stage-el {
  position: absolute;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  width: 100%;
  text-align: center;
  padding: 0 24px;
  transform: translateY(16px);
}

/* Brain stage: label visible during brain + phrase + zoom stages */
.hero-overlay[data-stage="p1"] .stage-brain-top,
.hero-overlay[data-stage="p2"] .stage-brain-top,
.hero-overlay[data-stage="zoom"] .stage-brain-top {
  opacity: 0.6;
  transform: translateY(0);
}

/* ========== TITLE CARD (opening frame) ========== */
.stage-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  padding: 0;
}
.hero-overlay[data-stage="title"] .stage-title {
  opacity: 1;
  transform: translate(-50%, -50%);
}
/* title fades out as brain appears */
.hero-overlay[data-stage="p1"] .stage-title,
.hero-overlay[data-stage="p2"] .stage-title {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 30px));
}
.title-word {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 14vw, 220px);
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-transform: lowercase;
  white-space: nowrap;
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.15));
}
.title-word .t-stim {
  background: linear-gradient(180deg, #fff3c4 0%, #f3e6b5 30%, #d4af37 55%, #b8912a 75%, #6b5418 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(212, 175, 55, 0.35);
}
.title-word .t-head {
  background: linear-gradient(180deg, #ffffff 0%, #ebebeb 50%, #a0a0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.title-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
}
.title-hint .hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0, 240, 255, 0.4);
  animation: pulse-dot 1.6s infinite;
}

/* Phrase checkpoints — one line, crossfades between stages */
.hero-overlay[data-stage="p1"] .stage-phrase-1 { opacity: 1; transform: translateY(0); }
.hero-overlay[data-stage="p2"] .stage-phrase-2 { opacity: 1; transform: translateY(0); }
.hero-overlay[data-stage="can"] .stage-phrase-3 { opacity: 1; transform: translateY(0); }
.hero-overlay[data-stage="p4"] .stage-phrase-4 { opacity: 1; transform: translateY(0); }

/* Door stage */
.hero-overlay[data-stage="door"] .stage-door {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.stage-brain-top {
  top: 15%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--cyan);
  text-transform: uppercase;
  opacity: 0.6 !important;
}
.stage-brain-bot,
.stage-phrase-1,
.stage-phrase-2,
.stage-phrase-3,
.stage-phrase-4 {
  bottom: 15%;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--off);
}
.stage-phrase-2 { color: var(--cyan); text-shadow: 0 0 24px rgba(0,240,255,0.45); }
.stage-phrase-3 {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(0,240,255,0.6);
  bottom: 8%;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.4em;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0 !important;
}
.hero-overlay[data-stage="can"] .stage-phrase-3 { opacity: 0.9 !important; }
.stage-phrase-4 {
  color: var(--off);
  letter-spacing: 0.35em;
  font-size: clamp(36px, 5vw, 72px);
  text-transform: uppercase;
  bottom: 50%;
  transform: translateY(50%);
  text-shadow: 0 0 60px rgba(0,240,255,0.5);
}
.hero-overlay[data-stage="p4"] .stage-phrase-4 { transform: translateY(50%); }
.stage-brain-bot .cyan-txt { color: var(--cyan); }

.stage-door {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  top: 50%;
  transform: translate(0, calc(-50% + 20px));
}
.hero-overlay[data-stage="door"] .stage-door {
  transform: translate(0, -50%);
}
.stage-door .door-head {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--off);
  text-wrap: balance;
}
.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 48px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  background: rgba(0, 240, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 300ms cubic-bezier(.2,.7,.2,1);
  font-weight: 700;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}
.enter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateY(101%);
  transition: transform 400ms cubic-bezier(.7,0,.2,1);
  z-index: -1;
}
.enter-btn:hover { color: #000; box-shadow: 0 0 60px rgba(0, 240, 255, 0.5); }
.enter-btn:hover::before { transform: translateY(0); }
.enter-btn:active { transform: scale(0.97); }

.door-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.door-meta .cyan-txt { color: var(--cyan); }
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  transition: border-color 200ms;
}
.appstore-badge:hover { border-color: var(--cyan); }
.appstore-badge .asm {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 3px;
}
.appstore-badge .asb {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--off);
}

/* Scroll indicator */
.scroll-ind {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 500ms;
}
.hero-overlay[data-stage="door"] ~ .scroll-ind { opacity: 0; }
.scroll-ind .bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--cyan));
  animation: scroll-bar 2s ease-in-out infinite;
}
@keyframes scroll-bar {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Scroll progress side bar */
.scroll-progress {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  align-items: flex-end;
}
.scroll-progress .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dim);
  transition: all 300ms;
}
.scroll-progress .dot.active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  width: 10px;
  border-radius: 2px;
}
@media (max-width: 720px) {
  .scroll-progress { display: none; }
}

/* ============================================================ */
/* Section base                                                  */
/* ============================================================ */
section.panel {
  position: relative;
  min-height: 100vh;
  padding: 120px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--rule);
}
@media (max-width: 720px) {
  section.panel { padding: 80px 20px; min-height: 90vh; }
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 80px;
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--cyan);
}

/* ============================================================ */
/* Counter                                                       */
/* ============================================================ */
.counter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.counter-number {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(96px, 18vw, 280px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--off);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
  animation: number-pulse 4s ease-in-out infinite;
  max-width: 100%;
  white-space: nowrap;
}
.counter-number .claimed {
  color: var(--cyan);
  text-shadow:
    0 0 80px rgba(0,240,255,0.5),
    0 0 160px rgba(0,240,255,0.25);
}
.counter-number .sep { color: var(--dim); font-weight: 300; }
.counter-number .total { color: var(--dim); }
@keyframes number-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}
.circle-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--off);
}
.progress-dots {
  display: grid;
  grid-template-columns: repeat(100, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 2px;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 50 / 1;
}
.progress-dots .pdot {
  background: var(--dim);
  opacity: 0.3;
}
.progress-dots .pdot.on {
  background: var(--cyan);
  opacity: 1;
  box-shadow: 0 0 4px var(--cyan);
}
.counter-meta {
  display: flex;
  gap: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: center;
}
.counter-meta .k { color: var(--off); }

/* ============================================================ */
/* Phones                                                        */
/* ============================================================ */
.app-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  perspective: 1600px;
}
@media (max-width: 900px) {
  .app-phones { grid-template-columns: 1fr; gap: 80px; }
}
.phone-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.phone-col .phone-label {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.3vw, 32px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--off);
  text-align: center;
}
.phone-col .phone-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
}
.phone {
  width: 280px;
  height: 580px;
  border-radius: 44px;
  background: linear-gradient(180deg, #161a22 0%, #0a0d14 100%);
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0, 240, 255, 0.08),
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 0 0 1.5px rgba(0,0,0,0.8);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.phone-col:nth-child(1) .phone { transform: rotateY(8deg) rotateX(2deg) translateY(20px); }
.phone-col:nth-child(2) .phone { transform: rotateX(-2deg) translateY(-10px); }
.phone-col:nth-child(3) .phone { transform: rotateY(-8deg) rotateX(2deg) translateY(20px); }
.phone .notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}
.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: #000;
  overflow: hidden;
  position: relative;
}
.screen.scanner { display: flex; flex-direction: column; }
.scanner .status-bar {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--off);
  font-weight: 600;
}
.scanner .cam {
  flex: 1;
  margin: 40px 16px 20px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 45%, rgba(0,240,255,0.08), transparent 60%), linear-gradient(180deg, #0a0e15 0%, #05070c 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,240,255,0.15);
}
.scanner .cam::before, .scanner .cam::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border: 2px solid var(--cyan);
}
.scanner .cam::before { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.scanner .cam::after { bottom: 16px; right: 16px; border-left: none; border-top: none; }

/* barcode */
.scanner .barcode {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: 50px;
  display: flex;
  gap: 2px;
  align-items: stretch;
}
.scanner .barcode span {
  flex: 1;
  background: var(--off);
  opacity: 0.7;
}
.scanner .barcode span:nth-child(3n) { flex: 2; }
.scanner .barcode span:nth-child(5n) { flex: 3; background: var(--cyan); }
.scanner .scan-line {
  position: absolute;
  left: 10%; right: 10%;
  top: 50%;
  height: 1.5px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: scan 2.5s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 20%; opacity: 0.6; }
  50% { top: 80%; opacity: 1; }
}
.scanner .meta {
  padding: 16px 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scanner .meta .txt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.scanner .meta .count {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--cyan);
}
.scanner .shutter {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  margin: 0 auto 30px;
  display: flex; align-items: center; justify-content: center;
}
.scanner .shutter::after {
  content: '';
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}

/* Feed */
.screen.feed { padding: 60px 16px 20px; overflow-y: auto; }
.feed .feed-head { padding: 0 8px 16px; display: flex; justify-content: space-between; align-items: center; }
.feed .feed-head h3 { font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.feed .feed-head .pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 0.2em;
  color: var(--cyan); text-transform: uppercase;
  border: 1px solid rgba(0,240,255,0.3);
  padding: 4px 8px; border-radius: 20px;
}
.feed-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.feed-card .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7B00FF, #00F0FF);
  flex-shrink: 0;
  position: relative;
}
.feed-card .avatar.badge-oou::after {
  content: '';
  position: absolute;
  right: -2px; bottom: -2px;
  width: 12px; height: 12px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
}
.feed-card .avatar.badge-v::after {
  content: '✓';
  position: absolute;
  right: -3px; bottom: -3px;
  width: 14px; height: 14px;
  background: var(--cyan);
  color: #000;
  border: 2px solid #000;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.feed-card .content { flex: 1; min-width: 0; }
.feed-card .name {
  font-size: 13px;
  font-weight: 800;
  color: var(--off);
  display: flex; gap: 6px; align-items: center;
}
.feed-card .name .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.feed-card .drink { font-size: 12px; color: var(--muted); margin-top: 2px; }
.feed-card .tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px;
}
.feed-card .tier.legendary { color: var(--gold); }
.feed-card .tier.epic { color: #b366ff; }
.feed-card .tier.common { color: var(--muted); }
.feed-card .tier.rare { color: #4d8eff; }

/* Neural */
.screen.neural { padding: 60px 20px 20px; display: flex; flex-direction: column; gap: 18px; }
.neural .nhead { display: flex; justify-content: space-between; align-items: center; }
.neural .nhead .t { font-size: 10px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
.neural .ring { width: 180px; height: 180px; margin: 10px auto; position: relative; }
.neural .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.neural .ring .bg-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 10; }
.neural .ring .arc { fill: none; stroke: var(--cyan); stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--cyan)); animation: arc-pulse 2s ease-in-out infinite; }
@keyframes arc-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px var(--cyan)); }
  50% { filter: drop-shadow(0 0 16px var(--cyan)); }
}
.neural .ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.neural .ring .val .num { font-weight: 900; font-size: 56px; color: var(--off); letter-spacing: -0.04em; animation: num-flicker 4s ease-in-out infinite; }
@keyframes num-flicker {
  0%, 100% { opacity: 1; }
  92%, 94% { opacity: 0.6; }
}
.neural .ring .val .lbl { font-family: 'JetBrains Mono', monospace; font-size: 8px; letter-spacing: 0.3em; color: var(--cyan); text-transform: uppercase; }
.neural .bars { display: flex; gap: 4px; align-items: flex-end; height: 44px; margin-top: 8px; }
.neural .bars span { flex: 1; background: var(--cyan); opacity: 0.25; border-radius: 1px; }
.neural .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.neural .stat-cell {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 12px;
}
.neural .stat-cell .sk { font-family: 'JetBrains Mono', monospace; font-size: 8px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.neural .stat-cell .sv { font-weight: 800; font-size: 20px; color: var(--off); margin-top: 4px; letter-spacing: -0.02em; }
.neural .stat-cell .sv.cyan { color: var(--cyan); }

/* ============================================================ */
/* Rarity tiers — vertical cascade (no horizontal scroll)        */
/* ============================================================ */
.tiers-cascade {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px;
}
@media (max-width: 720px) { .tiers-cascade { padding: 0 20px; } }

.tier-stage {
  min-height: 60vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  border-top: 1px solid var(--rule);
  padding: 80px 0;
  transition: opacity 600ms;
}
@media (max-width: 720px) {
  .tier-stage { grid-template-columns: 1fr; min-height: 80vh; text-align: center; }
}
.tier-stage .tier-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tier-stage .tier-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier-stage .tier-big-name {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 10vw, 180px);
  letter-spacing: -0.05em;
  line-height: 0.88;
  text-transform: lowercase;
}
.tier-stage .tier-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.7vw, 24px);
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.4;
}
.tier-stage .tier-drop {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.tier-stage .tier-drop b { color: var(--off); font-weight: 500; }

.tier-stage .tier-visual {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tier-can-3d {
  width: 180px;
  height: 360px;
  border-radius: 24px;
  position: relative;
  transition: transform 600ms;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.4);
}
.tier-can-3d::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 70%;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
}
.tier-can-3d::after {
  content: 'STIMHEAD';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}
.tier-stage:hover .tier-can-3d { transform: scale(1.04); }

/* Individual tier visuals */
.t-common .tier-can-3d { background: linear-gradient(160deg, #c9ced8 0%, #6d727b 100%); }
.t-common .tier-big-name { color: #c9ced8; }

.t-uncommon .tier-can-3d {
  background: linear-gradient(160deg, #67faff 0%, #008f99 100%);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.3), 0 0 80px rgba(0,240,255,0.3);
}
.t-uncommon .tier-big-name { color: var(--cyan); }

.t-rare .tier-can-3d {
  background: linear-gradient(160deg, #85acff 0%, #1a3a9e 100%);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.3), 0 0 80px rgba(77,142,255,0.35);
}
.t-rare .tier-big-name { color: #85acff; }
.t-rare .tier-visual::before,
.t-rare .tier-visual::after {
  content: '';
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #85acff;
  box-shadow: 0 0 8px #85acff;
  animation: particle-rise 3s linear infinite;
}
.t-rare .tier-visual::before { left: 30%; top: 80%; animation-delay: 0s; }
.t-rare .tier-visual::after { left: 70%; top: 80%; animation-delay: 1.5s; }
@keyframes particle-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-300px) scale(0.3); opacity: 0; }
}

.t-epic .tier-can-3d {
  background: linear-gradient(160deg, #b366ff 0%, #4a00a0 100%);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.3), 0 0 100px rgba(123,0,255,0.4);
}
.t-epic .tier-visual::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,0,255,0.25) 0%, transparent 70%);
  animation: epic-field 4s ease-in-out infinite;
}
@keyframes epic-field {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}
.t-epic .tier-big-name { color: #b366ff; }

.t-legendary .tier-can-3d {
  background: linear-gradient(160deg, #fff3c4 0%, #d4af37 40%, #9b7a1a 100%);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.25), 0 0 120px rgba(212,175,55,0.5);
  animation: legend-rotate 18s linear infinite;
}
@keyframes legend-rotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.t-legendary .tier-big-name {
  background: linear-gradient(180deg, #fff3c4 0%, #d4af37 50%, #6b5418 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.t-godly { position: relative; }
.t-godly::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,240,255,0.15), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255,0,110,0.15), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(123,0,255,0.15), transparent 40%);
  pointer-events: none;
  animation: aurora 8s ease-in-out infinite;
}
@keyframes aurora {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.t-godly .tier-can-3d {
  background: conic-gradient(from 0deg, #ff006e 0%, #d4af37 15%, #00f0ff 30%, #7b00ff 45%, #ff006e 60%, #d4af37 75%, #00f0ff 90%, #ff006e 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.25), 0 0 150px rgba(255,255,255,0.35);
  animation: godly-spin-fast 6s linear infinite;
  filter: drop-shadow(2px 0 0 rgba(255,0,110,0.4)) drop-shadow(-2px 0 0 rgba(0,240,255,0.4));
}
@keyframes godly-spin-fast {
  0% { transform: rotateY(0deg); filter: hue-rotate(0deg) drop-shadow(2px 0 0 rgba(255,0,110,0.4)) drop-shadow(-2px 0 0 rgba(0,240,255,0.4)); }
  100% { transform: rotateY(360deg); filter: hue-rotate(360deg) drop-shadow(2px 0 0 rgba(255,0,110,0.4)) drop-shadow(-2px 0 0 rgba(0,240,255,0.4)); }
}
.t-godly .tier-can-3d::after { color: #000; }
.t-godly .tier-big-name {
  background: linear-gradient(90deg, #ff006e, #d4af37, #00f0ff, #7b00ff, #ff006e);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: godly-text 3s linear infinite;
}
@keyframes godly-text { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* Keep old tier cards hidden if any remain */
.tiers-rail { display: none !important; }
.tier-card { display: none !important; }
.tiers-rail::-webkit-scrollbar { display: none; }
@media (max-width: 720px) { .tiers-rail { padding: 20px 20px 60px; margin: 0 -20px; } }
.tier-card {
  flex-shrink: 0;
  width: 320px;
  height: 480px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), border-color 400ms;
}
.tier-card:hover { transform: translateY(-6px) rotateX(4deg); }
.tier-card .tier-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.tier-card .tier-name {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: lowercase;
}
.tier-card .tier-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.tier-card .tier-can {
  align-self: center;
  width: 120px;
  height: 220px;
  border-radius: 18px;
  position: relative;
  transition: transform 400ms;
}
.tier-card:hover .tier-can { transform: scale(1.04) rotate(-2deg); }
.tier-card .tier-can::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}
.tier-card .tier-can::after {
  content: attr(data-name);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.tier-card .tier-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier-card .tier-meta .drop { color: var(--off); }

.tier-card.common { border-color: rgba(180,186,200,0.25); }
.tier-card.common .tier-can { background: linear-gradient(160deg, #c9ced8 0%, #6d727b 100%); box-shadow: inset 0 0 40px rgba(0,0,0,0.4); }
.tier-card.common .tier-name { color: #c9ced8; }
.tier-card.uncommon { border-color: rgba(0,240,255,0.3); }
.tier-card.uncommon .tier-can { background: linear-gradient(160deg, #67faff 0%, #008f99 100%); box-shadow: inset 0 0 40px rgba(0,0,0,0.35), 0 0 40px rgba(0,240,255,0.15); }
.tier-card.uncommon .tier-name { color: var(--cyan); }
.tier-card.rare { border-color: rgba(77,142,255,0.35); }
.tier-card.rare .tier-can { background: linear-gradient(160deg, #85acff 0%, #1a3a9e 100%); box-shadow: inset 0 0 40px rgba(0,0,0,0.4), 0 0 40px rgba(77,142,255,0.15); }
.tier-card.rare .tier-name { color: #85acff; }
.tier-card.epic { border-color: rgba(123,0,255,0.4); }
.tier-card.epic .tier-can { background: linear-gradient(160deg, #b366ff 0%, #4a00a0 100%); box-shadow: inset 0 0 40px rgba(0,0,0,0.4), 0 0 50px rgba(123,0,255,0.2); }
.tier-card.epic .tier-name { color: #b366ff; }
.tier-card.legendary { border-color: rgba(212,175,55,0.45); }
.tier-card.legendary .tier-can { background: linear-gradient(160deg, #f3e2a0 0%, #9b7a1a 100%); box-shadow: inset 0 0 40px rgba(0,0,0,0.35), 0 0 60px rgba(212,175,55,0.2); }
.tier-card.legendary .tier-name { color: var(--gold); }
.tier-card.godly { border-color: rgba(255,255,255,0.6); }
.tier-card.godly .tier-can {
  background: conic-gradient(from 0deg, #ff006e 0%, #d4af37 15%, #00f0ff 30%, #7b00ff 45%, #ff006e 60%, #d4af37 75%, #00f0ff 90%, #ff006e 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.3), 0 0 80px rgba(255,255,255,0.25);
  animation: godly-spin 12s linear infinite;
}
.tier-card.godly .tier-can::after { color: #000; }
@keyframes godly-spin { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }
.tier-card.godly .tier-name {
  background: linear-gradient(90deg, #ff006e, #d4af37, #00f0ff, #7b00ff, #ff006e);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: godly-text 4s linear infinite;
}
@keyframes godly-text { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* ============================================================ */
/* Social                                                        */
/* ============================================================ */
.social-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 960px) { .social-list { grid-template-columns: 1fr; } }
.social-panel {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #050608;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  transition: border-color 400ms, transform 400ms;
}
.social-panel:hover { border-color: rgba(0,240,255,0.4); transform: translateY(-4px); }
.social-panel .sbg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1), filter 400ms;
}
.social-panel:hover .sbg { transform: scale(1.06); }
.social-panel.ig .sbg {
  background:
    radial-gradient(circle at 30% 80%, rgba(255,221,89,0.35), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(255,0,110,0.4), transparent 50%),
    radial-gradient(circle at 30% 30%, rgba(123,0,255,0.35), transparent 50%),
    linear-gradient(180deg, #1a0a14, #0a0408);
}
.social-panel.x .sbg {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(180deg, #0a0a0c, #050506);
}
.social-panel.tt .sbg {
  background:
    radial-gradient(circle at 25% 30%, rgba(0,240,255,0.35), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(255,0,110,0.3), transparent 45%),
    linear-gradient(180deg, #04080a, #050306);
}
.social-panel .frame-lines {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: 1;
}
.social-panel .chapter {
  position: absolute;
  top: 32px;
  left: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--cyan);
  z-index: 2;
}
.social-panel .sicon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  color: var(--off);
  z-index: 2;
  transition: transform 400ms, background 300ms, border-color 300ms, color 300ms;
}
.social-panel:hover .sicon {
  transform: translate(-50%,-50%) scale(1.1);
  background: rgba(0,240,255,0.12);
  border-color: var(--cyan);
  color: var(--cyan);
}
.social-panel .sicon svg { width: 36px; height: 36px; }
.social-panel .sinfo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.social-panel .title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 2.4vw, 36px);
  text-transform: lowercase;
  letter-spacing: -0.03em;
  color: var(--off);
}
.social-panel .status-block {
  text-align: right;
  display: flex; flex-direction: column; gap: 4px;
  flex-shrink: 0;
}
.social-panel .status-block .st { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--cyan); }
.social-panel .status-block .date { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--off); }
@media (max-width: 720px) {
  .social-panel { padding: 24px; aspect-ratio: 4 / 3; }
  .social-panel .chapter { top: 20px; left: 24px; }
  .social-panel .sinfo { flex-direction: column; align-items: flex-start; }
}

/* ============================================================ */
/* Trilogy (legacy, unused)                                      */
/* ============================================================ */
.trilogy-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.trilogy-panel {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0e15 0%, #030508 100%);
  border: 1px solid var(--rule);
  display: flex;
  align-items: flex-end;
  padding: 40px 48px;
  transition: border-color 400ms;
}
.trilogy-panel:hover { border-color: rgba(0,240,255,0.3); }
.trilogy-panel.locked { opacity: 0.55; }
.trilogy-panel .tbg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  filter: grayscale(0.3);
  transition: transform 800ms cubic-bezier(.2,.7,.2,1), filter 400ms;
}
.trilogy-panel:hover .tbg { transform: scale(1.04); filter: grayscale(0); }
.trilogy-panel.p1 .tbg { background: radial-gradient(circle at 30% 50%, rgba(0,240,255,0.35), transparent 40%), radial-gradient(circle at 70% 40%, rgba(123,0,255,0.25), transparent 50%), linear-gradient(180deg, #030510, #0a1020); }
.trilogy-panel.p2 .tbg { background: radial-gradient(circle at 50% 60%, rgba(255,0,110,0.25), transparent 45%), linear-gradient(180deg, #0a0408, #150a10); }
.trilogy-panel.p3 .tbg { background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.22), transparent 45%), linear-gradient(180deg, #0a0804, #151008); }
.trilogy-panel .frame-lines {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.trilogy-panel .chapter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--cyan);
  text-transform: uppercase;
  position: absolute;
  top: 40px;
  left: 48px;
}
.trilogy-panel.locked .chapter { color: var(--muted); }
.trilogy-panel .tinfo {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 40px;
}
.trilogy-panel .title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 80px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--off);
}
.trilogy-panel.locked .title { color: var(--muted); }
.trilogy-panel .status-block {
  text-align: right;
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}
.trilogy-panel .status-block .st { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--cyan); }
.trilogy-panel.locked .status-block .st { color: var(--muted); }
.trilogy-panel .status-block .date { font-size: 12px; letter-spacing: 0.2em; color: var(--off); }
.trilogy-panel .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  background: rgba(0,240,255,0.04);
  transition: transform 400ms, background 300ms;
}
.trilogy-panel:hover .play { transform: translate(-50%,-50%) scale(1.1); background: rgba(0,240,255,0.12); }
.trilogy-panel.locked .play { border-color: var(--muted); color: var(--muted); background: rgba(0,0,0,0.5); }
.trilogy-panel .play svg { width: 22px; height: 22px; }
.trilogy-panel .sigil { position: absolute; bottom: 40px; right: 48px; width: 30px; height: 30px; opacity: 0.5; }
@media (max-width: 720px) {
  .trilogy-panel { padding: 24px; aspect-ratio: 4 / 3; }
  .trilogy-panel .chapter { top: 24px; left: 24px; }
  .trilogy-panel .sigil { bottom: 24px; right: 24px; }
  .trilogy-panel .tinfo { flex-direction: column; align-items: flex-start; }
}

/* ============================================================ */
/* FAQ                                                           */
/* ============================================================ */
.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--rule);
}
.faq-row { border-bottom: 1px solid var(--rule); }
.faq-row summary {
  list-style: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  transition: color 200ms;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary:hover { color: var(--cyan); }
.faq-row .q {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.faq-row .plus { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.faq-row .plus::before, .faq-row .plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
}
.faq-row .plus::before { width: 18px; height: 1px; transform: translate(-50%,-50%); }
.faq-row .plus::after { width: 1px; height: 18px; transform: translate(-50%,-50%); transition: transform 300ms; }
.faq-row[open] .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-row .a {
  padding: 0 0 28px;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  line-height: 1.7;
  max-width: 65ch;
}

/* ============================================================ */
/* Final CTA                                                     */
/* ============================================================ */
.final-cta {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,240,255,0.08), transparent 60%);
  pointer-events: none;
}
.final-cta .headline {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 128px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: lowercase;
  color: var(--off);
  margin-bottom: 140px;
  max-width: 1400px;
  text-wrap: balance;
}
.final-cta .headline .cyan-accent { color: var(--cyan); }
.final-cta .actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
}
.final-cta .sub {
  margin-top: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================ */
/* Footer                                                        */
/* ============================================================ */
footer {
  padding: 80px 48px 40px;
  border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
footer .foot-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) {
  footer { padding: 60px 20px 30px; }
  footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
footer .fword {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--off);
}
footer .fcol h4 { font-weight: 400; color: var(--dim); margin-bottom: 16px; font-size: 10px; }
footer .fcol a { display: block; color: var(--muted); padding: 4px 0; transition: color 200ms; }
footer .fcol a:hover { color: var(--cyan); }
footer .easter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  transition: color 200ms;
}
footer .easter:hover { color: var(--cyan); }
footer .easter .edot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(0,240,255,0.5);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
footer .fbottom {
  max-width: 1440px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 9px;
  color: var(--dim);
}

/* ============================================================ */
/* Tweaks panel                                                  */
/* ============================================================ */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 8px;
  padding: 18px;
  z-index: 200;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.tweaks-panel.visible { display: block; }
.tweaks-panel h4 {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.tweak-row { margin-bottom: 14px; }
.tweak-row label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.tweak-row .swatches { display: flex; gap: 6px; }
.tweak-row .sw {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: transform 200ms;
}
.tweak-row .sw:hover { transform: scale(1.15); }
.tweak-row .sw.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.2); }
.tweak-row .toggle { display: flex; gap: 4px; }
.tweak-row .toggle button {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 3px;
}
.tweak-row .toggle button.active { color: var(--cyan); border-color: var(--cyan); background: rgba(0,240,255,0.08); }


/* ============================================================ */
/* CLARITY HUD — over hero on title stage                        */
/* ============================================================ */
.hero-clarity {
  position: absolute;
  left: 50%;
  bottom: 5vh;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1);
  width: min(720px, 90vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-overlay[data-stage="title"] ~ .hero-clarity { opacity: 1; }

.clarity-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  padding: 6px 12px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.04);
  backdrop-filter: blur(8px);
}
.clarity-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.clarity-title {
  font-family: 'Major Mono Display', 'JetBrains Mono', monospace;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
  font-weight: 400;
}
.clarity-sub {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: clamp(13px, 1.3vw, 16px);
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: 560px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.clarity-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.clarity-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.clarity-meta b { color: var(--off); font-weight: 500; }
.clarity-meta .sep { opacity: 0.4; }

/* ============================================================ */
/* App Store button (canonical)                                  */
/* ============================================================ */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  font-family: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
  text-decoration: none;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms;
  box-shadow: 0 4px 24px rgba(0, 240, 255, 0.15), 0 0 0 1px rgba(255,255,255,0.06);
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.3), 0 0 0 1px rgba(0, 240, 255, 0.5);
}
.btn-appstore svg { width: 26px; height: 26px; }
.btn-appstore .bsm {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  line-height: 1;
  margin-bottom: 3px;
}
.btn-appstore .bbig {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}
.btn-appstore.lg { padding: 14px 28px; }
.btn-appstore.lg svg { width: 30px; height: 30px; }
.btn-appstore.lg .bbig { font-size: 21px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  color: var(--off);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: all 200ms;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.04);
}

/* ============================================================ */
/* FEATURES                                                       */
/* ============================================================ */
.features-panel {
  padding: 140px 6vw 120px;
  position: relative;
}
.features-headline {
  font-family: 'Major Mono Display', 'JetBrains Mono', monospace;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 28px 0 80px;
  max-width: 18ch;
}
.cyan-accent { color: var(--cyan); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.feat {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 300ms;
}
.feat:hover { background: rgba(0, 240, 255, 0.025); }
.feat-icon {
  width: 44px;
  height: 44px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-icon svg { width: 100%; height: 100%; }
.feat h3 {
  font-family: 'Major Mono Display', 'JetBrains Mono', monospace;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #fff;
  font-weight: 400;
  margin-top: 8px;
}
.feat p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 32ch;
}

/* ============================================================ */
/* TRUST STATS                                                    */
/* ============================================================ */
.trust-panel {
  padding: 80px 6vw;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(0,240,255,0.02), transparent);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.trust-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ts-num {
  font-family: 'Major Mono Display', 'JetBrains Mono', monospace;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ts-lbl {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}
.live-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 16px #ff3b3b;
  animation: pulse-dot 1.5s ease-in-out infinite;
  vertical-align: middle;
}
.trust-stat .ts-num:has(.live-dot) {
  font-size: clamp(28px, 3.4vw, 44px);
  color: #ff3b3b;
}

/* ============================================================ */
/* MID-PAGE CTA                                                   */
/* ============================================================ */
.midcta-panel {
  padding: 100px 6vw;
  background: radial-gradient(ellipse at center, rgba(0,240,255,0.08), transparent 60%);
  position: relative;
}
.midcta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,240,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.midcta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.midcta-text { flex: 1; min-width: 280px; }
.midcta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.midcta-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.midcta-h {
  font-family: 'Major Mono Display', 'JetBrains Mono', monospace;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 400;
  margin-bottom: 12px;
}
.midcta-p {
  color: var(--muted);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ============================================================ */
/* MOBILE                                                         */
/* ============================================================ */
@media (max-width: 880px) {
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .midcta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-clarity { bottom: 9vh; gap: 11px; width: 92vw; }
  .clarity-cta { gap: 10px; }
  .btn-appstore { padding: 10px 18px; }
  .btn-appstore svg { width: 22px; height: 22px; }
  .btn-appstore .bbig { font-size: 16px; }
  .features-headline { margin: 20px 0 50px; }
  .features-panel { padding: 100px 5vw 80px; }
}


/* ============================================================ */
/* PREMIUM POLISH — typography & micro-rhythm                    */
/* ============================================================ */

/* clarity title: tighter leading + scale; cyan accent on second line */
.clarity-title {
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.7);
}
.clarity-title .cyan-accent {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}
.clarity-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--off);
  opacity: 0.85;
  max-width: 540px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

/* clarity meta: refined separator + subtler weight */
.clarity-meta {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-top: 4px;
}
.clarity-meta b {
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* features headline: stronger optical kerning */
.features-headline {
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

/* features cards: subtle accent line on hover, refined typography */
.feat {
  transition: background 300ms cubic-bezier(.2,.7,.2,1), transform 300ms;
}
.feat::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.feat:hover::after { transform: scaleX(1); }
.feat h3 {
  font-size: 21px;
  letter-spacing: -0.005em;
}
.feat p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0;
  opacity: 0.85;
}

/* trust stats: unit styling for ★ and s */
.ts-num {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-feature-settings: 'tnum' 1;
}
.ts-unit {
  font-size: 0.55em;
  color: var(--cyan);
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 2px;
}
.trust-stat .ts-num:has(.live-dot) {
  font-size: clamp(28px, 3.4vw, 44px);
  color: #ff3b3b;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* mid CTA: refine eyebrow weight, button shadow more luxe */
.midcta-eyebrow {
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  opacity: 0.9;
}
.midcta-h {
  letter-spacing: -0.025em;
  line-height: 1.0;
}
.midcta-p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--off);
  opacity: 0.78;
  line-height: 1.5;
  margin-top: 4px;
  max-width: 48ch;
}

/* App Store button: premium press feedback */
.btn-appstore {
  font-feature-settings: 'ss01' 1;
}
.btn-appstore .bbig {
  letter-spacing: -0.015em;
}
.btn-appstore::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(ellipse at top, rgba(0,240,255,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 280ms;
  pointer-events: none;
  z-index: -1;
}
.btn-appstore:hover::after { opacity: 1; }

/* features grid: slightly more breathing inside cards on desktop */
@media (min-width: 1100px) {
  .feat { padding: 48px 36px; }
  .features-grid { gap: 1px; }
}

/* clarity HUD stays compact + low so the 3D wordmark is never covered */
@media (min-height: 900px) {
  .hero-clarity { bottom: 6vh; }
}


/* ============================================================ */
/* OTHERWORLDLY LAYER — aurora, ticker, cursor, display type     */
/* ============================================================ */

/* Aurora atmosphere — fixed, behind all content */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.10;
  will-change: transform;
}
.aurora span:nth-child(1) {
  background: radial-gradient(circle, #00F0FF, transparent 65%);
  top: -20vw; left: -15vw;
  animation: aurora-drift-1 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  background: radial-gradient(circle, #7B00FF, transparent 65%);
  bottom: -25vw; right: -10vw;
  animation: aurora-drift-2 32s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
  background: radial-gradient(circle, #FF006E, transparent 65%);
  top: 30vh; left: 40vw;
  width: 45vw; height: 45vw;
  opacity: 0.06;
  animation: aurora-drift-3 38s ease-in-out infinite alternate;
}
@keyframes aurora-drift-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12vw, 18vh) scale(1.25); }
}
@keyframes aurora-drift-2 {
  0% { transform: translate(0, 0) scale(1.15); }
  100% { transform: translate(-14vw, -12vh) scale(0.9); }
}
@keyframes aurora-drift-3 {
  0% { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(-18vw, 10vh) scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora span { animation: none; }
}

/* Cursor glow — soft cyan light that follows the pointer */
.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(0,240,255,0.07), transparent 65%);
  transform: translate(-50%, -50%);
  left: 50vw; top: 50vh;
  transition: opacity 400ms;
  opacity: 0;
  will-change: left, top;
}
body:hover .cursor-glow { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Kinetic ticker strips */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(0, 240, 255, 0.015);
  padding: 18px 0;
  z-index: 1;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker.reverse .ticker-track { animation-direction: reverse; }
.ticker-track span {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 240, 255, 0.45);
  padding-right: 24px;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Syne — otherworldly display voice on the big moments */
.clarity-title,
.features-headline,
.midcta-h,
.circle-headline,
.final-cta .headline,
.stage-door .door-head {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 800;
}
.clarity-title { letter-spacing: -0.01em; }
.features-headline { letter-spacing: -0.01em; }
.midcta-h { letter-spacing: -0.01em; }
.final-cta .headline { letter-spacing: -0.02em; }

/* feature card titles get the alien voice too, lighter */
.feat h3 {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 700;
}

/* trust numbers — Syne for the figures */
.ts-num {
  font-family: 'Syne', 'JetBrains Mono', monospace;
  font-weight: 800;
}

/* sections sit above the aurora */
section.panel, .final-cta, footer, .midcta-panel, .trust-panel { position: relative; z-index: 1; }


/* ============================================================ */
/* RARITY TIERS — 3 x 2 GRID (override the vertical cascade)     */
/* ============================================================ */
#tiers .tiers-cascade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
#tiers .tiers-cascade .tier-stage {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 36px 24px 30px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0));
  transition: border-color 350ms cubic-bezier(.2,.7,.2,1), transform 350ms, background 350ms;
}
#tiers .tiers-cascade .tier-stage:hover {
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(0,240,255,0.04), rgba(255,255,255,0));
}
/* can/visual sits on top of the card */
#tiers .tier-visual {
  order: -1;
  width: 100%;
  height: 240px;
  margin-bottom: 22px;
}
#tiers .tier-can-3d {
  width: 104px;
  height: 208px;
  border-radius: 16px;
}
#tiers .tier-can-3d::after {
  font-size: 13px;
  letter-spacing: 0.28em;
}
/* text block tightened for card scale */
#tiers .tier-body {
  align-items: center;
  gap: 10px;
}
#tiers .tier-label { font-size: 10px; letter-spacing: 0.4em; }
#tiers .tier-big-name {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}
#tiers .tier-desc {
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 30ch;
  opacity: 0.8;
}
#tiers .tier-drop {
  font-size: 10px;
  letter-spacing: 0.28em;
  margin-top: 6px;
}

/* per-tier accent border on hover keeps each rarity identity */
#tiers .t-common:hover    { border-color: rgba(201,206,216,0.5); }
#tiers .t-uncommon:hover  { border-color: rgba(0,240,255,0.55); }
#tiers .t-rare:hover      { border-color: rgba(133,172,255,0.55); }
#tiers .t-epic:hover      { border-color: rgba(179,102,255,0.55); }
#tiers .t-legendary:hover { border-color: rgba(212,175,55,0.6); }
#tiers .t-godly:hover     { border-color: rgba(255,255,255,0.6); }

/* tablet: 2 across */
@media (max-width: 900px) {
  #tiers .tiers-cascade { grid-template-columns: repeat(2, 1fr); }
}
/* phone: single column */
@media (max-width: 560px) {
  #tiers .tiers-cascade { grid-template-columns: 1fr; padding: 0 20px; }
  #tiers .tier-visual { height: 220px; }
}


/* ============================================================ */
/* SCROLL HINT — now lives inside the clarity HUD, in the gap    */
/* under the rating / social-feed line (not covered by buttons)  */
/* ============================================================ */
.hero-clarity .scroll-ind.in-hud {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  margin-top: 16px;
  opacity: 0.6;
  gap: 8px;
}
.hero-clarity .scroll-ind.in-hud .bar {
  height: 34px;
}
/* on phones the hint hides (HUD itself still shows) and the HUD
   sits a touch higher so nothing crowds the bottom edge */
@media (max-width: 720px) {
  .hero-clarity .scroll-ind.in-hud { display: none; }
}


/* ============================================================ */
/* DEVICE HARDENING — appended. Makes the page sit cleanly on    */
/* every screen (phone → ultrawide) without touching the design. */
/* ============================================================ */

/* John 3:16 — bottom-of-page verse; reads as a sentence inside the
   otherwise-uppercase footer */
.bible-verse {
  max-width: 1440px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: 'Inter', system-ui, sans-serif;
  font-style: italic;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
  color: var(--muted);
}
.bible-verse .ref { color: #d4af37; font-style: normal; }

/* Hero sticky: small-viewport-height so the mobile address bar can't
   clip the 3D scene (falls back to 100vh where unsupported) */
@supports (height: 100svh) {
  .hero-sticky { height: 100svh; }
}

/* Phones: keep the giant circle counter on ONE line inside the viewport
   (its white-space:nowrap would otherwise force horizontal scroll) */
@media (max-width: 768px) {
  /* belt-and-suspenders: clip stray horizontal overflow WITHOUT
     overflow:hidden, which would break the sticky hero (clip does not
     create a scroll container, so position:sticky still works) */
  html, body { overflow-x: clip; }
  .counter-number { font-size: clamp(48px, 15vw, 104px); }
  /* footer easter link wraps under the columns instead of crowding them */
  footer .easter { grid-column: 1 / -1; justify-content: center; margin-top: 8px; }
}
@media (max-width: 560px) {
  .counter-number { font-size: clamp(40px, 13vw, 78px); }
  .bible-verse { font-size: 11px; padding: 24px 16px 0; }
}
