/* =========================================================
   QUIZGAMES LIVE — Coming Soon
   Brand system, layout, components, motion
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Brand */
  --c-bg:        #12002a;
  --c-bg-2:      #1a0638;
  --c-bg-3:      #220a46;
  --c-primary:   #c230d3;
  --c-secondary: #ac148d;
  --c-accent:    #ffd60a;      /* gameshow highlight */
  --c-live:      #ff3860;      /* broadcast red */

  /* Text */
  --c-ink:       #ffffff;
  --c-ink-80:    rgba(255,255,255,0.80);
  --c-ink-60:    rgba(255,255,255,0.60);
  --c-ink-40:    rgba(255,255,255,0.40);
  --c-ink-20:    rgba(255,255,255,0.20);

  /* Strokes */
  --c-line:      rgba(194, 48, 211, 0.18);
  --c-line-2:    rgba(194, 48, 211, 0.32);

  /* Type */
  --f-display:   'Bebas Neue', 'Impact', 'Oswald', sans-serif;
  --f-body:      'Nunito', system-ui, sans-serif;
  --f-mono:      'JetBrains Mono', 'Menlo', monospace;

  /* Space */
  --wrap:        1200px;
  --pad-x:       clamp(20px, 4vw, 48px);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

/* ---------- BACKGROUND ATMOSPHERE ---------- */

.grid-bg {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, rgba(194,48,211,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(194,48,211,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .25;
  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' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
.glow--one {
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--c-primary) 0%, transparent 65%);
  top: -180px; right: -160px;
}
.glow--two {
  width: 640px; height: 640px;
  background: radial-gradient(circle, var(--c-secondary) 0%, transparent 65%);
  bottom: -220px; left: -200px;
  opacity: .4;
}

/* ---------- TYPOGRAPHY BASE ---------- */

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}

em {
  font-style: normal;
  color: var(--c-primary);
  text-shadow: 0 0 24px rgba(194, 48, 211, .6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--c-primary);
}

.section-head { margin-bottom: 56px; }
.section-title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  max-width: 22ch;
}
.section-sub {
  margin-top: 14px;
  color: var(--c-ink-60);
  font-size: 1.05rem;
  max-width: 48ch;
}

/* ---------- BUTTONS ---------- */

.btn {
  --btn-bg: var(--c-primary);
  --btn-fg: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}

.btn--sm { padding: 10px 16px; font-size: 0.8rem; }

.btn--primary {
  background: var(--c-primary);
  box-shadow:
    0 0 0 0 rgba(194, 48, 211, 0.5),
    0 12px 30px -10px rgba(194, 48, 211, 0.6);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #d643e5;
  box-shadow:
    0 0 0 6px rgba(194, 48, 211, 0.18),
    0 18px 38px -10px rgba(194, 48, 211, 0.9);
}

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line-2);
}
.btn--ghost:hover {
  background: rgba(194, 48, 211, 0.12);
  border-color: var(--c-primary);
  transform: translateY(-2px);
}

/* ---------- TOPBAR ---------- */

.topbar {
  position: sticky; top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(18, 0, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  letter-spacing: 0.02em;
}
.logo__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-live);
  box-shadow: 0 0 16px var(--c-live);
  animation: pulse 1.4s ease-in-out infinite;
}
.logo__mark {
  font-size: 1.5rem;
  color: var(--c-ink);
}
.logo__live {
  font-size: 1.5rem;
  color: var(--c-bg);
  background: var(--c-primary);
  padding: 2px 8px 0;
  border-radius: 4px;
  margin-left: 4px;
  line-height: 1;
  transform: translateY(-1px);
}

.topbar__meta {
  display: flex; align-items: center; gap: 18px;
}
.version {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-ink-40);
  text-transform: uppercase;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 56, 96, 0.7); transform: scale(1); }
  50%      { box-shadow: 0 0 0 10px rgba(255, 56, 96, 0);   transform: scale(1.15); }
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 128px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy {
  min-width: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  background: rgba(194, 48, 211, 0.08);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-ink);
  margin-bottom: 28px;
  animation: reveal .8s var(--ease) both;
}
.live-pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-live);
  box-shadow: 0 0 10px var(--c-live);
  animation: pulse 1.4s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 0.95;
}
.hero__title .line {
  display: block;
  animation: slideUp .9s var(--ease) both;
}
.line--one   { animation-delay: 0.05s; }
.line--two   { animation-delay: 0.18s; }
.line--three { animation-delay: 0.32s; }

.hero__lede {
  margin-top: 28px;
  font-size: clamp(1.1rem, 1.45vw, 1.25rem);
  font-weight: 500;
  color: var(--c-ink);
  max-width: 46ch;
  line-height: 1.55;
  animation: reveal 1s var(--ease) 0.5s both;
}
.hero__lede strong { color: var(--c-primary); font-weight: 800; }

/* ---------- SIGNUP FORM ---------- */

.signup {
  margin-top: 36px;
  max-width: 540px;
  animation: reveal 1s var(--ease) 0.65s both;
}
.signup__row {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.signup__row:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(194, 48, 211, 0.18);
}
.signup__input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}
.signup__input::placeholder { color: var(--c-ink-40); font-weight: 500; }

.signup__btn {
  padding: 14px 22px;
}
.signup__btn-arrow {
  transition: transform .2s var(--ease);
}
.signup__btn:hover .signup__btn-arrow { transform: translateX(4px); }

.signup__note {
  margin: 14px 4px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-ink-80);
}
.signup__note--error { color: #ff8fa3; }
.signup__note--ok    { color: #6ee7a8; }

.signup--big {
  margin-top: 40px;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
}

/* Platforms row */
.platforms {
  margin-top: 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  animation: reveal 1s var(--ease) 0.8s both;
}
.platforms__label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-80);
}
.platforms__list {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.platforms__list li {
  padding: 6px 12px;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-ink);
  background: rgba(255, 255, 255, 0.04);
}
.platforms__list li.platforms__more {
  color: var(--c-primary);
  border-color: var(--c-line-2);
}

/* ---------- HERO TICKER (signature visual) ---------- */

.ticker {
  position: relative;
  animation: reveal 1s var(--ease) 0.4s both;
}
.ticker__frame {
  background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg));
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.8),
    0 0 0 1px rgba(194,48,211,0.1),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.ticker:hover .ticker__frame { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }

.ticker__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticker__bar-left {
  display: inline-flex; align-items: center; gap: 10px;
}
.ticker__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-live);
  box-shadow: 0 0 10px var(--c-live);
  animation: pulse 1.4s ease-in-out infinite;
}
.ticker__title { font-weight: 600; color: var(--c-ink-80); }
.ticker__timer {
  font-weight: 600;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}

.ticker__question {
  padding: 20px 20px 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.ticker__q-num {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--c-primary);
  letter-spacing: 0.04em;
}
.ticker__q-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.35;
}
.ticker__q-text u {
  text-decoration: none;
  color: var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
}

.ticker__feed {
  padding: 6px 20px 12px;
  min-height: 260px;
  max-height: 260px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 100%);
}
.ticker__feed li {
  font-family: var(--f-mono);
  font-size: 0.88rem;
  padding: 7px 0;
  color: var(--c-ink-80);
  display: flex;
  gap: 10px;
  align-items: baseline;
  opacity: 0;
  transform: translateY(8px);
  animation: feedIn .45s var(--ease) forwards;
}
.ticker__feed li .user {
  font-weight: 600;
  color: var(--c-primary);
}
.ticker__feed li.correct .user { color: #6ee7a8; }
.ticker__feed li.correct::after {
  content: '✓';
  margin-left: auto;
  color: #6ee7a8;
  font-size: 0.95rem;
}
.ticker__feed li .msg { color: var(--c-ink); }
.ticker__feed li.system {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  padding: 10px 0;
  border-top: 1px dashed var(--c-line-2);
  margin-top: 4px;
}

@keyframes feedIn {
  to { opacity: 1; transform: translateY(0); }
}

.ticker__foot {
  display: flex;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--c-line);
  background: rgba(0,0,0,0.2);
}
.ticker__chip {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-80);
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line);
}
.ticker__chip--alt {
  color: var(--c-bg);
  background: var(--c-accent);
  border-color: transparent;
  font-weight: 700;
}


/* ─────────────────────────────────────────────────────────────────
   APP WALKTHROUGH v2 — "Live Broadcast" showcase
   Full-width stage, pulsing magenta halo, Ken Burns on slides,
   flash-sweep between slides, floating neon caption card.
   ───────────────────────────────────────────────────────────────── */

.applayer {
  position: relative;
  width: 100%;
  padding: 16px;              /* room for outer halo */
  animation: reveal 1s var(--ease) 0.4s both;
}

/* Outer pulsing halo — triple-layered for dramatic broadcast glow */
.applayer::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at center,
      rgba(194, 48, 211, 0.45) 0%,
      rgba(172, 20, 141, 0.25) 35%,
      transparent 65%),
    radial-gradient(ellipse at 30% 30%,
      rgba(255, 94, 229, 0.25) 0%,
      transparent 50%),
    radial-gradient(ellipse at 70% 70%,
      rgba(140, 30, 180, 0.25) 0%,
      transparent 50%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
  animation: applayer-halo 4s ease-in-out infinite;
}
@keyframes applayer-halo {
  0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.08) rotate(2deg); }
}

.applayer__frame {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0018;
  box-shadow:
    0 0 0 1px rgba(194, 48, 211, 0.4),
    0 0 40px -5px rgba(194, 48, 211, 0.4),
    0 40px 100px -20px rgba(0, 0, 0, 0.9);
  animation: applayer-frame-pulse 4s ease-in-out infinite;
}
@keyframes applayer-frame-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(194, 48, 211, 0.4),
      0 0 40px -5px rgba(194, 48, 211, 0.4),
      0 40px 100px -20px rgba(0, 0, 0, 0.9);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(194, 48, 211, 0.7),
      0 0 70px -5px rgba(194, 48, 211, 0.6),
      0 40px 100px -20px rgba(0, 0, 0, 0.9);
  }
}

/* ── Broadcast header (replaces browser chrome) ── */
.applayer__header {
  position: relative;
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg,
    rgba(194, 48, 211, 0.22) 0%,
    rgba(18, 0, 42, 0.7) 50%,
    rgba(194, 48, 211, 0.22) 100%);
  border-bottom: 1px solid rgba(194, 48, 211, 0.25);
}
.applayer__live {
  display: flex;
  align-items: center;
  gap: 8px;
}
.applayer__live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff3a5c;
  box-shadow: 0 0 14px #ff3a5c, 0 0 4px #ff3a5c inset;
  animation: live-dot-pulse 1.4s ease-in-out infinite;
}
@keyframes live-dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.25); }
}
.applayer__live-text {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #fff;
  text-transform: uppercase;
}
.applayer__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.applayer__counter {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--c-ink);
}
.applayer__counter-sep { color: rgba(255, 255, 255, 0.3); margin: 0 2px; }
.applayer__counter-total { color: rgba(255, 255, 255, 0.45); }

/* Progress bar under the header */
.applayer__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgba(194, 48, 211, 0.1);
  overflow: hidden;
}
.applayer__progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-primary), #ff5ee5);
  box-shadow: 0 0 10px var(--c-primary);
  transition: width 0s linear;        /* overridden by JS per-slide */
}
.applayer__progress-fill.is-filling {
  width: 100%;
  transition: width 4.5s linear;
}

/* ── Stage ── */
.applayer__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0018;
  overflow: hidden;
}

/* Letterbox bars — cinematic widescreen framing, slide in after slide becomes active */
.applayer__stage::before,
.applayer__stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 4%;
  background: #000;
  z-index: 6;
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}
.applayer__stage::before {
  top: 0;
  transform: translateY(-100%);
}
.applayer__stage::after {
  bottom: 0;
  transform: translateY(100%);
  /* also keep vignette on after element via box-shadow inset instead */
  box-shadow: inset 0 0 180px 40px rgba(0, 0, 0, 0.55);
}
/* Only apply vignette via box-shadow — remove radial background override */
.applayer__stage.is-running::before { transform: translateY(0); }
.applayer__stage.is-running::after  { transform: translateY(0); }

.applayer__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.applayer__slide.is-current {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Ken Burns zoom — screenshots slowly zoom while visible */
.applayer__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: brightness(0.96) saturate(1.1);
}
.applayer__slide.is-current .applayer__img {
  animation: applayer-ken-burns 4.5s ease-out forwards;
}
@keyframes applayer-ken-burns {
  from { transform: scale(1.18) translate(-1.5%, 1%); }
  to   { transform: scale(1.0)  translate(0, 0); }
}

/* Slides fade cleanly between each other — no flash sweep */

/* ── Fullscreen "TV advert" caption — massive centered supers ── */
.applayer__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(180deg,
    rgba(8, 0, 22, 0.15) 0%,
    rgba(8, 0, 22, 0.65) 35%,
    rgba(8, 0, 22, 0.72) 65%,
    rgba(8, 0, 22, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.6s ease 0.5s;
  z-index: 5;
  pointer-events: none;
}
.applayer__slide.is-current .applayer__caption {
  opacity: 1;
}

.applayer__eye {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-primary);
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1.5px solid rgba(194, 48, 211, 0.7);
  border-radius: 4px;
  background: rgba(194, 48, 211, 0.16);
  box-shadow: 0 0 24px rgba(194, 48, 211, 0.4);
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity 0.45s ease 0.95s, transform 0.45s cubic-bezier(0.3, 1, 0.5, 1) 0.95s;
}

.applayer__title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  line-height: 0.94;
  letter-spacing: 0.015em;
  color: var(--c-ink);
  text-transform: uppercase;
  margin: 0 0 16px;
  max-width: 540px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}
.applayer__title em {
  font-style: normal;
  color: var(--c-primary);
  /* Two diffuse outer glows only — letter edges stay crisp */
  text-shadow:
    0 0 28px rgba(194, 48, 211, 0.75),
    0 0 54px rgba(194, 48, 211, 0.4);
}

/* Per-word typewriter reveal — each word pops in with overshoot */
.applayer__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.25s ease,
    transform 0.4s cubic-bezier(0.3, 1.25, 0.55, 1);
}
.applayer__slide.is-current .applayer__word {
  opacity: 1;
  transform: translateY(0);
}

.applayer__sub {
  margin: 0;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  max-width: 500px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease 2.1s, transform 0.45s ease 2.1s;
}

.applayer__slide.is-current .applayer__eye,
.applayer__slide.is-current .applayer__sub {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Finale ── massive centered title + CTA */
.applayer__slide--finale .applayer__caption {
  background: radial-gradient(ellipse at center,
    rgba(8, 0, 22, 0.94) 0%,
    rgba(8, 0, 22, 0.86) 45%,
    rgba(8, 0, 22, 0.5) 100%);
  pointer-events: auto;
}
.applayer__slide--finale .applayer__title {
  font-size: clamp(1.8rem, 4.6vw, 4.2rem);
  line-height: 0.9;
  margin-bottom: 24px;
  max-width: 580px;
}
.applayer__finale-cta {
  display: inline-flex;
  font-size: 1.05rem;
  padding: 16px 34px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 0 50px rgba(194, 48, 211, 0.8),
    0 0 25px rgba(194, 48, 211, 0.55),
    0 10px 30px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease 2.35s, transform 0.45s ease 2.35s;
}
.applayer__slide.is-current .applayer__finale-cta {
  opacity: 1;
  transform: translateY(0);
  animation: finale-cta-pulse 2.4s ease-in-out 3s infinite;
}
@keyframes finale-cta-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.15) inset,
      0 0 50px rgba(194, 48, 211, 0.8),
      0 0 25px rgba(194, 48, 211, 0.55),
      0 10px 30px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.25) inset,
      0 0 80px rgba(194, 48, 211, 1),
      0 0 45px rgba(255, 100, 235, 0.7),
      0 10px 30px rgba(0, 0, 0, 0.55);
  }
}

/* Dim the image behind finale so the card pops */
.applayer__slide--finale .applayer__img {
  filter: brightness(0.4) saturate(1.1);
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .applayer            { padding: 12px; max-width: 100%; }
  .applayer::before    { inset: -18px; }
  .applayer__stage     { aspect-ratio: 3 / 2; }
  .applayer__header    { height: 36px; padding: 0 12px; }
  .applayer__live-text,
  .applayer__counter   { font-size: 10px; }
  .applayer__label     { display: none; }
  .applayer__caption   { padding: 28px 22px; }
  .applayer__eye       { font-size: 10px; padding: 5px 12px; margin-bottom: 18px; }
  .applayer__title     { font-size: clamp(1.7rem, 7vw, 2.6rem); margin-bottom: 16px; }
  .applayer__sub       { font-size: 0.85rem; }
  .applayer__slide--finale .applayer__title { font-size: clamp(2rem, 9vw, 2.8rem); margin-bottom: 22px; }
  .applayer__finale-cta { font-size: 0.95rem; padding: 14px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .applayer::before,
  .applayer__frame,
  .applayer__live-dot,
  .applayer__slide.is-current .applayer__img { animation: none; }
  .applayer__img { transform: none; }
  .applayer__slide,
  .applayer__caption,
  .applayer__eye,
  .applayer__title,
  .applayer__sub { transition: none; }
}

.how {
  padding: clamp(64px, 10vw, 128px) 0;
  position: relative; z-index: 2;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 28px 32px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(194,48,211,0.04), transparent);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-2);
  background: linear-gradient(180deg, rgba(194,48,211,0.08), transparent);
}
.step__num {
  font-family: var(--f-display);
  font-size: 3rem;
  color: var(--c-primary);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 14px;
  opacity: 0.9;
}
.step__title {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.step__body {
  color: var(--c-ink-60);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- FEATURE STRIP ---------- */

.strip {
  padding: 24px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}
.strip__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.strip__list li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 6px 0;
}
.strip__k {
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--c-ink);
  letter-spacing: 0.02em;
}
.strip__v {
  font-size: 0.78rem;
  color: var(--c-ink-60);
}

/* ---------- USP — "The game happens in your chat" ---------- */

.usp {
  padding: clamp(72px, 11vw, 140px) 0;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse at center top,
      rgba(194, 48, 211, 0.12) 0%,
      transparent 60%),
    linear-gradient(180deg,
      rgba(194, 48, 211, 0.03) 0%,
      rgba(194, 48, 211, 0.06) 50%,
      rgba(194, 48, 211, 0.03) 100%);
}

.usp__head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.usp__head .section-sub {
  margin-top: 18px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--c-ink);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.usp__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
}

/* Big vs arrow between the two cards */
.usp__compare::before {
  content: "VS";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-primary);
  box-shadow:
    0 0 0 4px var(--c-bg),
    0 0 30px rgba(194, 48, 211, 0.5),
    inset 0 0 20px rgba(194, 48, 211, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--c-primary);
  z-index: 2;
}

.usp__card {
  padding: 36px 32px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%);
  border: 1.5px solid var(--c-line-2);
  border-radius: 14px;
  transition: transform .3s var(--ease);
}

.usp__card-label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 5px 12px;
  border-radius: 4px;
}

.usp__card--them {
  opacity: 0.75;
}
.usp__card--them .usp__card-label {
  color: var(--c-ink-60);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-line-2);
}

.usp__card--us {
  background: linear-gradient(180deg,
    rgba(194, 48, 211, 0.14) 0%,
    rgba(194, 48, 211, 0.05) 60%,
    rgba(255, 255, 255, 0.02) 100%);
  border-color: var(--c-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 50px -20px rgba(194, 48, 211, 0.45),
    0 0 30px rgba(194, 48, 211, 0.18);
}
.usp__card--us .usp__card-label {
  color: var(--c-primary);
  background: rgba(194, 48, 211, 0.15);
  border: 1px solid rgba(194, 48, 211, 0.4);
}

.usp__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.usp__list li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--c-ink);
  font-size: 1rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.usp__list li:last-child { border-bottom: 0; }

.usp__card--them .usp__list li { color: var(--c-ink-60); }
.usp__card--them .usp__list li::before {
  content: "✕";
  position: absolute;
  left: 4px; top: 12px;
  color: #ff8fa3;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.45;
}
.usp__card--us .usp__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 12px; height: 6px;
  border: 2px solid var(--c-primary);
  border-right-width: 0;
  border-top-width: 0;
  transform: rotate(-45deg);
}
.usp__list li strong {
  color: var(--c-primary);
  font-weight: 800;
}

@media (max-width: 860px) {
  .usp__compare { grid-template-columns: 1fr; gap: 28px; }
  .usp__compare::before {
    position: static;
    transform: none;
    margin: 4px auto;
    width: 52px; height: 52px;
    font-size: 1.2rem;
  }
}

/* ---------- PRICING ---------- */

.pricing {
  padding: clamp(64px, 10vw, 128px) 0;
  position: relative; z-index: 2;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 40px 0 20px;  /* breathing room so featured card's -8px lift isn't clipped */
}
.tier {
  position: relative;
  padding: 36px 30px 32px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%);
  border: 1.5px solid var(--c-line-2);
  border-radius: 14px;
  display: flex; flex-direction: column;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 50px -25px rgba(0, 0, 0, 0.7);
  transition:
    transform .3s var(--ease),
    border-color .3s var(--ease),
    box-shadow .3s var(--ease);
}
/* Subtle magenta accent bar along the top of every card */
.tier::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg,
    rgba(194, 48, 211, 0) 0%,
    rgba(194, 48, 211, 0.55) 50%,
    rgba(194, 48, 211, 0) 100%);
  opacity: 0.45;
  transition: opacity .3s var(--ease);
}
.tier:hover {
  transform: translateY(-6px);
  border-color: var(--c-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 30px 60px -25px rgba(194, 48, 211, 0.35),
    0 0 30px rgba(194, 48, 211, 0.2);
}
.tier:hover::before { opacity: 1; }

/* ── Featured (Streamer) ── most popular, elevated above siblings */
.tier--featured {
  background: linear-gradient(180deg,
    rgba(194, 48, 211, 0.18) 0%,
    rgba(194, 48, 211, 0.06) 45%,
    rgba(255, 255, 255, 0.02) 100%);
  border-color: var(--c-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(194, 48, 211, 0.3),
    0 30px 70px -20px rgba(194, 48, 211, 0.5),
    0 0 40px rgba(194, 48, 211, 0.22);
  transform: translateY(-8px) scale(1.03);
  z-index: 1;
}
.tier--featured::before {
  opacity: 1;
  height: 4px;
  background: linear-gradient(90deg,
    rgba(194, 48, 211, 0.75),
    rgba(255, 100, 235, 1),
    rgba(194, 48, 211, 0.75));
  box-shadow: 0 0 22px rgba(194, 48, 211, 0.7);
}
.tier--featured:hover {
  transform: translateY(-14px) scale(1.03);
}

.tier__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--c-primary), #e64ef5);
  color: #fff;
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px 4px;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 8px 24px -4px rgba(194, 48, 211, 0.7);
  white-space: nowrap;
}
.tier__head { margin-bottom: 20px; }
.tier__name {
  font-size: 2rem;
  margin-bottom: 4px;
}
.tier__role {
  margin: 0;
  color: var(--c-ink-60);
  font-size: 0.88rem;
}
.tier__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--c-line-2);
}
.tier__currency {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--c-ink-60);
}
.tier__amount {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--c-ink);
}
.tier__period {
  font-size: 0.85rem;
  color: var(--c-ink-60);
  margin-left: 6px;
}
.tier__list {
  flex: 1;
  margin-bottom: 24px;
}
.tier__list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--c-ink);
}
.tier__list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 13px;
  width: 10px; height: 5px;
  border: 1.6px solid var(--c-primary);
  border-right-width: 0; border-top-width: 0;
  transform: rotate(-45deg);
}

/* Group header inside a tier list — mono small-caps category label */
.tier__list .tier__group {
  padding: 16px 0 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
  opacity: 0.9;
}
.tier__list .tier__group:first-child { padding-top: 0; }
.tier__list .tier__group::before { display: none; }

/* Coming-soon item variant */
.tier__list li.is-soon { color: var(--c-ink-60); }
.tier__list li.is-soon::before { border-color: var(--c-ink-40); }
.tier__soon-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(194, 48, 211, 0.15);
  color: var(--c-primary);
  border-radius: 3px;
  border: 1px solid rgba(194, 48, 211, 0.3);
  vertical-align: middle;
}

/* "Everything in X, plus:" call-out — sits above the list on higher tiers */
.tier__inherit {
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(194, 48, 211, 0.1);
  border-left: 3px solid var(--c-primary);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--c-ink);
  font-weight: 500;
}
.tier__inherit strong { font-weight: 800; color: var(--c-primary); }

.tier__cta { width: 100%; }

/* ---------- PLUGINS — à la carte + bundles ---------- */

.plugins {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse at center top,
      rgba(194, 48, 211, 0.08) 0%,
      transparent 50%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.15) 0%,
      transparent 70%);
  border-top: 1px solid var(--c-line);
}

.plugins__subhead {
  margin: 48px auto 24px;
  max-width: 1080px;
  text-align: left;
}
.plugins__subhead--bundles {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px dashed var(--c-line-2);
}
.plugins__subhead-label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 10px;
}
.plugins__subhead-title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--c-ink);
}

/* Individual plugin groups — 3 columns */
.plugins__groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.plugin-group {
  padding: 24px 24px 20px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.005) 100%);
  border: 1px dashed var(--c-line-2);
  border-radius: 12px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.plugin-group:hover {
  border-color: var(--c-primary);
  border-style: solid;
  background: linear-gradient(180deg,
    rgba(194, 48, 211, 0.08) 0%,
    rgba(255, 255, 255, 0.01) 100%);
}
.plugin-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
  flex-wrap: wrap;
}
.plugin-group__label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.plugin-group__price {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--c-ink);
  line-height: 1;
}
.plugin-group__price small {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: var(--c-ink-60);
  margin-left: 4px;
}
.plugin-group__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plugin-group__list li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 0.95rem;
  color: var(--c-ink);
}
.plugin-group__list li::before {
  content: "+";
  position: absolute;
  left: 2px; top: 8px;
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--c-primary);
}
.plugin-group__list li.is-soon { color: var(--c-ink-60); }
.plugin-group__list li.is-soon::before { color: var(--c-ink-40); }

/* Bundle cards — 3 columns, Creator Bundle featured */
.plugins__bundles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 20px;  /* room for featured -8px lift */
}
.bundle {
  position: relative;
  padding: 28px 26px 26px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%);
  border: 1.5px solid var(--c-line-2);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 40px -22px rgba(0, 0, 0, 0.6);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.bundle:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
}
.bundle::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg,
    rgba(194, 48, 211, 0) 0%,
    rgba(194, 48, 211, 0.55) 50%,
    rgba(194, 48, 211, 0) 100%);
  opacity: 0.45;
  transition: opacity .3s var(--ease);
}
.bundle:hover::before { opacity: 1; }

.bundle__label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 16px;
}
.bundle__price {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1;
  color: var(--c-ink);
  margin-bottom: 14px;
}
.bundle__currency {
  font-size: 0.6em;
  color: var(--c-ink-60);
  margin-right: 2px;
}
.bundle__price small {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: var(--c-ink-60);
  margin-left: 6px;
  font-weight: 500;
}
.bundle__desc {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--c-ink);
  flex: 1;
}
.bundle__save {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6ee7a8;
  background: rgba(110, 231, 168, 0.1);
  border: 1px solid rgba(110, 231, 168, 0.35);
  border-radius: 4px;
}

/* Featured bundle (Creator) — elevated and accented like the featured tier */
.bundle--featured {
  background: linear-gradient(180deg,
    rgba(194, 48, 211, 0.16) 0%,
    rgba(194, 48, 211, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 100%);
  border-color: var(--c-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(194, 48, 211, 0.25),
    0 24px 50px -18px rgba(194, 48, 211, 0.45);
  transform: translateY(-6px);
}
.bundle--featured::before {
  opacity: 1;
  height: 4px;
  background: linear-gradient(90deg,
    rgba(194, 48, 211, 0.75),
    rgba(255, 100, 235, 1),
    rgba(194, 48, 211, 0.75));
  box-shadow: 0 0 22px rgba(194, 48, 211, 0.6);
}
.bundle--featured:hover { transform: translateY(-10px); }

.bundle__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--c-primary), #e64ef5);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px 4px;
  border-radius: 5px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 8px 20px -4px rgba(194, 48, 211, 0.7);
  white-space: nowrap;
}

/* ---------- CREDS ---------- */

.creds {
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative; z-index: 2;
  background: #08001a;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 -40px 60px -40px rgba(194, 48, 211, 0.15);
  text-align: center;
}
.creds .section-title {
  margin: 0 auto;
  max-width: 960px;
}

/* ---------- FINAL CTA ---------- */

.cta {
  padding: clamp(72px, 10vw, 128px) 0;
  text-align: center;
  position: relative; z-index: 2;
  border-top: 1px solid var(--c-line);
  background:
    radial-gradient(circle at 50% 0%, rgba(194, 48, 211, 0.14), transparent 60%);
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta__title {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  max-width: 18ch;
}
.cta__sub {
  margin: 18px 0 0;
  color: var(--c-ink-80);
  max-width: 52ch;
  font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--c-line);
  background: rgba(0,0,0,0.3);
  position: relative; z-index: 2;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer__co {
  margin: 6px 0 0;
  color: var(--c-ink-40);
  font-size: 0.82rem;
  line-height: 1.6;
}
.footer__legal {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--c-ink-40);
  opacity: 0.8;
}
.footer__links {
  display: flex;
  gap: 22px;
}
.footer__links a {
  color: var(--c-ink-80);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color .15s var(--ease);
}
.footer__links a:hover { color: var(--c-primary); }
.footer__dev {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-40);
  margin: 0;
}

/* ---------- MOTION ---------- */

@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .hero__grid      { grid-template-columns: 1fr; }
  .ticker          { max-width: 520px; margin: 0 auto; }
  .ticker__frame   { transform: none; }
  .strip__list     { grid-template-columns: repeat(3, 1fr); }
  .tiers           { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .tier--featured  { order: -1; }
  .plugins__groups { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plugins__bundles { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .bundle--featured { order: -1; }
}

@media (max-width: 720px) {
  .how__steps      { grid-template-columns: 1fr; }
  .strip__list     { grid-template-columns: repeat(2, 1fr); }
  .topbar__meta .version { display: none; }
  .topbar__meta .btn     { display: none; }
  .signup__row     { flex-direction: column; padding: 8px; }
  .signup__btn     { width: 100%; justify-content: center; }
  .platforms       { gap: 10px; }
  .footer__inner   { flex-direction: column; align-items: flex-start; }
  .footer__links   { flex-wrap: wrap; gap: 14px 18px; }
  .launch__footer-inner { flex-direction: column; align-items: flex-start; }
  .launch__footer-nav   { flex-wrap: wrap; gap: 14px 18px; }
}

@media (max-width: 480px) {
  .logo__mark, .logo__live { font-size: 1.25rem; }
}

/* =========================================================
   MARKETING SITE ADDITIONS
   Nav, page headers, feature cards, comparison table,
   FAQ accordion, contact form, platform cards
   ========================================================= */

/* ---------- FULL NAV (marketing pages) ---------- */

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__list {
  display: flex;
  gap: 28px;
}
.nav__list a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-ink-80);
  transition: color .15s var(--ease);
  position: relative;
}
.nav__list a:hover,
.nav__list a.is-active {
  color: var(--c-ink);
}
.nav__list a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--c-primary);
  box-shadow: 0 0 10px var(--c-primary);
}
.nav__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav__signin {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-ink-80);
}
.nav__signin:hover { color: var(--c-ink); }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  color: var(--c-ink);
}
.nav__toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-ink);
  margin: 4px 0;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- PAGE HEADER (non-home pages) ---------- */

.page-head {
  padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 6vw, 80px);
  position: relative; z-index: 2;
  text-align: center;
}
.page-head__eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 18px;
}
.page-head__title {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  max-width: 20ch;
  margin: 0 auto;
}
.page-head__sub {
  margin: 24px auto 0;
  color: var(--c-ink-80);
  max-width: 56ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

/* ---------- FEATURE CARDS ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(194,48,211,0.04), transparent);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-2);
  background: linear-gradient(180deg, rgba(194,48,211,0.09), transparent);
}
.feature:hover::before { opacity: 1; }

.feature__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px -8px rgba(194,48,211,0.5);
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.feature__title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.feature__body {
  color: var(--c-ink-60);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- PROSE SECTION ---------- */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative; z-index: 2;
}
.section--alt {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

/* ---------- COMPARISON TABLE ---------- */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 0.95rem;
}
.compare th,
.compare td {
  padding: 18px 18px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: middle;
}
.compare thead th {
  background: rgba(194, 48, 211, 0.08);
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-ink);
  border-bottom-color: var(--c-line-2);
}
.compare thead th small {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-ink-60);
  font-weight: 400;
  margin-top: 4px;
  text-transform: uppercase;
}
.compare thead th.featured {
  background: rgba(194, 48, 211, 0.22);
  color: var(--c-primary);
}
.compare td.featured {
  background: rgba(194, 48, 211, 0.06);
}
.compare tbody th {
  font-weight: 700;
  color: var(--c-ink-80);
  background: rgba(255,255,255,0.015);
}
.compare .y {
  color: #6ee7a8;
  font-weight: 800;
}
.compare .n {
  color: var(--c-ink-40);
}
/* Category divider row within comparison table */
.compare .compare__group {
  padding: 18px 14px 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
  text-align: left;
  background: rgba(194, 48, 211, 0.05);
  border-top: 1px solid rgba(194, 48, 211, 0.2);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

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

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: rgba(194,48,211,0.03);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq-item[open] { border-color: var(--c-line-2); }

.faq-item summary {
  padding: 22px 26px;
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--c-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-family: var(--f-display);
  font-size: 1.8rem;
  color: var(--c-primary);
  transition: transform .25s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item__body {
  padding: 0 26px 24px;
  color: var(--c-ink-80);
  line-height: 1.7;
  font-size: 1rem;
}
.faq-item__body p { margin: 0 0 10px; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- PLATFORM CARDS ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.platform-card {
  padding: 28px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(194,48,211,0.04), transparent);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
}
.platform-card__name {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.platform-card__status {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.platform-card__status--soon { color: var(--c-ink-60); }
.platform-card__status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.platform-card__body {
  color: var(--c-ink-60);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- CONTACT FORM ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-60);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(194, 48, 211, 0.18);
}
.contact-form textarea { min-height: 140px; }

.contact-info {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  background: rgba(194,48,211,0.04);
}
.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.contact-info dl {
  display: grid;
  gap: 16px;
  margin: 0;
}
.contact-info dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-60);
  margin-bottom: 4px;
}
.contact-info dd {
  margin: 0;
  color: var(--c-ink);
  font-weight: 600;
}
.contact-info a { color: var(--c-primary); }
.contact-info a:hover { text-decoration: underline; }

/* ---------- MARKETING SITE RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .feature-grid    { grid-template-columns: repeat(2, 1fr); }
  .platform-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-grid    { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav__list,
  .nav__signin,
  .nav__cta .btn { display: none; }
  .nav__toggle   { display: block; }

  /* When open, neutralise the topbar's backdrop-filter so the fixed-position
     drawer can escape the containing block it creates */
  .topbar:has(.nav.is-open) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }

  /* Full-screen drawer when open */
  .nav.is-open {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: stretch;   /* override the desktop align-items: center */
    gap: 0;
    padding: 92px var(--pad-x) 32px;
  }
  .nav.is-open .nav__toggle {
    position: absolute;
    top: 18px;
    right: var(--pad-x);
  }
  .nav.is-open .nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--c-line);
    width: 100%;
  }
  .nav.is-open .nav__list a {
    display: block;
    padding: 22px 0;
    border-bottom: 1px solid var(--c-line);
    font-family: var(--f-display);
    font-size: 1.9rem;
    letter-spacing: 0.02em;
    color: var(--c-ink);
  }
  .nav.is-open .nav__list a.is-active {
    color: var(--c-primary);
  }
  .nav.is-open .nav__list a.is-active::after { display: none; }
  .nav.is-open .nav__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
    width: 100%;
  }
  .nav.is-open .nav__cta .btn,
  .nav.is-open .nav__signin {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
    text-align: center;
  }
  .nav.is-open .nav__signin {
    color: var(--c-ink);
    border: 1px solid var(--c-line-2);
    border-radius: var(--r-sm);
  }

  /* Prevent body scroll while drawer is open */
  body:has(.nav.is-open) {
    overflow: hidden;
  }
}

/* ---------- SHARED CTA ROW UTILITY ---------- */

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.cta-row--center { justify-content: center; }

@media (max-width: 560px) {
  .cta-row              { flex-direction: column; }
  .cta-row .btn         { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
  .feature-grid,
  .feature-grid--2 { grid-template-columns: 1fr; }
  .platform-grid   { grid-template-columns: 1fr; }
  .compare {
    font-size: 0.85rem;
  }
  .compare th,
  .compare td { padding: 12px 10px; }
  .faq-item summary { font-size: 1.1rem; padding: 18px 20px; }
  .faq-item__body   { padding: 0 20px 20px; font-size: 0.95rem; }
}

/* =========================================================
   LAUNCH COUNTDOWN PAGE (home.html)
   ========================================================= */

body.launchpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar — minimal, just logo */
.launch__topbar {
  padding: 24px 0;
  position: relative;
  z-index: 10;
}
.launch__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.launch__topbar-link {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-80);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.launch__topbar-link:hover {
  color: var(--c-ink);
  border-color: var(--c-primary);
  background: rgba(194, 48, 211, 0.08);
}

/* Main launch hero — vertically centred */
.launch {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(32px, 6vw, 80px) 0;
  position: relative;
  z-index: 2;
}
.launch__inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

/* Launching-date pill */
.launch__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--c-primary);
  border-radius: 999px;
  background: rgba(194, 48, 211, 0.1);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 32px;
  animation: reveal .8s var(--ease) both;
}
.launch__pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-live);
  box-shadow: 0 0 10px var(--c-live);
  animation: pulse 1.4s ease-in-out infinite;
}

/* Headline */
.launch__title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 40px;
  color: var(--c-ink);
  animation: slideUp .9s var(--ease) both;
  animation-delay: .1s;
}
.launch__title em {
  font-style: normal;
  color: var(--c-primary);
  text-shadow:
    0 0 28px rgba(194, 48, 211, 0.75),
    0 0 54px rgba(194, 48, 211, 0.4);
}

/* COUNTDOWN */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  margin: 0 auto 40px;
  animation: reveal 1s var(--ease) .4s both;
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(80px, 12vw, 140px);
  padding: clamp(16px, 2.4vw, 26px) clamp(8px, 1.8vw, 16px);
  background: linear-gradient(180deg,
    rgba(194, 48, 211, 0.12) 0%,
    rgba(194, 48, 211, 0.03) 100%);
  border: 1.5px solid var(--c-primary);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(194, 48, 211, 0.2),
    0 20px 50px -20px rgba(194, 48, 211, 0.5),
    0 0 40px rgba(194, 48, 211, 0.15);
  position: relative;
}
.countdown__unit::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg,
    rgba(194, 48, 211, 0),
    rgba(255, 100, 235, 1),
    rgba(194, 48, 211, 0));
  opacity: 0.8;
}
.countdown__value {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(194, 48, 211, 0.35);
}
.countdown__label {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-80);
}
.countdown__sep {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--c-primary);
  opacity: 0.5;
  line-height: clamp(60px, 9vw, 120px);
  font-weight: 400;
}

/* Lede copy below the countdown */
.launch__lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--c-ink);
  max-width: 640px;
  margin: 0 auto 32px;
  animation: reveal 1s var(--ease) .6s both;
}
.launch__lede strong {
  color: var(--c-primary);
  font-weight: 800;
}

/* Launch signup form (reuses .signup styling, but centred) */
.launch__form {
  max-width: 560px;
  margin: 0 auto 40px;
  animation: reveal 1s var(--ease) .8s both;
}
.launch__form .signup__row {
  box-shadow:
    0 0 0 1px rgba(194, 48, 211, 0.3),
    0 20px 50px -20px rgba(194, 48, 211, 0.45);
}

/* Platforms row */
.launch__platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 0 auto;
  animation: reveal 1s var(--ease) 1s both;
}
.launch__platforms-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-80);
}
.launch__platforms-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.launch__platforms-list li {
  padding: 6px 12px;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-ink);
  background: rgba(255, 255, 255, 0.04);
}
.launch__platforms-more a {
  color: var(--c-primary);
  text-decoration: none;
}
.launch__platforms-list li.launch__platforms-more {
  border-color: rgba(194, 48, 211, 0.4);
}

/* Footer */
.launch__footer {
  padding: 28px 0;
  border-top: 1px solid var(--c-line);
  position: relative;
  z-index: 2;
}
.launch__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--c-ink-60);
}
.launch__footer-inner p { margin: 0; }
.launch__footer-nav {
  display: flex;
  gap: 20px;
}
.launch__footer-nav a {
  color: var(--c-ink-80);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.launch__footer-nav a:hover { color: var(--c-primary); }

/* Mobile layout for the countdown */
@media (max-width: 720px) {
  .countdown {
    flex-wrap: wrap;
    gap: 10px;
  }
  .countdown__sep { display: none; }
  .countdown__unit {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .launch__title { font-size: 2.2rem; }
  .launch__topbar-link { font-size: 0.75rem; padding: 6px 10px; }
}

/* =========================================================
   LEGAL PAGES (privacy.html, terms.html)
   ========================================================= */

.legal {
  max-width: 780px;
  margin: 0 auto;
  color: var(--c-ink);
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal__meta {
  padding: 14px 18px;
  margin: 0 0 40px;
  background: rgba(194, 48, 211, 0.08);
  border: 1px solid rgba(194, 48, 211, 0.2);
  border-left: 3px solid var(--c-primary);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--c-ink-80);
}
.legal__meta strong { color: var(--c-ink); font-weight: 700; }

.legal h2 {
  font-family: var(--f-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--c-ink);
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.legal h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--c-primary);
  margin: 28px 0 10px;
}

.legal p {
  margin: 0 0 18px;
}
.legal p strong { color: var(--c-ink); font-weight: 800; }

.legal ul {
  margin: 0 0 20px;
  padding-left: 24px;
}
.legal ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.legal ul li::marker {
  color: var(--c-primary);
  font-weight: 700;
}
.legal ul li strong { color: var(--c-ink); font-weight: 700; }

.legal a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s var(--ease);
}
.legal a:hover {
  color: #e64ef5;
  text-decoration-thickness: 2px;
}

/* =========================================================
   404 ERROR PAGE
   ========================================================= */

.error-code {
  font-family: var(--f-display);
  font-size: clamp(8rem, 20vw, 16rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--c-primary);
  margin-bottom: 16px;
  text-shadow:
    0 0 40px rgba(194, 48, 211, 0.55),
    0 0 80px rgba(194, 48, 211, 0.25);
  animation: pulse-glow 2.2s ease-in-out infinite;
  user-select: none;
}

@keyframes pulse-glow {
  0%, 100% {
    text-shadow:
      0 0 40px rgba(194, 48, 211, 0.55),
      0 0 80px rgba(194, 48, 211, 0.25);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 60px rgba(194, 48, 211, 0.75),
      0 0 120px rgba(194, 48, 211, 0.35);
    transform: scale(1.02);
  }
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px auto 48px;
  flex-wrap: wrap;
}

.error-links {
  margin: 0 auto;
  animation: reveal 1s var(--ease) .8s both;
}
.error-links__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-60);
  margin-bottom: 14px;
}
.error-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.error-links__list li a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  transition: all .2s var(--ease);
}
.error-links__list li a:hover {
  border-color: var(--c-primary);
  background: rgba(194, 48, 211, 0.12);
  color: var(--c-primary);
  transform: translateY(-2px);
}

/* =========================================================
   THANK YOU PAGE (thank-you.html)
   ========================================================= */

/* Animated checkmark */
.ty-check {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  position: relative;
}
.ty-check svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ty-check__circle {
  stroke: var(--c-primary);
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  animation: ty-draw-circle .7s var(--ease) forwards;
  filter: drop-shadow(0 0 12px rgba(194, 48, 211, 0.5));
}
.ty-check__tick {
  stroke: var(--c-primary);
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: ty-draw-tick .4s var(--ease) .7s forwards;
  filter: drop-shadow(0 0 8px rgba(194, 48, 211, 0.65));
}

@keyframes ty-draw-circle {
  to { stroke-dashoffset: 0; }
}
@keyframes ty-draw-tick {
  to { stroke-dashoffset: 0; }
}

/* "What happens next" block */
.ty-next {
  max-width: 620px;
  margin: 8px auto 40px;
  text-align: left;
  padding: 28px 28px 22px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--c-line-2);
  border-left: 3px solid var(--c-primary);
  border-radius: 10px;
  animation: reveal 1s var(--ease) 1.2s both;
}
.ty-next__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 14px;
}
.ty-next__list {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  counter-reset: ty-step;
}
.ty-next__list li {
  counter-increment: ty-step;
  position: relative;
  margin-bottom: 14px;
  padding-left: 12px;
  color: var(--c-ink);
  font-size: 0.97rem;
  line-height: 1.55;
}
.ty-next__list li::before {
  content: counter(ty-step);
  position: absolute;
  left: -22px; top: -1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ty-next__list li:last-child { margin-bottom: 0; }
.ty-next__list li strong { color: var(--c-primary); font-weight: 800; }

/* Share block */
.ty-share {
  margin: 0 auto 32px;
  animation: reveal 1s var(--ease) 1.4s both;
}
.ty-share__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-60);
  margin-bottom: 14px;
}
.ty-share__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ty-share__btn {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--c-line-2);
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-ink);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.ty-share__btn:hover {
  border-color: var(--c-primary);
  background: rgba(194, 48, 211, 0.1);
  color: var(--c-primary);
  transform: translateY(-2px);
}

/* Back CTA */
.ty-back {
  margin-top: 12px;
  animation: reveal 1s var(--ease) 1.6s both;
}

/* =========================================================
   ROADMAP PAGE (roadmap.html)
   ========================================================= */

/* Small "Launched on day one" credibility note */
.launched-note {
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 28px;
  background: linear-gradient(90deg,
    rgba(110, 231, 168, 0.08) 0%,
    rgba(110, 231, 168, 0.015) 100%);
  border: 1px solid rgba(110, 231, 168, 0.28);
  border-left: 3px solid #6ee7a8;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.launched-note__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 10px rgba(110, 231, 168, 0.65);
}
.launched-note__label {
  flex-shrink: 0;
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6ee7a8;
  margin-top: 4px;
  white-space: nowrap;
}
.launched-note__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-ink);
  flex: 1 1 300px;
}

/* Roadmap group wrapper */
.roadmap-group {
  max-width: 920px;
  margin: 0 auto;
}
.roadmap-group__head {
  text-align: center;
  margin-bottom: 48px;
}
.roadmap-group__priority {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.roadmap-group__priority--now {
  color: #fff;
  background: var(--c-primary);
  box-shadow: 0 0 20px rgba(194, 48, 211, 0.4);
}
.roadmap-group__priority--next {
  color: var(--c-primary);
  background: rgba(194, 48, 211, 0.12);
  border: 1px solid rgba(194, 48, 211, 0.35);
}
.roadmap-group__priority--later {
  color: var(--c-ink-80);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line-2);
}
.roadmap-group__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--c-ink);
}
.roadmap-group__sub {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--c-ink-80);
  font-size: 1rem;
  line-height: 1.6;
}

/* Roadmap item list */
.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.roadmap-item {
  display: flex;
  gap: 24px;
  padding: 24px 28px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: 12px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.roadmap-item:hover {
  border-color: var(--c-primary);
  transform: translateX(4px);
  background: linear-gradient(180deg,
    rgba(194, 48, 211, 0.08) 0%,
    rgba(255, 255, 255, 0.01) 100%);
}
.roadmap-item__rank {
  flex-shrink: 0;
  width: 52px;
  font-family: var(--f-display);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-primary);
  opacity: 0.7;
  text-shadow: 0 0 16px rgba(194, 48, 211, 0.3);
}
.roadmap-item__body {
  flex: 1;
}
.roadmap-item__title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.roadmap-item__desc {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--c-ink);
}
.roadmap-item__tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(194, 48, 211, 0.1);
  border: 1px solid rgba(194, 48, 211, 0.25);
  border-radius: 4px;
}

/* Mobile */
@media (max-width: 720px) {
  .launched-note {
    padding: 18px 20px;
  }
  .roadmap-item {
    padding: 20px 20px;
    gap: 16px;
  }
  .roadmap-item__rank {
    width: 40px;
    font-size: 1.8rem;
  }
  .roadmap-item__title {
    font-size: 1.2rem;
  }
}

/* ---------- THANK YOU — Explore cards ---------- */
.ty-explore {
  margin: 0 auto 32px;
  max-width: 720px;
  animation: reveal 1s var(--ease) 1.3s both;
}
.ty-explore__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-60);
  margin-bottom: 16px;
}
.ty-explore__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ty-explore__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 18px 20px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: 10px;
  text-decoration: none;
  color: var(--c-ink);
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.ty-explore__card:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
  background: linear-gradient(180deg,
    rgba(194, 48, 211, 0.1) 0%,
    rgba(255, 255, 255, 0.01) 100%);
}
.ty-explore__card-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.ty-explore__card-title {
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--c-ink);
  font-weight: 600;
}
.ty-explore__card-arrow {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.2rem;
  color: var(--c-primary);
  opacity: 0.5;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.ty-explore__card:hover .ty-explore__card-arrow {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .ty-explore__cards { grid-template-columns: 1fr; }
}

/* =========================================================
   ADMIN DASHBOARD (admin.html)
   ========================================================= */

body.adminpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- LOGIN GATE ---------- */
.admin-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 5;
}
.admin-gate__card {
  width: 100%;
  max-width: 440px;
  padding: 40px 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
}
.admin-gate__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.admin-gate__title {
  font-family: var(--f-display);
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.admin-gate__lede {
  margin: 0 0 28px;
  color: var(--c-ink-80);
  font-size: 0.95rem;
}
.admin-gate__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-gate__input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--c-line-2);
  border-radius: 8px;
  color: var(--c-ink);
  font-size: 1rem;
  font-family: var(--f-body);
  transition: border-color .2s var(--ease);
  box-sizing: border-box;
}
.admin-gate__input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(194,48,211,0.15);
}
.admin-gate__btn {
  width: 100%;
  justify-content: center;
}
.admin-gate__error {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #ff6b8a;
  text-align: center;
}
.admin-gate__notice {
  margin: 24px 0 0;
  font-size: 0.78rem;
  color: var(--c-ink-60);
  font-style: italic;
  line-height: 1.5;
}

/* ---------- DASHBOARD ---------- */
.admin {
  flex: 1;
  position: relative;
  z-index: 2;
}
.admin__header {
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin__header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin__header-tag {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(194,48,211,0.1);
  border: 1px solid rgba(194,48,211,0.3);
  border-radius: 999px;
}
.admin__signout {
  background: transparent;
  border: 1px solid var(--c-line-2);
  color: var(--c-ink-80);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.admin__signout:hover {
  border-color: #ff6b8a;
  color: #ff6b8a;
}

.admin__inner {
  padding: 40px 20px 80px;
}
.admin__title-row {
  margin-bottom: 32px;
}
.admin__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.admin__subtitle {
  margin: 0;
  color: var(--c-ink-60);
  font-size: 0.9rem;
}
.admin__refresh-btn {
  background: none;
  border: 1px solid var(--c-line-2);
  color: var(--c-primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.admin__refresh-btn:hover {
  border-color: var(--c-primary);
  background: rgba(194,48,211,0.1);
}

/* ---------- CARDS ---------- */
.admin-card {
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-card__label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.admin-card__metric {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin: 6px 0;
  text-shadow: 0 0 20px rgba(194,48,211,0.25);
}
.admin-card__sub {
  font-size: 0.78rem;
  color: var(--c-ink-60);
  line-height: 1.4;
}

/* Hero card with countdown */
.admin-card--hero {
  margin-bottom: 24px;
  padding: 28px 28px 20px;
  background: linear-gradient(180deg, rgba(194,48,211,0.12) 0%, rgba(194,48,211,0.02) 100%);
  border-color: rgba(194,48,211,0.35);
  border-left: 3px solid var(--c-primary);
}
.admin-countdown {
  display: flex;
  gap: 24px;
  margin: 14px 0 6px;
  flex-wrap: wrap;
}
.admin-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 80px;
}
.admin-countdown__value {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(194,48,211,0.4);
}
.admin-countdown__l {
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-60);
}

/* Metrics grid */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

/* ---------- SECTIONS ---------- */
.admin-section {
  margin-bottom: 40px;
}
.admin-section__head {
  margin-bottom: 16px;
}
.admin-section__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  color: var(--c-ink);
}
.admin-section__sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--c-ink-60);
  line-height: 1.5;
}

/* ---------- DATA SOURCES ---------- */
.admin-sources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.admin-source {
  display: block;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: 10px;
  text-decoration: none;
  color: var(--c-ink);
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.admin-source:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
}
.admin-source--pending {
  opacity: 0.7;
}
.admin-source__status {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 12px;
}
.admin-source__status--live {
  color: #6ee7a8;
  background: rgba(110,231,168,0.1);
  border: 1px solid rgba(110,231,168,0.35);
}
.admin-source__status--pending {
  color: #f5b94f;
  background: rgba(245,185,79,0.1);
  border: 1px solid rgba(245,185,79,0.35);
}
.admin-source__name {
  font-family: var(--f-display);
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.admin-source__desc {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--c-ink-80);
}
.admin-source__desc code {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  padding: 2px 5px;
  background: rgba(194,48,211,0.12);
  border-radius: 3px;
  color: var(--c-primary);
}
.admin-source__cta {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-primary);
  text-transform: uppercase;
}

/* ---------- ACTIVITY LOG ---------- */
.admin-log {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--c-line-2);
  border-radius: 8px;
  overflow: hidden;
  max-height: 480px;
  overflow-y: auto;
}
.admin-log__empty {
  padding: 24px;
  margin: 0;
  text-align: center;
  color: var(--c-ink-60);
  font-style: italic;
  font-size: 0.9rem;
}
.admin-log__row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 16px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--c-line);
}
.admin-log__row:last-child { border-bottom: 0; }
.admin-log__type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  text-align: center;
}
.admin-log__type--view {
  color: var(--c-ink-80);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--c-line-2);
}
.admin-log__type--submit {
  color: #6ee7a8;
  background: rgba(110,231,168,0.1);
  border: 1px solid rgba(110,231,168,0.35);
}
.admin-log__detail {
  color: var(--c-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-log__time {
  color: var(--c-ink-60);
  font-size: 0.72rem;
}

/* ---------- QUICK LINKS ---------- */
.admin-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-quick__btn {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line-2);
  border-radius: 6px;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all .2s var(--ease);
}
.admin-quick__btn:hover {
  border-color: var(--c-primary);
  background: rgba(194,48,211,0.1);
  color: var(--c-primary);
}

/* ---------- CHECKLIST ---------- */
.admin-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.admin-checklist__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--c-ink-80);
  border-bottom: 1px solid var(--c-line);
}
.admin-checklist__item:last-child { border-bottom: 0; }
.admin-checklist__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--c-ink-60);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line-2);
}
.admin-checklist__item.is-done .admin-checklist__icon {
  color: #6ee7a8;
  background: rgba(110,231,168,0.1);
  border-color: rgba(110,231,168,0.35);
}
.admin-checklist__item.is-done {
  color: var(--c-ink);
}
.admin-checklist__item code {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  padding: 2px 5px;
  background: rgba(194,48,211,0.12);
  border-radius: 3px;
  color: var(--c-primary);
}

/* ---------- MOBILE ---------- */
@media (max-width: 720px) {
  .admin__header-tag { display: none; }
  .admin-countdown { gap: 14px; }
  .admin-countdown__unit { min-width: 60px; }
  .admin-log__row { grid-template-columns: 70px 1fr; }
  .admin-log__time { grid-column: 2; font-size: 0.7rem; }
}

/* =========================================================
   COOKIE CONSENT BANNER + CUSTOMISE MODAL
   ========================================================= */

/* ---------- Banner: on-brand bottom strip ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(26, 0, 64, 0.98) 0%, rgba(15, 0, 38, 0.98) 100%);
  border: 1px solid rgba(194, 48, 211, 0.32);
  box-shadow:
    0 24px 60px -10px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 60px -20px rgba(194, 48, 211, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.85,.3,1), opacity .3s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
}

/* Cookie icon — small magenta accent */
.cookie-banner__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(194, 48, 211, 0.12);
  color: var(--c-primary);
  border: 1px solid rgba(194, 48, 211, 0.3);
}

/* Text block */
.cookie-banner__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cookie-banner__eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.cookie-banner__text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-ink);
}
.cookie-banner__link {
  color: var(--c-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 48, 211, 0.4);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
  white-space: nowrap;
}
.cookie-banner__link:hover {
  border-bottom-color: var(--c-primary);
}

/* Buttons row */
.cookie-banner__buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--c-ink);
  transition: all .2s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Text-only button (Customise) — quietest option */
.cookie-banner__btn--text {
  color: var(--c-ink-80);
  padding: 10px 12px;
}
.cookie-banner__btn--text:hover {
  color: var(--c-primary);
  background: rgba(194, 48, 211, 0.06);
}

/* Ghost button (Reject) — middle prominence */
.cookie-banner__btn--ghost {
  border-color: var(--c-line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--c-ink);
}
.cookie-banner__btn--ghost:hover {
  border-color: var(--c-primary);
  background: rgba(194, 48, 211, 0.1);
  color: var(--c-primary);
}

/* Primary button (Accept all) — magenta with arrow */
.cookie-banner__btn--primary {
  background: linear-gradient(180deg, #d340e3 0%, var(--c-primary) 100%);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow:
    0 6px 20px -4px rgba(194, 48, 211, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  font-weight: 800;
}
.cookie-banner__btn--primary:hover {
  background: linear-gradient(180deg, #e150f0 0%, #cc35dc 100%);
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px -4px rgba(194, 48, 211, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
.cookie-banner__btn--primary svg {
  transition: transform .2s var(--ease);
}
.cookie-banner__btn--primary:hover svg {
  transform: translateX(2px);
}

/* ---------- Tablet ---------- */
@media (max-width: 880px) {
  .cookie-banner__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon text"
      "btns btns";
    gap: 14px 16px;
    padding: 16px 18px;
  }
  .cookie-banner__icon { grid-area: icon; }
  .cookie-banner__text { grid-area: text; }
  .cookie-banner__buttons {
    grid-area: btns;
    justify-content: flex-end;
    gap: 8px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 12px;
  }
  .cookie-banner__inner { padding: 14px 16px; }
  .cookie-banner__text p {
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .cookie-banner__buttons {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px;
    width: 100%;
  }
  /* Customise sits on its own row above the two main buttons */
  .cookie-banner__btn--text {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding: 6px 4px;
    font-size: 0.82rem;
  }
  .cookie-banner__btn--ghost,
  .cookie-banner__btn--primary {
    padding: 11px 14px;
    font-size: 0.85rem;
  }
}

/* ---------- Customise modal ---------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cookie-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}
.cookie-modal__panel {
  position: relative;
  max-width: 560px;
  margin: 5vh auto;
  background: linear-gradient(180deg, #1a0040 0%, #12002a 100%);
  border: 1px solid var(--c-line-2);
  border-radius: 14px;
  padding: 32px 28px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  color: var(--c-ink-60);
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 50%;
  transition: color .15s var(--ease), background .15s var(--ease);
  line-height: 1;
}
.cookie-modal__close:hover {
  color: var(--c-ink);
  background: rgba(255, 255, 255, 0.05);
}
.cookie-modal__title {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.cookie-modal__lede {
  margin: 0 0 24px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-ink-80);
}
.cookie-modal__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--c-line);
}
.cookie-modal__row:last-of-type { border-bottom: 1px solid var(--c-line); }
.cookie-modal__row-info { flex: 1; min-width: 0; }
.cookie-modal__row-info h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-ink);
  margin: 0 0 4px;
}
.cookie-modal__row-info p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--c-ink-80);
  margin: 0;
}
.cookie-modal__row-toggle {
  flex-shrink: 0;
}
.cookie-modal__locked {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6ee7a8;
  background: rgba(110, 231, 168, 0.1);
  border: 1px solid rgba(110, 231, 168, 0.35);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--c-ink-60);
  border-radius: 50%;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(22px);
  background: #fff;
}

.cookie-modal__buttons {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
  flex-wrap: wrap;
}


/* Footer social icons */
.footer__social { display:flex; gap:14px; justify-content:center; align-items:center; padding:24px 0 0; width:100%; }
.footer__social-link { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:10px; color:#fff; background:rgba(255,255,255,0.08); border:1px solid var(--c-line); transition:color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease); }
.footer__social-link:hover { color:#fff; background:var(--c-primary); transform:translateY(-2px); }
.footer__social-link svg { width:20px; height:20px; fill:#fff; display:block; }
