:root {
  --blue: #145cff;
  --ink: #070a11;
  --muted: #94a1ba;
  --line: rgba(167, 188, 230, .16);
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --header: 80px;
  --gutter: max(28px, calc((100vw - 1200px) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; background: var(--ink); color: #f6f8ff; font-family: var(--sans); font-weight: 360; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
a, button, label { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #8fb0ff; outline-offset: 5px; }
::selection { color: #fff; background: #145cff; }
.skip { position: fixed; left: 16px; top: -60px; background: white; color: var(--ink); padding: 10px 16px; z-index: 30; }
.skip:focus { top: 16px; }
.scroll-progress { position: fixed; inset: 0 auto auto 0; height: 2px; width: 0; background: #5b8dff; z-index: 30; }
.header { position: fixed; inset: 0 0 auto; height: var(--header); display: flex; align-items: center; gap: 48px; padding: 0 var(--gutter); z-index: 15; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(5,10,23,.5); backdrop-filter: blur(18px); transition: background .25s; }
.header.is-stuck { background: rgba(7,10,17,.94); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 600; letter-spacing: .1em; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 30px; margin-left: auto; color: #bac6dd; font-size: 14px; }
.nav a, .footer a { transition: color .2s; }
.nav a:hover, .footer a:hover { color: #88aaff; }
.nav-toggle, .mobile-nav { display: none; }
.mobile-nav[hidden] { display: none !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; border: 1px solid transparent; border-radius: 8px; padding: 12px 22px; font-size: 14px; font-weight: 500; line-height: 1.3; background: transparent; transition: background .2s, border-color .2s, transform .2s; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--white { background: #f6f8ff; color: #0b1630; }
.btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(8,20,45,.25); }
.btn:hover { transform: translateY(-2px); }
.btn--blue:hover { background: #3473ff; }
.btn--white:hover { background: #dfe9ff; }
.btn--ghost:hover { border-color: #9ebcff; background: rgba(54,103,209,.15); }
.header .btn { min-height: 40px; padding: 10px 18px; font-size: 13px; }
.hero { position: relative; min-height: min(860px, 100svh); display: grid; place-items: center; overflow: hidden; background: #04122e; isolation: isolate; }
.hero__ascii, .agent__ascii { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(3,13,37,.78), rgba(3,13,37,.4) 55%, rgba(3,13,37,.14)), linear-gradient(180deg, rgba(4,8,17,.3), transparent 75%, rgba(0,16,70,.4)); pointer-events: none; }
.hero__inner { width: 100%; max-width: 1100px; text-align: center; padding: 156px 24px 148px; }
.pill { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 30px; padding: 5px 13px 5px 5px; border: 1px solid rgba(255,255,255,.23); border-radius: 6px; background: rgba(7,19,47,.65); color: #c4d4f2; font: 10px/1.5 var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.pill span { padding: 5px 8px; color: #dce7ff; background: rgba(116,157,255,.18); border-radius: 3px; }
.hero__title { margin: 0; font-size: clamp(48px, 7.6vw, 100px); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; text-shadow: 0 4px 32px rgba(0,0,0,.15); }
.hero__title .line { display: block; }
.hero__title .line:first-child { color: #a6c3ff; }
.hero__title .ch { display: inline; }
.hero__phase { margin: 26px 0 0; font: 30px/1.25 var(--serif); color: #eef3ff; }
.hero__phase em { color: #afc8ff; }
.hero__lede { max-width: 44ch; margin: 16px auto 0; color: #c2cfea; font-size: 16px; line-height: 1.65; }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn { min-width: 170px; }
.wave { position: absolute; inset: auto 0 24px; height: 50px; pointer-events: none; opacity: .55; }
.wave svg { width: 100%; height: 36px; }
.wave path { fill: none; stroke: #b7ceff; stroke-width: 1; }
.wave__ticks { display: flex; justify-content: space-between; padding: 0 3vw; }
.wave__ticks i { width: 1px; height: 7px; background: #b7ceff; opacity: .5; }
.wave__ticks i:nth-child(odd) { height: 4px; }
.scroll-hint { position: absolute; left: var(--gutter); bottom: 82px; display: flex; align-items: center; gap: 14px; color: #b0c6ef; font: 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.scroll-hint i { width: 44px; height: 1px; background: currentColor; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #0b1223; color: #859ecb; font: 10px var(--mono); letter-spacing: .14em; }
.marquee__track { display: flex; width: max-content; padding: 16px 0; animation: ticker 80s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 80px var(--gutter); background: radial-gradient(ellipse at 80% 60%, #0d1b39 0, transparent 55%); }
.stage > *, .vote > * { min-width: 0; }
.kicker { display: flex; align-items: center; gap: 24px; margin: 0 0 20px; color: #8eabdf; font: 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.kicker > span { color: #697b9b; }
.stage h2, .vote h2, .agent h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; margin: 0 0 20px; }
.stage h2 { min-height: 2.24em; max-width: 14ch; }
.stage__copy > p:not(.kicker) { color: #9faec7; max-width: 43ch; font-size: 15px; min-height: 4.65em; margin: 0; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.steps button { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: transparent; padding: 12px; text-align: left; font-size: 13px; color: #8495b3; }
.steps button:hover { border-color: #4b69a4; color: #fff; }
.steps button[aria-current="step"] { background: #13264d; border-color: #3964b8; color: #dce8ff; }
.stage__controls { display: flex; align-items: center; gap: 6px; margin-top: 20px; }
.stage__controls button { background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 7px 10px; font-size: 11px; color: #9aaccd; }
.stage__controls button:hover { color: #fff; border-color: #5f7bab; }
.stage__bar { flex: 1; height: 2px; background: var(--line); margin-left: 12px; }
.stage__bar span { display: block; height: 100%; width: 0; background: #6d9aff; }
.stage__bar span.is-run { animation: fill 8s linear; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.stage__frame { overflow: hidden; border: 1px solid #2d426b; border-radius: 12px; background: linear-gradient(135deg, #10264e, #0a1224 85%); box-shadow: 0 24px 64px #0003; }
.stage__framebar { display: flex; align-items: center; gap: 9px; padding: 17px 22px; border-bottom: 1px solid var(--line); background: #ffffff03; font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.stage__framebar img { width: 20px; height: 20px; border-radius: 5px; }
.stage__framebar .live { margin-left: auto; color: #9db0d1; font: 9px var(--mono); letter-spacing: 0; }
.live::before, .terminal-footer i, .agent__date-note i { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: #6ee3ba; box-shadow: 0 0 10px #6ee3ba44; }
.stage__ascii { min-height: 296px; margin: 0; padding: 28px 24px; color: #b6cff8; font: 12px/1.8 var(--mono); overflow-x: auto; white-space: pre; }
.terminal-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 13px 22px; color: #7089b0; font: 9px var(--mono); }
.vote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 80px var(--gutter); background: #0d131f; border-block: 1px solid var(--line); }
.vote__intro > p:not(.kicker) { max-width: 40ch; font-size: 15px; color: #a5b2ca; margin: 0; }
.vote h2 { max-width: 12ch; }
.facts { margin: 32px 0 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; border-top: 1px solid var(--line); padding: 14px 0; }
.facts dt { font: 10px/1.8 var(--mono); color: #7d90b1; }
.facts dd { margin: 0; color: #c7d1e4; font-size: 13px; }
.ballot { padding: 26px; border: 1px solid #28344b; border-radius: 12px; background: #111b2b; }
.ballot fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ballot legend { padding: 0; margin-bottom: 18px; color: #aebfdc; font: 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dates { display: grid; gap: 8px; }
.date { position: relative; display: grid; grid-template-columns: 22px 1fr 16px; grid-template-areas: "n d r" ". p p"; gap: 5px 12px; padding: 16px; border: 1px solid #2d3a50; border-radius: 7px; background: #ffffff02; cursor: pointer; transition: border-color .2s, background .2s; }
.date:hover { border-color: #627fab; }
.date:has(input:checked) { border-color: #4f83ff; background: #183367; }
.date:has(input:focus-visible) { outline: 2px solid #b2caff; outline-offset: 3px; }
.date input { grid-area: r; margin: 6px 0 0; width: 15px; height: 15px; accent-color: #8cb0ff; }
.date__n { grid-area: n; padding-top: 4px; font: 11px var(--mono); color: #6f8dbb; }
.date__d { grid-area: d; font-size: 19px; letter-spacing: -.02em; }
.date__d small { display: none; margin-left: 8px; padding: 3px 5px; vertical-align: middle; font: 8px var(--mono); letter-spacing: .02em; text-transform: uppercase; color: #b7ceff; background: #96b7ff1a; border-radius: 3px; }
.date:has(input:checked) small { display: inline; }
.date__p { grid-area: p; color: #99accb; font-size: 12px; line-height: 1.5; }
.ballot__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.ballot__row .btn { min-height: 44px; padding: 11px 14px; font-size: 13px; }
.ballot__status { grid-column: 1 / -1; margin: 3px 0 0; color: #7e93b6; font-size: 11px; }
.tallies { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.tallies span { display: block; font: 8px/1.6 var(--mono); color: #8d9fbe; text-transform: uppercase; letter-spacing: .04em; }
.tallies strong { display: block; margin-top: 6px; font-weight: 500; font-size: 24px; line-height: 1.3; }
.agent { position: relative; isolation: isolate; overflow: hidden; background: #071332; }
.agent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,11,25,.96), rgba(4,14,36,.85) 50%, rgba(4,17,51,.45)); }
.agent__copy { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; padding: 70px var(--gutter); }
.agent__brand { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; font: 10px var(--mono); letter-spacing: .12em; color: #b3c6e8; }
.agent__brand img { width: 25px; height: 25px; border-radius: 6px; }
.agent h2 { margin-bottom: 16px; }
.agent h2 em { font-family: var(--serif); color: #9ebfff; font-weight: 400; letter-spacing: -.02em; }
.agent__note { max-width: 40ch; margin: 0; color: #98abc9; font-size: 14px; }
.agent__link { display: inline-flex; gap: 38px; margin-top: 24px; border-bottom: 1px solid #758eb7; padding-bottom: 7px; color: #d5e3ff; font-size: 13px; }
.agent__link:hover { color: #91b5ff; }
.agent__date { border-left: 1px solid #ffffff26; padding: 16px 0 16px 64px; }
.agent__label { margin: 0 0 20px; color: #9eb8e4; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.epoch { position: relative; margin: 0; }
.epoch__num { display: block; font-size: clamp(100px, 13vw, 168px); font-weight: 500; line-height: .9; letter-spacing: -.065em; }
.epoch__ghost { display: none; }
.epoch__meta { margin: 20px 0 24px; color: #c6d7f6; font: 11px/1.6 var(--mono); }
.agent__date-note { color: #8aa5d0; font: 9px/1.5 var(--mono); }
.epoch.is-flip .epoch__num { animation: pop .35s ease; }
@keyframes pop { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ruler, .lift { display: none; }
.footer { padding: 48px var(--gutter) 0; border-top: 1px solid var(--line); background: #070a11; }
.footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 40px; }
.footer__identity > p { margin: 18px 0 4px; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.footer__tag { color: #7383a0; font-size: 12px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 4px; }
.footer h3 { margin: 0 0 14px; color: #6f84a8; font: 9px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.footer__cols a { display: block; width: fit-content; padding: 5px 0; font-size: 13px; color: #bdc9de; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); color: #677894; font: 9px/1.7 var(--mono); }
.footer__bottom p { margin: 0; }
.footer__bottom p span { margin-left: 24px; }
.footer__bottom > a { color: #a0b2d0; }
.footer__bottom > a span { margin-left: 20px; }
@media (min-width: 1600px) { .hero { min-height: 860px; } }
@media (max-width: 1050px) {
  .header { gap: 28px; }
  .nav { gap: 20px; }
  .stage, .vote, .agent__copy { gap: 40px; }
  .agent__date { padding-left: 40px; }
  .ballot { padding: 20px; }
  .stage__ascii { font-size: 10px; padding: 24px 18px; min-height: 270px; }
  .terminal-footer { padding-inline: 18px; font-size: 8px; }
  .date__d small { font-size: 7px; margin-left: 4px; }
}
@media (max-width: 760px) {
  :root { --header: 68px; --gutter: 24px; }
  .header { gap: 16px; }
  .header .brand { font-size: 17px; gap: 8px; }
  .header .brand img { width: 29px; height: 29px; }
  .nav { display: none; }
  .header .btn { margin-left: auto; min-height: 36px; padding: 9px 12px; font-size: 11px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 11px; }
  .mobile-nav { position: fixed; z-index: 14; top: calc(var(--header) + 8px); left: 16px; right: 16px; display: grid; padding: 10px; border: 1px solid #293c60; border-radius: 8px; background: #0b1425; box-shadow: 0 20px 50px #0008; }
  .mobile-nav a { padding: 12px; font-size: 14px; }
  .hero { min-height: 700px; min-height: max(660px, 90svh); }
  .hero__inner { padding: 132px 20px 142px; }
  .pill { font-size: 8px; gap: 8px; margin-bottom: 28px; }
  .hero__title { font-size: clamp(34px, 8.4vw, 63px); line-height: 1.08; letter-spacing: -.05em; }
  .hero__phase { margin-top: 24px; font-size: clamp(24px, 5vw, 30px); }
  .hero__lede { font-size: 14px; }
  .hero__actions { gap: 10px; margin-top: 26px; }
  .hero__actions .btn { min-width: 0; font-size: 12px; min-height: 46px; padding-inline: 16px; gap: 15px; }
  .scroll-hint { bottom: 85px; font-size: 8px; }
  .stage, .vote { grid-template-columns: 1fr; padding-block: 52px; gap: 32px; }
  .stage h2 { min-height: 0; max-width: 19ch; font-size: 36px; }
  .stage__copy > p:not(.kicker) { max-width: 52ch; min-height: 4.65em; font-size: 14px; }
  .kicker { margin-bottom: 16px; }
  .steps { margin-top: 22px; }
  .stage__ascii { font-size: 12px; min-height: 300px; padding: 24px; }
  .terminal-footer { font-size: 8px; }
  .vote h2 { max-width: none; font-size: 36px; }
  .vote__intro > p:not(.kicker) { max-width: 50ch; font-size: 14px; }
  .facts { margin-top: 24px; }
  .facts div { padding: 12px 0; }
  .ballot { padding: 22px; }
  .date__d small { font-size: 7px; margin-left: 6px; }
  .agent__copy { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 52px; }
  .agent h2 { font-size: 30px; }
  .agent__note { font-size: 12px; }
  .agent__date { padding-left: 24px; }
  .agent__label { font-size: 8px; line-height: 1.7; }
  .epoch__num { font-size: 100px; }
  .epoch__meta { font-size: 9px; }
  .agent__date-note { font-size: 8px; }
  .footer { padding-top: 36px; }
  .footer__main { gap: 32px; padding-bottom: 32px; }
  .footer__identity > p { font-size: 20px; }
  .footer__cols { gap: 20px; }
  .footer__cols a { font-size: 12px; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .header { gap: 10px; }
  .hero { min-height: 660px; }
  .hero__inner { padding-inline: 16px; }
  .hero__title { font-size: 8.5vw; }
  .hero__phase { font-size: 25px; }
  .hero__actions .btn { padding-inline: 14px; gap: 12px; }
  .stage h2 { font-size: 33px; }
  .stage__copy > p:not(.kicker) { min-height: 6.2em; }
  .stage__framebar { padding-inline: 16px; font-size: 9px; }
  .stage__framebar .live { font-size: 8px; }
  .stage__ascii { padding: 22px 16px; font-size: clamp(9px, 2.65vw, 12px); min-height: 270px; }
  .terminal-footer { padding-inline: 16px; font-size: 7px; }
  .ballot { padding: 17px; }
  .date { padding: 14px 12px; gap: 4px 8px; grid-template-columns: 18px 1fr 15px; }
  .date__d { font-size: 17px; }
  .date__p { font-size: 11px; }
  .date__d small { font-size: 6px; margin-left: 4px; }
  .facts div { grid-template-columns: 96px 1fr; gap: 10px; }
  .tallies { gap: 8px; }
  .tallies span { font-size: 7px; }
  .tallies strong { font-size: 21px; }
  .agent__copy { grid-template-columns: 1fr; gap: 30px; }
  .agent h2 { font-size: 36px; }
  .agent__note { font-size: 14px; }
  .agent__date { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .agent__label { margin-bottom: 16px; font-size: 9px; }
  .epoch__num { font-size: 120px; }
  .epoch__meta { font-size: 11px; margin: 16px 0; }
  .agent__date-note { font-size: 9px; }
  .footer__main { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { gap: 24px; }
  .footer__bottom { align-items: flex-start; font-size: 8px; gap: 12px; }
  .footer__bottom p span { display: block; margin: 4px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
