/* VICE TIME — colours copied from ViceTime/Theme/Theme.swift (enum Vice). */
:root {
  --night: #0f0826;      /* 0.06 0.03 0.15 */
  --indigo: #21124d;     /* 0.13 0.07 0.30 */
  --pink: #ff3da6;       /* 1.00 0.24 0.65 */
  --magenta: #d91f8c;    /* 0.85 0.12 0.55 */
  --turquoise: #2ee3e6;  /* 0.18 0.89 0.90 */
  --teal: #0d9ead;
  --sunset: #ff993d;     /* 1.00 0.60 0.24 */
  --gold: #ffd140;       /* 1.00 0.82 0.25 */
  --violet: #9c5ce6;

  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.5);
  --hairline: rgba(255, 255, 255, 0.12);
  --card: rgba(0, 0, 0, 0.32);
  --fill: rgba(255, 255, 255, 0.08);

  --corner: 10px;
  --control: 6px;
  --max: 1120px;
  --gutter: 20px;

  --display: "Barlow Condensed", "SF Pro Display", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }

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

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 0;
}
.wordmark {
  background: linear-gradient(180deg, var(--gold), var(--sunset) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--turquoise); margin: 0 0 14px;
}
.lede { color: var(--text-2); font-size: 19px; max-width: 34ch; margin: 22px 0 0; }
.vt { color: var(--gold); font-weight: 700; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.scrolled {
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(15, 8, 38, 0.6);
  border-bottom-color: var(--hairline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons (mirrors ViceButtonStyle) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--control);
  font: 700 15px/1 var(--body);
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: #fff; border: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--pink), #e0409c);
  box-shadow: 0 0 28px rgba(255, 61, 166, 0.45);
  transition: box-shadow .2s, opacity .2s, transform .1s;
}
.btn:hover { box-shadow: 0 0 40px rgba(255, 61, 166, 0.65); }
.btn:active { transform: translateY(1px); opacity: 0.85; }
.btn.secondary { background: rgba(15, 8, 38, 0.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn svg { width: 20px; height: 20px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { color: var(--text-3); font-size: 14px; margin-top: 14px; }

/* ---------- Stage: pinned scene + scrolling panels ---------- */
.stage { position: relative; }
.scene {
  --p: 0;            /* scroll progress through the stage, 0..1 (set by main.js) */
  --mx: 0;           /* pointer x, -1..1 */
  --horizon: 72%;
  --sun: min(70vw, 44vh);
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--night);
}
.scene > * { position: absolute; }
.sky {
  inset: 0;
  background: linear-gradient(180deg, #0f0826 0%, #21124d 34%, #d91f8c 60%, #ff993d 72%);
}
.night {
  inset: 0;
  background: linear-gradient(180deg, #07031a 0%, #120836 45%, #4a1170 72%);
  opacity: calc(var(--p) * 0.92);
}

.stars { inset: 0 0 40% 0; transform: translate3d(calc(var(--mx) * -6px), calc(var(--p) * -30px), 0); }
.stars i {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff;
  opacity: 0; transition: opacity 1.2s;
  animation: twinkle var(--d) ease-in-out var(--o) infinite alternate;
}
.stars i.on { opacity: var(--a); }
@keyframes twinkle { to { transform: scale(0.5); } }

.sunwrap {
  left: 50%; top: calc(var(--horizon) - var(--sun) * 0.5);
  width: var(--sun); height: var(--sun);
  transform: translate3d(calc(-50% + var(--mx) * -10px), calc(var(--p) * var(--sun) * 0.42), 0);
}
.glow {
  position: absolute; inset: -60%;
  background: radial-gradient(closest-side, rgba(255,153,61,.55), rgba(255,61,166,.22) 55%, transparent);
  opacity: calc(1 - var(--p) * 0.5);
}
.sun {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--sunset) 55%, var(--pink));
  --m: linear-gradient(#000 0 54%, transparent 54% 56.5%, #000 56.5% 63%, transparent 63% 66.5%, #000 66.5% 72%, transparent 72% 76.5%, #000 76.5% 81%, transparent 81% 86.5%, #000 86.5% 90%, transparent 90% 96%, #000 96%);
  -webkit-mask-image: var(--m); mask-image: var(--m);
}

.beams { left: 0; right: 0; top: 0; height: var(--horizon); opacity: 0; transition: opacity 1.5s; }
.has-beams .beams { opacity: 1; }
.beams i {
  position: absolute; bottom: 0; left: 30%; width: 14vh; height: 78vh; margin-left: -7vh;
  background: linear-gradient(to top, rgba(255,255,255,.34), rgba(255,255,255,0) 85%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform-origin: 50% 100%;
  animation: sweep 9s ease-in-out infinite alternate;
}
.beams i + i { left: 68%; animation-duration: 11s; animation-direction: alternate-reverse; }
@keyframes sweep { from { transform: rotate(-22deg); } to { transform: rotate(20deg); } }

.skyline {
  left: 0; width: 100%; bottom: calc(100% - var(--horizon)); height: 55vh;
  max-width: none; overflow: visible;
}
.skyline.far { transform: translate3d(calc(var(--mx) * -14px), 0, 0); opacity: calc(0.55 + var(--p) * 0.3); }
.skyline.near { transform: translate3d(calc(var(--mx) * -26px), 0, 0); }
.w { fill: rgba(255, 255, 255, 0.07); transition: fill .8s; }
.w.on { fill: currentColor; }

.water {
  left: 0; right: 0; top: var(--horizon); bottom: 0; overflow: hidden;
  background: linear-gradient(180deg, #5a1460 0%, #2a0d45 45%, var(--night) 100%);
  border-top: 3px solid var(--turquoise);
  box-shadow: 0 0 24px rgba(46, 227, 230, .7);
}
.water::after { /* dims the water as night falls */
  content: ""; position: absolute; inset: 0; background: #0b0522; opacity: calc(var(--p) * 0.55);
}
.ripples { position: absolute; inset: 0; opacity: calc(1 - var(--p) * 0.75); }
.ripples i {
  position: absolute; left: 50%; height: 5px; border-radius: 3px; background: var(--sunset);
  width: calc(var(--sun) * var(--w)); margin-left: calc(var(--sun) * var(--w) / -2); top: var(--y);
  animation: ripple 3.2s ease-in-out infinite alternate;
}
.ripples i:nth-child(1) { --w: .98; --y: 14%; }
.ripples i:nth-child(2) { --w: .80; --y: 27%; animation-delay: -1.6s; }
.ripples i:nth-child(3) { --w: .62; --y: 40%; }
.ripples i:nth-child(4) { --w: .44; --y: 53%; animation-delay: -1.6s; }
.ripples i:nth-child(5) { --w: .28; --y: 66%; }
@keyframes ripple { from { transform: scaleX(0.92); opacity: .75; } to { transform: scaleX(1.05); opacity: 1; } }

.boat {
  position: absolute; z-index: 1; top: 8%; left: 0; width: clamp(60px, 9vh, 110px);
  opacity: 0; transition: opacity 2s;
  animation: drift 70s linear infinite, bob 3s ease-in-out infinite alternate;
}
.has-boat .boat { opacity: 1; }
@keyframes drift { from { left: -15%; } to { left: 110%; } }
@keyframes bob { from { margin-top: 0; } to { margin-top: 3px; } }

.palm { --ph: min(76vh, 88vw); height: var(--ph); width: auto; max-width: none; bottom: -3vh; fill: #07030f; overflow: visible; }
.palm-l { left: calc(10vw - var(--ph) * 0.31); transform: translate3d(calc(var(--mx) * -54px), 0, 0); }
.palm-r { --ph: min(58vh, 66vw); right: calc(8vw - var(--ph) * 0.31); transform: translate3d(calc(var(--mx) * -44px), 0, 0) scaleX(-1); }
.palm path, .palm use { transform-box: fill-box; transform-origin: 55% 100%; animation: sway 4.6s ease-in-out infinite alternate; }
.palm-r use { animation-duration: 5.3s; animation-delay: -1.2s; }
@keyframes sway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.6deg); } }

/* HUD */
.hud {
  left: 50%; top: calc(100svh - 92px); transform: translateX(-50%);
  width: min(360px, calc(100vw - 40px)); padding: 12px 16px 10px;
  border-radius: var(--corner); border: 1px solid var(--hairline);
  background: rgba(15, 8, 38, 0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.hud-row { display: flex; justify-content: space-between; gap: 10px; color: var(--text-2); white-space: nowrap; }
.hud-row span:nth-child(2) { color: var(--turquoise); }
.hud-rep b { color: var(--text); font-variant-numeric: tabular-nums; }
.hud-bar { height: 4px; margin-top: 9px; border-radius: 2px; background: var(--fill); overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--pink), var(--violet), var(--turquoise)); }
.hud-hint { margin-top: 8px; text-align: center; color: var(--text-3); font-weight: 600; letter-spacing: 0.08em; transition: opacity .4s; }
.hud-hint.gone { opacity: 0; }

/* Panels */
.panels { position: relative; margin-top: -100vh; z-index: 2; }
.panel { min-height: 100vh; display: flex; padding: 0 var(--gutter); scroll-margin-top: 0; }

.hero { justify-content: center; text-align: center; padding-top: clamp(84px, 12svh, 130px); }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(64px, min(17vw, 13svh), 130px); text-shadow: 0 4px 40px rgba(15, 8, 38, .6); }
.hero .lede { max-width: 44ch; margin-top: 18px; color: rgba(255,255,255,.85); text-shadow: 0 1px 16px rgba(15, 8, 38, .9); }
.hero .ctas { justify-content: center; }

.step { padding-top: 18svh; padding-bottom: 12svh; justify-content: center; align-items: flex-start; }
@media (min-width: 900px) {
  .step.left { justify-content: flex-start; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + 20px)); }
  .step.right { justify-content: flex-end; padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + 20px)); }
}
.glass {
  width: 100%; max-width: 460px; padding: 28px 26px 30px;
  border-radius: var(--corner); border: 1px solid rgba(255,255,255,.16);
  background: rgba(15, 8, 38, 0.62);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.glass .num {
  display: block; font: 900 64px/1 var(--display); margin-bottom: 14px;
  background: linear-gradient(180deg, var(--gold), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glass h3 { font: 800 34px/1 var(--display); text-transform: uppercase; margin: 0 0 12px; letter-spacing: 0.01em; }
.glass p { margin: 0; color: var(--text-2); }
.glass .rate {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline);
  font: 900 26px/1 var(--display); text-transform: uppercase; color: var(--text);
  display: flex; gap: 12px; align-items: center;
}
.rate .eq { color: var(--text-3); }

/* Hold-to-earn demo */
.demo { max-width: 520px; text-align: center; }
.demo h2 { font-size: clamp(48px, 9vw, 76px); margin-bottom: 12px; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 20px; }
.app {
  position: relative; padding: 14px 4px 10px; border-radius: var(--corner);
  background: var(--fill); border: 1px solid var(--hairline);
  color: var(--text-3); font-size: 12px; font-weight: 600;
  transition: color .4s, border-color .4s, box-shadow .4s, background .4s;
  transition-delay: calc(var(--i) * 90ms);
}
.app > svg { width: 28px; height: 28px; margin: 0 auto 6px; }
.app::after { /* lock badge */
  content: ""; position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='6' y='11' width='12' height='8' rx='1.5' fill='white'/%3E%3Cpath d='M8.500 11V8a3.500 3.500 0 0 1 7 0v3'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform .35s, opacity .35s; transition-delay: calc(var(--i) * 90ms);
}
.apps.open .app { color: var(--text); border-color: var(--turquoise); background: rgba(46,227,230,.12); box-shadow: 0 0 18px rgba(46,227,230,.35); }
.apps.open .app::after { transform: scale(0) rotate(40deg); opacity: 0; }
.app:nth-child(1) { --i: 0; } .app:nth-child(2) { --i: 1; } .app:nth-child(3) { --i: 2; } .app:nth-child(4) { --i: 3; }

.hold-wrap { position: relative; }
.hold {
  position: relative; overflow: hidden; width: 100%; min-height: 60px; padding: 0 20px;
  border-radius: var(--control); border: 0; cursor: pointer; color: #fff;
  font: 700 15px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 61, 166, .22); box-shadow: inset 0 0 0 1px var(--pink), 0 0 26px rgba(255, 61, 166, .35);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation;
}
.hold::before {
  content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--pink), var(--sunset), var(--gold));
  transition: transform .25s ease-out;
}
.hold.holding::before { transform: scaleX(1); transition: transform 1.8s linear; }
.hold.done::before { transform: scaleX(1); transition: none; }
.hold span { position: relative; }
.hold.done { color: #2a1200; }

.burst { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.burst i {
  position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 55%, #c98a00);
  box-shadow: 0 0 10px rgba(255, 209, 64, .9);
  animation: coin .9s cubic-bezier(.15,.7,.3,1) forwards;
}
@keyframes coin {
  from { transform: translate(0, 0) scale(.4); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; }
}

.wallet {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2);
}
.wallet b { font-variant-numeric: tabular-nums; margin-left: 6px; }
.wallet .pop { display: inline-block; animation: pop .45s ease-out; }
@keyframes pop { 40% { transform: scale(1.5); } }

/* ---------- Sections below the stage ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(44px, 6vw, 72px); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.feature { padding: 26px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.feature svg { width: 28px; height: 28px; color: var(--pink); margin-top: 3px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; font-weight: 650; }
.feature p { margin: 0; color: var(--text-2); font-size: 16px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.privacy {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  padding: 40px; border-radius: var(--corner);
  background: var(--card); border: 1px solid var(--hairline);
}
.privacy .shield { width: 72px; height: 72px; color: var(--turquoise); filter: drop-shadow(0 0 12px rgba(46,227,230,.6)); }
.privacy h2 { font-size: clamp(36px, 5vw, 56px); }
.privacy p { color: var(--text-2); margin: 14px 0 0; max-width: 62ch; }
@media (max-width: 640px) { .privacy { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; } }

.final { text-align: center; padding-bottom: 120px; }
.final h2 { font-size: clamp(56px, 10vw, 120px); }
.final .lede { margin-left: auto; margin-right: auto; }
.final .ctas { justify-content: center; }

footer { border-top: 1px solid var(--hairline); padding: 32px 0 48px; color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; color: var(--text-2); }
footer a:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; border-radius: 4px; }

/* Reduce Motion: no ambient animation; main.js also switches the city to step changes. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Small phones: keep the hold label on one line and the demo card compact. */
@media (max-width: 480px) {
  .hold { font-size: 13px; letter-spacing: 0.05em; padding: 0 10px; white-space: nowrap; }
  .step { padding-top: 13svh; }
  .glass { padding: 22px 20px 24px; }
  .apps { margin: 18px 0 16px; }
}

/* Shorter stage: hero, then hold-to-earn, then all three steps in one panel. */
#earn { min-height: 86vh; padding-top: 15svh; padding-bottom: 6svh; }
.steps { min-height: 88vh; justify-content: center; align-items: flex-start; padding-top: 12svh; padding-bottom: 20svh; }
.steps-grid { width: 100%; max-width: var(--max); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps-head { grid-column: 1 / -1; margin-bottom: 8px; text-shadow: 0 2px 24px rgba(15, 8, 38, .8); }
.steps-head h2 { font-size: clamp(44px, 6vw, 72px); }
.steps-grid .glass { max-width: none; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }
.steps-head h2 { filter: drop-shadow(0 2px 14px rgba(15, 8, 38, .95)) drop-shadow(0 0 30px rgba(15, 8, 38, .8)); }

/* ================= Feature grid (mixed sizes, each tile has a small animation) ================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden; padding: 22px;
  border-radius: var(--corner); border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.28));
  transition: transform .3s, border-color .3s, box-shadow .3s, opacity .6s;
}
.tile:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 0 36px rgba(255, 61, 166, .35); }
.tile h3 { margin: 0 0 6px; font: 800 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.tile p { margin: 0; color: var(--text-2); font-size: 16px; }
.t-apps, .t-city { grid-column: span 3; }
.t-access { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
@media (max-width: 900px) { .tile { grid-column: span 3; } .t-apps, .t-city { grid-column: 1 / -1; } }
@media (max-width: 600px) { .tile { grid-column: 1 / -1; } }
/* Reveal as tiles scroll into view (only when main.js is running). */
.js .tile:not(.in) { opacity: 0; transform: translateY(26px); }

.viz {
  position: relative; height: 150px; margin: -22px -22px 18px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--hairline);
  background: radial-gradient(120% 100% at 50% 100%, rgba(217, 31, 140, .30), transparent 70%);
}

/* Apps being locked */
.viz-apps { gap: 12px; }
.viz-apps i { position: relative; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--pink), var(--violet)); }
.viz-apps i:nth-child(2) { background: linear-gradient(135deg, var(--sunset), var(--pink)); }
.viz-apps i:nth-child(3) { background: linear-gradient(135deg, var(--turquoise), var(--teal)); }
.viz-apps i:nth-child(4) { background: linear-gradient(135deg, var(--violet), var(--turquoise)); }
.viz-apps i:nth-child(5) { background: linear-gradient(135deg, var(--gold), var(--sunset)); }
.viz-apps .lk { filter: grayscale(1) brightness(.6); animation: lockin 6s ease-in-out infinite both; }
.viz-apps .lk::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='6' y='11' width='12' height='8' rx='1.5' fill='white'/%3E%3Cpath d='M8.5 11V8a3.5 3.5 0 0 1 7 0v3'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: 0 0 14px rgba(255, 61, 166, .8);
  animation: lockbadge 6s ease-in-out infinite both;
}
.viz-apps .lk:nth-child(2), .viz-apps .lk:nth-child(2)::after { animation-delay: .5s; }
.viz-apps .lk:nth-child(4), .viz-apps .lk:nth-child(4)::after { animation-delay: 1s; }
@keyframes lockin { 0%, 12% { filter: none; } 24%, 100% { filter: grayscale(1) brightness(.6); } }
@keyframes lockbadge { 0%, 12% { transform: scale(0); } 22% { transform: scale(1.25); } 28%, 100% { transform: scale(1); } }

/* Mini city */
.viz-city { align-items: flex-end; gap: 7px; padding: 0 22px; }
.viz-city::before {
  content: ""; position: absolute; left: 50%; bottom: -46px; width: 130px; height: 130px; margin-left: -65px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--sunset) 55%, var(--pink)); opacity: .9;
}
.viz-city i {
  position: relative; flex: 1; max-width: 38px; height: var(--h); --c: var(--turquoise);
  border-top: 3px solid var(--c);
  background:
    repeating-linear-gradient(180deg, #140b2e 0 8px, transparent 8px 14px),
    linear-gradient(90deg, #140b2e 20%, var(--c) 20% 40%, #140b2e 40% 60%, var(--c) 60% 80%, #140b2e 80%);
  transform-origin: bottom; animation: rise 8s ease-in-out infinite both; animation-delay: var(--dl);
}
.viz-city i:nth-child(1) { --h: 42%; --dl: 0s; }
.viz-city i:nth-child(2) { --h: 64%; --dl: .5s; --c: var(--pink); }
.viz-city i:nth-child(3) { --h: 36%; --dl: .2s; --c: var(--gold); }
.viz-city i:nth-child(4) { --h: 82%; --dl: 1.1s; }
.viz-city i:nth-child(5) { --h: 52%; --dl: .7s; --c: var(--pink); }
.viz-city i:nth-child(6) { --h: 92%; --dl: 1.5s; --c: var(--gold); }
.viz-city i:nth-child(7) { --h: 48%; --dl: .3s; }
.viz-city i:nth-child(8) { --h: 70%; --dl: .9s; --c: var(--pink); }
.viz-city i:nth-child(9) { --h: 40%; --dl: .1s; --c: var(--gold); }
@keyframes rise { 0% { transform: scaleY(.12); } 30%, 88% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }

/* Focus countdown */
.viz-focus svg { width: 110px; height: 110px; transform: rotate(-90deg); overflow: visible; }
.viz-focus circle { fill: none; stroke: var(--fill); stroke-width: 6; }
.viz-focus .ring {
  stroke: var(--pink); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 80;
  filter: drop-shadow(0 0 6px rgba(255, 61, 166, .9)); animation: ring 60s linear infinite;
}
@keyframes ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 264; } }
.viz-focus span { position: absolute; font: 900 30px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* Lock Screen widget */
.ls { text-align: center; animation: float 5s ease-in-out infinite alternate; }
.ls b { display: block; font: 300 46px/1 var(--body); letter-spacing: -.02em; margin-bottom: 10px; }
.ls .pill {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 14px;
  border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; font-weight: 600;
}
.ls small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.ls em { font-style: normal; color: var(--gold); }
@keyframes float { from { transform: translateY(-3px); } to { transform: translateY(4px); } }

/* Screen Time bars */
.viz-stats { align-items: flex-end; gap: 10px; padding-bottom: 0; }
.viz-stats i {
  width: 18px; height: var(--h); border-radius: 4px 4px 0 0; background: rgba(255,255,255,.22);
  transform-origin: bottom; transition: transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--n) * 70ms + 200ms);
}
.js .tile:not(.in) .viz-stats i { transform: scaleY(0); }
.viz-stats .hot { background: linear-gradient(180deg, var(--pink), var(--magenta)); box-shadow: 0 0 18px rgba(255, 61, 166, .7); }
.viz-stats i:nth-child(1) { --h: 38%; --n: 0; } .viz-stats i:nth-child(2) { --h: 55%; --n: 1; }
.viz-stats i:nth-child(3) { --h: 86%; --n: 2; } .viz-stats i:nth-child(4) { --h: 47%; --n: 3; }
.viz-stats i:nth-child(5) { --h: 62%; --n: 4; } .viz-stats i:nth-child(6) { --h: 30%; --n: 5; }
.viz-stats i:nth-child(7) { --h: 50%; --n: 6; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ================= Neon finish ================= */
/* Gradient text must not inherit a dark text-shadow (it shows through the letters). */
.wordmark { text-shadow: none; }
.chrome {
  background-image: linear-gradient(180deg, #fff6c2 0%, var(--gold) 26%, var(--sunset) 50%, #c2186f 51%, var(--pink) 74%, #ffc2e3 100%);
  filter: drop-shadow(0 0 26px rgba(255, 61, 166, .5));
}
.nav-links a:not(.btn):hover { text-shadow: 0 0 14px var(--turquoise); }

/* Film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .09; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Final call to action: sun glow and a grid floor running to the horizon */
.final { position: relative; overflow: hidden; padding-bottom: 0; }
.final::before {
  content: ""; position: absolute; left: 50%; bottom: 60px; width: min(900px, 140vw); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,153,61,.30), rgba(255,61,166,.18) 50%, transparent);
  pointer-events: none;
}
.final .wrap { position: relative; }
.final h2 { font-size: clamp(64px, 14vw, 190px); }
.floor {
  position: relative; height: clamp(200px, 34vh, 340px); margin-top: 72px; overflow: hidden; perspective: 320px;
  border-top: 2px solid var(--turquoise); box-shadow: 0 -2px 26px rgba(46, 227, 230, .8);
  background: linear-gradient(180deg, #3a0f5c, var(--night));
}
.floor i {
  position: absolute; left: -60%; right: -60%; top: 0; height: 300%;
  background-image: linear-gradient(rgba(255,61,166,.9) 2px, transparent 2px), linear-gradient(90deg, rgba(255,61,166,.9) 2px, transparent 2px);
  background-size: 64px 64px; background-position: 50% 0;
  transform: rotateX(74deg); transform-origin: 50% 0;
  animation: floor 1.6s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%); mask-image: linear-gradient(180deg, transparent, #000 12%);
}
@keyframes floor { to { background-position: 50% 64px; } }
footer { border-top: 0; background: var(--night); position: relative; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Grid floor, corrected: the plane hinges on its near (bottom) edge and recedes to the horizon at the top. */
.floor { perspective: 320px; perspective-origin: 50% 0; }
.floor i {
  top: auto; bottom: 0; left: -150%; right: -150%; height: 400%;
  transform: rotateX(78deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%); mask-image: linear-gradient(180deg, transparent 0, #000 45%);
}
.final::before {
  background: radial-gradient(circle at 50% 50%, rgba(255,153,61,.30) 0, rgba(255,61,166,.16) 35%, rgba(255,61,166,0) 68%);
}

/* ================= Waitlist ================= */
.waitlist { max-width: 560px; margin: 0 auto; }
.wl-row { display: flex; gap: 10px; margin-top: 26px; }
.wl-row input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px;
  border-radius: var(--control); border: 1px solid rgba(255,255,255,.3);
  background: rgba(15, 8, 38, .7); color: var(--text); font: 500 16px var(--body);
  transition: border-color .2s, box-shadow .2s;
}
.wl-row input::placeholder { color: var(--text-3); }
.wl-row input:focus { outline: 0; border-color: var(--turquoise); box-shadow: 0 0 0 1px var(--turquoise), 0 0 22px rgba(46, 227, 230, .4); }
.wl-row input[readonly] { color: var(--turquoise); font-weight: 600; text-overflow: ellipsis; }
.wl-row .btn { white-space: nowrap; }
.wl-row .btn[disabled] { opacity: .6; cursor: default; }
@media (max-width: 520px) { .wl-row { flex-direction: column; } }
.wl-msg { min-height: 22px; margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--sunset); }
.wl-msg.ok { color: var(--turquoise); }
.waitlist .note { margin-top: 4px; }
.wl-badge {
  display: inline-block; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--turquoise); color: var(--turquoise); background: rgba(46, 227, 230, .1);
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 0 20px rgba(46, 227, 230, .3);
}
.wl-done h3 { font-size: clamp(44px, 8vw, 84px); }
.wl-done { animation: wlin .5s ease-out; }
@keyframes wlin { from { opacity: 0; transform: translateY(14px); } }
.final h2 { margin-bottom: 4px; }

/* ================= Sound button ================= */
.sound {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px;
  border-radius: var(--control); border: 1px solid rgba(255,255,255,.3); background: rgba(15, 8, 38, .4);
  color: var(--text-2); font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: color .2s, border-color .2s, box-shadow .2s;
}
.sound:hover { color: var(--text); border-color: var(--text); }
.sound[aria-pressed="true"] { color: var(--turquoise); border-color: var(--turquoise); box-shadow: 0 0 18px rgba(46, 227, 230, .4); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 4px; border-radius: 1px; background: currentColor; transform-origin: bottom; }
.sound[aria-pressed="true"] .eq i { height: 14px; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s !important; } .eq i:nth-child(3) { animation-delay: -.6s !important; } .eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@media (max-width: 760px) { .nav-links { gap: 10px; } .sound-label { display: none; } .sound { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .sound[aria-pressed="true"] .eq i { animation: none !important; height: 10px; } .sound[aria-pressed="true"] .eq i:nth-child(odd) { height: 14px; } }

/* ================= Tape-deck player ================= */
.deck {
  position: fixed; z-index: 30; top: 74px; right: max(12px, calc((100vw - var(--max)) / 2 + 20px));
  width: min(340px, calc(100vw - 24px)); padding: 14px;
  border-radius: 14px; border: 1px solid var(--pink);
  background: linear-gradient(180deg, rgba(33, 18, 77, .92), rgba(15, 8, 38, .94));
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 0 0 1px rgba(255, 61, 166, .4), 0 0 44px rgba(255, 61, 166, .35), 0 30px 60px rgba(0, 0, 0, .5);
  transform-origin: 90% 0; animation: deckin .28s cubic-bezier(.2, .9, .3, 1.2);
}
.deck[hidden] { display: none; }
@keyframes deckin { from { opacity: 0; transform: translateY(-10px) scale(.94); } }

/* Cassette */
.tape {
  position: relative; height: 150px; padding: 12px 14px 0; border-radius: 10px;
  background: linear-gradient(180deg, #2a1d52, #120a2c); border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -10px 20px rgba(0, 0, 0, .4);
}
.screw { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #bfb6d6, #4a3f6b); }
.screw:nth-child(1) { left: 5px; top: 5px; } .screw:nth-child(2) { right: 5px; top: 5px; }
.screw:nth-child(3) { left: 5px; bottom: 5px; } .screw:nth-child(4) { right: 5px; bottom: 5px; }
.tape-label {
  height: 62px; padding: 7px 12px; border-radius: 5px; color: #1a0a33;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  background: linear-gradient(180deg, #f6ecdc 0 56%, var(--gold) 56% 67%, var(--sunset) 67% 78%, var(--pink) 78% 89%, var(--violet) 89%);
}
.tape-label b { font: 900 22px/1 var(--display); letter-spacing: .03em; }
.tape-label em { font: italic 600 11px/1 var(--body); opacity: .75; white-space: nowrap; }
.tape-window {
  position: relative; width: 66%; height: 52px; margin: 10px auto 0; padding: 0 8px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 8px; background: #06030f; border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, .9);
}
.reel { width: 40px; height: 40px; fill: #3b2415; stroke: #e9e2f5; stroke-width: 2.2; stroke-linecap: round; animation: spin 2.6s linear infinite; animation-play-state: paused; }
.reel .hub { fill: #e9e2f5; stroke: none; }
.reel:last-of-type { animation-duration: 3.4s; }
.deck.playing .reel { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.tape-band { position: absolute; left: 30px; right: 30px; top: 9px; height: 3px; background: #3b2415; }

#deckViz { display: block; width: 100%; height: 55px; margin-top: 12px; }

.lcd {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px;
  border-radius: 6px; background: #05020d; border: 1px solid rgba(46, 227, 230, .35);
  color: var(--turquoise); font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase;
  text-shadow: 0 0 8px rgba(46, 227, 230, .8);
}
.lcd span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcd b { font-size: 15px; font-variant-numeric: tabular-nums; }

.deck-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.deck-play {
  flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ff7cc4, var(--pink) 55%, var(--magenta));
  box-shadow: 0 0 22px rgba(255, 61, 166, .6), inset 0 -3px 6px rgba(0, 0, 0, .25);
  transition: transform .1s, box-shadow .2s;
}
.deck-play:hover { box-shadow: 0 0 34px rgba(255, 61, 166, .85), inset 0 -3px 6px rgba(0, 0, 0, .25); }
.deck-play:active { transform: scale(.94); }
.deck-play svg { width: 24px; height: 24px; grid-area: 1 / 1; }
.deck-play .i-pause, .deck-play[aria-pressed="true"] .i-play { display: none; }
.deck-play[aria-pressed="true"] .i-pause { display: block; }

.mix { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mix button {
  position: relative; height: 44px; padding: 14px 0 0; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .2); background: linear-gradient(180deg, #2a1d52, #170d36);
  color: var(--text-3); font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); transition: color .15s, transform .1s;
}
.mix button::before { /* LED */
  content: ""; position: absolute; left: 50%; top: 8px; width: 14px; height: 4px; margin-left: -7px; border-radius: 2px;
  background: rgba(255, 255, 255, .15); transition: background .15s, box-shadow .15s;
}
.mix button[aria-pressed="true"] { color: var(--text); }
.mix button[aria-pressed="true"]::before { background: var(--turquoise); box-shadow: 0 0 10px var(--turquoise); }
.mix button:active { transform: translateY(1px); }

.vol { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--text-3); font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.vol input {
  flex: 1; height: 22px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.vol input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--pink) var(--v, 70%), rgba(255,255,255,.14) var(--v, 70%)); }
.vol input::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--pink) var(--v, 70%), rgba(255,255,255,.14) var(--v, 70%)); }
.vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--pink); }
.vol input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--pink); }

/* ================= Vice Tapes: header button and side switch ================= */
.sound {
  color: #fff; border-color: var(--pink); background: rgba(255, 61, 166, .16);
  box-shadow: 0 0 22px rgba(255, 61, 166, .4);
}
.sound:hover { border-color: var(--pink); box-shadow: 0 0 34px rgba(255, 61, 166, .65); }
@media (max-width: 760px) { .sound-label { display: inline; } .sound { padding: 0 14px; } }

.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.tracks button {
  height: 38px; padding: 0 10px; border-radius: 6px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, .2); background: linear-gradient(180deg, #2a1d52, #170d36);
  color: var(--text-3); font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); transition: color .15s, border-color .15s, box-shadow .15s;
}
.tracks b { display: inline-block; margin-right: 6px; font: 900 16px/1 var(--display); vertical-align: -1px; }
.tracks button[aria-pressed="true"] { color: #fff; border-color: var(--pink); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 0 14px rgba(255, 61, 166, .45); }
.tracks button[aria-pressed="true"] b { color: var(--gold); }
.tape.flip { animation: flip .5s ease-in-out; }
@keyframes flip { 50% { transform: perspective(600px) rotateY(90deg); } }

/* ================= Statement above Hold to earn ================= */
#earn { flex-direction: column; align-items: center; justify-content: flex-start; gap: 34px; padding-top: 13svh; padding-bottom: 8svh; }
.pitch { max-width: 980px; text-align: center; }
.pitch h2 { font-size: clamp(46px, 7.4vw, 104px); filter: drop-shadow(0 2px 14px rgba(15, 8, 38, .95)) drop-shadow(0 0 34px rgba(15, 8, 38, .8)); }
.pitch p { margin: 16px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .88); text-shadow: 0 1px 16px rgba(15, 8, 38, .95); }
.pitch .wordmark { display: block; }
#earn { gap: clamp(64px, 13svh, 150px); }

/* ================= Vice Tapes, closed: a quiet now-playing chip ================= */
.sound {
  height: 46px; padding: 0 7px 0 10px; gap: 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(15, 8, 38, .55);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: #fff; box-shadow: none; text-transform: none; letter-spacing: 0; text-align: left;
}
.sound:hover { border-color: rgba(255, 255, 255, .42); box-shadow: none; }
.sound[aria-pressed="true"] { color: #fff; border-color: rgba(46, 227, 230, .55); box-shadow: 0 0 18px rgba(46, 227, 230, .22); }
.sound[aria-expanded="true"] { border-color: var(--pink); box-shadow: 0 0 18px rgba(255, 61, 166, .3); }

.mini-tape { flex: none; width: 34px; height: 22px; }
.mini-tape .r { transform-box: fill-box; transform-origin: center; animation: spin 2.6s linear infinite; animation-play-state: paused; }
.sound[aria-pressed="true"] .mini-tape .r { animation-play-state: running; }

.sound-text { display: flex; flex-direction: column; gap: 4px; line-height: 1; min-width: 86px; }
.sound-text small { font: 700 9.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.sound-text span { font: 600 13px/1 var(--body); white-space: nowrap; }

.sound-disc {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pink); color: #fff; box-shadow: 0 0 14px rgba(255, 61, 166, .55);
  transition: background .2s, box-shadow .2s, color .2s;
}
.sound-disc svg { width: 14px; height: 14px; margin-left: 2px; }
.sound .eq { display: none; height: 12px; }
.sound[aria-pressed="true"] .sound-disc { background: rgba(46, 227, 230, .16); color: var(--turquoise); box-shadow: none; }
.sound[aria-pressed="true"] .sound-disc svg { display: none; }
.sound[aria-pressed="true"] .eq { display: inline-flex; }
.sound[aria-pressed="true"] .eq i { height: 12px; }
@media (max-width: 760px) { .sound { padding: 0 7px 0 10px; } }
@media (max-width: 400px) { .sound-text { display: none; } }
.pitch h2 { text-wrap: balance; }

/* Vice Tapes chip: icon and play disc only, no text. */
.sound-text { display: none; }
.sound { gap: 10px; padding: 0 7px 0 12px; }

/* ================= FAQ ================= */
.faq { max-width: 860px; }
.qa { border-top: 1px solid var(--hairline); }
.qa:last-child { border-bottom: 1px solid var(--hairline); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font: 800 clamp(22px, 2.6vw, 28px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.qa summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 6px;
  border-right: 2.5px solid var(--pink); border-bottom: 2.5px solid var(--pink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s;
}
.qa[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.qa summary:hover h3 { color: var(--turquoise); }
.qa p { margin: 0; padding: 0 4px 24px; max-width: 68ch; color: var(--text-2); }

/* ================= Who it's for ================= */
#who { padding-bottom: 32px; }
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }
.who-card {
  position: relative; overflow: hidden; padding: 30px 26px 26px; min-height: 340px;
  display: flex; flex-direction: column;
  border-radius: var(--corner); border: 1px solid var(--hairline);
  background:
    radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.3));
  transition: transform .3s, border-color .3s, box-shadow .3s, opacity .6s;
}
.who-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.who-card:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 0 36px color-mix(in srgb, var(--c) 35%, transparent); }
.js .who-card:not(.in) { opacity: 0; transform: translateY(26px); }
.who-card > svg { width: 40px; height: 40px; color: var(--c); filter: drop-shadow(0 0 10px var(--c)); }
.who-num { position: absolute; top: 22px; right: 24px; font: 900 44px/1 var(--display); color: rgba(255,255,255,.12); }
.who-card h3 { margin: 26px 0 12px; font: 900 clamp(34px, 3.4vw, 44px)/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.who-card p { margin: 0 0 22px; color: var(--text-2); }
.who-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.who-card li { padding: 7px 13px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ================= "Grow your city" tile: drawn scene ================= */
.t-apps .viz, .t-city .viz { height: 200px; }
.viz-city {
  padding: 0; align-items: stretch;
  background: linear-gradient(180deg, #0f0826 0%, #21124d 32%, #b01d86 62%, #ff7a4a 78%);
}
.viz-city::before { content: none; }
#miniCity { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.mc-star { fill: #fff; opacity: .7; animation: mcTwinkle 3s ease-in-out infinite alternate; }
@keyframes mcTwinkle { to { opacity: .15; } }
.mc-t { transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) var(--d); }
.js .tile:not(.in) .mc-t { transform: translateY(var(--h)); }
.mc-w { fill: currentColor; animation: mcLight 12s ease-in-out infinite both; }
.mc-w.off { fill: rgba(255, 255, 255, .08); animation: none; }
@keyframes mcLight { 0%, 2% { fill: rgba(255, 255, 255, .08); } 5%, 94% { fill: currentColor; } 100% { fill: rgba(255, 255, 255, .08); } }
.mc-beacon { animation: mcBeacon 1.6s steps(1) infinite; }
@keyframes mcBeacon { 50% { opacity: .15; } }
.mc-line { filter: drop-shadow(0 0 4px #2ee3e6); }
.mc-ripple { transform-box: fill-box; transform-origin: center; animation: ripple 3.2s ease-in-out infinite alternate; }
.mc-chip {
  position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 999px;
  background: rgba(15, 8, 38, .6); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
}
.mc-chip b { color: var(--turquoise); margin-right: 6px; }

/* Vice Tapes chip: a white tape reel beside the play disc, same size, spinning while music plays. */
.sound { padding: 0 7px; gap: 8px; }
.mini-reel { flex: none; width: 32px; height: 32px; animation: spin 2.6s linear infinite; animation-play-state: paused; }
.sound[aria-pressed="true"] .mini-reel { animation-play-state: running; }

/* The Vice Tapes reel spins all the time, playing or not. */
.mini-reel { animation-play-state: running; }
