/* ===========================================================
   RESTART WITH RAJ — Public Brand Site
   Editorial · Cinematic · Black + Bone + Gold
   =========================================================== */
:root {
  --bg: #0a0a0a; --bg-2: #111111; --bg-3: #161616;
  --line: #1f1f1f; --line-2: #2a2a2a;
  --ink: #f5f0e6; --ink-2: #b8b3a8; --ink-3: #6a6660;
  --gold: #d4af37; --gold-2: #b8941f; --gold-soft: rgba(212,175,55,0.15);
  --green: #4ade80; --red: #ef4444;
  --grain: 0.04; --r: 14px; --r-sm: 8px; --max: 1240px;
  --t: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; font-weight: 400;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  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 0.95 0 0 0 0 0.85 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: var(--grain); mix-blend-mode: overlay;
}
.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-weight: 600; letter-spacing: -0.02em; }
.mono { font-family: 'JetBrains Mono', monospace; }
.eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 32px; display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10,10,10,0.85); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--gold) 100%);
  display: grid; place-items: center; color: #000; font-weight: 800; font-size: 14px;
}
.logo-text { line-height: 1.05; }
.logo-text strong { font-size: 14px; letter-spacing: -0.01em; font-weight: 700; }
.logo-text small { display: block; font-size: 9px; letter-spacing: 0.32em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.04); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: #000; padding: 9px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; text-decoration: none; letter-spacing: 0.02em;
  border: none; cursor: pointer; font-family: inherit; transition: transform var(--t), background var(--t);
}
.nav-cta:hover { background: var(--ink); transform: translateY(-1px); }
/* HAMBURGER + MOBILE MENU */
.menu-btn {
  display: none; position: relative; z-index: 110;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink);
  border-radius: 10px; cursor: pointer; transition: var(--t);
}
.menu-btn:hover { border-color: var(--gold); }
.menu-btn.open { border-color: var(--gold); background: var(--gold-soft); }
.menu-btn .bar {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: top 0.25s, transform 0.25s, opacity 0.15s, background 0.2s;
}
.menu-btn .bar:nth-child(1) { top: 14px; }
.menu-btn .bar:nth-child(2) { top: 21px; }
.menu-btn .bar:nth-child(3) { top: 28px; }
.menu-btn.open .bar { background: var(--gold); }
.menu-btn.open .bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn.open .bar:nth-child(2) { opacity: 0; }
.menu-btn.open .bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(10,10,10,0.96); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: 100px 32px 60px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; color: var(--ink); text-decoration: none;
  font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600;
  letter-spacing: -0.02em; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s, padding-left 0.25s;
}
.mobile-menu a::after {
  content: '→'; font-family: 'Inter', sans-serif; font-size: 18px;
  color: var(--ink-3); transition: color 0.2s, transform 0.25s;
}
.mobile-menu.open a { opacity: 1; transform: translateX(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.40s; }
.mobile-menu.open a:nth-child(8) { transition-delay: 0.45s; }
.mobile-menu a:hover, .mobile-menu a:active { color: var(--gold); padding-left: 14px; }
.mobile-menu a:hover::after, .mobile-menu a:active::after { color: var(--gold); transform: translateX(4px); }
.mobile-menu .mm-cta {
  margin-top: 22px; padding: 18px 24px;
  background: var(--gold); color: #000; border-radius: 999px;
  text-align: center; font-family: 'Inter', sans-serif; font-size: 15px;
  font-weight: 700; letter-spacing: 0.02em;
  border-bottom: none; justify-content: center;
}
.mobile-menu .mm-cta::after { display: none; }
.mobile-menu .mm-cta:hover, .mobile-menu .mm-cta:active { background: var(--ink); color: #000; padding-left: 24px; }
.mobile-menu .mm-meta {
  text-align: center; font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.22em; text-transform: uppercase; margin-top: 28px;
  font-weight: 600; opacity: 0;
  transition: opacity 0.4s ease 0.5s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mobile-menu.open .mm-meta { opacity: 1; }
.mobile-menu .mm-meta .mm-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 var(--green); animation: pulse 2s infinite;
}
body.menu-open { overflow: hidden; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { position: relative; z-index: 2; }
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: 0 auto; max-width: 1240px; }
/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 60px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,175,55,0.05), transparent 50%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02); font-size: 12px; color: var(--ink-2);
  margin-bottom: 28px; font-weight: 500;
}
.hero-status .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hero h1 { font-family: 'Fraunces', serif; font-size: clamp(48px, 9vw, 120px); font-weight: 700; line-height: 0.95; letter-spacing: -0.04em; margin-bottom: 28px; max-width: 1100px; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 600; }
.hero p.lede { font-size: clamp(15px, 1.6vw, 19px); color: var(--ink-2); max-width: 640px; margin-bottom: 40px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #000; padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: none; font-family: inherit; transition: var(--t);
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink); padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-2); font-family: inherit; transition: var(--t);
}
.btn-ghost:hover { border-color: var(--ink-2); }
.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.hero-stat { padding: 22px 24px; background: var(--bg); }
.hero-stat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; font-weight: 600; }
.hero-stat-value { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.hero-stat-value.gold { color: var(--gold); }
.hero-stat-value.green { color: var(--green); }
.hero-stat-meta { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
/* MARQUEE */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 56px; animation: scroll 40s linear infinite; white-space: nowrap; }
.marquee-track span { font-family: 'Fraunces', serif; font-size: 22px; color: var(--ink-3); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: '✦'; color: var(--gold); font-size: 14px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* SECTION HEADERS */
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em;
  margin-top: 12px; margin-bottom: 20px;
}
.section-head h2 em { font-style: italic; color: var(--gold); }
.section-head p { font-size: 17px; color: var(--ink-2); line-height: 1.7; max-width: 600px; }
/* CAPITAL */
.capital-stage {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 56px 48px; position: relative; overflow: hidden;
}
.capital-stage::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 50%; height: 200%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%); pointer-events: none;
}
.capital-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.capital-headline { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(40px, 5.5vw, 80px); letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }
.capital-headline .label { font-size: 13px; color: var(--gold); letter-spacing: 0.25em; text-transform: uppercase; display: block; margin-bottom: 14px; font-family: 'Inter', sans-serif; font-weight: 600; }
.capital-headline .v { color: var(--gold); }
.capital-bar { height: 14px; background: var(--bg); border-radius: 999px; overflow: hidden; margin: 32px 0 14px; position: relative; border: 1px solid var(--line); }
.capital-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 999px; transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 0 24px var(--gold-soft); }
.capital-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.capital-meta strong { color: var(--ink); }
.capital-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.capital-cell { padding: 28px 24px; background: var(--bg); }
.capital-cell .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.capital-cell .value { font-family: 'JetBrains Mono', monospace; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.capital-cell .value.green { color: var(--green); }
.capital-cell .value.red { color: var(--red); }
.capital-cell .meta { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
/* PLAYBOOK */
.playbook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.setup-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 36px 32px; position: relative; overflow: hidden; transition: var(--t); }
.setup-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.setup-card .num { font-family: 'Fraunces', serif; font-size: 88px; font-weight: 700; color: var(--gold); opacity: 0.18; line-height: 1; position: absolute; top: 16px; right: 24px; }
.setup-card h3 { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; margin-bottom: 8px; line-height: 1.2; letter-spacing: -0.02em; }
.setup-card .sub { font-size: 12px; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.setup-card .body { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.setup-card .body strong { color: var(--ink); font-weight: 600; }
.setup-card .body .lab { display: block; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); margin-top: 16px; margin-bottom: 4px; font-weight: 600; }
.rules-block { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 40px 36px; }
.rules-block h3 { font-family: 'Fraunces', serif; font-size: 22px; margin-bottom: 24px; }
.rules-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.rule { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.6; padding: 10px 0; }
.rule .n { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; font-family: 'JetBrains Mono', monospace; }
.rule strong { color: var(--ink); }
/* TIMELINE */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--gold), var(--line) 50%, var(--gold)); }
.tl-item { position: relative; padding: 0 0 36px 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: 8px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,0.18); }
.tl-item.failed::before { background: var(--red); box-shadow: 0 0 0 4px rgba(239,68,68,0.18); }
.tl-item.passed::before { background: var(--green); box-shadow: 0 0 0 4px rgba(74,222,128,0.18); }
.tl-date { font-size: 11px; color: var(--ink-3); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.tl-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.2; }
.tl-meta { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tl-tag { font-size: 11px; padding: 3px 10px; border-radius: 999px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.tl-tag.active { background: rgba(96,165,250,0.15); color: #60a5fa; }
.tl-tag.cleared-p1 { background: rgba(212,175,55,0.16); color: var(--gold); }
.tl-tag.cleared-p12 { background: rgba(96,165,250,0.20); color: #60a5fa; border: 1px solid rgba(96,165,250,0.4); }
.tl-tag.funded { background: rgba(74,222,128,0.18); color: var(--green); border: 1px solid rgba(74,222,128,0.5); }
.tl-tag.passed { background: rgba(74,222,128,0.18); color: var(--green); }
.tl-tag.failed { background: rgba(239,68,68,0.15); color: var(--red); }
.tl-item.cleared-p1::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,0.18); }
.tl-item.cleared-p12::before { background: #60a5fa; box-shadow: 0 0 0 4px rgba(96,165,250,0.18); }
.tl-item.funded::before { background: var(--green); box-shadow: 0 0 0 4px rgba(74,222,128,0.25); animation: pulse 2s infinite; }

/* MONEY FLOW row (under capital grid) */
.money-flow {
  margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.mf-cell { padding: 22px 24px; background: var(--bg-2); }
.mf-cell .mf-lbl {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.mf-cell .mf-lbl svg { width: 12px; height: 12px; opacity: 0.7; }
.mf-cell .mf-val { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.mf-cell .mf-val.gold { color: var(--gold); }
.mf-cell .mf-val.green { color: var(--green); }
.mf-cell .mf-val.red { color: var(--red); }
.mf-cell .mf-meta { font-size: 11px; color: var(--ink-3); margin-top: 5px; }
.mf-cell.highlight { background: linear-gradient(135deg, var(--bg-2), var(--bg-3)); box-shadow: inset 0 0 30px var(--gold-soft); }
@media (max-width: 880px) { .money-flow { grid-template-columns: 1fr; } }

/* PAYOUTS section */
.payouts-strip {
  margin: 28px 0 0; padding: 16px 22px;
  background: linear-gradient(135deg, rgba(74,222,128,0.06), rgba(212,175,55,0.06));
  border: 1px solid rgba(74,222,128,0.25); border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.payouts-strip .pay-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  display: grid; place-items: center; color: #fff;
}
.payouts-strip .pay-icon svg { width: 18px; height: 18px; }
.payouts-strip .pay-text { flex: 1; min-width: 0; }
.payouts-strip .pay-text strong {
  font-family: 'JetBrains Mono', monospace; font-size: 18px;
  color: var(--green); font-weight: 700; letter-spacing: -0.02em;
}
.payouts-strip .pay-text .small {
  display: block; font-size: 11px; color: var(--ink-2);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-top: 2px;
}

/* Screenshot icon in trade table */
.shot-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--gold); text-decoration: none;
  padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(212,175,55,0.3);
}
.shot-link:hover { background: var(--gold-soft); }
/* TRADES TABLE */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.tbl-head { padding: 24px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.tbl-head h3 { font-family: 'Fraunces', serif; font-size: 22px; }
.tbl-head .pill { font-size: 11px; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink-2); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
table thead { background: var(--bg-3); }
table th { padding: 14px 20px; text-align: left; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
table td { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
table tbody tr:last-child td { border-bottom: none; }
table tbody tr:hover { background: var(--bg-3); }
table td.first { color: var(--ink); font-weight: 500; }
.win { color: var(--green); font-weight: 600; }
.loss { color: var(--red); font-weight: 600; }
.dir-up { color: var(--green); font-weight: 600; }
.dir-down { color: var(--red); font-weight: 600; }
/* ANALYTICS */
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chart-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 28px 24px; }
.chart-card h3 { font-family: 'Fraunces', serif; font-size: 20px; margin-bottom: 4px; }
.chart-card p { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
/* LESSONS */
.lessons-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.lesson { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; transition: var(--t); cursor: pointer; position: relative; overflow: hidden; }
.lesson:hover { border-color: var(--gold); transform: translateY(-2px); }
.lesson .date { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.lesson h4 { font-family: 'Fraunces', serif; font-size: 22px; line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.01em; font-weight: 600; }
.lesson .body { font-size: 14px; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lesson .read { font-size: 11px; color: var(--gold); margin-top: 16px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
/* CTA */
.cta-wrap { background: linear-gradient(135deg, var(--bg-2), var(--bg-3)); border: 1px solid var(--line); border-radius: var(--r); padding: 80px 56px; text-align: center; position: relative; overflow: hidden; }
.cta-wrap::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, var(--gold-soft), transparent 60%); pointer-events: none; }
.cta-wrap > * { position: relative; }
.cta-wrap h2 { font-family: 'Fraunces', serif; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; font-weight: 700; }
.cta-wrap h2 em { font-style: italic; color: var(--gold); }
.cta-wrap p { color: var(--ink-2); font-size: 17px; max-width: 560px; margin: 0 auto 36px; line-height: 1.65; }
.socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; transition: var(--t); background: rgba(255,255,255,0.02); }
.social:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 16px; height: 16px; }
/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 56px 0 32px; position: relative; z-index: 2; }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 14px; }
.foot-bottom small { color: var(--ink-3); font-size: 12px; }
.foot-bottom .legal { color: var(--ink-3); font-size: 11px; max-width: 600px; line-height: 1.6; }
/* ADMIN GATE (login modal) */
.admin-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold);
  border: none; color: #000; cursor: pointer;
  display: grid; place-items: center; transition: var(--t); font-family: inherit;
  box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}
.admin-fab:hover { background: var(--ink); transform: scale(1.08); }
.gate-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(14px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px;
}
.gate-bg.show { display: flex; }
.gate-card {
  background: var(--bg-2); border: 1px solid var(--gold); border-radius: var(--r);
  padding: 44px 40px; width: 100%; max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px var(--gold-soft);
  animation: gIn .35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes gIn { from { opacity: 0; transform: translateY(-12px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.gate-mark {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--ink), var(--gold));
  display: grid; place-items: center; color: #000; font-weight: 800; font-size: 22px;
  margin: 0 auto 20px; box-shadow: 0 0 30px var(--gold-soft);
}
.gate-card h2 {
  font-family: 'Fraunces', serif; font-size: 26px; text-align: center;
  letter-spacing: -0.02em; margin-bottom: 6px; font-weight: 700;
}
.gate-card .sub { text-align: center; font-size: 12px; color: var(--ink-3); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 28px; font-weight: 600; }
.gate-card .desc { font-size: 13px; color: var(--ink-2); text-align: center; margin-bottom: 22px; line-height: 1.6; }
.gate-card input {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 14px 16px; color: var(--ink);
  font-family: 'JetBrains Mono', monospace; font-size: 15px; letter-spacing: 0.2em;
  text-align: center; margin-bottom: 14px; transition: var(--t);
}
.gate-card input:focus { outline: none; border-color: var(--gold); }
.gate-card .gate-btn {
  width: 100%; background: var(--gold); color: #000; border: none;
  padding: 14px; border-radius: 999px; font-weight: 700; font-size: 14px;
  cursor: pointer; font-family: inherit; transition: var(--t); letter-spacing: 0.02em;
}
.gate-card .gate-btn:hover { background: var(--ink); }
.gate-card .err { color: var(--red); font-size: 12px; text-align: center; margin-top: 10px; min-height: 16px; font-weight: 500; }
.gate-cancel { width: 100%; background: transparent; color: var(--ink-3); border: none; padding: 12px; font-family: inherit; font-size: 12px; cursor: pointer; margin-top: 6px; }
.gate-cancel:hover { color: var(--ink-2); }
/* Toast */
.toast-w { position: fixed; bottom: 88px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--bg-2); border: 1px solid var(--gold); padding: 12px 18px; border-radius: var(--r-sm); font-size: 13px; max-width: 320px; box-shadow: 0 8px 24px rgba(212,175,55,0.15); animation: tIn 0.3s ease-out; }
@keyframes tIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
/* Mobile */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .container, .nav { padding-left: 20px; padding-right: 20px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .section-pad { padding: 80px 0; }
  .capital-row { grid-template-columns: 1fr; gap: 32px; }
  .capital-stage { padding: 36px 24px; }
  .playbook-grid { grid-template-columns: 1fr; }
  .rules-list { grid-template-columns: 1fr; gap: 8px; }
  .analytics-grid { grid-template-columns: 1fr; }
  .lessons-grid { grid-template-columns: 1fr; }
  .cta-wrap { padding: 56px 28px; }
  .hero { padding-top: 96px; }
  .setup-card { padding: 28px 24px; }
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
/* CALC */
.calc-stage { background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); border: 1px solid var(--line); border-radius: var(--r); padding: 48px 44px; position: relative; overflow: hidden; }
.calc-stage::before { content: ''; position: absolute; top: -30%; right: -10%; width: 50%; height: 200%; background: radial-gradient(circle, var(--gold-soft), transparent 70%); pointer-events: none; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 880px) { .calc-grid { grid-template-columns: 1fr; gap: 28px; } .calc-stage { padding: 32px 24px; } }
.calc-inputs { display: flex; flex-direction: column; gap: 18px; }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.calc-field input { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; color: var(--ink); font-family: 'JetBrains Mono', monospace; font-size: 17px; font-weight: 600; transition: var(--t); }
.calc-field input:focus { outline: none; border-color: var(--gold); background: var(--bg-2); }
.calc-output { background: var(--bg); border: 1px solid var(--gold); border-radius: var(--r); padding: 32px 28px; text-align: center; box-shadow: 0 0 32px rgba(212, 175, 55, 0.08); }
.calc-output .lbl { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.calc-output .val { font-family: 'JetBrains Mono', monospace; font-size: 64px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.calc-output .unit { font-family: 'JetBrains Mono', monospace; font-size: 16px; color: var(--ink-2); margin-bottom: 18px; letter-spacing: 0.05em; }
.calc-output .meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-output .meta div { text-align: center; }
.calc-output .meta strong { display: block; color: var(--ink); font-size: 14px; margin-top: 2px; font-weight: 600; }
.calc-formula { margin-top: 18px; padding: 14px 18px; background: rgba(212,175,55,0.06); border: 1px solid rgba(212,175,55,0.25); border-radius: var(--r-sm); font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink-2); text-align: center; letter-spacing: 0.02em; }
.calc-formula span { color: var(--gold); }
.calc-disclaimer { margin-top: 20px; font-size: 12px; color: var(--ink-3); line-height: 1.65; text-align: center; max-width: 540px; margin-left: auto; margin-right: auto; font-style: italic; }
