/* =========================================================
   Money has rules — landing page
   Aesthetic: Gen Z fintech / SaaS — dark base + colored glows
   Type:    Inter (display + UI), Instrument Serif (italic accent)
   ========================================================= */

:root {
  /* surfaces */
  --bg:        #06080F;
  --bg-1:      #0A0E18;
  --bg-2:      #131826;
  --surface:   rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.08);
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.16);

  /* text */
  --ink:       #FFFFFF;
  --ink-2:     #E2E5EE;
  --ink-mute:  #97A0B3;
  --ink-dim:   #5B6478;

  /* accents (vibrant glows) */
  --c-green:   #3DDB85;
  --c-blue:    #5B8DEF;
  --c-orange:  #F59E0B;
  --c-purple:  #9B5CFF;
  --c-pink:    #FF6B9D;

  /* button */
  --accent:     #FFFFFF;
  --accent-ink: #06080F;

  --radius:    20px;
  --radius-sm: 14px;
  --maxw:      1200px;
  --ease:      cubic-bezier(.2,.7,0,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
  letter-spacing: -.005em;
  -webkit-tap-highlight-color: transparent;
}
button, a, .btn { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

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

/* ambient glows */
.glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: .55;
}
.glow-1 {
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--c-blue) 0%, transparent 60%);
  opacity: .25;
}
.glow-2 {
  top: 30vh; right: -300px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--c-purple) 0%, transparent 60%);
  opacity: .18;
}

/* dot */
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-green { background: var(--c-green); box-shadow: 0 0 12px var(--c-green); }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .55; transform: scale(.8); }
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 8, 15, 0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
}
.brand { display: inline-flex; align-items: center; }
.brand-dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--c-green);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--c-green);
  transition: transform .3s var(--ease);
}
.brand-dot:hover { transform: scale(1.3); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ink-mute);
  font-size: 14px;
  font-weight: 500;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer; white-space: nowrap;
  font-family: inherit;
  letter-spacing: -.005em;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 8px 32px -8px rgba(255,255,255,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.8) inset, 0 14px 42px -10px rgba(255,255,255,.6);
}
.btn-primary .dot { box-shadow: 0 0 8px var(--c-green); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-xl { padding: 22px 34px; font-size: 17px; }

/* =========================================================
   Typography
   ========================================================= */
.eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 28px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.display {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 8.4vw, 112px);
  line-height: .96;
  letter-spacing: -.045em;
  margin: 0 0 28px;
  color: var(--ink);
}
.display em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--c-green);
  letter-spacing: -.01em;
  font-size: 1.05em;
  padding: 0 .03em;
}
.display-2 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 0 0 24px;
  color: var(--ink);
}
.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-mute);
  max-width: 580px;
  margin: 0 0 36px;
  line-height: 1.55;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; z-index: 1;
  padding: 36px 0 56px;
  text-align: left;
}
.hero-title {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 28px;
  color: var(--ink);
  max-width: 30ch;
}
.hero-title em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--c-green);
  letter-spacing: -.005em;
  font-size: 1.05em;
  padding: 0 .03em;
}
.hero .yt-wrap { margin-bottom: 28px; }

.cta-row {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.cta-meta {
  font-size: 13px;
  color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 8px;
}
.cta-meta::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--line-2);
}

.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: -.005em;
}
.badge-up {
  background: rgba(61, 219, 133, .14);
  color: var(--c-green);
  border: 1px solid rgba(61, 219, 133, .25);
}

.mock-glow {
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle at 30% 50%, var(--glow), transparent 60%);
  opacity: .22;
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}
.mock-glow-strong { opacity: .42; }

/* =========================================================
   YouTube embed
   ========================================================= */
.yt-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 0, 0, .08), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(91, 141, 239, .12), transparent 60%),
    var(--bg-1);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.7);
}
.yt-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}

/* =========================================================
   Methods
   ========================================================= */
.methods {
  position: relative; z-index: 1;
  padding: 80px 0 120px;
}
.methods-head {
  margin-bottom: 64px;
  max-width: 720px;
}
.method-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 28px;
}
.method {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.method:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.method:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.method:nth-child(even) .method-mock { order: 2; }
.method:nth-child(even) .method-text { order: 1; }

.method-mock {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--bg-1);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid; place-items: center;
  padding: 36px;
}

.method-text { padding: 8px 0; }
.method-num {
  display: inline-block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 26px;
  color: var(--c-accent);
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.method h3 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.05; letter-spacing: -.03em;
  margin: 0 0 14px;
  color: var(--ink);
}
.method p {
  margin: 0; color: var(--ink-mute); font-size: 16px; max-width: 480px; line-height: 1.5;
}

/* 01 notification stack */
.notif-stack {
  position: relative;
  width: 100%; max-width: 380px;
  display: flex; flex-direction: column; gap: 0;
}
.notif {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(15, 19, 30, 0.95);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  margin-top: -22px;
  position: relative;
  transition: transform .3s var(--ease);
}
.notif:first-child { margin-top: 0; }
.notif-1 { z-index: 1; opacity: .55; transform: scale(.92); }
.notif-2 { z-index: 2; opacity: .75; transform: scale(.96); }
.notif-3 { z-index: 3; opacity: .9; }
.notif-4 { z-index: 4; box-shadow: 0 20px 50px -20px rgba(91, 141, 239, 0.4); }
.method:hover .notif-1 { transform: scale(.92) translateX(-4px); }
.method:hover .notif-4 { transform: translateY(-2px); }

.notif-ico {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #635BFF, #4B45D9);
  color: white;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 12px; font-weight: 600; color: var(--ink); }
.notif-sub { font-size: 11px; color: var(--ink-dim); margin-top: 1px; }
.notif-amt {
  font-weight: 700; font-size: 13px;
  color: var(--c-green);
  font-variant-numeric: tabular-nums;
}

/* 02 revenue card */
.rev-card {
  width: 100%; max-width: 380px;
  padding: 24px;
  background: rgba(15, 19, 30, 0.95);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(245, 158, 11, .25);
}
.rev-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rev-kicker { font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.rev-num { font-size: 42px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.rev-meta { font-size: 12px; color: var(--ink-dim); margin: 6px 0 18px; }
.rev-chart { width: 100%; height: 90px; }
.rev-axis {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 11px; color: var(--ink-dim);
}

/* 03 portfolio card */
.port-card {
  width: 100%; max-width: 420px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 19, 30, 0.95), rgba(15, 26, 22, 0.98));
  border: 1px solid rgba(61, 219, 133, .25);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(61, 219, 133, .35);
}
.port-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.port-kicker { font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.port-num { font-size: 38px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; margin-top: 4px; }
.port-chart { width: 100%; height: 110px; }
.port-foot {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.port-stat span {
  display: block;
  font-size: 11px; color: var(--ink-dim);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 4px;
}
.port-stat strong {
  font-size: 16px; font-weight: 700;
  color: var(--c-green);
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  padding: 60px 0 100px;
  position: relative; z-index: 1;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.stat { padding: 0 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: flex; align-items: baseline;
  font-weight: 800;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 1; color: var(--ink);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stat-num span:last-child {
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--c-green);
  margin-left: 4px;
  font-weight: 700;
}
.stat p {
  margin: 16px 0 0; color: var(--ink-mute);
  max-width: 280px; font-size: 14px; line-height: 1.5;
}

/* =========================================================
   Topics grid
   ========================================================= */
.topics {
  padding: 80px 0 120px;
  position: relative; z-index: 1;
}
.topics-head { margin-bottom: 56px; max-width: 720px; }
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.topic {
  display: flex; flex-direction: column;
  padding: 24px;
  background: rgba(15, 19, 30, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  text-decoration: none;
}
.topic:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: rgba(20, 26, 40, 0.85);
}
.topic-mock {
  height: 100px;
  border-radius: 12px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  display: grid; place-items: center;
  padding: 14px;
  position: relative; overflow: hidden;
}
.topic-mock svg { width: 100%; height: 100%; }
.topic-mock-coin .coin {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B, #EAB308);
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px; color: #1B1100;
  box-shadow: 0 0 30px rgba(245, 158, 11, .4);
}
.topic-mock-bars {
  display: flex; align-items: flex-end; justify-content: space-between;
  height: 100%; width: 100%; gap: 6px;
  padding: 14px 4px 4px;
}
.topic-mock-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--c) 0%, transparent 130%);
  border-radius: 4px 4px 0 0;
  opacity: .85;
}
.topic-mock-tax {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.tax-pct {
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, var(--c-pink), var(--c-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.03em;
  line-height: 1;
}
.tax-lbl { font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }
.topic-mock-stack { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; height: 100%; }
.topic-mock-stack span {
  width: 48px; height: 16px; border-radius: 6px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  opacity: .9;
}
.topic-mock-stack span:nth-child(2) { width: 60px; opacity: .7; }
.topic-mock-stack span:nth-child(3) { width: 36px; opacity: .5; }

.topic-tag {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-green); font-weight: 700;
  margin-bottom: 8px;
}
.topic h4 {
  font-size: 17px; font-weight: 700;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}

/* =========================================================
   Why
   ========================================================= */
.why {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.why-inner { max-width: 720px; }
.why-body {
  color: var(--ink-mute);
  font-size: clamp(17px, 1.5vw, 20px);
  margin: 24px 0 0;
  line-height: 1.55;
}

/* =========================================================
   Final CTA
   ========================================================= */
.final {
  padding: 140px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.final::before {
  content: "";
  position: absolute; left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(50% 50% at 50% 50%, var(--c-green), transparent 70%);
  opacity: .14; filter: blur(40px);
  pointer-events: none;
}
.final-inner { max-width: 760px; margin: 0 auto; position: relative; }
.final .eyebrow { justify-content: center; }
.final .display { font-size: clamp(48px, 8vw, 96px); margin-bottom: 36px; }
.microcopy { color: var(--ink-dim); font-size: 13px; margin: 22px 0 0; }

/* =========================================================
   Footer
   ========================================================= */
.foot {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-dim); font-size: 13px;
  position: relative; z-index: 1;
}
.foot-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.foot-dot { color: var(--line-2); }

/* =========================================================
   Reveal
   ========================================================= */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .method, .method:nth-child(even) { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .method:nth-child(even) .method-mock { order: 0; }
  .method:nth-child(even) .method-text { order: 0; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; padding: 24px 0; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .stat:last-child { border-bottom: none; }
  .stat:first-child { padding-top: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-row { padding: 14px 20px; }
  .nav-links { gap: 8px; }
  .nav-links a:not(.btn) { display: none; }

  .hero { padding: 20px 0 40px; }
  .hero-title { font-size: clamp(22px, 6.2vw, 30px); letter-spacing: -.025em; margin-bottom: 20px; }
  .hero-title em { font-size: 1em; }
  .display { font-size: clamp(38px, 11vw, 52px); letter-spacing: -.04em; }
  .display em { font-size: 1em; }
  .display-2 { font-size: clamp(28px, 7vw, 36px); letter-spacing: -.035em; }
  .lede { font-size: 16px; margin-bottom: 28px; line-height: 1.5; }
  .eyebrow { margin-bottom: 16px; font-size: 11px; }

  .hero .yt-wrap { margin-bottom: 20px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .cta-row .btn { width: 100%; justify-content: center; padding: 16px 22px; }
  .cta-meta { justify-content: center; font-size: 12px; }
  .cta-meta::before { display: none; }

  /* Methods: drop forced aspect ratio, let mockups breathe */
  .methods { padding: 56px 0 56px; }
  .methods-head { margin-bottom: 32px; }
  .method-grid { gap: 16px; }
  .method { padding: 24px; gap: 24px; border-radius: 16px; }
  .method-mock {
    aspect-ratio: auto;
    min-height: 200px;
    padding: 20px;
    border-radius: 14px;
  }
  .method-num { font-size: 22px; margin-bottom: 12px; }
  .method h3 { font-size: 22px; line-height: 1.1; margin-bottom: 10px; }
  .method p { font-size: 14px; line-height: 1.5; }

  /* method 01 — notification stack: tighten */
  .notif-stack { max-width: 100%; }
  .notif { padding: 10px 12px; gap: 10px; border-radius: 12px; margin-top: -18px; }
  .notif-ico { width: 26px; height: 26px; font-size: 12px; }
  .notif-title { font-size: 11.5px; }
  .notif-sub { font-size: 10.5px; }
  .notif-amt { font-size: 12px; }

  /* method 02 — revenue card */
  .rev-card { max-width: 100%; padding: 18px; border-radius: 16px; }
  .rev-num { font-size: 30px; }
  .rev-meta { margin-bottom: 12px; }
  .rev-chart { height: 72px; }

  /* method 03 — portfolio card */
  .port-card { max-width: 100%; padding: 18px; border-radius: 16px; }
  .port-num { font-size: 28px; }
  .port-chart { height: 90px; }
  .port-foot { gap: 12px; margin-top: 14px; padding-top: 14px; }
  .port-stat strong { font-size: 14px; }

  .stats { padding: 24px 0 56px; }
  .stat-num span:last-child { font-size: 22px; }

  /* Topics */
  .topics { padding: 48px 0 72px; }
  .topics-head { margin-bottom: 28px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .topic { padding: 16px; border-radius: 12px; }
  .topic-mock { height: 70px; margin-bottom: 12px; padding: 10px; }
  .topic-mock-coin .coin { width: 44px; height: 44px; font-size: 18px; }
  .tax-pct { font-size: 30px; }
  .topic-mock-stack span { width: 36px; height: 12px; }
  .topic-mock-stack span:nth-child(2) { width: 46px; }
  .topic-mock-stack span:nth-child(3) { width: 28px; }
  .topic-tag { font-size: 10px; margin-bottom: 6px; }
  .topic h4 { font-size: 14px; line-height: 1.25; }

  .why { padding: 64px 0; }
  .why-body { font-size: 16px; }

  .final { padding: 80px 0 64px; }
  .final .display { font-size: clamp(36px, 9.5vw, 48px); }
  .final .btn-xl { width: 100%; justify-content: center; padding: 18px 22px; font-size: 15px; }

  .foot { padding: 28px 0 max(28px, env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .display { font-size: 36px; }
  .display em { padding: 0; }
  .method h3 { font-size: 20px; }
  .topics-grid { gap: 8px; }
  .topic { padding: 14px; }
  .topic h4 { font-size: 13px; }
}

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

/* =========================================================
   VETTING GATE (modal)
   ========================================================= */
body.gate-locked { overflow: hidden; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gate.is-open { display: flex; }

.gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 11, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: gateFade .25s var(--ease);
}

.gate-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 30px 28px 22px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02);
  overflow: hidden;
  animation: gateRise .42s var(--ease);
}
.gate-card::before {
  content: "";
  position: absolute;
  top: -160px; left: 50%;
  width: 420px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--c-green) 0%, transparent 62%);
  opacity: .14;
  pointer-events: none;
}

.gate-x {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border: none;
  background: var(--surface);
  color: var(--ink-mute);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
  z-index: 2;
}
.gate-x:hover { background: var(--surface-2); color: var(--ink); }

.gate-bar {
  height: 4px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
  margin-bottom: 24px;
}
.gate-bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-green));
  transition: width .4s var(--ease);
}

.gate-body { position: relative; min-height: 230px; }

.gate-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-green);
  margin: 0 0 10px;
}
.gate-q {
  font-size: clamp(20px, 5vw, 25px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.gate-sub {
  font-size: 14.5px;
  color: var(--ink-mute);
  margin: 0 0 20px;
  line-height: 1.45;
}

.gate-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.gate-opt {
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .12s;
}
.gate-opt:hover {
  border-color: var(--c-green);
  background: var(--surface-2);
}
.gate-opt:active { transform: scale(.985); }
.gate-opt.selected {
  border-color: var(--c-green);
  background: rgba(61, 219, 133, .1);
  color: var(--ink);
}

.gate-input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  outline: none;
  transition: border-color .18s;
}
.gate-input::placeholder { color: var(--ink-dim); }
.gate-input:focus { border-color: var(--c-green); }

/* phone step: dial-code select + number */
.gate-phone { display: flex; gap: 10px; }
.gate-dial {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 15px 12px;
  outline: none;
  cursor: pointer;
  max-width: 130px;
  transition: border-color .18s;
}
.gate-dial:focus { border-color: var(--c-green); }
.gate-dial option { background: var(--bg-1); color: var(--ink); }
.gate-phone-num { flex: 1 1 auto; min-width: 0; }

/* inline validation message */
.gate-err {
  display: none;
  color: var(--c-pink);
  font-size: 13.5px;
  margin: 2px 2px 0;
}
.gate-err.show { display: block; }

.gate-continue {
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  font-weight: 700;
}
.gate-continue:hover {
  background: #fff;
  border-color: transparent;
  opacity: .92;
}

.gate-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  gap: 12px;
}
.gate-back {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  transition: color .2s;
}
.gate-back:hover { color: var(--ink); }
.gate-secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-dim);
}

/* submitting / success overlay */
.gate-done {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border-radius: var(--radius);
  padding: 30px;
}
.gate-done[aria-hidden="false"] { display: flex; }
.gate-done h3 { font-size: 24px; font-weight: 800; margin: 14px 0 2px; }
.gate-done p { color: var(--ink-mute); margin: 0; }
.gate-spinner {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 3px solid var(--surface-2);
  border-top-color: var(--c-green);
  animation: gateSpin .8s linear infinite;
}

@keyframes gateFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gateRise {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes gateSpin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .gate { padding: 0; align-items: flex-end; }
  .gate-card {
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    padding: 26px 20px 18px;
  }
}
