@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-display: swap; src: url("assets/fonts/barlow-condensed-900.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400 800; font-display: swap; src: url("assets/fonts/dm-sans-var.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #11110f;
  --panel: #161512;
  --ink: #f5f2e9;
  --soft: #dfdcd2;
  --muted: #b8b6ac;
  --line: #34342e;
  --ember: #5f3523;
  --orange: #ff6b28;
  --orange-hot: #ff8147;
  --char: #17130f;
  --display: "Barlow Condensed", "DIN Condensed", sans-serif;
  --body: "DM Sans", Arial, Helvetica, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.45; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 4px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; text-wrap: balance; }
h1 span, h2 span { color: var(--orange); }
.icon { width: 1.3em; height: 1.3em; flex: none; }
.page-shell { max-width: 1400px; margin: auto; padding: 0 clamp(18px, 4.5vw, 72px); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--char); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Status bar */
.topbar { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px 16px; background: var(--orange); color: var(--char); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.topbar i { font-style: normal; opacity: .55; margin: 0 .35em; }
.topbar b { font-variant-numeric: tabular-nums; }
.live-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: 0; }

/* Header */
.site-header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; display: block; border-radius: 50%; object-fit: cover; }
.brand-accent { color: var(--orange); }
.header-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 0; border-bottom: 2px solid var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-decoration: none; white-space: nowrap; transition: color .18s ease; }
.header-link .icon { color: var(--orange); width: 16px; height: 16px; }
.header-link:hover { color: var(--orange-hot); }

/* Buttons */
.button { width: fit-content; max-width: 100%; min-height: 64px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 28px; background: var(--orange); color: var(--char); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 28px rgb(255 107 40 / .22); transition: background .18s ease, transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.button .icon { width: 22px; height: 22px; }
.button:hover { background: var(--orange-hot); transform: translateY(-3px); box-shadow: 0 16px 36px rgb(255 107 40 / .3); }
.button:active { transform: translateY(0); }
.button-dark { background: var(--char); color: var(--ink); box-shadow: 0 12px 30px rgb(23 19 15 / .35); }
.button-dark .icon { color: var(--orange); }
.button-dark:hover { background: #2c2119; box-shadow: 0 16px 36px rgb(23 19 15 / .45); }
.closing a:focus-visible { outline-color: var(--char); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: clamp(28px, 5vw, 88px); padding: clamp(40px, 5.5vw, 84px) 0 clamp(52px, 6vw, 96px); }
h1 { max-width: 9.5ch; margin-bottom: 24px; font-size: clamp(60px, 7.4vw, 96px); line-height: .86; letter-spacing: -.02em; }
.hero-kicker { margin-bottom: 18px; color: var(--orange); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; }
.intro { max-width: 470px; margin-bottom: 30px; color: var(--soft); font-size: clamp(17px, 1.4vw, 19px); text-wrap: pretty; }
.assurances { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; color: var(--soft); font-size: 13.5px; font-weight: 600; }
.assurances li { display: inline-flex; align-items: center; gap: 7px; }
.assurances .icon { width: 16px; height: 16px; color: var(--orange); }

/* Countdown: stays hidden until app.js has a real posting schedule */
.countdown { max-width: 470px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.countdown[hidden], .countdown [hidden] { display: none; }
.countdown-title { margin-bottom: 12px; color: var(--orange); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.countdown-clock { display: flex; gap: 8px; }
.countdown-clock span { min-width: 68px; padding: 10px 8px 8px; border: 1px solid var(--line); background: var(--panel); text-align: center; }
.countdown-clock b { display: block; font-family: var(--display); font-size: 42px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-clock small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.countdown-label { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* Proof stage: the incumbent ember gradient and rings, now holding the slip */
.stage { position: relative; isolation: isolate; display: grid; place-items: center; padding: clamp(28px, 4vw, 56px); overflow: hidden; border: 1px solid var(--ember); background: #291a14; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 42%, #ff742c 0, #b63813 30%, #351c14 64%, #171512 100%); }
.stage::after { content: ""; position: absolute; width: 86%; aspect-ratio: 1; left: 7%; top: 6%; z-index: -1; border: 1px solid rgb(255 216 165 / .3); border-radius: 50%; box-shadow: 0 0 0 40px rgb(255 216 165 / .06), 0 0 0 80px rgb(255 216 165 / .035); }
.slip-card { width: min(100%, 340px); background: var(--panel); border: 1px solid #3d3a33; box-shadow: 0 30px 70px rgb(0 0 0 / .55), 0 8px 20px rgb(0 0 0 / .35); transform: rotate(-2deg); }
.slip-zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.slip-zoom:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: -4px; }
.slip-img { display: block; width: 100%; height: auto; }
.slip-posted { max-width: 360px; margin-top: 24px; color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
.slip-posted[hidden] { display: none; }
.slip-dialog { width: min(96vw, 820px); max-height: 96dvh; padding: 0; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.slip-dialog::backdrop { background: rgb(0 0 0 / .82); }
.slip-dialog-inner { display: flex; flex-direction: column; align-items: center; max-height: 96dvh; overflow: auto; padding: 12px; }
.slip-dialog img { display: block; width: min(100%, 760px); height: auto; }
.slip-close { align-self: flex-end; margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 800 12px var(--body); letter-spacing: .08em; cursor: pointer; }
.slip-close:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 2px; }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--panel); }
.ticker-track { display: flex; width: max-content; }
.ticker-set { display: flex; flex: none; }
.ticker-set li { display: inline-flex; align-items: center; gap: 26px; padding: 18px 13px 16px; font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.ticker-set li::after { content: ""; width: 8px; height: 8px; margin-left: 13px; background: var(--orange); transform: rotate(45deg); }

/* Settled: the FOMO peak */
.settled { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end; gap: clamp(32px, 6vw, 96px); padding: clamp(84px, 10vw, 150px) 0; }
.settled h2 { font-size: clamp(56px, 7.6vw, 96px); line-height: .86; letter-spacing: -.02em; }
.settled-body p { max-width: 400px; margin-bottom: 28px; color: var(--soft); font-size: 18px; }

/* Steps */
.steps { padding: clamp(72px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.steps h2 { margin-bottom: clamp(36px, 4vw, 56px); font-size: clamp(52px, 5.6vw, 84px); line-height: .86; letter-spacing: -.015em; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps-list li { padding: 30px 28px 34px 0; }
.steps-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps-list b { display: block; color: var(--orange); font-family: var(--display); font-size: 76px; font-weight: 900; line-height: .85; }
.steps-list h3 { margin: 18px 0 8px; font-size: clamp(28px, 2.5vw, 36px); line-height: .95; }
.steps-list p { max-width: 32ch; color: var(--muted); font-size: 15px; }

/* Coverage */
.coverage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 130px); align-items: start; padding: clamp(72px, 8vw, 120px) 0 clamp(84px, 9vw, 132px); border-top: 1px solid var(--line); }
.coverage h2 { font-size: clamp(52px, 5.4vw, 84px); line-height: .86; letter-spacing: -.015em; }
.coverage-list { border-top: 1px solid var(--line); }
.coverage-row { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.coverage-row h3 { font-size: clamp(38px, 4.2vw, 60px); line-height: .95; }
.coverage-row p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Closing */
.closing { padding: clamp(64px, 8vw, 116px) 0; background: var(--orange); color: var(--char); }
.closing h2 { max-width: 13ch; margin-bottom: 32px; font-size: clamp(56px, 7.4vw, 96px); line-height: .85; letter-spacing: -.02em; }
.closing p { margin-top: 16px; font-size: 13.5px; font-weight: 600; }

.site-footer { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--muted); font-size: 12px; }

/* Sticky join bar, phones only */
.sticky { display: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
  .settled { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 36px 0 56px; }
  h1 { font-size: clamp(56px, 16.5vw, 84px); max-width: none; }
  .button { width: 100%; }
  .stage { margin: 0 calc(-1 * clamp(18px, 4.5vw, 72px)); border-inline: 0; padding: 36px 18px 32px; }
  .slip-card { width: min(100%, 340px); transform: rotate(-1.5deg); }
  .slip-dialog-inner { align-items: flex-start; }
  .slip-dialog img { width: 760px; max-width: none; flex: none; }
  .settled h2 { font-size: clamp(52px, 14.5vw, 80px); }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li, .steps-list li + li { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 12px; padding: 24px 0 26px; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps-list b { grid-row: span 2; font-size: 64px; }
  .steps-list h3 { margin: 4px 0 6px; font-size: 30px; }
  .coverage { grid-template-columns: 1fr; gap: 32px; }
  .coverage-row h3 { font-size: 40px; }
  .closing h2 { font-size: clamp(52px, 14.5vw, 80px); }
  .site-footer { display: block; padding: 24px 0 28px; line-height: 1.6; }
  .site-footer span { display: block; }

  .sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgb(17 17 15 / .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid #3d3a33; transform: translateY(110%); transition: transform .35s var(--ease-out); }
  .sticky.is-visible { transform: none; }
  .sticky-status { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-status .live-dot { color: var(--orange); }
  .sticky-status b { font-variant-numeric: tabular-nums; }
  .sticky-button { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; flex: none; background: var(--orange); color: var(--char); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
  .sticky-button .icon { width: 19px; height: 19px; }
}

@media (max-width: 400px) {
  .page-shell { padding: 0 16px; }
  .stage { margin: 0 -16px; }
  .topbar { font-size: 10.5px; letter-spacing: .08em; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-link { font-size: 11px; }
  .intro { font-size: 16px; }
  .assurances { gap: 8px 16px; font-size: 13px; }
  .countdown-clock span { min-width: 0; flex: 1; }
  .countdown-clock b { font-size: 36px; }
}

@media (prefers-reduced-motion: no-preference) {
  .live-dot::after { animation: pulse 1.8s var(--ease-out) infinite; }
  @keyframes pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

  /* The one authored moment: the slip lands, then the score stamps */
  .slip-card { animation: slip-land .9s .1s var(--ease-out) both; }
  .slip-badge { animation: stamp .5s .75s var(--ease-out) both; }
  @keyframes slip-land { from { opacity: 0; transform: translateY(46px) rotate(4deg); filter: blur(6px); } to { opacity: 1; filter: blur(0); } }
  @keyframes stamp { 0% { opacity: 0; transform: scale(1.9) rotate(-8deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }

  .ticker-track { animation: ticker 36s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .header-link, .sticky { transition: none; }
  .button:hover { transform: none; }
  .ticker-set[aria-hidden="true"] { display: none; }
  .ticker-track { width: auto; }
  .ticker-set { flex-wrap: wrap; justify-content: center; }
}
