@font-face { font-family: "Libre Caslon Text"; font-weight: 700; font-display: swap; src: url(/fonts/caslon-700.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 500; font-display: swap; src: url(/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600 700; font-display: swap; src: url(/fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format("woff2"); }

:root {
  /* Midnight navy, parchment and brass (design/brand/first_term): red and
     blue never decorate, since each means a party. Every section runs full
     width; the hero is centered, with a ring of phones playing real screens
     and the fifty states as tiles, lit in brass, behind them. */
  --night: #0A1F3D;
  --ink: #12294B;
  --raised: #1B3660;
  --line: #2A4A78;
  --ivory: #F4EFE6;
  --slate: #A3AEC2;
  --gold: #C9AE6A;
  --gold-light: #E6D29A;
  --app: #0A1F3D;
  --display: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --numbers: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --text: clamp(16px, calc(14px + .21vw), 18px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--ivory); font-family: var(--body); font-size: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------- header */

.top { display: flex; align-items: center; gap: 22px; padding: 14px var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand .name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .1em; }
.top nav { margin-left: auto; display: flex; gap: 28px; }
.top nav a { color: var(--slate); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ivory); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.btn.gold { background: var(--gold); color: var(--night); }
.btn.gold:hover { background: var(--gold-light); }
.btn.line { min-height: 40px; padding: 0 16px; border: 1px solid rgba(201, 174, 106, .7); color: var(--gold-light); font-size: 14px; font-weight: 600; white-space: nowrap; }
.btn.line:hover { border-color: var(--gold-light); background: rgba(201, 174, 106, .08); }
.btn.big { min-height: 58px; padding: 0 36px; border-radius: 12px; font-size: 18px; box-shadow: 0 12px 34px rgba(201, 174, 106, .22); }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* --------------------------------------------------------------- hero */

.hero { position: relative; text-align: center; padding-top: clamp(20px, 4.5vh, 52px); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 70vh; background: radial-gradient(56% 60% at 50% 0%, rgba(201, 174, 106, .09), rgba(201, 174, 106, 0) 72%); pointer-events: none; }
.hero-copy { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; font-size: min(96px, max(6vw, min(calc((100vw - 32px) / 10.2), 52px))); }
h1 span { display: block; }
h1 .gold { color: var(--gold-light); }
.lede { max-width: 33em; margin: 20px auto 0; color: #DAD5CC; font-size: clamp(17px, 1.5vw, 20px); }
.cta { margin: 28px 0 0; }
.hero-cta { margin: 28px 0 0; }
.hero-cta .cta { margin: 0; }
.hero-badges { margin: 14px 0 0; display: flex; justify-content: center; }
.hero-badges .badges { justify-content: center; }
.watch { margin: 14px 0 0; }
.watch a { color: var(--gold-light); font-weight: 600; text-underline-offset: 4px; }
.free { margin: 14px 0 0; color: var(--slate); font-size: 15px; }

/* The ring: twelve slots, thirty degrees apart, each screen twice. */
.carousel { --pw: clamp(132px, 15vw, 232px); --ph: calc(var(--pw) * 2.092); --r: clamp(270px, 40vw, 640px); position: relative; height: calc(var(--pw) * 2.8); margin-top: clamp(20px, 3.5vh, 40px); overflow: hidden; touch-action: pan-y; }
.carousel:focus-visible { outline-offset: -3px; border-radius: 0; }
.carousel::before, .carousel::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 3; width: clamp(40px, 17vw, 340px); pointer-events: none; }
.carousel::before { left: 0; background: linear-gradient(90deg, var(--night) 8%, rgba(10, 31, 61, 0)); }
.carousel::after { right: 0; background: linear-gradient(270deg, var(--night) 8%, rgba(10, 31, 61, 0)); }
.stage { position: absolute; inset: 0; perspective: 1500px; transform-style: preserve-3d; }
.halo { position: absolute; left: 50%; top: 4%; height: 92%; aspect-ratio: 3 / 2; max-width: 100%; transform: translateX(-50%); opacity: .42; }
.ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(calc(var(--step, 0) * -30deg)); transition: transform 900ms cubic-bezier(.16, .84, .3, 1); }
.slot { position: absolute; left: calc(var(--pw) / -2); top: calc(var(--ph) / -2); width: var(--pw); height: var(--ph); transform-style: preserve-3d; transform: rotateY(calc(var(--i) * 30deg)) translateZ(var(--r)); }
.slot.far { visibility: hidden; }
.arrow { position: absolute; top: 50%; z-index: 4; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 1px solid rgba(230, 210, 154, .5); border-radius: 50%; background: rgba(10, 31, 61, .72); color: var(--gold-light); cursor: pointer; }
.arrow:hover { background: var(--raised); }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.prev { left: max(12px, calc(50% - var(--pw) * 2.05 - 24px)); }
.next { right: max(12px, calc(50% - var(--pw) * 2.05 - 24px)); }

.ring-ui { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; padding: 0 var(--gutter); }
.ring-caption { margin: 0; min-height: 1.4em; font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.7vw, 22px); color: var(--gold-light); }
.ring-controls { display: flex; align-items: center; gap: 12px; }
.dots { display: flex; }
.dots button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #4A6290; transition: width .3s, background .3s; }
.dots button[aria-current="true"]::before { width: 22px; background: var(--gold); }
.ring-pause { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ivory); cursor: pointer; }
.ring-pause svg { width: 16px; height: 16px; }
.ring-pause .i-pause { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.ring-pause .i-play { fill: currentColor; display: none; }
.ring-pause[aria-pressed="true"] .i-pause { display: none; }
.ring-pause[aria-pressed="true"] .i-play { display: block; }
.still .ring-pause { display: none; }

.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(36px, 6vh, 64px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers div { padding: 28px 16px 26px; border-left: 1px solid var(--line); }
.numbers div:first-child { border-left: 0; }
.numbers dt { font-family: var(--numbers); font-weight: 600; font-size: clamp(42px, 5.4vw, 76px); line-height: 1; color: var(--gold-light); }
.numbers .count { display: inline-block; }
.numbers dd { max-width: 15em; margin: 10px auto 0; color: var(--slate); font-size: 14px; line-height: 1.45; }
.fiction-line { margin: 0; padding: 22px var(--gutter) 30px; color: var(--slate); font-size: 14px; }

/* -------------------------------------------------------------- phone */

/* A phone of our own, not an iPhone (Apple's marketing rules forbid
   drawing its products): black glass, a thin gold line round the edge, a
   round front camera, the keys on the right. The body is 0.11 of its width
   deep, and twenty strips follow its rounded outline right round, so the
   side wraps the corners as the phone turns. Everything scales with --pw. */
.device { --ph: calc(var(--pw) * 2.092); --depth: calc(var(--pw) * .11); position: relative; width: var(--pw); height: var(--ph); transform-style: preserve-3d; }
.sides { position: absolute; inset: 0; transform-style: preserve-3d; }
.sides i { position: absolute; left: 0; top: 0; width: calc(var(--pw) * var(--l) + 1px); height: var(--depth); transform-origin: 0 0; transform: translate(calc(var(--pw) * var(--x)), calc(var(--pw) * var(--y))) rotate(var(--a)) rotateX(-90deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; background: linear-gradient(to bottom, #b39550 0 7%, #1f3a63 7%, #2c4d7c 36%, #1b3459 68%, #0a1630 100%); }
.sides i::after { content: ""; position: absolute; inset: 0; background: #04050c; opacity: calc(var(--dim, 0) * .85 + .08); transition: opacity 900ms; }
.sides i:nth-child(1) { --x: 0; --y: .15; --l: 1.792; --a: 90deg; }
.sides i:nth-child(2) { --x: 0; --y: 1.942; --l: .0585; --a: 78.75deg; }
.sides i:nth-child(3) { --x: .0114; --y: 1.9994; --l: .0585; --a: 56.25deg; }
.sides i:nth-child(4) { --x: .0439; --y: 2.0481; --l: .0585; --a: 33.75deg; }
.sides i:nth-child(5) { --x: .0926; --y: 2.0806; --l: .0585; --a: 11.25deg; }
.sides i:nth-child(6) { --x: .15; --y: 2.092; --l: .7; --a: 0deg; }
.sides i:nth-child(7) { --x: .85; --y: 2.092; --l: .0585; --a: -11.25deg; }
.sides i:nth-child(8) { --x: .9074; --y: 2.0806; --l: .0585; --a: -33.75deg; }
.sides i:nth-child(9) { --x: .9561; --y: 2.0481; --l: .0585; --a: -56.25deg; }
.sides i:nth-child(10) { --x: .9886; --y: 1.9994; --l: .0585; --a: -78.75deg; }
.sides i:nth-child(11) { --x: 1; --y: 1.942; --l: 1.792; --a: -90deg; background:
  linear-gradient(to right, transparent 52.2%, #4d6a96 52.2% 60.4%, transparent 60.4% 66.4%, #4d6a96 66.4% 80.4%, transparent 80.4%) 0 55% / 100% 44% no-repeat,
  linear-gradient(to bottom, #b39550 0 7%, #1f3a63 7%, #2c4d7c 36%, #1b3459 68%, #0a1630 100%); }
.sides i:nth-child(12) { --x: 1; --y: .15; --l: .0585; --a: -101.25deg; }
.sides i:nth-child(13) { --x: .9886; --y: .0926; --l: .0585; --a: -123.75deg; }
.sides i:nth-child(14) { --x: .9561; --y: .0439; --l: .0585; --a: -146.25deg; }
.sides i:nth-child(15) { --x: .9074; --y: .0114; --l: .0585; --a: -168.75deg; }
.sides i:nth-child(16) { --x: .85; --y: 0; --l: .7; --a: 180deg; }
.sides i:nth-child(17) { --x: .15; --y: 0; --l: .0585; --a: 168.75deg; }
.sides i:nth-child(18) { --x: .0926; --y: .0114; --l: .0585; --a: 146.25deg; }
.sides i:nth-child(19) { --x: .0439; --y: .0439; --l: .0585; --a: 123.75deg; }
.sides i:nth-child(20) { --x: .0114; --y: .0926; --l: .0585; --a: 101.25deg; }
.face { position: absolute; inset: 0; isolation: isolate; border-radius: calc(var(--pw) * .15); background: #05060b; transform: translateZ(.5px); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 calc(var(--pw) * .1) calc(var(--pw) * .24) rgba(0, 0, 0, .5), inset 0 0 0 calc(var(--pw) * .006) rgba(201, 174, 106, .85); }
.shade { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: #04050c; opacity: var(--dim, 0); transition: opacity 900ms; pointer-events: none; }
.screen { position: absolute; inset: calc(var(--pw) * .035); overflow: hidden; border-radius: calc(var(--pw) * .115); background: var(--app); }
.screen::before { content: ""; display: block; aspect-ratio: 1206 / 160; }
.screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(118deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 34%); pointer-events: none; }
.cam { position: absolute; z-index: 1; left: 50%; top: calc(var(--pw) * .04); width: calc(var(--pw) * .042); height: calc(var(--pw) * .042); margin-left: calc(var(--pw) * -.021); border-radius: 50%; background: radial-gradient(circle at 36% 34%, #3a4466 0 16%, #07080f 42%); box-shadow: 0 0 0 calc(var(--pw) * .005) #161b30; }
.screen video { display: block; width: 100%; height: auto; aspect-ratio: 480 / 980; object-fit: cover; background: var(--app); }
.layers { position: relative; }
.layers video { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .5s; }
.layers video:first-child { position: relative; }
.layers video.on { opacity: 1; }
/* A phone whose loop is not cut yet shows the logo on the app's night. */
.screen-logo { display: grid; place-items: center; aspect-ratio: 480 / 980; padding: 0 14%; background: radial-gradient(60% 40% at 50% 46%, rgba(27, 54, 96, .9), var(--app) 72%); }
.screen-logo img { width: 100%; }
.layers > div { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transition: opacity .5s; }
.layers > div:first-child { position: relative; }
.layers > div.on { opacity: 1; }

/* -------------------------------------------------------- how it plays */

.how { padding: clamp(64px, 11vh, 128px) 0; border-top: 1px solid var(--line); background: radial-gradient(60% 46% at 28% 46%, rgba(27, 54, 96, .7), rgba(27, 54, 96, 0) 72%); }
.inner { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; text-wrap: balance; }
.sub { margin: 0 0 40px; max-width: 38em; color: var(--slate); font-size: var(--text); }
.how-head { max-width: 40em; margin: 0 auto; text-align: center; }
.how-head .sub { margin: 0 auto; }
.how-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); margin-top: 24px; }
.pin { --pw: clamp(220px, 19vw, 258px); position: sticky; top: calc(50vh - var(--pw) * 1.046); align-self: start; display: flex; justify-content: center; perspective: 1400px; }
.pin .device { transform: rotateY(16deg) rotateX(2deg); }
.steps { margin: 0; padding: 0; list-style: none; }
.step { display: flex; align-items: center; min-height: 78vh; }
.step .card-phone { display: none; }
.step-text { max-width: 30em; }
.step .n { font-family: var(--display); font-size: 15px; letter-spacing: .16em; color: var(--gold); }
.step h3 { margin: 8px 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; transition: color .4s; }
.step p { margin: 0; color: #DAD5CC; font-size: var(--text); transition: color .4s; }
.js .step:not(.on) h3, .js .step:not(.on) p { color: var(--slate); }

/* ------------------------------------------------------ other sections */

.band { padding: clamp(56px, 9vh, 104px) 0; border-top: 1px solid var(--line); }
.band-head { max-width: 46em; margin-bottom: clamp(32px, 4vw, 56px); }
.band-head h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.06; }
.band-head .sub { margin: 16px 0 0; color: #C9C7CF; }
.fair { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { padding: clamp(24px, 2.4vw, 36px); background: var(--ink); border: 1px solid var(--line); border-radius: 20px; }
.card .icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border: 1px solid rgba(201, 174, 106, .55); border-radius: 14px; color: var(--gold-light); }
.card .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fair h3 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; line-height: 1.2; }
.fair p, .qa p { margin: 0; color: #C9C7CF; font-size: var(--text); }
.qa-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.qa-layout .band-head { margin-bottom: 0; }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 64px); }
.qa > div { padding-top: 20px; border-top: 1px solid var(--line); }
.qa h3 { margin: 0 0 10px; font-size: clamp(18px, 1.35vw, 21px); font-weight: 600; line-height: 1.35; }
.qa a { color: var(--gold-light); }
.notice { margin: 0 auto; padding: 24px 28px; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; color: var(--slate); font-size: 15px; max-width: 60em; text-align: center; }
.notice strong { color: var(--ivory); font-weight: 600; }
/* The trailer: on desktop in our phone, its heading beside it; on phones
   full width. Its poster shows first and the video loads on the tap. */
.trailer { display: grid; grid-template-columns: auto minmax(0, 34em); justify-content: center; align-items: center; gap: clamp(40px, 6vw, 112px); }
.trailer-phone { --pw: clamp(250px, 21vw, 300px); display: flex; justify-content: center; }
.trailer-phone .screen::before { display: none; }
.trailer-phone .trailer-media { position: absolute; inset: 0; }
.trailer-media { position: relative; overflow: hidden; background: #000; }
.trailer-media img, .trailer-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.trailer-media [hidden] { display: none; }
.trailer-start { position: absolute; inset: 0; display: block; }
.trailer-start .play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--gold); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s, background .2s; }
.trailer-start .play svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--night); }
.trailer-start:hover .play, .trailer-start:focus-visible .play { transform: scale(1.06); background: var(--gold-light); }
.trailer-wide { display: none; }
.trailer-text p:not(.kicker) { max-width: 26em; margin: 18px 0 0; color: #DAD5CC; font-size: var(--text); }
.trailer-text h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.06; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; }
.badge img { height: auto; }
/* Google's badge carries its own padding; Apple's gets the same, so the
   two sit level with their lines under them. */
.badge img[src$=".svg"] { margin: 10px 0; }
.badge small { color: var(--slate); font-size: 12px; letter-spacing: .04em; }

/* The main button again, at the foot of a phone's screen once the hero
   has scrolled away. */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 31, 61, .94); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .3s, visibility 0s .3s; }
.dock .btn { width: 100%; min-height: 48px; }
.dock.show { transform: none; visibility: visible; transition: transform .3s; }

footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--slate); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ivory); }
footer .fiction { margin: 0 0 16px; }

.page { max-width: 760px; padding-bottom: 56px; }
.page h1 { font-size: clamp(32px, 4.4vw, 46px); margin: 24px 0 16px; }
.page h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 12px; }
.page p, .page li { color: #DAD5CC; }
.page ul { padding-left: 1.2em; }
.page li { margin: 6px 0; }
.page a { color: var(--gold-light); }
.page h3 { margin: 28px 0 8px; font-size: 19px; font-weight: 600; }
.table { overflow-x: auto; margin: 16px 0; }
.table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: #DAD5CC; }
.table th { color: var(--ivory); font-weight: 600; }
.version { color: var(--slate); font-size: 15px; }
.draft { padding: 12px 16px; border: 1px solid var(--gold); border-radius: 10px; color: var(--gold-light); font-weight: 600; }

/* ------------------------------------------------------ election night */

.kicker { margin: 0 0 12px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.night { border-top: 1px solid var(--line); background: radial-gradient(56% 52% at 68% 50%, rgba(201, 174, 106, .08), rgba(201, 174, 106, 0) 72%); }
.js.moving .night-track { height: 230vh; }
.night-stage { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 5vw, 80px); max-width: 1240px; margin: 0 auto; padding: clamp(72px, 12vh, 140px) var(--gutter); }
.js.moving .night-stage { position: sticky; top: 0; height: 100vh; min-height: 600px; padding-top: 0; padding-bottom: 0; }
.night-text h2, .feature-text h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.06; }
.night-text p:last-child, .feature-text p:not(.kicker):not(.feature-cta) { max-width: 28em; margin: 18px 0 0; color: #DAD5CC; font-size: var(--text); }
.night-map { position: relative; justify-self: center; width: min(100%, 680px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tile-map { display: block; width: 100%; aspect-ratio: 3 / 2; }
.night-tally { display: flex; flex-direction: column; align-items: center; text-align: center; }
.night-tally .tally { font-family: var(--numbers); font-weight: 600; font-size: clamp(64px, 8.4vw, 124px); line-height: 1; color: var(--gold-light); font-variant-numeric: tabular-nums; transition: color .4s; }
.night-tally small { margin-top: 8px; color: var(--slate); font-size: 15px; }
.night-tally em { margin-top: 14px; padding: 4px 14px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-light); font-size: 13px; font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: opacity .4s, transform .4s; }
.js.moving .night:not(.won) .tally { color: var(--ivory); }
.js.moving .night:not(.won) .night-tally em { opacity: 0; transform: translateY(6px); }

/* ------------------------------------------------------------ features */

.feature { position: relative; overflow: hidden; padding: clamp(72px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
#map { background: radial-gradient(48% 62% at 74% 50%, rgba(27, 54, 96, .85), rgba(27, 54, 96, 0) 72%); }
#office { background: radial-gradient(46% 60% at 26% 50%, rgba(244, 239, 230, .06), rgba(244, 239, 230, 0) 72%); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.feature.flip .feature-text { order: 2; }
.feature-cta { margin: 30px 0 0; }
.feature-phone { --pw: clamp(210px, 19vw, 258px); position: relative; display: flex; justify-content: center; perspective: 1600px; }
.feature-phone::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--pw) * 2.4); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(201, 174, 106, .14), rgba(201, 174, 106, 0) 62%); pointer-events: none; }
.feature-phone .device { transform: rotateY(-16deg) rotateX(3deg); }
.feature.flip .feature-phone .device { transform: rotateY(16deg) rotateX(3deg); }

/* -------------------------------------------------------- fair, press */

.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.press-grid blockquote { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.35; }
.press-grid figcaption { margin-top: 12px; color: var(--slate); font-size: 14px; }

/* ------------------------------------------------------------- closing */

.closing { padding: clamp(44px, 6.5vh, 80px) 0 clamp(56px, 9vh, 96px); border-top: 1px solid var(--line); text-align: center; background: radial-gradient(46% 44% at 50% 28%, rgba(201, 174, 106, .1), rgba(201, 174, 106, 0) 72%); }
.closing h2 { font-size: clamp(34px, 4.4vw, 60px); }
.closing-line { max-width: 34em; margin: 14px auto 0; color: #DAD5CC; font-size: var(--text); }
.closing .cta { margin-top: 24px; }
.closing .badges { justify-content: center; margin-top: 22px; }
.closing .closing-badges .badges { margin-top: 0; }

/* The badge builds as the game's splash does: a blue light opens, the
   badge rises into it and a brass glow settles. Whole without motion. */
.logo-build { --lw: clamp(150px, 16vw, 220px); position: relative; width: var(--lw); aspect-ratio: 480 / 571; margin: 0 auto 22px; }
.logo-build img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lb-glow { position: absolute; left: 50%; top: 44%; width: 150%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(74, 120, 200, .34), rgba(201, 174, 106, .12) 40%, rgba(201, 174, 106, 0) 66%); transition: opacity 1s .2s, transform 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
.lb-badge { transition: opacity .9s .5s, transform 1.1s cubic-bezier(.2, .8, .2, 1) .5s, filter 1.4s .9s; }
.js.moving .logo-build:not(.built) .lb-glow { opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: none; }
.js.moving .logo-build:not(.built) .lb-badge { opacity: 0; transform: translateY(18%) scale(.94); filter: brightness(1.6); transition: none; }

/* ------------------------------------------------------------- motion */

.js.moving .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js.moving .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3) { animation-delay: .25s; }
  .hero-copy > :nth-child(4) { animation-delay: .38s; }
  .hero-copy > :nth-child(n+5) { animation-delay: .48s; }
  .carousel { animation: rise 1.3s .3s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring, .shade, .sides i::after, .dock, .layers video { transition: none; }
}
.still .ring, .still .shade, .still .sides i::after, .still .layers video { transition: none; }

/* ------------------------------------------------------------ narrower */

@media (max-width: 899px) {
  .trailer { grid-template-columns: 1fr; gap: 28px; }
  .trailer-phone { display: none; }
  .trailer-wide { display: block; order: 2; aspect-ratio: 9 / 16; margin: 0 calc(var(--gutter) * -1); }
  .trailer-text { text-align: center; }
  .trailer-text p:not(.kicker) { margin-left: auto; margin-right: auto; }
  .night-stage, .feature-grid { grid-template-columns: 1fr; }
  .js.moving .night-stage { align-content: center; gap: 24px; }
  .night-map { width: min(100%, 560px); gap: 10px; }
  .night-tally .tally { font-size: clamp(56px, 14vw, 84px); }
  .night-text, .feature-text { text-align: center; }
  .night-text p:last-child, .feature-text p:not(.kicker):not(.feature-cta) { margin-left: auto; margin-right: auto; }
  .feature.flip .feature-text { order: 0; }
  .feature-phone { --pw: min(50vw, 210px); margin-top: 8px; }
  .how-body { display: block; margin-top: 32px; }
  .pin { display: none; }
  .steps { display: flex; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 min(80vw, 340px); flex-direction: column; min-height: 0; padding: 20px 16px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--ink); text-align: center; scroll-snap-align: center; }
  .step .card-phone { --pw: min(36vw, 150px); display: flex; justify-content: center; margin-bottom: 16px; perspective: 1100px; }
  .step .card-phone .device { transform: rotateY(12deg); }
  .js .step:not(.on) h3 { color: var(--ivory); }
  .js .step:not(.on) p { color: #DAD5CC; }
  .step h3 { margin: 4px 0 8px; font-size: 24px; }
  .step p { font-size: 16px; line-height: 1.55; }
  .fair { grid-template-columns: 1fr; gap: 16px; }
  .qa-layout { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  .top { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; min-height: 38px; padding: 0 12px; font-size: 13px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .brand .name { font-size: 15px; letter-spacing: .1em; }
  .eyebrow { font-size: 12px; letter-spacing: .12em; }
  .btn.big { width: 100%; max-width: 360px; }
  .arrow { width: 40px; height: 40px; margin-top: -20px; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers div { padding: 22px 12px; }
  .numbers div:nth-child(3) { border-left: 0; }
  .numbers div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .qa { grid-template-columns: 1fr; }
  .feature-cta { display: none; }
  footer { padding-bottom: 96px; }
  footer nav { margin-left: 0; }
}
@media (min-width: 700px) { .dock { display: none; } }
/* The header between phone and desktop, on one line: below 1100 px
   Election night and The road leave it; below 900 px Questions too. */
@media (max-width: 1099px) {
  .top nav { gap: 22px; }
  .top nav a { white-space: nowrap; }
  .top nav a[href="#count"], .top nav a[href="#map"] { display: none; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .top nav a[href="#questions"] { display: none; }
}
/* On desktop the ring runs edge to edge: a wider radius and an easier
   perspective carry the outer phones into the fade at both sides, and the
   arrows stand at the page's edges, clear of them. */
@media (min-width: 900px) {
  .carousel { --r: clamp(270px, 56vw, 1200px); }
  .stage { perspective: 2400px; }
  .prev { left: clamp(12px, 1.5vw, 32px); }
  .next { right: clamp(12px, 1.5vw, 32px); }
}
/* Wide screens: from 1440 px the content after the hero runs up to
   1360 px wide. */
@media (min-width: 1440px) {
  .inner, .night-stage { max-width: calc(1360px + 2 * var(--gutter)); }
  .wrap:not(.page) { max-width: 1408px; }
}
