/* ===== Tokens ===== */
:root {
  --night: #070b1f;
  --night-2: #141a3f;
  --dusk: #2a2560;
  --dawn: #ef8a5c;
  --sun: #f7b733;
  --gold: #e8951c;
  --gold-deep: #b86e00;
  --sand: #fbf5ea;
  --sand-2: #f3e8d4;
  --card: #fffdf8;
  --ink: #1e1b16;
  --ink-2: #4a4337;
  --muted: #7a7062;
  --line: rgba(30, 27, 22, .12);
  --leaf: #2e7d5b;
  --violet: #8b6cff;
  --fixed: #7d8597;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-tamil: "Noto Sans Tamil", "Latha", sans-serif;

  --radius: 22px;
  --shadow: 0 1px 2px rgba(30,27,22,.06), 0 12px 40px -12px rgba(30,27,22,.18);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-gated { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ===== Type ===== */
.eyebrow {
  font: 700 12px/1.2 var(--f-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.eyebrow-light { color: #ffcf7a; }
.display {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 7.2vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0;
  font-variation-settings: "opsz" 144;
}
.display em, .display-sm em { font-weight: 400; color: var(--sun); }
.display-sm {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0 0 16px;
  font-variation-settings: "opsz" 144;
}
.display-sm em { color: var(--gold); }
.lede { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 60ch; margin: 0; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.fine-light { color: rgba(255,255,255,.62); max-width: 90ch; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 16px 28px; font-weight: 700; font-size: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-sun { background: linear-gradient(135deg, #ffd56b, #f39a2b); color: #2a1800; box-shadow: 0 10px 40px -8px rgba(247,183,51,.7); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(247,183,51,.85); }

/* ===== Top bar ===== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  color: #fff;
  transition: color .5s var(--ease), background .5s var(--ease), backdrop-filter .5s;
}
.topbar.on-light { color: var(--ink); background: rgba(251,245,234,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar.on-dark { background: rgba(9,13,38,.66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.conf b { font-weight: 700; letter-spacing: .06em; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #ffe08a 0 38%, #f39a2b 39% 56%, transparent 57%), conic-gradient(from 0deg, #f7b733 0 8%, transparent 8% 12.5%, #f7b733 12.5% 20.5%, transparent 20.5% 25%, #f7b733 25% 33%, transparent 33% 37.5%, #f7b733 37.5% 45.5%, transparent 45.5% 50%, #f7b733 50% 58%, transparent 58% 62.5%, #f7b733 62.5% 70.5%, transparent 70.5% 75%, #f7b733 75% 83%, transparent 83% 87.5%, #f7b733 87.5% 95.5%, transparent 95.5%); }
.brand-name { font-weight: 800; letter-spacing: .22em; font-size: 15px; }
.brand-sub { font-size: 13px; opacity: .7; }
.conf { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
.rail { display: flex; gap: 6px; }
.rail a { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 13px; padding: 6px 10px; border-radius: 999px; opacity: .6; transition: opacity .3s, background .3s; }
.rail a i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; transition: transform .3s, opacity .3s, background .3s; }
.rail a.active { opacity: 1; }
.rail a.active i { background: var(--sun); opacity: 1; transform: scale(1.4); }
.rail a:hover { opacity: 1; }
.rail a span { white-space: nowrap; }
.conf { max-width: 26ch; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1240px) { .rail span { display: none; } .rail a { padding: 8px 6px; } .rail a.active span { display: inline; } }
@media (max-width: 980px) { .brand-sub { display: none; } }
@media (max-width: 760px) { .rail a.active span { display: none; } }
@media (max-width: 520px) { .conf { display: none; } }

/* ===== Gate ===== */
.gate {
  position: fixed; inset: 0; z-index: 60;
  display: flex; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(120% 90% at 50% 110%, #2a2566 0%, #0b1030 45%, #03051a 100%);
  color: #fff; text-align: center;
  padding: 24px var(--gutter);
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.gate canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gate-inner { position: relative; max-width: 640px; width: 100%; margin: auto; padding: 40px 0; }
.gstep { display: none; }
.gstep.is-on { display: block; animation: gIn .7s var(--ease) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(16px); } }
.gate .gh { font: 300 clamp(28px, 4.2vw, 46px)/1.08 var(--f-display); letter-spacing: -.015em; margin: 0 0 12px; }
.gfield { text-align: left; margin: 0 auto 14px; max-width: 420px; }
.gfield label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 700; margin-bottom: 6px; }
.gfield input, .gfield textarea, .otp input {
  width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); border-radius: 14px;
  padding: 14px 16px; color: #fff; font: 500 17px var(--f-body); transition: border-color .25s, box-shadow .25s;
}
.gfield textarea { resize: vertical; min-height: 56px; }
.gfield input::placeholder, .gfield textarea::placeholder { color: rgba(255,255,255,.35); }
.gfield input:focus, .gfield textarea:focus, .otp input:focus { border-color: var(--sun); outline: none; box-shadow: 0 0 0 3px rgba(247,183,51,.25); }
.gphone { display: flex; gap: 8px; }
.gphone span { display: grid; place-items: center; padding: 0 14px; border-radius: 14px; background: rgba(255,255,255,.1); font-weight: 700; }
.otp { display: flex; gap: 8px; justify-content: center; margin: 6px 0 14px; }
.otp input { width: 48px; height: 58px; padding: 0; text-align: center; font-size: 24px; font-weight: 700; }
.gconsent { display: flex; gap: 10px; text-align: left; max-width: 420px; margin: 4px auto 10px; font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.45; cursor: pointer; }
.gconsent input { width: 20px; height: 20px; flex: none; accent-color: var(--sun); margin: 1px 0 0; }
.gerr { min-height: 1.4em; color: #ffb38a; font-size: 14px; margin: 2px auto 10px; max-width: 420px; }
.glink, .link-btn { display: block; margin: 18px auto 0; background: none; border: 0; padding: 4px; color: rgba(255,255,255,.66); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.link-btn { display: inline; margin: 0; color: var(--muted); font-size: 13px; }
.gate h1 { font: 300 clamp(36px, 6vw, 76px)/1.02 var(--f-display); letter-spacing: -.02em; margin: 0 0 18px; }
.gate h1 em { color: var(--sun); font-weight: 400; }
.gate-sub { color: rgba(255,255,255,.75); margin: 0 0 32px; font-size: 18px; }
.proto-note { margin-top: 26px; font-size: 12px; color: rgba(255,255,255,.45); }
.gate.is-open { opacity: 0; visibility: hidden; }

/* ===== Scrollytelling shell ===== */
.scrolly { position: relative; }
.scrolly-dawn { height: 340vh; }
.scrolly-day { height: 520vh; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ===== Chapter 1: Dawn ===== */
.scrolly-dawn .sticky { background: var(--night); }
.landscape { position: absolute; inset: 0; width: 100%; height: 100%; }
.layer { will-change: transform; }
.spin { animation: spin 9s linear infinite; transform-box: fill-box; transform-origin: 50% 50%; }
.mills use:nth-child(2) .spin { animation-duration: 11s; }
@keyframes spin { to { transform: rotate(360deg); } }
.star { animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .25; } }

.dawn-copy { position: absolute; inset: 0; pointer-events: none; }
.beat {
  position: absolute; left: var(--gutter); right: var(--gutter);
  top: 22vh; max-width: 980px;
  color: #fff; opacity: 0;
  text-shadow: 0 2px 30px rgba(3,5,26,.45);
  will-change: opacity, transform;
}
.b1 { opacity: 1; }
.tamil { font-family: var(--f-tamil); font-weight: 600; font-size: clamp(18px, 2.2vw, 28px); margin: 22px 0 0; color: #ffe2a8; }
.b3 { top: auto; bottom: 9vh; max-width: 620px; pointer-events: auto; text-shadow: none; color: var(--ink); }
.glass {
  background: rgba(255, 253, 248, .74);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 30px 80px -30px rgba(40,30,10,.45);
}
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(232,149,28,.12); color: var(--ink-2); border: 1px solid rgba(232,149,28,.25); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .4s;
}
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== Chapter 2: Day ===== */
.day-stage {
  display: grid; grid-template-columns: minmax(300px, 0.85fr) 1.35fr; gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: 84px var(--gutter) 28px;
  background: radial-gradient(90% 70% at 80% 0%, #fff3dc 0%, var(--sand) 60%);
}
.clock { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 12px; }
.clock span { font: 300 clamp(48px, 6vw, 84px)/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.clock small { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); padding: 5px 10px; border-radius: 999px; background: rgba(232,149,28,.12); }
.clock small.is-bat { color: #5a3fd6; background: rgba(139,108,255,.14); }
.caption { min-height: 5.2em; margin: 0 0 18px; color: var(--ink-2); font-size: 16px; transition: opacity .35s; max-width: 46ch; }
.caption.swap { opacity: 0; }
.caption b { color: var(--ink); }
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tally-col { background: var(--card); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.tally-col h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tally-col p { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.tally-col b { font: 600 clamp(20px, 2vw, 28px)/1.25 var(--f-body); font-variant-numeric: tabular-nums; }
.tally-col span { font-size: 12px; color: var(--muted); }
.t-aran { border-color: rgba(232,149,28,.45); background: linear-gradient(180deg, #fff8ea, var(--card)); }
.t-aran b { color: var(--gold-deep); }

.day-visual { display: grid; gap: 14px; min-width: 0; }
.card { margin: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.sky-strip { width: 100%; height: auto; aspect-ratio: 1000 / 300; }
.svg-label { fill: rgba(255,255,255,.85); font: 600 21px var(--f-body); letter-spacing: .02em; }
.svg-dir { fill: rgba(255,255,255,.5); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; }
.svg-label-dark { fill: var(--ink-2); font: 700 15px var(--f-body); }
.chart-card { padding: 14px 16px 8px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.legend { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--muted); font-size: 12px; }
.legend i { display: inline-block; width: 16px; height: 4px; border-radius: 2px; margin-left: 8px; }
.lg-fixed { background: repeating-linear-gradient(90deg, var(--fixed) 0 5px, transparent 5px 8px); }
.lg-aran { background: var(--gold); }
.lg-bat { background: var(--violet); }
.gen-chart { width: 100%; height: auto; overflow: visible; }
.gen-chart text { font: 500 19px var(--f-body); fill: var(--muted); }
.gen-chart .band-label { font-weight: 700; font-size: 18px; letter-spacing: .02em; }

@media (max-width: 900px) {
  .scrolly-day { height: 560vh; }
  .day-stage { grid-template-columns: 1fr; align-content: start; gap: 10px; padding: 64px 16px 12px; }
  .day-text { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end; }
  .day-text .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
  .day-text .display-sm { font-size: 24px; margin: 0; }
  .clock { margin: 0; flex-direction: column; align-items: flex-end; gap: 4px; }
  .clock span { font-size: 38px; }
  .clock small { font-size: 10px; padding: 3px 8px; }
  .caption { grid-column: 1 / -1; order: 5; min-height: 4.6em; font-size: 14px; margin: 8px 0 0; }
  .tally { grid-column: 1 / -1; order: 4; margin-top: 8px; gap: 8px; }
  .tally-col { padding: 8px 12px; border-radius: 12px; }
  .tally-col h3 { font-size: 10px; margin-bottom: 2px; }
  .tally-col b { font-size: 17px; }
  .day-text .fine { display: none; }
  .day-visual { order: -1; gap: 8px; }
  .day-stage > .day-text { order: 0; }
  .chart-card { padding: 8px 10px 4px; }
  .chart-head { font-size: 11px; }
  .legend { font-size: 10px; }
  .card { border-radius: 14px; }
}

/* ===== Chapter 3: Compare ===== */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.compare { padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 110px); background: var(--sand); }
.sec-head { max-width: 760px; margin-bottom: 30px; }
.scale-wrap { max-width: 560px; margin: 10px auto 34px; }
.scale { width: 100%; height: auto; overflow: visible; }
.token-text { font: 700 11px var(--f-body); fill: #2a1800; }

.cmp { border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.cmp-row {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.1fr;
  align-items: center; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.cmp-row.in, .cmp-headrow { opacity: 1; transform: none; }
.cmp-headrow { border-top: 0; background: var(--sand-2); }
.cmp-row > span { padding: 16px 18px; font-variant-numeric: tabular-nums; }
.cmp-headrow > span { font-weight: 700; font-size: 14px; line-height: 1.25; }
.cmp-headrow small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 3px; }
.cmp-label { font-weight: 600; color: var(--ink-2); font-size: 15px; }
.cmp-row .hl { background: linear-gradient(180deg, rgba(247,183,51,.16), rgba(247,183,51,.08)); font-weight: 700; color: var(--ink); }
.cmp-headrow .hl { background: linear-gradient(135deg, #ffd56b, #f3a43b); color: #2a1800; }
.cmp-headrow .hl small { color: rgba(42,24,0,.7); }
.cmp-row .hl .tag { display: block; font-weight: 500; font-size: 12px; color: var(--gold-deep); }
.cmp-row .bad { color: #a4472a; }
.cmp-row.honest .cmp-label::after { content: "Trade-off"; margin-left: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: rgba(30,27,22,.07); color: var(--muted); vertical-align: 2px; }
.cmp-row.honest .hl { background: rgba(30,27,22,.04); font-weight: 600; }
.cmp-row.big .cmp-label { color: var(--ink); }
.cmp-row.big > span:not(.cmp-label) { font: 600 22px/1.2 var(--f-body); }
.cmp-row.big .hl { font-size: 26px; color: var(--gold-deep); }
.cmp-note { max-width: 90ch; }

@media (max-width: 600px) {
  .gen-chart text { font-size: 26px; }
  .gen-chart .band-label { font-size: 24px; }
  .svg-label { font-size: 30px; }
  .svg-dir { display: none; }
  .returns .bars text { font-size: 30px; }
}
@media (max-width: 760px) {
  .cmp { background: transparent; box-shadow: none; border: 0; overflow: visible; }
  .cmp-headrow { display: none; }
  .cmp-row {
    grid-template-columns: 1fr 1fr 1fr; gap: 0;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow);
  }
  .cmp-row > span { padding: 10px 10px 12px; font-size: 14px; }
  .cmp-label { grid-column: 1 / -1; padding: 12px 12px 4px !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--muted) !important; }
  .cmp-row > span:not(.cmp-label)::before { content: attr(data-h); display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
  .cmp-row .hl::before { color: var(--gold-deep) !important; }
  .cmp-row.big > span:not(.cmp-label) { font-size: 18px; }
  .cmp-row.big .hl { font-size: 20px; }
}

/* ===== Chapter 4: Returns ===== */
.returns {
  padding: clamp(80px, 11vw, 140px) 0;
  color: #fff;
  background:
    radial-gradient(80% 60% at 85% 0%, rgba(247,183,51,.22), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(139,108,255,.18), transparent 60%),
    linear-gradient(180deg, #0b1030, #141a3f);
}
.returns .display-sm em { color: var(--sun); }
.calc { display: grid; grid-template-columns: 320px 1fr; gap: clamp(20px, 3vw, 40px); margin: 30px 0 8px; align-items: start; }
.calc-controls, .calc-out { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(8px); }
.calc-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; display: block; }
.calc-amt { display: block; font: 300 56px/1.05 var(--f-display); margin: 6px 0 16px; color: var(--sun); font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--sun); height: 28px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.seg button { text-align: left; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; border-radius: 14px; padding: 12px; cursor: pointer; font-weight: 700; font-size: 14px; transition: background .3s, border-color .3s; }
.seg button small { display: block; font-weight: 500; font-size: 11px; color: rgba(255,255,255,.55); margin-top: 2px; }
.seg button[aria-checked=true] { background: rgba(247,183,51,.16); border-color: var(--sun); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); }
.kpi span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); line-height: 1.3; }
.kpi small { display: block; font-weight: 500; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; }
.kpi b { font: 600 26px/1.1 var(--f-body); font-variant-numeric: tabular-nums; }
.kpi-total { background: linear-gradient(135deg, rgba(247,183,51,.3), rgba(247,183,51,.1)); }
.kpi-total b { color: var(--sun); }
.kpi-total em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.7); }
.bars { width: 100%; height: auto; overflow: visible; }
.bars text { font: 500 18px var(--f-body); fill: rgba(255,255,255,.55); }
.bars .bar { transition: height .6s var(--ease), y .6s var(--ease); }
@media (max-width: 1180px) { .kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi b { font-size: 21px; }
  .calc-amt { font-size: 44px; }
}

/* ===== Roadmap + footer ===== */
.roadmap { padding: clamp(70px, 9vw, 120px) 0; background: var(--sand); }
.road { list-style: none; counter-reset: r; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.road li { counter-increment: r; background: var(--card); border: 1px dashed rgba(30,27,22,.2); border-radius: 16px; padding: 16px 18px; font-size: 14px; color: var(--muted); }
.road li::before { content: counter(r, decimal-leading-zero); display: block; font: 300 28px/1 var(--f-display); color: var(--gold); margin-bottom: 8px; }
.road b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.disclaimer { background: var(--sand-2); padding: 34px 0 48px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.disclaimer p { margin: 0; max-width: 100ch; }

/* ===== Reduced motion: no pinning, show end states ===== */
@media (prefers-reduced-motion: reduce) {
  .scrolly-dawn, .scrolly-day, .scrolly-earns { height: auto; }
  .sticky { position: relative; height: auto; min-height: 100svh; }
  .spin, .star, .scroll-cue span { animation: none; }
  .cmp-row { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Chapters 2–4 and 7, 9–15 (added v0.3 prototype)
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sec { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.sec[data-theme=dark] { color: #fff; }
.sec[data-theme=dark] .display-sm em { color: var(--sun); }
.lede-light { color: rgba(255,255,255,.74); }
.sub-h { font: 650 clamp(20px, 2vw, 26px)/1.2 var(--f-body); letter-spacing: -.01em; margin: 64px 0 18px; }
.sub-h-tight { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- review notes (prototype only) ---------- */
.todo {
  display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font: 700 11px/1.3 var(--f-body); letter-spacing: .05em; text-transform: uppercase; font-style: normal;
  color: #a62d63; background: rgba(166,45,99,.07); border: 1px dashed rgba(166,45,99,.55);
  border-radius: 999px; padding: 4px 10px 4px 4px; margin: 10px 0 0; vertical-align: middle; max-width: 100%;
}
.todo::before { content: "Review"; background: #a62d63; color: #fff; border-radius: 999px; padding: 2px 7px; font-size: 9px; letter-spacing: .1em; }
[data-theme=dark] .todo { color: #ffb6d5; background: rgba(255,182,213,.07); border-color: rgba(255,182,213,.55); }
[data-theme=dark] .todo::before { background: #ff8fc0; color: #2a0716; }
span .todo, dd .todo, .risk .todo { margin: 6px 0 0; }
body.notes-off .todo { display: none !important; }
.notes-toggle {
  position: fixed; left: 14px; bottom: 14px; z-index: 45;
  font: 700 12px var(--f-body); letter-spacing: .04em; color: #fff; cursor: pointer;
  background: #a62d63; border: 0; border-radius: 999px; padding: 10px 14px; box-shadow: 0 8px 30px -8px rgba(166,45,99,.7);
}
.notes-toggle[aria-pressed=false] { background: #4a4337; box-shadow: none; opacity: .75; }
body.is-gated .notes-toggle { display: none; }

/* ---------- Ch 2 · Why now ---------- */
.whynow { background: linear-gradient(180deg, #fde8c6 0%, var(--sand) 26%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.why-card:nth-child(2) { transition-delay: .1s; } .why-card:nth-child(3) { transition-delay: .2s; }
.why-card h3 { font: 650 20px/1.25 var(--f-body); margin: 18px 0 8px; letter-spacing: -.01em; }
.why-card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.why-ic { width: 132px; height: auto; overflow: visible; }
.why-t { font: 700 10px var(--f-body); fill: var(--muted); letter-spacing: .08em; }
.why-gear { animation: spin 7s linear infinite; transform-box: fill-box; transform-origin: center; }
.puff { animation: puff 3.2s ease-out infinite; }
.puff.p2 { animation-delay: 1.6s; }
@keyframes puff { 0% { transform: translate(0, 4px) scale(.6); opacity: 0; } 25% { opacity: .9; } 100% { transform: translate(8px, -16px) scale(1.6); opacity: 0; } }
.why-draw { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.why-card.in .why-draw { stroke-dashoffset: 0; }
.why-flow { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-card { padding: 22px; } }

/* ---------- Ch 3 · Project ---------- */
.project { background: radial-gradient(90% 70% at 100% 0%, rgba(247,183,51,.12), transparent 60%), linear-gradient(180deg, #070b1f, #0d1640); }
.proj-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.blueprint { margin: 0; background: #0b1a44; border: 1px solid rgba(140,180,255,.22); border-radius: var(--radius); padding: 14px; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.blueprint svg { width: 100%; height: auto; }
.bp-key { list-style: none; padding: 6px 4px 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 14px; color: rgba(255,255,255,.82); }
.bp-key i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); color: #2a1800; font: 800 12px var(--f-body); font-style: normal; margin-right: 8px; vertical-align: -5px; }
.bp-key b { color: var(--sun); }
.blueprint .fine { margin: 10px 4px 0; }
.blueprint .todo { margin-left: 4px; }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.specs li { padding: 14px 0 14px 18px; border-left: 2px solid rgba(247,183,51,.35); }
.specs li:nth-child(odd) { transition-delay: .06s; }
.specs b { display: block; font: 400 clamp(24px, 2.4vw, 32px)/1.1 var(--f-display); color: var(--sun); }
.specs span { font-size: 14px; color: rgba(255,255,255,.72); }
.bp-text { font: 700 26px var(--f-body); fill: #2a1800; }
.bp-label { font: 600 20px var(--f-body); fill: rgba(200,220,255,.7); letter-spacing: .1em; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: 1fr; } .bp-key { grid-template-columns: 1fr; } .blueprint { padding: 8px; } }

/* ---------- Ch 4 · How it earns ---------- */
.scrolly-earns { height: 380vh; }
.earn-stage {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px;
  padding: 84px var(--gutter) 26px; color: #fff;
  background: radial-gradient(70% 60% at 15% 20%, rgba(247,183,51,.14), transparent 60%), radial-gradient(60% 60% at 90% 90%, rgba(70,200,140,.12), transparent 60%), #070b1f;
}
.earn-head .display-sm { font-size: clamp(28px, 3.6vw, 50px); margin: 0; }
.flow { width: 100%; height: 100%; overflow: visible; }
.f-base { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3; stroke-linecap: round; }
.f-trail { fill: none; stroke-width: 4; stroke-linecap: round; }
.f-e { stroke: var(--sun); filter: drop-shadow(0 0 6px rgba(247,183,51,.7)); }
.f-m { stroke: #46d39a; filter: drop-shadow(0 0 6px rgba(70,211,154,.6)); }
.f-dots { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0 22; animation: flowdots 1.1s linear infinite; transition: opacity .6s; opacity: 0; }
.f-dots.f-e { stroke: #fff3cf; filter: none; } .f-dots.f-m { stroke: #d8ffee; filter: none; }
@keyframes flowdots { to { stroke-dashoffset: -22; } }
.f-node circle.f-ring { fill: #0e1435; stroke: rgba(255,255,255,.22); stroke-width: 2; transition: stroke .4s, fill .4s; }
.f-node .f-ic { fill: none; stroke: rgba(255,255,255,.38); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.f-node .f-ic text { fill: rgba(255,255,255,.38); stroke: none; transition: fill .4s; }
.f-node text.f-lbl { font: 700 17px var(--f-body); fill: rgba(255,255,255,.45); transition: fill .4s; }
.f-node.on circle.f-ring { stroke: var(--sun); fill: #2a2140; }
.f-node.on .f-ic { stroke: #ffe3a3; } .f-node.on .f-ic text { fill: #ffe3a3; }
.f-node.on text.f-lbl { fill: #fff; }
.f-node.m.on circle.f-ring { stroke: #46d39a; fill: #10302a; }
.f-node.m.on .f-ic { stroke: #b8ffe0; } .f-node.m.on .f-ic text { fill: #b8ffe0; }
.f-lane { font: 800 14px var(--f-body); letter-spacing: .18em; fill: rgba(255,255,255,.42); }
.f-pulse circle:first-child { fill: rgba(247,183,51,.35); } .f-pulse circle:last-child { fill: #fff3cf; }
.f-pulse.m circle:first-child { fill: rgba(70,211,154,.35); } .f-pulse.m circle:last-child { fill: #e0fff1; }
.earn-cap {
  justify-self: center; width: min(680px, 100%); min-height: 104px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  padding: 14px 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.earn-step { font: 800 11px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); }
.earn-cap.m .earn-step { color: #46d39a; }
.earn-cap p { margin: 4px 0 0; font-size: 16px; color: rgba(255,255,255,.85); transition: opacity .3s; }
.earn-cap p.swap { opacity: 0; }
.earn-cap b { color: #fff; }
@media (max-width: 760px) {
  .earn-stage { padding: 64px 16px 14px; gap: 6px; }
  .earn-head .display-sm { font-size: 26px; }
  .earn-cap { padding: 10px 14px; min-height: 118px; }
  .earn-cap p { font-size: 14px; }
  .f-node text.f-lbl { font-size: 19px; }
}

/* ---------- Ch 7 · How your money works ---------- */
.money { background: var(--sand-2); }
.struct { display: grid; justify-items: center; gap: 0; max-width: 820px; margin: 10px auto 0; }
.st-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.st-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); text-align: center; }
.st-box b { display: block; font-size: 16px; }
.st-box span { font-size: 14px; color: var(--ink-2); }
.st-box .todo { margin-top: 8px; }
.st-you { border-color: rgba(232,149,28,.5); background: linear-gradient(180deg, #fff3da, var(--card)); }
.st-spv { width: min(520px, 100%); background: linear-gradient(135deg, #1a2150, #0b1030); color: #fff; border: 0; padding: 20px 22px; }
.st-spv span { color: rgba(255,255,255,.75); }
.st-spv .todo { color: #ffb6d5; border-color: rgba(255,182,213,.55); background: rgba(255,182,213,.07); }
.st-spv .todo::before { background: #ff8fc0; color: #2a0716; }
.st-join { display: grid; grid-template-columns: 1fr 1fr; width: 50%; height: 34px; }
.st-join i { border-bottom: 2px solid rgba(30,27,22,.25); }
.st-join i:first-child { border-left: 2px solid rgba(30,27,22,.25); border-bottom-left-radius: 14px; }
.st-join i:last-child { border-right: 2px solid rgba(30,27,22,.25); border-bottom-right-radius: 14px; }
.st-join::after { content: ""; grid-column: 1 / -1; justify-self: center; width: 2px; height: 18px; background: rgba(30,27,22,.25); }
.st-join { grid-template-rows: 34px 18px; height: auto; }
.st-join-down { transform: scaleY(-1); }
.split { display: grid; gap: 14px; }
.split-row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; }
.split-lbl b { display: block; font-size: 16px; } .split-lbl small { color: var(--muted); font-size: 12px; }
.split-bar { display: flex; height: 56px; border-radius: 14px; overflow: hidden; background: rgba(30,27,22,.06); }
.split-bar .seg { width: 0; display: grid; place-items: center; font: 700 14px var(--f-body); color: #fff; white-space: nowrap; overflow: hidden; transition: width 1.4s var(--ease); }
.split.in .split-bar .seg { width: var(--w); }
.split-row:nth-child(2) .seg { transition-delay: .25s; }
.split-key { list-style: none; padding: 0; margin: 10px 0 0 186px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 18px; }
.split-key li { display: grid; grid-template-columns: 14px 1fr; gap: 4px 10px; font-size: 14px; align-items: start; }
.split-key li i { width: 14px; height: 14px; border-radius: 4px; margin-top: 3px; }
.split-key li b { font-size: 14px; }
.split-key li span { grid-column: 2; color: var(--muted); font-size: 12px; line-height: 1.4; }
.split-key li em { grid-column: 2; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-2); }
.split-note { max-width: 90ch; margin-top: 22px; }
@media (max-width: 760px) {
  .st-row { gap: 10px; } .st-box { padding: 12px; } .st-box b { font-size: 14px; } .st-box span { font-size: 13px; }
  .split-row { grid-template-columns: 1fr; gap: 6px; }
  .split-bar { height: 44px; } .split-bar .seg { font-size: 12px; }
  .split-key { margin-left: 0; grid-template-columns: 1fr 1fr; }
}

/* ---------- Ch 9 · Ground reality ---------- */
.ground { background: var(--sand); }
.ground-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.status { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.status li { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.status li:first-child { border-top: 0; }
.status.in li { opacity: 1; transform: none; }
.status li b { display: block; font-size: 16px; } .status li span { font-size: 14px; color: var(--muted); }
.status li > i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.status li em { font-style: normal; font: 700 11px var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.st-done > i { background: var(--leaf); } .st-done > i::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.st-done em { color: var(--leaf); background: rgba(46,125,91,.1); }
.st-doing > i { border: 2.5px solid var(--gold); background: conic-gradient(var(--gold) 0 50%, transparent 50%); }
.st-doing em { color: var(--gold-deep); background: rgba(232,149,28,.12); }
.st-now > i { background: var(--sun); box-shadow: 0 0 0 0 rgba(247,183,51,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(247,183,51,0); } 100% { box-shadow: 0 0 0 0 rgba(247,183,51,0); } }
.st-now em { color: #2a1800; background: var(--sun); }
.st-next > i { border: 2px dashed rgba(30,27,22,.3); }
.st-next em { color: var(--muted); background: rgba(30,27,22,.06); }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph { margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; border: 1.5px dashed rgba(30,27,22,.25); display: grid; place-items: center; text-align: center; padding: 12px;
  background: repeating-linear-gradient(135deg, rgba(232,149,28,.06) 0 12px, transparent 12px 24px), var(--card); color: var(--muted); font-size: 14px; font-weight: 600; }
.ph-wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.photos .todo { grid-column: 1 / -1; justify-self: start; margin: 0; }
@media (max-width: 900px) { .ground-grid { grid-template-columns: 1fr; } .status li { padding: 12px 14px; gap: 10px; } }

/* ---------- Ch 10 · Timeline ---------- */
.timeline { background: linear-gradient(180deg, #0b1030 0%, #1d2466 55%, #7b4f94 85%, #ef8a5c 100%); }
.tl { position: relative; margin: 30px 0 18px; --p: 0; }
.tl-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tl-list li { padding-top: 46px; opacity: .45; transition: opacity .6s var(--ease); }
.tl-list li.on { opacity: 1; }
.tl-list time { display: block; font: 800 12px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 6px; }
.tl-list b { display: block; font: 400 24px/1.15 var(--f-display); margin-bottom: 6px; }
.tl-list span { font-size: 14px; color: rgba(255,255,255,.75); }
.tl-track { position: absolute; left: 10%; right: 10%; top: 14px; height: 3px; background: rgba(255,255,255,.18); border-radius: 3px; }
.tl-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--sun), #ffd56b); border-radius: 3px; box-shadow: 0 0 14px rgba(247,183,51,.7); }
.tl-sun { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: radial-gradient(circle, #fff3cf 0 35%, #f7b733 36% 60%, rgba(247,183,51,0) 61%); box-shadow: 0 0 30px 8px rgba(247,183,51,.55); }
.tl-list li::before { content: ""; position: absolute; top: 9px; width: 13px; height: 13px; margin-left: calc(10% - 6px); border-radius: 50%; background: #0b1030; border: 2px solid rgba(255,255,255,.4); }
.tl-list li { position: relative; text-align: center; }
.tl-list li::before { left: 50%; margin-left: -7px; }
.tl-list li.on::before { background: var(--sun); border-color: #fff3cf; }
@media (max-width: 900px) {
  .tl-list { grid-template-columns: 1fr; gap: 26px; padding-left: 40px; }
  .tl-list li { padding-top: 0; text-align: left; }
  .tl-list li::before { left: -33px; top: 4px; margin-left: 0; }
  .tl-track { left: 12px; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; }
  .tl-fill { inset: 0 0 auto 0; width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(180deg, var(--sun), #ffd56b); }
  .tl-sun { left: 50%; top: calc(var(--p) * 100%); margin: -13px 0 0 -13px; }
}

/* ---------- Ch 11 · Customers ---------- */
.customers { background: var(--sand); }
.cust-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.net { margin: 0; }
.net svg { width: 100%; height: auto; max-width: 560px; margin: 0 auto; overflow: visible; }
.net .fine { text-align: center; }
.n-spoke { stroke: rgba(232,149,28,.35); stroke-width: 2; stroke-dasharray: 4 6; }
.n-pulse { fill: var(--gold); }
.n-node circle { fill: var(--card); stroke: rgba(30,27,22,.14); stroke-width: 1.5; }
.n-node .n-ic { fill: none; stroke: var(--gold-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.n-node text { font: 700 17px var(--f-body); fill: var(--ink-2); }
.n-core text { font-family: var(--f-display); fill: #2a1800; }
.buy { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 12px; }
.buy-tag { font: 800 10px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.buy h4 { margin: 4px 0 6px; font-size: 18px; }
.buy p { margin: 0; font-size: 15px; color: var(--ink-2); }
.pipe { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 4px; }
.pipe b { font: 400 40px/1 var(--f-display); color: var(--gold); }
.pipe span { color: var(--ink-2); }
.pipe .todo { flex-basis: 100%; width: max-content; }
@media (max-width: 900px) { .cust-grid { grid-template-columns: 1fr; } .n-node text { font-size: 21px; } }

/* ---------- Ch 12 · Investment options ---------- */
.options { background: radial-gradient(80% 60% at 0% 0%, rgba(139,108,255,.18), transparent 60%), linear-gradient(180deg, #0b1030, #141a3f); }
.tickets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ticket { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px 20px; }
.ticket:nth-child(2) { transition-delay: .08s; } .ticket:nth-child(3) { transition-delay: .16s; } .ticket:nth-child(4) { transition-delay: .24s; }
.t-amt { font: 300 44px/1 var(--f-display); color: var(--sun); margin: 0 0 12px; }
.t-kw { font-size: 14px; color: rgba(255,255,255,.75); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.t-kw b { color: #fff; }
.ticket dl { margin: 0; display: grid; gap: 10px; }
.ticket dt { font-size: 12px; color: rgba(255,255,255,.58); }
.ticket dd { margin: 0; font: 600 20px/1.2 var(--f-body); font-variant-numeric: tabular-nums; }
.ticket .t-total dd { color: var(--sun); }
.ticket-mw { border-color: rgba(247,183,51,.55); background: linear-gradient(180deg, rgba(247,183,51,.14), rgba(255,255,255,.04)); }
.terms { margin-top: 20px; }
.terms dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.terms dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.terms dt { font-weight: 700; font-size: 14px; color: rgba(255,255,255,.62); }
.terms dd { margin: 0; font-size: 15px; }
@media (max-width: 1100px) { .tickets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .terms dl { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tickets { grid-template-columns: 1fr; } .terms dl > div { grid-template-columns: 1fr; gap: 2px; } .t-amt { font-size: 38px; } }

/* ---------- Ch 13 · Risks ---------- */
.risks { background: var(--sand); }
.risk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.risk { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); border-top: 4px solid #c8643f; }
.risk h3 { margin: 0 0 8px; font-size: 18px; }
.risk p { margin: 0; font-size: 14px; }
.r-means { color: #9a4423; font-weight: 600; margin-bottom: 10px !important; }
.r-means::before { content: "What it means for you: "; font-weight: 800; }
.r-plan { color: var(--ink-2); }
.r-plan::before { content: "Our plan: "; font-weight: 800; color: var(--leaf); }
.risk:nth-child(3n+2) { transition-delay: .07s; } .risk:nth-child(3n) { transition-delay: .14s; }

/* ---------- Ch 14 · What Aran brings ---------- */
.aran { background: radial-gradient(70% 60% at 100% 100%, rgba(239,138,92,.22), transparent 60%), linear-gradient(180deg, #141a3f, #0b1030); }
.bring-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bring { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.bring:nth-child(3n+2) { transition-delay: .08s; } .bring:nth-child(3n) { transition-delay: .16s; }
.bring svg { width: 44px; height: 44px; fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.bring h3 { margin: 0 0 6px; font: 400 24px/1.15 var(--f-display); }
.bring p { margin: 0; font-size: 15px; color: rgba(255,255,255,.74); }
.team { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 20px; padding: 20px 22px; border-radius: var(--radius); border: 1.5px dashed rgba(255,255,255,.25); }
.team p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; } .team b { color: #fff; }
.team-ph { display: flex; } .team-ph span { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); border: 2px solid #141a3f; margin-left: -10px; } .team-ph span:first-child { margin-left: 0; }
.team .todo { margin: 0; }
@media (max-width: 900px) { .bring-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bring-grid { grid-template-columns: 1fr; } }

/* ---------- Ch 15 · Next steps ---------- */
.next { background: radial-gradient(90% 70% at 50% 0%, #ffe1a6 0%, #fdeed3 40%, var(--sand) 75%); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 10px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #ffd56b, #f39a2b); color: #2a1800; font: 800 15px var(--f-body); margin-bottom: 10px; }
.steps li:nth-child(3n+2) { transition-delay: .07s; } .steps li:nth-child(3n) { transition-delay: .14s; }
.steps b { display: block; font-size: 17px; margin-bottom: 2px; } .steps span { font-size: 14px; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(30,27,22,.35); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-msg { min-height: 1.5em; margin: 14px 0 0; font-weight: 600; color: var(--leaf); }
.cta-msg.err { color: #a4472a; }
.contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact b { font: 400 26px var(--f-display); }
.contact .todo { margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .cta-row .btn { width: 100%; justify-content: center; } }
.disclaimer p + p { margin-top: 10px; }

/* ---------- reduced motion for new chapters ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .status li { opacity: 1; transform: none; transition: none; }
  .why-gear, .puff, .why-flow, .f-dots, .st-now > i { animation: none; }
  .why-draw { stroke-dashoffset: 0; transition: none; }
  .split-bar .seg { width: var(--w); transition: none; }
  .earn-stage { min-height: 100svh; }
}

/* =====================================================================
   Live site additions (1 Dec 2026): sign-in extras, FAQ, investor portal
   ===================================================================== */
.top-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.my-inv {
  border: 1.5px solid currentColor; background: transparent; border-radius: 999px; padding: 7px 14px;
  font: 700 12px/1 var(--f-body); letter-spacing: .06em; cursor: pointer; white-space: nowrap; color: inherit;
}
.my-inv:hover { background: var(--sun); border-color: var(--sun); color: #2a1800; }
@media (max-width: 520px) { .my-inv { padding: 7px 10px; font-size: 11px; } }

.gchan { border: 0; padding: 0; margin: 2px auto 12px; max-width: 420px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.gchan legend { float: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 700; margin-right: 6px; padding: 0; }
.gchan label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 14px; }
.gchan input { accent-color: var(--sun); width: 16px; height: 16px; margin: 0; }
.gchan label:has(input:checked) { border-color: var(--sun); background: rgba(247,183,51,.12); }
.glinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 22px; }
.glinks .glink { margin-top: 18px; }
.glink[disabled] { opacity: .45; cursor: default; text-decoration: none; }
.proto-note { color: #ffd98a; font-weight: 600; }
#gs-loading .gate-sub { min-height: 1.6em; }

/* ---------- Ch 15 · Questions ---------- */
.faq { background: var(--sand-2); }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font: 650 17px/1.35 var(--f-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand-2); color: var(--gold-deep); font: 700 18px/1 var(--f-body); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { content: "–"; background: var(--sun); color: #2a1800; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); font-size: 15.5px; }
.faq details .todo { margin-top: 8px; }
@media (max-width: 860px) { .faq-list { grid-template-columns: 1fr; } }

/* ---------- Investor portal ---------- */
body.portal-open { overflow: hidden; }
.portal { position: fixed; inset: 0; z-index: 70; background: var(--sand); overflow-y: auto; overscroll-behavior: contain; }
.portal[hidden] { display: none; }
.portal-inner { max-width: 1120px; margin: 0 auto; padding: 26px var(--gutter) 70px; animation: gIn .5s var(--ease) both; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 6px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.portal-head h2 { margin: 0; }
.portal-close { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 26px; line-height: 1; cursor: pointer; }
.portal-close:hover { background: var(--sun); }
.p-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.p-card span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.p-card b { display: block; font: 500 clamp(26px, 2.6vw, 34px)/1.1 var(--f-display); margin: 8px 0 4px; }
.p-card small { color: var(--ink-2); font-size: 13px; }
.p-card.p-hl { background: var(--night); color: #fff; border-color: transparent; }
.p-card.p-hl span { color: rgba(255,255,255,.6); } .p-card.p-hl small { color: rgba(255,255,255,.7); } .p-card.p-hl b { color: var(--sun); }
.p-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
.p-box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); margin-bottom: 22px; }
.p-box h3 { font: 650 19px/1.25 var(--f-body); margin: 0 0 4px; }
.p-box > p.fine { margin: 0 0 14px; }
.p-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.p-table th { text-align: left; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.p-table td { padding: 11px 6px; border-bottom: 1px solid var(--line); }
.p-table td.num, .p-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.p-table tr.p-est td { color: var(--muted); font-style: italic; }
.p-chart { width: 100%; height: auto; }
.p-chart text { font: 600 11px var(--f-body); fill: var(--muted); }
.p-legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); margin: 6px 0 0; flex-wrap: wrap; }
.p-legend i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.p-docs { list-style: none; margin: 0; padding: 0; }
.p-docs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.p-docs li:last-child { border-bottom: 0; }
.p-docs b { display: block; font-size: 15px; } .p-docs small { color: var(--muted); }
.p-dl { flex: none; border: 1.5px solid rgba(30,27,22,.3); background: transparent; border-radius: 999px; padding: 8px 14px; font: 700 13px var(--f-body); cursor: pointer; }
.p-dl:hover { border-color: var(--ink); } .p-dl[disabled] { opacity: .5; cursor: progress; }
.p-loading, .p-err { padding: 40px 0; text-align: center; color: var(--muted); }
.p-err { color: #a4472a; font-weight: 600; }
.p-empty { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
@media (max-width: 980px) { .p-cards { grid-template-columns: 1fr 1fr; } .p-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .p-cards { grid-template-columns: 1fr; } .p-table { font-size: 14px; } .p-table th:nth-child(4), .p-table td:nth-child(4) { display: none; } }
.p-table td.num, .p-table td:first-child { white-space: nowrap; }
@media (max-width: 600px) { .p-chart text { font-size: 26px; } }
