/* Bright Futures, Inc. · brightfutures.work
   The page opens as the video's last frame (the clean white upgrade wall) and rots as you scroll, like the
   video: sunrise → amber → cobalt noir → red losses → void, then Friday morning resets it to white.
   app.js sets the palette and --rot (0 clean … 1 void) from each section's data-rot; everything soft
   (radii, blur shadows) fades with --soft (1 − rot) and everything brutal (hard offsets, thick rules, grain,
   scanlines) grows with --rot. */

@font-face { font-family: "Mont"; src: url(/fonts/montserrat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mont"; src: url(/fonts/montserrat-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(/fonts/oswald-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(/fonts/oswald-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bangers"; src: url(/fonts/bangers-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Elite"; src: url(/fonts/SpecialElite-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Garamond"; src: url(/fonts/eb-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #fbfbfd; --fg: #0b1530; --muted: #566078; --card: #ffffff; --line: #e6e8ef;
  --accent: #ff6a3d; --ga: #ff9a2e; --gb: #f2512a;
  --rot: 0; --soft: 1; --city: 0; --glitch: 0;
  --navy: #0b1530; --orange: #ff7a1a; --coral: #ff6a3d; --gold: #ffb347; --magenta: #d9468f; --red: #ff2a1a; --cyan: #5ff0ff;
  --sans: "Mont", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Oswald", "Arial Narrow", Impact, sans-serif;
  --comic: "Bangers", Impact, sans-serif;
  --type: "Elite", "Courier New", monospace;
  --serif: "Garamond", Georgia, serif;
  --rad: calc(28px * var(--soft));
  --rad-s: calc(14px * var(--soft));
  --edge: calc(3px * var(--rot));
  --hard: calc(10px * var(--rot));
  --shadow: 0 24px 60px rgb(11 21 48 / calc(0.14 * var(--soft))), var(--hard) var(--hard) 0 var(--accent);
  --burst: polygon(100% 50%, 85.7% 54.3%, 98.5% 62%, 85.9% 63.6%, 94.3% 73.2%, 80.9% 71.4%, 87.4% 83.2%, 75.4% 78.6%, 78.4% 91.1%, 68.4% 85.1%, 67.7% 96.8%, 59.6% 88.8%, 56% 99.6%, 50% 86.8%, 44% 99.6%, 41.3% 85.2%, 32.3% 96.8%, 33.2% 82.1%, 21.6% 91.1%, 22.9% 80.6%, 12.6% 83.2%, 19.6% 71%, 5.7% 73.2%, 13.2% 64%, 1.5% 62%, 11.3% 54.7%, 0% 50%, 13.6% 45.6%, 1.5% 38%, 15.4% 36.9%, 5.7% 26.8%, 17.5% 27.5%, 12.6% 16.8%, 26.1% 23%, 21.6% 8.9%, 33.2% 18%, 32.3% 3.2%, 41.2% 14.2%, 44% 0.4%, 50% 12.8%, 56% 0.4%, 59% 13.6%, 67.7% 3.2%, 66.9% 17.8%, 78.4% 8.9%, 76.9% 19.6%, 87.4% 16.8%, 83.5% 26.9%, 94.3% 26.8%, 86.7% 36.1%, 98.5% 38%, 89.2% 45.2%);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font: 600 17px/1.6 var(--sans); color: var(--fg); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; font-synthesis: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
main, .foot { position: relative; z-index: 1; }
section { position: relative; padding: 120px max(24px, calc((100vw - 1180px) / 2)); }

/* ── the world behind the page: the brutalist city, its sun, grain ───────── */
.city { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: var(--city); overflow: hidden; }
.city-sun { position: absolute; left: 50%; top: 18vh; width: min(70vw, 760px); aspect-ratio: 1; translate: -50% var(--sun-y, 0px); border-radius: 50%;
  background: radial-gradient(circle, #ffe2a8 0 30%, #ffb347 45%, #ff7a1a 62%, rgb(255 122 26 / 0) 71%); filter: saturate(calc(1 + var(--rot))) hue-rotate(calc(var(--rot) * -18deg)); }
.city-far, .city-near { position: absolute; left: -5%; right: -5%; bottom: 0; background-repeat: repeat-x; background-position: bottom center; }
.city-far { height: 70vh; background-image: url(/img/city-far.svg); background-size: auto 70vh; translate: 0 var(--far-y, 0px); }
.city-near { height: 46vh; background-image: url(/img/city-near.svg); background-size: auto 46vh; translate: 0 var(--near-y, 0px); }
.grain { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: url(/img/grain.png); mix-blend-mode: overlay; opacity: calc(var(--rot) * 0.55); }
.grain::after { content: ""; position: absolute; inset: 0; opacity: calc(var(--glitch) * 0.5);
  background: repeating-linear-gradient(0deg, rgb(0 0 0 / 0.35) 0 1px, transparent 1px 4px); }

/* vesting progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--ga), var(--gb)); }
.progress em { position: absolute; right: 14px; top: 8px; font: 800 11px/1 var(--sans); letter-spacing: 0.08em; font-style: normal; color: var(--muted); opacity: 0; transition: opacity 0.3s; text-transform: uppercase; }
body.scrolling .progress em { opacity: 1; }

/* ── nav ─────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 12px max(20px, calc((100vw - 1240px) / 2));
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: max(1px, var(--edge)) solid color-mix(in srgb, var(--fg) calc(8% + var(--rot) * 80%), transparent); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 40px; height: 40px; flex: none; border-radius: calc(10px * var(--soft)); }
.sun-disc { transform: translateY(calc(var(--rot) * 16px)); }
.brand .word { display: flex; flex-direction: column; line-height: 1.15; }
.brand .word b { font: 800 14px/1.2 var(--sans); letter-spacing: 0.12em; }
.brand .word small { font: 700 12px/1.2 var(--sans); color: var(--coral); letter-spacing: 0.02em; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color 0.2s; }
.links a:hover { color: var(--fg); }
.thp { font-size: 13px; text-decoration: none; color: var(--muted); border: 1px solid var(--line); padding: 7px 12px; border-radius: 99px; white-space: nowrap; }
.thp:hover { color: var(--fg); border-color: var(--fg); }
.pill-premium { font: 800 12px/1 var(--sans); letter-spacing: 0.18em; color: #fff; text-decoration: none; padding: 11px 16px; border-radius: calc(99px * var(--soft));
  background: linear-gradient(90deg, var(--magenta), var(--coral)); box-shadow: 0 6px 18px rgb(217 70 143 / calc(0.3 * var(--soft))); }

/* ── shared bits ─────────────────────────────────────────────────────── */
.kicker { display: inline-block; font: 800 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.kicker.center, .center { text-align: center; display: block; }
h2 { font: 800 clamp(36px, 5.2vw, 64px)/1.04 var(--sans); letter-spacing: -0.03em; text-wrap: balance;
  text-shadow: calc(var(--glitch) * 3px) 0 rgb(255 42 26 / 0.7), calc(var(--glitch) * -3px) 0 rgb(95 240 255 / 0.5); }
.grad { background: linear-gradient(90deg, var(--ga), var(--gb)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head { max-width: 780px; margin-bottom: 56px; }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 19px; max-width: 620px; }
.card { background: var(--card); border-radius: var(--rad); border: var(--edge) solid var(--fg); box-shadow: var(--shadow); }
.shot { margin: 0; border-radius: var(--rad); overflow: hidden; border: var(--edge) solid var(--fg); box-shadow: var(--shadow); background: #0b1530; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: #cfd6e8; background: #0b1530; }
.fine { font-size: 13px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: 0; border-radius: calc(99px * var(--soft)); text-decoration: none; font: 800 15px/1 var(--sans); letter-spacing: 0.02em; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-upgrade { color: #fff; letter-spacing: 0.1em; background: linear-gradient(180deg, #ffa63d, #ff5f2e); box-shadow: 0 10px 28px rgb(242 81 42 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.3); animation: pulse 1.6s ease-in-out infinite; }
.btn-upgrade:hover { box-shadow: 0 14px 40px rgb(242 81 42 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.3); }
.btn-upgrade:disabled { opacity: 0.7; cursor: progress; animation: none; }
@keyframes pulse { 50% { transform: scale(1.035); box-shadow: 0 12px 44px rgb(255 122 26 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.3); } }
.btn-ghost { color: var(--fg); background: color-mix(in srgb, var(--card) 80%, transparent); border: max(1.5px, var(--edge)) solid var(--line); }
.btn-ghost:hover { border-color: var(--fg); }

/* ── HR's push notification (stays clean white whatever the world does) ── */
.notif { display: flex; gap: 14px; align-items: flex-start; text-align: left; background: #fbfbfd; color: #0b1530; border-radius: 18px; border: 1px solid rgb(11 21 48 / 0.1);
  padding: 14px 18px; box-shadow: 0 16px 40px rgb(4 8 24 / 0.28); max-width: 460px; }
.notif-icon { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.notif small { display: block; font: 600 11px/1.3 var(--sans); color: #8a91a3; letter-spacing: 0.04em; }
.notif small b { font-weight: 800; color: #0b1530; letter-spacing: 0.08em; }
.notif p { font: 800 15px/1.35 var(--sans); margin-top: 3px; }
.notif em { display: block; font: 800 13px/1.3 var(--sans); color: var(--coral); font-style: normal; margin-top: 2px; }

/* ── HERO: the upgrade wall ─────────────────────────────────────────── */
.wall { min-height: calc(100svh - 65px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 28px; padding-bottom: 72px;
  background: linear-gradient(180deg, rgb(255 154 46 / 0.16), rgb(255 154 46 / 0) 60%); }
.notif-hero { margin-bottom: 22px; animation: notif-in 0.8s 0.5s both cubic-bezier(0.2, 1.3, 0.4, 1); }
@keyframes notif-in { 0% { opacity: 0; transform: translateY(-30px); filter: drop-shadow(6px 0 0 rgb(255 42 26 / 0.8)) drop-shadow(-6px 0 0 rgb(95 240 255 / 0.8)); } 60% { filter: drop-shadow(2px 0 0 rgb(255 42 26 / 0.6)) drop-shadow(-2px 0 0 rgb(95 240 255 / 0.6)); } 100% { opacity: 1; transform: none; filter: none; } }
.prompt { position: relative; width: min(760px, 100%); padding: 40px 48px 26px; text-align: center; }
.prompt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgb(255 154 46 / 0.14), transparent 40%); }
.lock { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ffb347, #f2512a); box-shadow: 0 10px 24px rgb(242 81 42 / 0.35); }
.lock svg { width: 38px; height: 38px; }
.prompt h1, .prompt h2 { font: 800 clamp(30px, 4.6vw, 50px)/1.08 var(--sans); letter-spacing: -0.025em; color: var(--fg); text-wrap: balance; }
.prompt .sub { font-size: clamp(17px, 2.2vw, 22px); color: var(--muted); margin-top: 10px; }
.prompt .price { font-size: 16px; color: #8a91a3; margin: 8px 0 22px; }
.prompt .price b { color: var(--fg); font-weight: 800; }

.signup { position: relative; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 600px; margin: 0 auto; }
.signup input[type=email] { flex: 1 1 240px; min-width: 0; font: 600 16px/1 var(--sans); padding: 16px 20px; color: #0b1530; background: #fff; border: 1.5px solid #d6d9e3; border-radius: calc(99px * var(--soft)); }
.signup input[type=email]:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgb(255 106 61 / 0.18); }
.join { display: inline-flex; gap: 8px; align-items: center; flex: none; }
.help { position: relative; }
.help-btn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #c3c8d3; background: transparent; color: #8a91a3; font-weight: 800; font-size: 14px; }
.tip { position: absolute; bottom: calc(100% + 10px); right: -8px; width: 280px; padding: 12px 14px; border-radius: 12px; background: #0b1530; color: #fff; font: 600 13px/1.45 var(--sans); text-align: left;
  opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; z-index: 5; box-shadow: 0 12px 30px rgb(4 8 24 / 0.3); }
.help:hover .tip, .help:focus-within .tip, .help.open .tip { opacity: 1; transform: none; pointer-events: auto; }
.turnstile { flex-basis: 100%; display: flex; justify-content: center; }
.turnstile:empty { display: none; }
.form-msg { flex-basis: 100%; font-size: 14px; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #13804a; }
.form-msg.err { color: #d4321c; }
.signup.done input[type=email], .signup.done .join { display: none; }
.not-now { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; background: none; border: 0; color: #c3c8d3; font-size: 14px; cursor: not-allowed; }
.not-now svg { width: 14px; height: 14px; }
.watch { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.wall .fine { margin-top: 14px; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; font: 800 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-cue i { font-style: normal; font-size: 18px; margin-top: 4px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ── ticker ─────────────────────────────────────────────────────────── */
.ticker { position: relative; z-index: 1; overflow: hidden; background: var(--navy); color: #fff; border-block: 2px solid var(--navy); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { padding: 12px 22px; font: 500 15px/1 var(--cond); letter-spacing: 0.08em; white-space: nowrap; }
.ticker b { font-weight: 700; margin-left: 6px; }
.up { color: #3ee08a; } .dn { color: #ff4b3a; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── benefits ───────────────────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: stretch; }
.countdown { padding: 34px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.countdown p { color: var(--muted); }
.clock { display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin: 14px 0; font-variant-numeric: tabular-nums; }
.clock span { display: flex; flex-direction: column; align-items: center; }
.clock b { font: 800 clamp(40px, 5vw, 60px)/1 var(--sans); letter-spacing: -0.02em; color: var(--fg); }
.clock small { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.clock i { font: 800 44px/1 var(--sans); font-style: normal; color: var(--accent); }
.cd-note { font-size: 14px; }
.cd-note b { color: var(--accent); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.perk { padding: 28px; }
.perk .ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: calc(12px * var(--soft)); font-size: 22px; color: #fff; background: linear-gradient(180deg, var(--ga), var(--gb)); margin-bottom: 16px; }
.perk h3, .tile h3 { font: 800 20px/1.2 var(--sans); margin-bottom: 8px; }
.perk p, .tile p { color: var(--muted); font-size: 15px; }

/* ── growth: the record quarter (pinned, scrubbed) ──────────────────── */
.scrub { padding-top: 0; padding-bottom: 0; }
.growth { height: 280vh; }
.sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; gap: 56px; }
.growth-copy { flex: 1 1 0; }
.growth-copy p { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 480px; }
.checks { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; align-items: flex-start; }
.chk { font: 600 14px/1 var(--sans); padding: 10px 14px; border-radius: calc(8px * var(--soft)); border: 1.5px solid; }
.chk.ok { color: #13804a; border-color: #8fdcb1; background: rgb(62 224 138 / 0.1); }
.chk.bad { color: #d4321c; border-color: #ffb3a6; background: rgb(255 75 58 / 0.1); }
.chart { position: relative; flex: 1 1 0; height: min(64vh, 520px); display: flex; align-items: flex-end; gap: 4%; padding: 0 4% 40px; border-bottom: 3px solid var(--fg); }
.bar { position: relative; flex: 1; height: calc(var(--h, 0) * 100%); background: linear-gradient(180deg, #ffc46b, #ff9a2e); border-radius: calc(10px * var(--soft)) calc(10px * var(--soft)) 0 0; transition: background 0.3s; box-shadow: inset -14px 0 0 rgb(0 0 0 / 0.08); }
.bar::before { content: attr(data-v); position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0; font: 800 clamp(16px, 2vw, 24px)/1 var(--sans); color: var(--fg); white-space: nowrap; opacity: min(1, calc(var(--h, 0) * 4)); }
.bar::after { content: attr(data-q); position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; font: 700 15px/1 var(--cond); letter-spacing: 0.1em; color: var(--muted); }
.bar.crash { background: linear-gradient(180deg, #ff4b3a, #a50d0d); }
.bar.crash::before { color: var(--red); }
.burst { display: grid; place-items: center; clip-path: var(--burst); }
.burst span { font: 400 clamp(26px, 4vw, 54px)/0.95 var(--comic); letter-spacing: 0.02em; text-align: center; padding: 0 20%; transform: rotate(-4deg); }
.burst-red { position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 2.2; translate: -50% -50%; background: #fff4e0; color: var(--red); scale: var(--b, 0); rotate: -6deg; pointer-events: none;
  filter: drop-shadow(0 0 0 #000); }
.burst-red span { -webkit-text-stroke: 1.5px #3a0607; }

/* ── automation grid ────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tile { overflow: hidden; padding-bottom: 24px; }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 20px; border-bottom: var(--edge) solid var(--fg); }
.tile h3, .tile p { padding: 0 24px; }
.automate h2 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: 1; }

/* ── Thursday / Friday ──────────────────────────────────────────────── */
.days { text-align: center; }
.cal { display: flex; justify-content: center; gap: 24px; margin-bottom: 36px; }
.page { width: min(240px, 40vw); padding: 22px 0 18px; background: #f5ecd9; color: #1a1428; border: 3px solid #1a1428; box-shadow: 10px 10px 0 #1a1428; display: flex; flex-direction: column; align-items: center; }
.page span { font: 700 clamp(18px, 2.4vw, 26px)/1 var(--cond); letter-spacing: 0.12em; }
.page b { font: 700 clamp(90px, 14vw, 170px)/1 var(--cond); }
.page small { font: 400 15px/1 var(--type); letter-spacing: 0.04em; }
.page.thu { background: var(--red); color: #fff4e0; border-color: #3a0607; box-shadow: 10px 10px 0 #3a0607; rotate: -4deg; }
.page.fri { background: #ffd44a; rotate: 3deg; }
.shout { font: 700 clamp(40px, 7vw, 96px)/0.98 var(--cond); text-transform: uppercase; letter-spacing: 0; display: flex; flex-direction: column; margin-bottom: 40px; }
.shout .red { color: var(--red); }
.shot.wide { max-width: 1000px; margin: 0 auto; }

/* ── the contract ───────────────────────────────────────────────────── */
.contract-sec { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.contract { position: relative; width: min(720px, 100%); background: #efe6d2; color: #1d1a2b; padding: 44px clamp(22px, 5vw, 56px) 36px; border: 3px solid #1d1a2b; box-shadow: 14px 14px 0 #0b1530; rotate: -1deg;
  background-image: linear-gradient(rgb(0 0 0 / 0.04) 1px, transparent 1px); background-size: 100% 28px; }
.contract header { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mini-sun { width: 44px; height: 22px; border-radius: 44px 44px 0 0; background: var(--orange); border-bottom: 3px solid #1d1a2b; margin-bottom: 6px; }
.contract header b { font: 800 15px/1 var(--sans); letter-spacing: 0.12em; }
.contract header small { font: 600 13px/1.4 var(--sans); }
.contract h2 { font: 700 clamp(56px, 11vw, 110px)/1 var(--cond); letter-spacing: 0.08em; text-align: center; margin-top: 14px; text-shadow: none; }
.contract .for { font: 400 22px/1 var(--type); text-align: center; margin-bottom: 26px; }
.contract ol { list-style: none; display: grid; gap: 12px; font: 400 15.5px/1.5 var(--type); }
.contract li b { font-weight: 400; text-decoration: underline; }
.sign { display: flex; justify-content: space-between; margin-top: 32px; font: 400 13px/1 var(--type); }
.sign span { border-top: 1.5px solid #1d1a2b; padding-top: 8px; min-width: 40%; }
.stamp { position: absolute; right: 6%; bottom: 14%; font: 700 clamp(46px, 8vw, 80px)/1 var(--cond); letter-spacing: 0.08em; color: #c8102e; border: 6px solid #c8102e; padding: 4px 18px; rotate: -14deg;
  opacity: 0; scale: 2.4; transition: opacity 0.12s 0.7s, scale 0.3s 0.7s cubic-bezier(0.3, 1.6, 0.5, 1); mix-blend-mode: multiply; mask-image: url(/img/grain.png); mask-size: 140px; }
.contract.in .stamp { opacity: 0.88; scale: 1; }
.contract-tag { font: 700 clamp(30px, 4.6vw, 54px)/1.08 var(--cond); text-transform: uppercase; text-align: center; }
.contract-tag b { color: var(--red); font-weight: 700; }

/* ── portfolio ──────────────────────────────────────────────────────── */
.portfolio h2 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: 1; }
.funds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; transition: gap 0.6s; }
.fund { position: relative; padding: 22px 18px; background: var(--card); border: 3px solid var(--fg); box-shadow: 8px 8px 0 var(--accent); transition: transform 0.6s cubic-bezier(0.6, 0, 0.3, 1), background 0.4s, color 0.4s; }
.fund .tag { display: block; font: 700 14px/1.15 var(--cond); letter-spacing: 0.1em; color: var(--accent); min-height: 2.3em; }
.fund > b { display: block; font: 700 34px/1 var(--cond); margin: 8px 0 12px; color: #3ee08a; }
.fund ul { list-style: none; font: 400 13px/1.7 var(--type); color: var(--muted); }
.xray-row { display: flex; justify-content: center; margin-top: 36px; }
.btn-xray { color: var(--bg); background: var(--fg); border-radius: 0; font-family: var(--cond); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 17px; box-shadow: 6px 6px 0 var(--accent); }
.bigbet { display: none; text-align: center; }
.portfolio.xray .bigbet { display: block; animation: slam-in 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
@keyframes slam-in { from { opacity: 0; transform: scale(1.3); } }
.bigbet .seven { font: 400 18px/1.5 var(--type); color: var(--muted); margin-top: 40px; }
.bigbet h3 { font: 700 clamp(28px, 4.4vw, 60px)/1.02 var(--cond); text-transform: uppercase; margin: 14px 0 30px; }
.bigbet h3 span { color: var(--red); font-size: 1.5em; }
.bigbet .shot { max-width: 900px; margin: 0 auto; }
.portfolio.xray .fund { background: var(--fg); color: var(--bg); }
.portfolio.xray .fund > b { color: var(--red); }
.portfolio.xray .fund ul { color: var(--bg); }
.portfolio > .fine { text-align: center; margin-top: 26px; }

/* ── innovation: two trillion ───────────────────────────────────────── */
.innovation { text-align: center; }
.trillion { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 64px; }
.type { font: 400 clamp(20px, 2.6vw, 30px)/1.3 var(--type); }
.type.disgust { color: var(--accent); }
.type b { font-weight: 400; color: var(--gold); }
.big { font: 700 clamp(48px, 10vw, 140px)/1 var(--cond); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--gold); text-shadow: 0 0 40px rgb(255 179 71 / 0.4); }
.notif-inline { margin: 10px auto; }
.cathedral { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 56px; }
.cathedral .shot { border-color: var(--gold); box-shadow: 0 0 60px rgb(255 179 71 / 0.35); border-width: 3px; }
.burst-cream { position: absolute; left: 50%; top: 50%; width: min(560px, 80vw); aspect-ratio: 2; translate: -50% -50%; background: #fff4e0; color: #e33a1c; rotate: -5deg; }
.burst-cream span { font-size: clamp(36px, 6vw, 72px); -webkit-text-stroke: 2px #3a0607; }
.burst-cream.reveal { transform: scale(0.2); }
.burst-cream.reveal.in { transform: scale(1); transition: transform 0.45s cubic-bezier(0.3, 1.8, 0.5, 1), opacity 0.2s; }
.gang { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; margin-bottom: 40px; }
.g { font: 400 clamp(34px, 5vw, 64px)/1 var(--comic); letter-spacing: 0.02em; padding: 10px 22px; background: var(--red); color: #fff4e0; rotate: -3deg; box-shadow: 8px 8px 0 #000; }
.g:nth-child(even) { rotate: 2deg; background: #fff4e0; color: #0b0b12; box-shadow: 8px 8px 0 var(--red); }

/* ── breakdown (pinned) ─────────────────────────────────────────────── */
.breakdown { height: 420vh; padding: 0; }
.breakdown .sticky { justify-content: center; overflow: hidden; background: #050507; }
.bd-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: contrast(1.3) saturate(1.3); }
.breakdown .sticky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, #000 95%); pointer-events: none; }
.slams { position: absolute; inset: 0; z-index: 2; }
.slam { position: absolute; font: 700 clamp(30px, 5vw, 80px)/0.95 var(--cond); text-transform: uppercase; color: #fff4e0; background: #0b0b12; padding: 4px 18px 8px; border: 4px solid #fff4e0; white-space: nowrap;
  opacity: 0; scale: 2.2; transition: opacity 0.08s, scale 0.22s cubic-bezier(0.3, 1.6, 0.5, 1); }
.slam.on { opacity: calc(1 - var(--dip, 0) * 0.65); scale: 1; }
.slam:nth-child(odd) { background: var(--red); color: #fff4e0; border-color: #0b0b12; }
.s1 { left: 6%; top: 12%; rotate: -4deg; } .s2 { right: 6%; top: 22%; rotate: 3deg; }
.s3 { left: 10%; top: 38%; rotate: 2deg; } .s4 { right: 10%; top: 48%; rotate: -5deg; }
.s5 { left: 5%; top: 64%; rotate: -2deg; } .s6 { right: 6%; top: 74%; rotate: 4deg; }
.dip { position: relative; z-index: 3; font: 400 clamp(64px, 14vw, 220px)/0.9 var(--comic); color: var(--red); text-align: center; -webkit-text-stroke: 3px #000; letter-spacing: 0.01em;
  text-shadow: 8px 8px 0 #000, calc(var(--glitch) * 10px) 0 rgb(95 240 255 / 0.6); opacity: var(--dip, 0); scale: calc(0.6 + var(--dip, 0) * 0.4); }

/* ── bridge ─────────────────────────────────────────────────────────── */
.bridge { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.bridge .shot { border-color: rgb(255 179 71 / 0.6); box-shadow: 0 0 80px rgb(255 154 46 / 0.25); filter: sepia(0.15); }
.verse p { font: 400 italic clamp(26px, 3.4vw, 42px)/1.35 var(--serif); color: #f6dfb8; }

/* ── plans ──────────────────────────────────────────────────────────── */
.plans-sec h2, .faq h2 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: 1; }
.billing { display: inline-flex; margin-top: 26px; border: 3px solid var(--fg); }
.billing button { padding: 12px 18px; background: transparent; border: 0; font: 700 15px/1 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.billing button.on { background: var(--fg); color: var(--bg); }
.save { color: var(--accent); font-size: 12px; margin-left: 6px; }
.billing button.on .save { color: var(--accent); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { position: relative; padding: 32px 28px; border: 3px solid var(--fg); background: var(--card); box-shadow: 10px 10px 0 var(--line); display: flex; flex-direction: column; }
.plan h3 { font: 700 26px/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.plan .price { margin: 18px 0 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price b { font: 700 52px/1 var(--cond); }
.plan .price b.flip { animation: flip 0.44s; }
@keyframes flip { 50% { transform: rotateX(90deg); } }
.plan .price span { font: 400 14px/1 var(--type); color: var(--muted); }
.pdesc { font: 400 15px/1.5 var(--type); color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; font-size: 15px; }
.plan li::before { content: "→ "; color: var(--accent); }
.plan .btn { border-radius: 0; }
.plan-hot { border-color: var(--accent); box-shadow: 10px 10px 0 var(--accent); }
.badge { position: absolute; top: -16px; left: 24px; font: 700 13px/1 var(--cond); letter-spacing: 0.14em; text-transform: uppercase; background: var(--accent); color: #0b0b12; padding: 8px 12px; }

/* ── faq ────────────────────────────────────────────────────────────── */
.qa { display: grid; gap: 14px; max-width: 860px; }
.qa details { border: 3px solid var(--line); background: var(--card); }
.qa summary { padding: 20px 24px; font: 400 19px/1.4 var(--type); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::after { content: "+"; font: 700 22px/1 var(--cond); color: var(--accent); }
.qa details[open] summary::after { content: "−"; }
.qa summary::-webkit-details-marker { display: none; }
.qa details p { padding: 0 24px 22px; color: var(--muted); }
.qa details:first-child[open] p { color: var(--accent); font-weight: 800; font-size: 20px; }

/* ── final: Friday morning, the system resets ───────────────────────── */
.final { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 140px; gap: 0;
  background: linear-gradient(180deg, transparent, rgb(255 154 46 / 0.14) 30%, transparent); }
.friday { font: 800 14px/1 var(--sans); letter-spacing: 0.4em; color: var(--muted); margin-bottom: 22px; }
.notif-coin { margin-bottom: 26px; }
.last-chat { margin-top: 44px; text-align: left; background: #0b1530; color: #cfe3ff; padding: 18px 22px; border-radius: var(--rad-s); min-width: min(440px, 100%); font: 400 16px/1.6 var(--type); box-shadow: var(--shadow); }
.last-chat .ask { color: #8fa3c8; }
.last-chat .answer { color: var(--gold); min-height: 1.6em; }
.caret-i { display: inline-block; width: 9px; height: 1.1em; background: currentColor; vertical-align: -0.2em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── footer: pristine ───────────────────────────────────────────────── */
.foot { background: #fbfbfd; color: #0b1530; padding: 64px max(24px, calc((100vw - 1180px) / 2)) 40px; border-top: 1px solid #e6e8ef; }
.foot .brand .word small { color: var(--coral); }
.foot .brand .mark { border-radius: 10px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.tag { color: #566078; margin-top: 12px; font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #e6e8ef; color: #566078; transition: color 0.2s, border-color 0.2s; }
.socials a:hover { color: #0b1530; border-color: #0b1530; }
.socials svg { width: 20px; height: 20px; }
.cols { display: flex; gap: 64px; flex-wrap: wrap; }
.cols h4 { font: 800 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.cols a { display: block; text-decoration: none; color: #566078; font-size: 14px; margin-bottom: 8px; }
.cols a:hover { color: #0b1530; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #e6e8ef; font-size: 13px; color: #8a91a3; }
.foot-bottom a { color: #0b1530; }
.disclaimer { flex-basis: 100%; font-size: 12px; }

/* ── HR toasts ──────────────────────────────────────────────────────── */
.toasts { position: fixed; top: 76px; right: 18px; z-index: 70; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toasts .notif { width: min(360px, calc(100vw - 36px)); animation: notif-in 0.6s both cubic-bezier(0.2, 1.3, 0.4, 1), notif-out 0.4s 3.4s both; }
.toasts .notif p { font-size: 14px; }
@keyframes notif-out { to { opacity: 0; transform: translateX(30px); } }

/* ── reveals ────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--d, 0s), transform 0.7s var(--d, 0s) cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.g.reveal { transform: translateY(26px) scale(1.6); }
.g.reveal.in { transform: none; transition-timing-function: cubic-bezier(0.3, 1.6, 0.5, 1); }

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .links { display: none; }
  .thp { margin-left: auto; }
  .funds { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding-top: 80px; padding-bottom: 80px; }
  .nav { gap: 12px; padding-block: 10px; }
  .brand .word small, .thp { display: none; }
  .pill-premium { margin-left: auto; padding: 9px 12px; }
  .wall { padding-top: 16px; min-height: calc(100svh - 61px); padding-bottom: 56px; }
  .notif-hero { margin-bottom: 14px; padding: 10px 14px; }
  .notif-hero .notif-icon { width: 32px; height: 32px; }
  .prompt { padding: 24px 20px 14px; }
  .lock { width: 54px; height: 54px; margin-bottom: 12px; }
  .lock svg { width: 28px; height: 28px; }
  .prompt .price { margin-bottom: 14px; }
  .signup input[type=email] { flex-basis: 100%; }
  .join { width: 100%; }
  .join .btn { flex: 1; }
  .watch { margin-top: 14px; gap: 8px; }
  .watch .btn { padding: 12px 18px; font-size: 14px; width: 100%; }
  .wall .fine { display: none; }
  .scroll-cue { display: none; }
  .benefits-grid, .perks, .grid, .cathedral, .bridge, .plans { grid-template-columns: 1fr; }
  .funds { grid-template-columns: 1fr 1fr; }
  .sticky { flex-direction: column; justify-content: center; gap: 28px; padding-block: 70px 20px; }
  .growth-copy p { display: none; }
  .chart { width: 100%; flex: none; height: 42vh; }
  .slam { white-space: normal; max-width: 80vw; }
  .tip { right: -4px; width: min(280px, 80vw); }
  .cal { gap: 14px; }
  .brand .word b { font-size: 12px; letter-spacing: 0.06em; }
  .toasts { top: auto; bottom: 14px; right: 50%; translate: 50% 0; }
  .toasts .notif { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── thanks.html / 404.html ─────────────────────────────────────────── */
.solo { min-height: 100svh; display: grid; place-items: center; padding: 24px; text-align: center; background: linear-gradient(180deg, rgb(255 154 46 / 0.16), #fbfbfd 60%); }
.solo .brand { justify-content: center; margin-bottom: 28px; }
.solo .prompt p { color: var(--muted); margin: 12px auto 26px; max-width: 480px; }
.solo .lock.ok { background: linear-gradient(180deg, #5be39a, #13a35a); box-shadow: 0 10px 24px rgb(19 163 90 / 0.35); color: #fff; font: 800 34px/1 var(--sans); }
