/* ============================================================
   Poolhood — landing styles
   ============================================================ */

:root {
  --font-display: 'Space Grotesk', ui-sans-serif, 'Segoe UI', system-ui, sans-serif;
  --font-word:    'Poppins', var(--font-display);
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --rail-w: 74px;
  --maxw: 1320px;

  --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;
}

/* -------- Dark (default) -------- */
:root[data-theme="dark"] {
  --bg-base: #0A0D08;
  --bg-sunken: #070906;
  --bg-surface: #0E120C;
  --bg-elevated: #141912;
  --border-subtle: rgba(198, 241, 53, .09);
  --border-default: #232A1C;
  --border-strong: #38422C;
  --text-primary: #F4F7EE;
  --text-secondary: #B4BCA9;
  --text-muted: #7C8574;
  --text-faint: #4A5241;
  --accent: #C6F135;
  --accent-hover: #D2FA48;
  --on-accent: #0A0D08;
  --accent-text: #C6F135;
  --focus-ring: rgba(198, 241, 53, .55);
  --glow-sm: 0 0 24px rgba(198, 241, 53, .28);
  --glow-md: 0 0 60px rgba(198, 241, 53, .32);
  --shadow-1: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px -14px rgba(0,0,0,.7);
  --shadow-2: 0 30px 70px -28px rgba(0,0,0,.8);
  --glass-blend: screen;
  --nav-bg: rgba(10, 13, 8, .72);
}

/* -------- Light -------- */
:root[data-theme="light"] {
  --bg-base: #F3F6EC;
  --bg-sunken: #E9EDDF;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FBFCF6;
  --border-subtle: rgba(16, 20, 13, .09);
  --border-default: #DCE1CF;
  --border-strong: #C1CAAF;
  --text-primary: #10140D;
  --text-secondary: #3A4232;
  --text-muted: #6B7360;
  --text-faint: #A6AE97;
  --accent: #ABDB00;
  --accent-hover: #9BC800;
  --on-accent: #0A0D08;
  --accent-text: #5C7A00;
  --focus-ring: rgba(92, 122, 0, .6);
  --glow-sm: 0 0 20px rgba(171, 219, 0, .22);
  --glow-md: 0 0 46px rgba(171, 219, 0, .24);
  --shadow-1: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 28px -16px rgba(16,20,13,.18);
  --shadow-2: 0 30px 64px -28px rgba(16,20,13,.24);
  --glass-blend: normal;
  --nav-bg: rgba(243, 246, 236, .75);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-display);
  background: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

a { color: inherit; text-decoration: none; }
strong { color: var(--text-primary); font-weight: 600; }
em { font-style: normal; color: var(--accent-text); }

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

/* ============ LAYOUT ============ */
.page { padding-left: 0; }
@media (min-width: 1024px) { .page { padding-left: var(--rail-w); } }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-24) var(--space-8);
}
@media (max-width: 640px) { .section { padding: var(--space-16) var(--space-6); } }

/* ============ SCROLL PROGRESS (mobile) ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 60; box-shadow: var(--glow-sm);
  transition: width .1s linear;
}
@media (min-width: 1024px) { .scroll-progress { display: none; } }

/* ============ INDEX RAIL ============ */
.rail {
  position: fixed; left: 0; top: 0; height: 100vh; width: var(--rail-w);
  display: none; flex-direction: column; align-items: center;
  justify-content: center; gap: var(--space-16); z-index: 40;
  border-right: 1px solid var(--border-subtle);
}
@media (min-width: 1024px) { .rail { display: flex; } }

.rail-index {
  position: absolute; top: 26px; left: 50%;
  transform: translateX(-50%) rotate(90deg); transform-origin: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  color: var(--text-faint); white-space: nowrap; margin-top: 40px;
}
.rail-list { list-style: none; position: relative; display: flex; flex-direction: column; gap: 22px; }
.rail-item {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-faint);
  transition: color .25s ease; display: block; padding: 2px 6px;
}
.rail-item:hover { color: var(--text-secondary); }
.rail-item.active { color: var(--accent-text); text-shadow: var(--glow-sm); }
.rail-active-line {
  position: absolute; left: -14px; top: 0; width: 2px; height: 18px;
  background: var(--accent); box-shadow: var(--glow-sm); border-radius: 2px;
  transition: transform .35s cubic-bezier(.22,1,.36,1); opacity: 0;
}
.rail-arrow { position: absolute; bottom: 30px; font-size: 14px; color: var(--text-faint); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
@media (min-width: 1024px) { .nav { left: var(--rail-w); } }
.nav.scrolled {
  background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--space-8);
}
@media (max-width: 640px) { .nav-inner { padding: 14px var(--space-6); } }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { color: var(--accent); display: inline-flex; filter: drop-shadow(var(--glow-sm)); }
:root[data-theme="light"] .logo-mark { color: var(--text-primary); filter: none; }
.logo-word { font-family: var(--font-word); font-weight: 600; font-size: 21px; color: var(--text-primary); letter-spacing: -.01em; }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-context {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); padding-right: 4px;
}
@media (max-width: 900px) { .nav-context { display: none; } }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default); color: var(--text-secondary);
  background: transparent; cursor: pointer; transition: all .2s ease;
}
.icon-btn:hover { color: var(--text-primary); border-color: var(--border-strong); background: var(--bg-elevated); }
.theme-toggle .ico-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: var(--radius-pill); cursor: pointer;
  border: 1px solid transparent; transition: all .18s ease; display: inline-flex;
  align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--glow-sm); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-default); }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--bg-elevated); }

/* ============ WALLET ============ */
.wallet { position: relative; }
.btn-wallet {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--text-primary); color: var(--bg-base); border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s ease;
}
.btn-wallet:hover { box-shadow: var(--glow-sm); transform: translateY(-1px); }
.btn-wallet.connected { background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-strong); }
.wallet-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); flex: none; }
.btn-wallet.connected .wallet-dot { background: var(--accent); box-shadow: var(--glow-sm); }

.wallet-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 250px;
  background: var(--bg-elevated); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 8px;
  display: flex; flex-direction: column; gap: 2px; z-index: 70;
}
.wallet-menu[hidden] { display: none; }
.wallet-menu-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; }
.wallet-menu-key { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.wallet-menu-val { font-size: 13px; color: var(--text-primary); }
.wallet-menu-val.mono { font-family: var(--font-mono); font-size: 12px; }
.wallet-menu-btn {
  text-align: left; padding: 10px; border-radius: 8px; background: transparent;
  border: none; color: var(--text-secondary); font-family: var(--font-display); font-size: 13px; cursor: pointer;
}
.wallet-menu-btn:hover { background: var(--bg-surface); color: var(--text-primary); }
.wallet-menu-btn.danger:hover { color: #F27; }

/* ============ HERO ============ */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: var(--space-16); padding: 150px var(--space-8) var(--space-24);
  min-height: 100vh;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: var(--space-12); padding-top: 120px; min-height: auto; }
}
@media (max-width: 640px) { .hero { padding: 110px var(--space-6) var(--space-16); } }

.pill {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em;
  color: var(--text-muted); background: var(--bg-surface);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  padding: 9px 15px; margin-bottom: var(--space-8);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: var(--glow-sm); flex: none; }
@media (max-width: 420px) { .pill { font-size: 9.5px; letter-spacing: .08em; } }

.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--text-muted); display: block; margin-bottom: 18px; }

.hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 6.4vw, 92px); line-height: .98; letter-spacing: -.03em;
  color: var(--text-primary); margin-bottom: var(--space-8);
}
.hero-h1 .line { display: block; }

.hero-lead {
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: var(--text-secondary);
  max-width: 34em; margin-bottom: var(--space-8);
}
.lead-fine { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-muted); }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 420px) { .hero-cta .btn { flex: 1 1 100%; } }

/* Stats */
.stats {
  margin-top: var(--space-16); display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  background: var(--bg-surface); overflow: hidden;
}
.stat { padding: 20px 18px; border-right: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 6px; }
.stat:last-child { border-right: none; }
.stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--text-muted); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 27px); color: var(--text-primary); letter-spacing: -.02em; line-height: 1; }
.stat-cap { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: var(--text-faint); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border-subtle); } }
@media (max-width: 380px) { .stats { grid-template-columns: 1fr; } .stat { border-right: none; border-bottom: 1px solid var(--border-subtle); } .stat:last-child { border-bottom: none; } }

/* ============ HERO VISUAL ============ */
.hero-visual { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 980px) { .hero-visual { min-height: 400px; } }
@media (max-width: 480px) { .hero-visual { min-height: 320px; } }

.hero-glow {
  position: absolute; inset: -12% -12% -12% 8%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 46% at 66% 44%, rgba(198,241,53,.30), rgba(198,241,53,.10) 40%, rgba(198,241,53,0) 70%),
    radial-gradient(28% 28% at 74% 30%, rgba(210,250,72,.22), rgba(210,250,72,0) 62%);
  filter: blur(26px); mix-blend-mode: var(--glass-blend);
}
.hero-watermark { position: absolute; z-index: 0; color: var(--accent); opacity: .05; pointer-events: none; }

.disc-stack { position: relative; z-index: 1; width: 340px; height: 340px; perspective: 1100px; }
@media (max-width: 480px) { .disc-stack { transform: scale(.8); } }

.disc { position: absolute; border-radius: 50%; transform-style: preserve-3d; }
.disc-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.55)); }
.disc-txt { font-family: var(--font-mono); font-size: 6.5px; letter-spacing: .14em; fill: var(--text-muted); }
.disc-txt.lime { fill: var(--accent); }

.disc-1 { width: 300px; height: 300px; top: 20px; left: 40px; transform: rotateX(54deg) rotateZ(-24deg) translateZ(60px); filter: drop-shadow(0 0 34px rgba(198,241,53,.28)); animation: float1 7s ease-in-out infinite; z-index: 3; }
.disc-2 { width: 280px; height: 280px; top: 60px; left: 5px; transform: rotateX(54deg) rotateZ(-24deg) translateZ(20px); animation: float2 8s ease-in-out infinite; z-index: 2; }
.disc-3 { width: 260px; height: 260px; top: 95px; left: -25px; transform: rotateX(54deg) rotateZ(-24deg); background: radial-gradient(circle at 38% 32%, #141a10, #0a0d08); border: 1px solid rgba(198,241,53,.14); box-shadow: 0 30px 50px rgba(0,0,0,.5); animation: float3 9s ease-in-out infinite; z-index: 1; }

@keyframes float1 { 0%,100%{transform:rotateX(54deg) rotateZ(-24deg) translateZ(60px) translateY(0)} 50%{transform:rotateX(54deg) rotateZ(-24deg) translateZ(60px) translateY(-14px)} }
@keyframes float2 { 0%,100%{transform:rotateX(54deg) rotateZ(-24deg) translateZ(20px) translateY(0)} 50%{transform:rotateX(54deg) rotateZ(-24deg) translateZ(20px) translateY(-8px)} }
@keyframes float3 { 0%,100%{transform:rotateX(54deg) rotateZ(-24deg) translateY(0)} 50%{transform:rotateX(54deg) rotateZ(-24deg) translateY(-5px)} }

/* ============ CONTRACT ADDRESS (CA) ============ */
.ca-section { max-width: var(--maxw); margin: -44px auto 0; padding: 0 var(--space-8); }
@media (max-width: 640px) { .ca-section { padding: 0 var(--space-6); margin-top: -20px; } }
.ca-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--bg-surface); border: 1px solid rgba(198, 241, 53, .28);
  border-radius: var(--radius-lg); padding: 16px 20px;
  box-shadow: 0 0 0 1px rgba(198, 241, 53, .05), var(--shadow-1);
}
.ca-left { display: flex; flex-direction: column; gap: 4px; }
.ca-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--accent-text); }
.ca-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .03em; color: var(--text-muted); }
.ca-right { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
.ca-value {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--text-primary);
  background: var(--bg-base); border: 1px solid var(--border-default); border-radius: var(--radius-pill);
  padding: 9px 16px; white-space: nowrap; overflow-x: auto; max-width: 100%; cursor: pointer;
  scrollbar-width: none;
}
.ca-value::-webkit-scrollbar { height: 0; }
.ca-value:hover { border-color: var(--border-strong); }
.ca-copy {
  display: inline-flex; align-items: center; gap: 7px; flex: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--on-accent);
  background: var(--accent); border: 1px solid transparent; border-radius: var(--radius-pill);
  padding: 9px 15px; transition: all .18s ease;
}
.ca-copy:hover { background: var(--accent-hover); box-shadow: var(--glow-sm); transform: translateY(-1px); }
.ca-copy.copied { background: var(--bg-surface); color: var(--accent-text); border-color: rgba(198, 241, 53, .4); }
@media (max-width: 560px) {
  .ca-right { width: 100%; justify-content: space-between; }
  .ca-value { flex: 1 1 auto; }
}

/* ============ SECTION HEADERS ============ */
.sec-head { max-width: 760px; margin-bottom: var(--space-16); }
.sec-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); letter-spacing: .05em; }
.sec-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); display: block; margin: 10px 0 14px; }
.sec-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.02em; color: var(--text-primary); }
.sec-sub { margin-top: 18px; font-size: 17px; color: var(--text-secondary); max-width: 44em; }

/* ============ CARDS / GRIDS ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 28px; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card:hover { border-color: rgba(198,241,53,.28); transform: translateY(-4px); box-shadow: var(--shadow-1); }
.card-num { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--text-primary); margin: 14px 0 10px; letter-spacing: -.01em; }
.card-body { font-size: 15px; color: var(--text-secondary); }
.accent-card:hover { box-shadow: var(--shadow-1), var(--glow-sm); }

.boundary-strip {
  margin-top: 22px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted);
  border: 1px dashed var(--border-default); border-radius: var(--radius-md); padding: 14px 18px;
}
.bs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: var(--glow-sm); }

/* ============ SPLIT (shares) ============ */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 30px; }
.panel-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-muted); padding: 5px 11px; border: 1px solid var(--border-default); border-radius: var(--radius-pill); }
.panel-tag.lime { color: var(--accent-text); border-color: rgba(198,241,53,.3); }
.panel-title { font-family: var(--font-display); font-weight: 600; font-size: 23px; color: var(--text-primary); margin: 18px 0 18px; letter-spacing: -.01em; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; color: var(--text-secondary); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; } }
.mini h4 { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-primary); margin-bottom: 5px; }
.mini p { font-size: 13.5px; color: var(--text-muted); }
.sep-note { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); }

/* ============ ARCHITECTURE FLOW ============ */
.flow { display: flex; align-items: stretch; gap: 10px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
.node { flex: 1 1 0; min-width: 180px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 20px; }
.node-k { font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); display: block; margin-bottom: 10px; letter-spacing: .02em; }
.node p { font-size: 13.5px; color: var(--text-secondary); }
.flow-arrow { display: flex; align-items: center; color: var(--text-faint); font-size: 20px; flex: none; }
@media (max-width: 860px) {
  .flow { flex-direction: column; overflow: visible; }
  .flow-arrow { transform: rotate(90deg); justify-content: center; }
  .node { min-width: 0; }
}

/* ============ ROADMAP ============ */
.roadmap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 980px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }
.phase { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 22px; border-top: 2px solid var(--border-default); }
.phase.done { border-top-color: var(--accent); }
.phase.deferred { opacity: .72; }
.phase-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.phase-k { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text-primary); }
.phase p { font-size: 13.5px; color: var(--text-secondary); }
.badge { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); color: var(--text-muted); }
.badge-done { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.badge-muted { color: var(--text-faint); }

/* ============ BOUNDARY ============ */
.boundary { background: var(--bg-sunken); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: var(--space-16); }
@media (max-width: 640px) { .boundary { padding: var(--space-8); } }
.boundary-head { margin-bottom: var(--space-12); }
.not-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .not-grid { grid-template-columns: 1fr; } }
.not { border-left: 2px solid var(--accent); padding-left: 18px; }
.not span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--text-primary); display: block; margin-bottom: 8px; text-transform: uppercase; }
.not p { font-size: 14px; color: var(--text-secondary); }
.risks { margin-top: var(--space-12); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.risks-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.risk-chip { font-family: var(--font-mono); font-size: 11px; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); color: var(--text-secondary); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.faq details { border-bottom: 1px solid var(--border-subtle); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 4px; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--text-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { position: relative; width: 14px; height: 14px; flex: none; }
.faq .chev::before, .faq .chev::after { content: ""; position: absolute; background: var(--accent); transition: transform .25s ease; }
.faq .chev::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq .chev::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq details[open] .chev::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 4px 24px; font-size: 15px; color: var(--text-secondary); max-width: 60em; }

/* ============ FINAL CTA ============ */
.final-cta { position: relative; padding: var(--space-24) var(--space-8) var(--space-24); text-align: center; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 40%, rgba(198,241,53,.14), rgba(198,241,53,0) 70%);
  mix-blend-mode: var(--glass-blend);
}
.cta-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cta-mark { color: var(--accent); filter: drop-shadow(var(--glow-md)); }
:root[data-theme="light"] .cta-mark { color: var(--text-primary); }
.cta-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.025em; color: var(--text-primary); }
.disclaimer { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7; letter-spacing: .02em; color: var(--text-muted); max-width: 60em; margin-top: 8px; }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated); border: 1px solid var(--border-strong); color: var(--text-primary);
  padding: 12px 20px; border-radius: var(--radius-pill); font-size: 14px; z-index: 90;
  box-shadow: var(--shadow-2); opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast { pointer-events: none; }
.toast[hidden] { display: none; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(5px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1), filter .6s ease; }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .disc-1, .disc-2, .disc-3, .rail-arrow { animation: none; }
  .btn, .card, .icon-btn { transition: none; }
}
