/* President: marketing site. Tokens mirror apps/mobile/src/design/tokens.ts (docs/DESIGN.md). */

:root {
  --ink: #151838; --ink-2: #272b5a; --ink-3: #3b4078; --ink-deep: #0c0f2e;
  --royal: #3d56f0; --royal-2: #6a80ff; --royal-soft: #e2e7ff; --periwinkle: #c7d0ff; --royal-deep: #1f2c94;
  --gold: #ffd04d; --gold-2: #ffe592; --gold-ink: #6b4e00;
  --mint: #c6f2dd; --moss: #127a57; --sky: #d6ecff; --sky-ink: #1c5d98;
  --coral: #ee5b69; --berry: #b12c4a; --rose: #ffd3e4; --honey: #ffcc47; --amber-ink: #8c5a00; --peach: #ffdfcc;
  --canvas: #eef0fb; --raised: #f8f9ff; --surface: #ffffff;
  --text: #151838; --text-2: #5b6184; --text-3: #8b90ad;
  --hair: rgba(21, 24, 56, .08); --hair-2: rgba(21, 24, 56, .14);
  --s1: 0 2px 4px rgba(21, 24, 56, .06);
  --s2: 0 5px 10px rgba(21, 24, 56, .07);
  --s3: 0 2px 4px rgba(21, 24, 56, .06), 0 30px 60px -28px rgba(21, 24, 56, .42);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Outfit", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --night: radial-gradient(1100px 620px at 12% 0%, rgba(120, 140, 255, .5), transparent 60%),
           radial-gradient(900px 600px at 95% 100%, rgba(255, 208, 77, .16), transparent 60%),
           linear-gradient(160deg, #3046e0 0%, #2b2f99 42%, #1b1d5c 78%, #12143f 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--text);
  font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--royal-2); outline-offset: 3px; border-radius: 10px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Type ---------- */
.eyebrow { font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.eyebrow-gold { color: var(--gold); }
.eyebrow-royal { color: var(--royal); }
.eyebrow-light { color: rgba(255, 255, 255, .62); }
.label { display: block; font: 700 11px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.h-xl { font: 800 clamp(36px, 5.6vw, 68px)/1.02 var(--display); letter-spacing: -.035em; margin-top: 14px; text-wrap: balance; }
.h-lg { font: 800 clamp(28px, 3.4vw, 40px)/1.06 var(--display); letter-spacing: -.03em; margin: 10px 0 14px; text-wrap: balance; }
.muted { color: var(--text-3); }
.gold { color: var(--gold); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 640px; margin-top: 20px; }

/* ---------- Keycap buttons (bossv2 key-button) ---------- */
.key {
  --face: var(--gold); --fg: var(--ink); --plate: var(--ink);
  position: relative; display: inline-flex; text-decoration: none; border-radius: 20px;
  background: var(--plate); padding-bottom: 4px; transition: padding .08s ease, margin .08s ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.key > span {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 58px; padding: 0 26px; border-radius: 20px; background: var(--face); color: var(--fg);
  font: 700 17px/1 var(--body); white-space: nowrap;
  border: 1.5px solid var(--plate);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45);
  transition: transform .08s ease;
}
.key svg { width: 18px; height: 18px; }
.key:hover > span { filter: brightness(1.03); }
.key:active { padding-bottom: 1px; margin-top: 3px; }
.key-gold { --face: var(--gold); }
.key-white { --face: #fff; --fg: var(--ink); }
.key-ghost { --face: rgba(255, 255, 255, .1); --fg: #fff; --plate: rgba(0, 0, 0, .35); }
.key-ghost > span { border-color: rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.key-md > span { height: 48px; font-size: 15px; border-radius: 16px; padding: 0 18px; }
.key-md { border-radius: 16px; }
.key-sm > span { height: 42px; font-size: 14.5px; border-radius: 14px; padding: 0 16px; }
.key-sm { border-radius: 14px; padding-bottom: 3px; }
.key-sm:active { padding-bottom: 1px; margin-top: 2px; }
.key-block { display: flex; width: 100%; }
.key-block > span { width: 100%; }
.key[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Tags, pills, grades ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; font: 700 12.5px/1 var(--body); white-space: nowrap; }
.tag-ink { background: rgba(255, 255, 255, .12); color: #fff; }
.tag-ink b { font-family: var(--display); }
.tag-honey { background: var(--gold-2); color: var(--gold-ink); }
.tag-rose { background: var(--rose); color: var(--berry); height: 22px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.tag-sky { background: var(--sky); color: var(--sky-ink); }
.pill { font-style: normal; font: 700 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pill-mint { background: var(--mint); color: var(--moss); }
.pill-gold { background: var(--gold); color: var(--ink); }
.grade { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 11px; font: 800 17px/1 var(--display); font-style: normal; }
.grade-a { background: var(--mint); color: var(--moss); }
.grade-b { background: var(--sky); color: var(--sky-ink); }
.grade-c { background: var(--gold-2); color: var(--gold-ink); }
.grade-d { background: var(--rose); color: var(--berry); }
.grade-big { min-width: 76px; height: 76px; border-radius: 22px; font-size: 36px; box-shadow: 0 3px 0 var(--ink); border: 1.5px solid var(--ink); }

.live { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: livePulse 2s var(--ease) infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }

/* ---------- Avatars and flags ---------- */
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--display); color: #fff; background: radial-gradient(circle at 30% 25%, hsl(var(--h) 85% 72%), hsl(var(--h) 60% 45%)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.flag-tile { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--raised); border: 1px solid var(--hair); }

/* ---------- Cards ---------- */
.card { position: relative; border-radius: 24px; padding: 22px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--s2); }
.card-dark {
  color: #fff; border-color: rgba(255, 255, 255, .06);
  background: radial-gradient(500px 300px at 100% 0%, rgba(61, 86, 240, .55), transparent 65%), linear-gradient(150deg, var(--ink-2), var(--ink) 55%, var(--ink-deep));
  box-shadow: var(--s3);
}
.card-royal { color: #fff; border-color: rgba(255, 255, 255, .1); background: radial-gradient(420px 260px at 20% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(160deg, var(--royal-2), var(--royal) 50%, var(--royal-deep)); box-shadow: var(--s3); }
.card-glass { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .6); backdrop-filter: blur(14px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px 0; transition: background .25s var(--ease), box-shadow .25s var(--ease), padding .25s var(--ease); }
.nav-in { display: flex; align-items: center; gap: 24px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.nav.scrolled { background: rgba(21, 24, 56, .82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.mark { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; border: 1.5px solid var(--ink); box-shadow: 0 2.5px 0 var(--ink); }
.mark svg { width: 22px; height: 22px; }
.brand-name { font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .78); text-decoration: none; font: 600 14.5px/1 var(--body); padding: 10px 12px; border-radius: 12px; transition: background .15s, color .15s; }
.nav-links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 900px) { .nav-links { display: none; } .nav .key { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--night); padding: 132px 0 72px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 50% 105%, rgba(255, 208, 77, .18), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.hero-copy { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { font: 800 clamp(52px, 9.6vw, 128px)/.92 var(--display); letter-spacing: -.05em; margin-top: 18px; }
.hero-lede { max-width: 640px; margin-top: 26px; font-size: clamp(17px, 1.8vw, 21px); color: rgba(255, 255, 255, .78); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

.console { position: relative; z-index: 1; margin-top: 64px; border-radius: 30px; background: linear-gradient(180deg, rgba(12, 15, 46, .55), rgba(12, 15, 46, .8)); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); padding: 18px; }
.console-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; }
.console-meta { font: 600 13px/1 var(--body); color: rgba(255, 255, 255, .55); }
.console-meta b { color: #fff; font-family: var(--display); }
.map-wrap { position: relative; }
.map { width: 100%; height: auto; }
.map path { fill: rgba(255, 255, 255, .13); stroke: rgba(12, 15, 46, .9); stroke-width: .35; transition: fill .18s ease; }
.map .other { fill: rgba(255, 255, 255, .06); }
.map path.flash { fill: var(--periwinkle); transition: none; }
.map path.on { fill: var(--gold); }
.map path.nb { fill: rgba(199, 208, 255, .34); }
.map-pin { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); opacity: 0; transition: left .5s var(--ease), top .5s var(--ease), opacity .3s; pointer-events: none; }
.map-pin.show { opacity: 1; }
.map-pin::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: pin 2.2s var(--ease) infinite; }
@keyframes pin { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.seat { position: absolute; left: 34px; bottom: 34px; width: 360px; padding: 20px; border-radius: 24px; color: #fff; background: rgba(21, 24, 56, .78); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); }
.seat .eyebrow { color: var(--gold); }
.seat-head { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.seat-flag { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 36px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); }
.seat-id { min-width: 0; }
.seat-roll { height: 36px; overflow: hidden; }
.seat-name { font: 800 31px/36px var(--display); letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat-sub { font-size: 13.5px; color: rgba(255, 255, 255, .62); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 0; }
.seat-stats div { background: rgba(255, 255, 255, .07); border-radius: 14px; padding: 9px 9px 8px; min-width: 0; }
.seat-stats dt { font: 700 10.5px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.seat-stats dd { margin: 4px 0 0; font: 800 17px/1.1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.seat-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.seat-btn { margin-top: 16px; display: flex; width: 100%; }
.seat-btn > span { width: 100%; }
.seat.rolling .seat-stats dd, .seat.rolling .seat-foot { opacity: .35; }
.seat .seat-stats dd, .seat .seat-foot { transition: opacity .2s; }

@media (max-width: 860px) {
  .hero { padding-top: 112px; }
  .console { padding: 10px; margin-top: 48px; border-radius: 24px; }
  .seat { position: relative; left: auto; bottom: auto; width: auto; margin-top: 10px; }
}
@media (max-width: 420px) {
  .seat-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .key { width: 100%; }
  .hero-ctas .key > span { width: 100%; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .06); }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 10px; padding: 16px 28px; font: 500 15px/1 var(--body); white-space: nowrap; color: rgba(255, 255, 255, .82); }
.ticker li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-left: 28px; }
.ticker b { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-dark { background: var(--night); color: #fff; }
.section-dark p { color: rgba(255, 255, 255, .75); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.pillar { background: var(--surface); border: 1px solid var(--hair); border-radius: 24px; padding: 28px; box-shadow: var(--s2); }
.pillar-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--royal-soft); color: var(--royal); font: 800 16px/1 var(--display); }
.pillar h3 { font: 800 25px/1.1 var(--display); letter-spacing: -.02em; margin: 22px 0 10px; }
.pillar p { color: var(--text-2); font-size: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.section-week { padding-bottom: 60px; }
.timeline { position: relative; margin-top: 72px; }
.spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--hair-2); border-radius: 2px; }
.spine i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--royal-2), var(--royal)); border-radius: 2px; }
.chapter { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; padding: 56px 0; }
.chapter::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--canvas); border: 3px solid var(--royal); z-index: 1; }
.chapter-flip .chapter-copy { order: 2; }
.chapter-copy p { color: var(--text-2); font-size: 17.5px; margin-top: 12px; max-width: 470px; }
.day { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--royal-soft); color: var(--royal); font: 700 13px/1 var(--body); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15.5px; }
.ticks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--moss); font-size: 12px; font-weight: 800; }
.hint { font-weight: 600; color: var(--royal) !important; }
.chapter-stage { max-width: 470px; width: 100%; justify-self: center; }
@media (max-width: 860px) {
  .spine, .chapter::before { display: none; }
  .chapter { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .chapter-flip .chapter-copy { order: 0; }
  .chapter-stage { justify-self: stretch; max-width: none; }
}

/* Dossier */
.dossier { padding: 22px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.dots i.on { width: 18px; background: var(--gold); }
.dossier-title { font: 800 30px/1.1 var(--display); letter-spacing: -.02em; margin: 14px 0 16px; }
.note { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 14px; }
.note-head { display: flex; align-items: center; gap: 11px; }
.note-head div { flex: 1; min-width: 0; }
.note-head b { display: block; font-size: 15px; }
.note-head div span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.note p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .85); font-style: italic; }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.vitals div { background: rgba(255, 255, 255, .07); border-radius: 16px; padding: 12px; }
.vitals span { display: block; font: 700 10.5px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.vitals b { display: block; font: 800 24px/1.1 var(--display); margin-top: 6px; font-variant-numeric: tabular-nums; }
.vitals em { font: 700 12px/1 var(--body); font-style: normal; }
.down { color: #ff8f9a; } .warn { color: var(--gold); } .up { color: #5fe0a5; }

/* Oath */
.oath { text-align: center; padding: 30px 26px 26px; overflow: hidden; }
.oath-text { font: 700 19px/1.4 var(--display); margin: 16px auto 0; max-width: 360px; color: rgba(255, 255, 255, .92); }
.seal { position: relative; width: 150px; height: 150px; margin: 26px auto 0; display: grid; place-items: center; border-radius: 50%; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.seal-ring circle { fill: none; stroke-width: 6; }
.seal-ring .bg { stroke: rgba(255, 255, 255, .18); }
.seal-ring .fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 345.6; stroke-dashoffset: 345.6; }
.seal-coin { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: radial-gradient(circle at 35% 28%, var(--gold-2), var(--gold) 55%, #f0b92a); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .5); transition: transform .12s var(--ease), box-shadow .12s var(--ease); }
.seal-coin svg { width: 52px; height: 52px; }
.seal.holding .seal-coin { transform: translateY(4px) scale(.97); box-shadow: 0 1px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .5); }
.seal.signed .seal-coin { animation: sealPop .5s var(--ease); }
@keyframes sealPop { 40% { transform: scale(1.1); } 100% { transform: scale(1); } }
.oath-status { margin-top: 18px; font: 600 15px/1.3 var(--body); color: rgba(255, 255, 255, .78); min-height: 40px; }
.oath-status b { display: block; font: 800 22px/1.2 var(--display); color: #fff; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Decision */
.decision { padding: 20px; overflow: hidden; }
.dec-head { display: flex; align-items: center; gap: 12px; }
.dec-who { flex: 1; min-width: 0; display: grid; gap: 5px; justify-items: start; }
.dec-who .eyebrow { font-size: 11px; letter-spacing: .1em; }
.countdown { display: flex; align-items: center; gap: 7px; }
.countdown svg { width: 30px; height: 30px; transform: rotate(-90deg); }
.countdown circle { fill: none; stroke-width: 4; }
.countdown .bg { stroke: rgba(21, 24, 56, .1); }
.countdown .fg { stroke: var(--honey); stroke-linecap: round; stroke-dasharray: 94.25; }
.countdown b { font: 800 18px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 66px; }
.countdown.hot .fg { stroke: var(--coral); }
.countdown.hot b { color: var(--coral); }
.dec-title { font: 800 23px/1.15 var(--display); letter-spacing: -.02em; margin-top: 16px; }
.dec-body { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.options { display: grid; gap: 8px; margin: 16px 0; }
.opt { display: block; width: 100%; text-align: left; border-radius: 16px; padding: 12px 14px; background: var(--raised); border: 1.5px solid var(--hair-2); transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--periwinkle); }
.opt[aria-checked="true"] { border-color: var(--royal); background: var(--royal-soft); box-shadow: 0 0 0 3px rgba(61, 86, 240, .12); }
.opt-top { display: flex; align-items: center; gap: 10px; }
.opt-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--hair-2); display: grid; place-items: center; }
.opt[aria-checked="true"] .opt-radio { border-color: var(--royal); }
.opt[aria-checked="true"] .opt-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--royal); }
.opt-title { font: 700 15.5px/1.25 var(--body); flex: 1; }
.opt-rec { font: 700 10.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--moss); background: var(--mint); padding: 5px 7px; border-radius: 8px; white-space: nowrap; }
.effs { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0 30px; }
.eff { font: 700 12px/1 var(--body); padding: 5px 8px; border-radius: 8px; white-space: nowrap; }
.eff.good { background: var(--mint); color: var(--moss); }
.eff.bad { background: var(--rose); color: var(--berry); }
.eff.mid { background: var(--sky); color: var(--sky-ink); }
.dec-foot { font-size: 13px; color: var(--text-3); margin-top: 12px; text-align: center; }
.toast { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--s3); transform: translateY(-140%); transition: transform .22s var(--ease); z-index: 2; }
.toast.show { transform: none; }
.toast-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 800; }
.toast b { display: block; font: 800 16px/1.2 var(--display); }
.toast span { font-size: 13.5px; color: rgba(255, 255, 255, .7); }

/* Cabinet */
.moon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--gold); }
.moon svg { width: 18px; height: 18px; }
.log { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.log li { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.log li > span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.log .ok { background: var(--mint); color: var(--moss); }
.log .wait { background: var(--gold); color: var(--ink); font-size: 11px; }
.log li.held { background: rgba(255, 208, 77, .12); box-shadow: inset 0 0 0 1px rgba(255, 208, 77, .35); }
.log b { display: block; font-size: 15px; font-weight: 600; }
.log div span { font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.rules { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 6px; }
.rules div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 2px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }

/* Thread */
.thread { padding: 18px; }
.thread-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.thread-head b { display: block; font-size: 15.5px; }
.thread-head span { font-size: 13px; color: var(--moss); font-weight: 600; }
.bubbles { display: grid; gap: 8px; padding: 14px 0; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.bubble.them { background: var(--raised); border: 1px solid var(--hair); border-bottom-left-radius: 6px; justify-self: start; }
.bubble.me { background: var(--royal); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.treaty { justify-self: end; width: 82%; border-radius: 18px; padding: 14px; background: var(--surface); border: 1.5px solid var(--periwinkle); box-shadow: var(--s1); }
.treaty .eyebrow { font-size: 10.5px; color: var(--royal); }
.treaty ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.treaty li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.treaty li span { color: var(--text-2); }
.treaty-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--hair-2); font-size: 13px; color: var(--text-2); }
.vote { padding-top: 12px; border-top: 1px solid var(--hair); }
.vote .eyebrow { font-size: 10.5px; }
.vote b { font: 800 17px/1 var(--display); }
.votebar { display: flex; gap: 3px; height: 10px; margin-top: 10px; }
.votebar i { border-radius: 5px; background: var(--moss); }
.votebar i + i { background: var(--coral); }

/* Handoff */
.handoff { padding: 22px; }
.handoff .eyebrow { font-size: 11px; }
.legacy { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0; padding: 18px; border-radius: 20px; background: var(--raised); border: 1px solid var(--hair); }
.legacy-n { display: block; font: 800 64px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.delta { font: 700 13px/1 var(--body); }
.delta.up { color: var(--moss); }
.audit { list-style: none; padding: 0; margin: 0; }
.audit li { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--hair); font-weight: 600; font-size: 15px; }
.audit .grade { min-width: 38px; height: 28px; font-size: 15px; border-radius: 9px; }
.grade.flip { animation: flip .5s var(--ease) both; }
@keyframes flip { 0% { transform: rotateX(90deg); } 100% { transform: none; } }
.field { position: relative; display: block; margin-top: 16px; }
.field textarea { display: block; width: 100%; margin-top: 8px; resize: none; padding: 12px 14px 26px; border-radius: 16px; border: 1.5px solid var(--hair-2); background: var(--raised); font: 500 15px/1.45 var(--body); color: var(--text); box-shadow: var(--s1); }
.field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(61, 86, 240, .16); }
.count { position: absolute; right: 12px; bottom: 8px; font: 600 12px/1 var(--body); color: var(--text-3); }

/* ---------- Fair ---------- */
.fair { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.fair-copy p { font-size: 18px; margin-top: 18px; max-width: 520px; }
.fair-copy .h-xl { margin-bottom: 10px; }
.chart-card { padding: 22px; }
.chart-card .label { color: rgba(255, 255, 255, .55); }
.legend { display: flex; gap: 16px; margin-top: 8px; font: 600 13.5px/1 var(--body); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend span::before { content: ""; width: 18px; height: 3px; border-radius: 2px; }
.lg-you::before { background: var(--gold); }
.lg-ct::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 4px, transparent 4px 7px); }
.chart-top { align-items: flex-start; }
.chart-score { text-align: right; }
.chart-score b { display: block; font: 800 46px/1 var(--display); letter-spacing: -.03em; color: var(--gold); font-variant-numeric: tabular-nums; margin-top: 4px; }
.chart { width: 100%; height: auto; margin: 14px 0 16px; overflow: visible; }
.chart .grid line { stroke: rgba(255, 255, 255, .08); }
.chart .grid text { fill: rgba(255, 255, 255, .45); font: 600 11px var(--body); }
.line-you { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.line-ct { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2.2; stroke-dasharray: 5 5; }
.dot-you { fill: var(--gold); stroke: var(--ink); stroke-width: 3; }
.chart path, .chart circle { transition: d .55s var(--ease), cx .55s var(--ease), cy .55s var(--ease); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.seg button { height: 36px; border-radius: 9px; font: 600 14px/1 var(--body); color: rgba(255, 255, 255, .7); transition: background .15s, color .15s; }
.seg button[aria-selected="true"] { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.chart-cap { font-size: 14.5px; margin-top: 14px; min-height: 44px; }
@media (max-width: 960px) { .fair { grid-template-columns: 1fr; } }

/* ---------- Predecessors ---------- */
.archetypes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; }
.arch { background: var(--surface); border: 1px solid var(--hair); border-radius: 24px; padding: 22px; box-shadow: var(--s2); position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.arch:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.arch::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--a); }
.arch-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--a) 14%, white); color: var(--a); font: 800 20px/1 var(--display); }
.arch h3 { font: 800 21px/1.15 var(--display); letter-spacing: -.02em; margin: 18px 0 8px; }
.arch p { color: var(--text-2); font-size: 15px; }
@media (max-width: 1100px) { .archetypes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .archetypes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .archetypes { grid-template-columns: 1fr; } }

/* ---------- World ---------- */
.section-world { background: linear-gradient(180deg, var(--canvas), #e4e8fa); }
.bloc-card { margin-top: 48px; padding: clamp(14px, 2.4vw, 28px); }
.bloc-map-wrap { position: relative; }
.map-light path { fill: #d7dcf3; stroke: #fff; stroke-width: .45; transition: fill .2s ease, opacity .2s ease; }
.map-light .other { fill: #e6e9f7; }
.map-light path.in { fill: var(--royal); }
.map-light.focus path:not(.in):not(.other) { fill: #dfe3f6; }
.bloc-readout { position: absolute; left: 0; bottom: 0; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border: 1px solid var(--hair); border-radius: 16px; padding: 12px 14px; box-shadow: var(--s1); max-width: 300px; }
.bloc-readout b { display: block; font: 800 18px/1.2 var(--display); }
.bloc-readout span { font-size: 13.5px; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--raised); border: 1px solid var(--hair-2); font: 600 14px/1 var(--body); color: var(--text); display: inline-flex; align-items: center; gap: 7px; transition: background .12s, color .12s, border-color .12s; }
.chip em { font-style: normal; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--periwinkle); }
.chip[aria-pressed="true"] { background: var(--royal); color: #fff; border-color: var(--royal); }
.chip[aria-pressed="true"] em { color: rgba(255, 255, 255, .7); }
@media (max-width: 640px) { .bloc-readout { position: static; margin-top: 12px; max-width: none; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.feat { background: var(--surface); border: 1px solid var(--hair); border-radius: 24px; padding: 24px; box-shadow: var(--s2); }
.feat-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--gold); }
.feat-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font: 800 21px/1.15 var(--display); letter-spacing: -.02em; margin: 18px 0 6px; }
.feat p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: 110px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--s1); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 700 18px/1.3 var(--display); position: relative; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--royal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%233d56f0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); font-size: 16px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap > div:first-child { position: static; } }

/* ---------- Join ---------- */
.join { position: relative; color: #fff; background: var(--night); padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; text-align: center; }
.join-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.join-mark { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 28%, var(--gold-2), var(--gold) 55%, #f0b92a); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink), 0 0 0 10px rgba(255, 255, 255, .08); }
.join-mark svg { width: 42px; height: 42px; }
.join .h-xl { margin-top: 30px; }
.join .lede { color: rgba(255, 255, 255, .75); margin-inline: auto; }
.join-form { display: flex; gap: 10px; margin-top: 34px; width: 100%; max-width: 520px; align-items: flex-start; }
.join-form input { flex: 1; min-width: 0; height: 58px; padding: 0 18px; border-radius: 18px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #fff; font: 600 16px/1 var(--body); backdrop-filter: blur(8px); }
.join-form input::placeholder { color: rgba(255, 255, 255, .5); }
.join-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 208, 77, .2); }
.join-msg { min-height: 24px; margin-top: 16px; font-weight: 600; color: var(--gold-2); }
@media (max-width: 560px) { .join-form { flex-direction: column; align-items: stretch; } .join-form .key > span { width: 100%; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink-deep); color: rgba(255, 255, 255, .65); padding: 44px 0 52px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot-in p { font-size: 15px; }
.foot .fine { width: 100%; font-size: 13px; color: rgba(255, 255, 255, .4); }
.brand-foot .mark { width: 32px; height: 32px; }
.brand-foot .mark svg { width: 18px; height: 18px; }
.brand-foot .brand-name { font-size: 19px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* Hero entrance (runs on load, not on scroll) */
.js .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (min-width: 861px) { .seat.seat-right { left: auto; right: 34px; } }
