:root {
  --bg: #070b14;
  --bg-alt: #0c1322;
  --surface: rgba(17, 25, 42, 0.88);
  --surface-hover: rgba(24, 35, 58, 0.96);
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.16);
  --gold: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.16);
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.16);
  --rose: #f472b6;
  --rose-soft: rgba(244, 114, 182, 0.16);
  --emerald: #22c55e;
  --emerald-soft: rgba(34, 197, 94, 0.16);
  --radius: 20px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 500px at 12% 8%, rgba(245, 158, 11, 0.11), transparent 70%),
    radial-gradient(900px 520px at 88% 16%, rgba(56, 189, 248, 0.12), transparent 70%),
    radial-gradient(900px 600px at 50% 65%, rgba(244, 114, 182, 0.08), transparent 75%);
  color: var(--ink);
  font: 16.5px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.narrow {
  max-width: 780px;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.45em;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
}

section {
  padding: 72px 0;
  position: relative;
}

section.alt {
  background: linear-gradient(180deg, rgba(12, 19, 34, 0.85) 0%, rgba(9, 14, 26, 0.92) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Sticky Top Navigation */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.04em;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.4);
}

.brand-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

header.site nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

header.site nav a {
  color: #cbd5e1;
  font-size: 14.5px;
  font-weight: 700;
  transition: color 0.18s;
}

header.site nav a:hover {
  color: #fff;
}

header.site nav a.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, #ea580c 100%);
  color: #090d16;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

/* Hero Command Center */
.hero {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line);
}

.herogrid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 12px;
  color: var(--gold);
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(245, 158, 11, 0.4);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 18px;
}

.grad-text {
  background: linear-gradient(95deg, #fde68a 0%, #f59e0b 35%, #f472b6 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tag {
  font-size: clamp(17px, 1.8vw, 20px);
  color: #cbd5e1;
  max-width: 54ch;
  margin: 0 0 24px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #090d16;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.35);
}

.btn.sky {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #090d16;
  box-shadow: 0 10px 26px rgba(56, 189, 248, 0.32);
}

.btn.pink {
  background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(244, 114, 182, 0.35);
}

.btn.ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.65);
  color: #f8fafc;
}

.btn.ghost:hover {
  border-color: #ffffff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.hero-stats span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

/* Right Hero Portal Dock + Artwork */
.herovisual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portal-dock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdock-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.pdock-card:hover {
  transform: translateX(5px);
}

.pdock-card.gold:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.22);
}

.pdock-card.cyan:hover {
  border-color: var(--cyan);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.22);
}

.pdock-card.rose:hover {
  border-color: var(--rose);
  box-shadow: 0 10px 28px rgba(244, 114, 182, 0.22);
}

.pdock-card.emerald:hover {
  border-color: var(--emerald);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.22);
}

.picon {
  font-size: 26px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdock-card div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.pdock-card strong {
  font-size: 16px;
  color: #ffffff;
}

.pdock-card span {
  font-size: 13px;
  color: var(--muted);
}

.parrow {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
}

.icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.icons img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

/* Section Headers & Filter Bars */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.sec-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.sec-pill.gold {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.sec-pill.cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.sec-pill.rose {
  background: var(--rose-soft);
  color: var(--rose);
  border: 1px solid rgba(244, 114, 182, 0.45);
}

.sec-pill.emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

.center {
  text-align: center;
  margin: 36px auto 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-bar button {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
}

.filter-bar button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.filter-bar button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #090d16;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

/* Section 1: Story Quizzes Grid */
.qgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}

.qcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.qcard:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.18);
}

.qtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.qbadge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.qstat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.qcard h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.qcard p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}

.qfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.qtime {
  color: #cbd5e1;
}

.qcta {
  color: var(--gold);
}

/* Section 2: Cozy Games Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 16px 38px rgba(56, 189, 248, 0.18);
}

.card-media {
  position: relative;
  display: block;
}

.feat {
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.media-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #e0f2fe;
  font-size: 11.5px;
  font-weight: 800;
}

.cbody {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.chead {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chead h3 {
  margin: 0;
  font-size: 20px;
}

.chead h3 a {
  color: #ffffff;
}

.ic {
  border-radius: 14px;
  flex: none;
  border: 1.5px solid rgba(56, 189, 248, 0.5);
}

.kind {
  font-size: 13px;
  color: var(--muted);
}

.badge {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge.live {
  background: var(--emerald-soft);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.badge.soon {
  background: var(--cyan-soft);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.cbody p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}

.cactions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.btn-sm {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
}

.btn-sm.primary {
  background: var(--cyan);
  color: #090d16;
  flex: 1;
}

.btn-sm.ghost {
  border: 1px solid var(--line);
  color: #e2e8f0;
}

.honor-banner {
  margin-top: 32px;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(56, 189, 248, 0.14) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.honor-banner h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.honor-banner p {
  margin: 0;
  color: #cbd5e1;
  max-width: 60ch;
}

/* Section 3: Sister Manga & Manhwa Channels */
.chgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}

.chcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.chcard:hover {
  transform: translateY(-4px);
  border-color: var(--rose);
  box-shadow: 0 14px 32px rgba(244, 114, 182, 0.2);
}

.chhead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ch-av {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose);
  flex-shrink: 0;
}

.ch-av.fallback {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}

.chmeta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chkind {
  font-size: 11px;
  font-weight: 800;
  color: #f9a8d4;
}

.chmeta h3 {
  font-size: 17.5px;
  margin: 2px 0;
  color: #ffffff;
}

.chhandle {
  font-size: 12.5px;
  color: var(--rose);
  font-weight: 700;
}

.chcard p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.8px;
  flex: 1;
}

.chactions {
  display: flex;
  gap: 8px;
}

.btn-sub {
  padding: 7px 13px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 900;
}

.btn-sub:hover {
  background: #dc2626;
}

.btn-watch {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
}

/* Section 4: Social, Facebook, Telegram & Zalo Community Hub */
.sgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}

.scard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.scard:hover {
  transform: translateY(-4px);
}

.scard.social-fb:hover {
  border-color: #3b82f6;
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.25);
}

.scard.social-tg:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.25);
}

.scard.social-zalo:hover {
  border-color: #0ea5e9;
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.25);
}

.scard.social-yt:hover {
  border-color: #f472b6;
  box-shadow: 0 16px 36px rgba(244, 114, 182, 0.25);
}

.scard.social-honor:hover {
  border-color: #f59e0b;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.25);
}

.stop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sicon {
  font-size: 28px;
}

.sdomain {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.scard h3 {
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 8px;
}

.scard p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}

.sbtn {
  font-size: 14px;
  font-weight: 800;
  color: var(--cyan);
}

/* Footer */
.plist {
  line-height: 2.1;
  padding-left: 20px;
}

footer {
  background: #04070d;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 52px 0 38px;
  font-size: 14.5px;
}

.fgrid3 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 10px;
}

.fbrand img {
  border-radius: 8px;
}

.fdesc {
  margin: 0 0 14px;
  max-width: 44ch;
}

.fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fchips a {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #e2e8f0;
}

footer h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 10px;
}

.flinks {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

.flinks a {
  color: var(--muted);
}

.flinks a:hover {
  color: #ffffff;
}

.copy {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  opacity: 0.7;
  font-size: 13px;
}

@media (max-width: 860px) {
  .herogrid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .fgrid3 {
    grid-template-columns: 1fr;
  }
  section {
    padding: 52px 0;
  }
  .brand-pill {
    display: none;
  }
}

/* ==========================================================================
   FUNNEL HERO: one promise, one button
   ========================================================================== */
.hero {
  padding: 56px 0 64px;
}

.hero-funnel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hf-copy h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  margin: 12px 0 16px;
}

.hf-copy .tag {
  max-width: 52ch;
  font-size: 17px;
  color: #cbd5e1;
  margin: 0 0 26px;
}

.hf-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.hf-main {
  font-size: 18px;
  padding: 16px 30px;
}

.hf-note {
  font-size: 14px;
  color: var(--muted);
}

.hf-more {
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.hf-more a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 4px;
}

.hf-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(12, 19, 34, 0.96) 60%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hf-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.55);
}

.hf-card-step {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.hf-card strong {
  font-size: 20px;
  line-height: 1.3;
}

.hf-opt {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 15px;
}

.hf-card-foot {
  margin-top: 4px;
  font-size: 14px;
  color: var(--gold);
}

@media (max-width: 860px) {
  .hero {
    padding: 36px 0 44px;
  }
  .hero-funnel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hf-main {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 860px) {
  header.site nav a:not(.nav-cta) {
    display: none;
  }
  header.site nav {
    flex-wrap: nowrap;
  }
}

@media (max-width: 420px) {
  header.site nav a.nav-cta {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 13px;
  }
  .brand span {
    display: none;
  }
}

/* Funnel home: steps, proof, final CTA, explore intro */
.steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps li {
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.steps h3 {
  margin: 12px 0 6px;
  font-size: 19px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 900;
}

.sec-proof {
  padding: 36px 0;
}

.proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.proof strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
}

.proof span {
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  text-align: center;
}

.final-cta .lead {
  margin: 8px auto 24px;
}

.explore-intro {
  padding: 44px 0 8px;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .proof {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
}

/* Email capture */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sub-form {
  max-width: 460px;
  margin: 36px auto 0;
  text-align: left;
}

.sub-title {
  margin: 0 0 10px;
  text-align: center;
  color: #cbd5e1;
  font-size: 15px;
}

.sub-row {
  display: flex;
  gap: 10px;
}

.sub-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}

.sub-row input[type="email"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sub-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.sub-consent input {
  margin-top: 2px;
}

.sub-consent a {
  text-decoration: underline;
}

.sub-msg {
  min-height: 20px;
  margin: 8px 0 0;
  text-align: center;
  font-size: 14px;
}

.sub-msg.good {
  color: #86efac;
}

.sub-msg.bad {
  color: #fca5a5;
}

@media (max-width: 480px) {
  .sub-row {
    flex-direction: column;
  }
}

/* Thank-you page */
.welcome {
  padding: 72px 0 88px;
}

.welcome-box {
  max-width: 720px;
  text-align: center;
}

.welcome-box h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  margin: 12px 0 16px;
}

.welcome-box .tag {
  margin: 0 auto 28px;
  max-width: 52ch;
  color: #cbd5e1;
  font-size: 17px;
}

@media (max-width: 860px) {
  .welcome {
    padding: 40px 0 56px;
  }
}

/* Minimal footer on funnel pages */
footer.min {
  padding: 26px 0 34px;
  text-align: center;
  border-top: 1px solid var(--line);
}

footer.min p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

footer.min a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Short funnel pages fill the viewport: content centred, footer at the bottom (no empty band) */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > header.site {
  flex: none;
}

body > footer {
  margin-top: auto;
}

.hero,
.welcome {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero > .wrap,
.welcome > .wrap {
  width: 100%;
}

/* Community buttons on /explore/ */
.connect-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* Bonus video on /welcome/ */
.bonus {
  max-width: 640px;
  margin: 0 auto 26px;
}

.bonus[hidden] {
  display: none;
}

.bonus-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.bonus-video {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.bonus-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bonus-title {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}
