:root {
  --bg: #0b1014;          /* the logo's own background, so the art sits seamlessly */
  --bg-2: #10171f;
  --card: rgba(19, 32, 58, .38);
  --navy: #13203a;
  --gold: #d8b46a;
  --gold-hi: #f2d899;
  --gold-lo: #a9813c;
  --ink: #f4efe4;
  --muted: #9aa4b5;
  --line: rgba(216, 180, 106, .2);
  --ok: #7fd1a5;
  --err: #f19a8c;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* A faint night sky and a navy glow behind the hero. */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(242,216,153,.5), transparent 60%),
    radial-gradient(1px 1px at 78% 12%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 72%, rgba(242,216,153,.35), transparent 60%),
    radial-gradient(1px 1px at 30% 82%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 90% 58%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 46% 40%, rgba(255,255,255,.2), transparent 60%),
    radial-gradient(60% 50% at 28% 30%, rgba(26, 44, 80, .55), transparent 70%),
    radial-gradient(50% 40% at 85% 85%, rgba(169, 129, 60, .10), transparent 70%),
    var(--bg);
}

/* Top bar */
.bar {
  max-width: 1180px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.bar-brand { display: inline-flex; align-items: center; text-decoration: none; }
/* The lockup's navy ground is darker than the page; lighten drops it into the page colour. */
.bar-brand img { width: auto; height: 46px; mix-blend-mode: lighten; }
.bar-yt {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--ink); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s, background .2s;
}
.bar-yt svg { color: #ff4b4b; }
.bar-yt:hover { border-color: var(--gold); background: rgba(216,180,106,.08); }

/* Hero */
.hero {
  max-width: 1180px; margin: 0 auto; padding: 24px 24px 72px;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center; gap: 84px;
  scroll-margin-top: 16px;
}
/* The art column is exactly the logo's size, so the rings can centre on the logo itself. */
.hero-art { position: relative; display: grid; place-items: center; justify-self: center; width: min(100%, 410px); }
.logo {
  width: 100%; height: auto;
  /* The art's dark ground is the page colour; lighten lets the glow behind show through. */
  mix-blend-mode: lighten;
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.orbits { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.orbits svg { width: 100%; height: 100%; overflow: visible; }
.o { fill: none; stroke: var(--gold); transform-origin: 300px 300px; }
.o1 { stroke-opacity: .16; stroke-dasharray: 2 10; animation: spin 90s linear infinite; }
.o2 { stroke-opacity: .10; stroke-dasharray: 60 18 4 18; animation: spin 140s linear infinite reverse; }
.o3 { stroke-opacity: .07; animation: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(216,180,106,.05);
}
.pulse, .live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none;
  box-shadow: 0 0 0 0 rgba(216,180,106,.6); animation: pulse 2s infinite;
}
.live { background: var(--ok); box-shadow: 0 0 0 0 rgba(127,209,165,.6); animation-name: pulse-ok; }
.welcome { margin: 0 0 6px; color: var(--muted); font-size: 16px; }
.welcome b { color: var(--ink); font-weight: 600; }
h1 {
  margin: 0; font: 600 clamp(42px, 5vw, 70px)/1.04 var(--serif); letter-spacing: -.01em; text-wrap: balance;
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 40%, var(--gold-hi) 50%, var(--ink) 60%, var(--ink) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* background-clip:text paints only inside the box, so the "g" needs room below the line */
  padding: .12em 0 .18em; margin: -.1em 0 -.14em;
  animation: shimmer 7s ease-in-out 1.2s infinite;
}
.sub { margin: 10px 0 18px; color: var(--gold); font: 500 clamp(20px, 2.2vw, 25px)/1.3 var(--serif); font-style: italic; }
.lede { margin: 0 0 26px; color: #cfd5df; max-width: 36em; }
.lede strong { color: var(--ink); font-weight: 600; }

/* Signup */
.signup { max-width: 520px; }
.field {
  display: flex; gap: 6px; padding: 6px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216,180,106,.12); }
.field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: 400 16px/1 var(--sans); padding: 12px 12px;
}
.field input::placeholder { color: #6f7a8c; }
.field button {
  flex: none; border: 0; cursor: pointer; border-radius: 10px; padding: 0 22px; min-height: 46px;
  font: 600 15px/1 var(--sans); color: #1b1407;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 6px 22px rgba(216,180,106,.25), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.field button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(216,180,106,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.field button:active { transform: translateY(0); }
.field button[disabled] { filter: saturate(.4) brightness(.8); cursor: progress; }
.msg { min-height: 1.4em; margin: 8px 2px 0; font-size: 14px; }
.msg.err { color: var(--err); }
.msg.hint { color: var(--gold-hi); }
.fix {
  border: 0; padding: 0; background: none; cursor: pointer; color: var(--ink);
  font: 600 14px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px;
}
.field:has(input[aria-invalid="true"]) { border-color: rgba(241,154,140,.7); box-shadow: 0 0 0 4px rgba(241,154,140,.12); }
.fine { margin: 2px 2px 0; font-size: 13px; color: #7d8798; }

.joined {
  max-width: 520px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid rgba(127,209,165,.35); background: rgba(127,209,165,.06);
  animation: rise .5s ease both;
}
.joined-title { margin: 0 0 4px; font: 600 24px/1.2 var(--serif); color: var(--ink); }
.joined-title span { color: var(--gold); font-variant-numeric: lining-nums; }
.joined-body { margin: 0 0 12px; color: #cfd5df; font-size: 15px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 500 14px/1 var(--sans); text-decoration: none; transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--gold); background: rgba(216,180,106,.08); }

.count { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.count strong { color: var(--ink); font-variant-numeric: lining-nums tabular-nums; font-size: 17px; }

/* Shared section heads */
.kicker { margin: 0 0 6px; text-align: center; color: var(--gold); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h2 { margin: 0 0 28px; text-align: center; font: 600 clamp(32px, 4vw, 46px)/1.1 var(--serif); }

/* Time machine teaser */
.machine { max-width: 880px; margin: 0 auto; padding: 56px 24px 24px; }
.machine-card {
  padding: 28px 30px 22px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19,32,58,.55), rgba(11,16,20,.6));
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.year-row { display: flex; align-items: baseline; gap: 22px; min-height: 92px; }
.year {
  flex: none; font: 700 clamp(56px, 8vw, 84px)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .12em 0 .14em;
}
.event { margin: 0; font: 500 clamp(19px, 2.3vw, 24px)/1.3 var(--serif); color: var(--ink); transition: opacity .25s; }
.event.fade { opacity: 0; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 18px 0 4px;
  background: transparent; cursor: pointer;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold) var(--p, 11%), rgba(216,180,106,.18) var(--p, 11%));
}
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(216,180,106,.18); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-hi), var(--gold-lo));
  border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(216,180,106,.55);
}
input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-hi), var(--gold-lo));
  border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(216,180,106,.55);
}
input[type=range]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.ticks { display: flex; justify-content: space-between; color: #6f7a8c; font-size: 12.5px; font-variant-numeric: lining-nums tabular-nums; }
.machine-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 15px; }

/* Features */
.features {
  max-width: 1180px; margin: 0 auto; padding: 56px 24px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.feature {
  padding: 26px 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card);
  transition: transform .25s, border-color .25s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(216,180,106,.45); }
.num { margin: 0 0 6px; font: 700 44px/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums; }
.feature h3 { margin: 0 0 8px; font: 600 22px/1.2 var(--serif); }
.feature p:last-child { margin: 0; color: #b9c1cd; font-size: 15.5px; }

/* Facts */
.facts { max-width: 880px; margin: 0 auto; padding: 32px 24px 56px; }
.fact-card {
  position: relative; padding: 34px 34px 24px; border-radius: 20px;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(169,129,60,.12), rgba(19,32,58,.4) 55%);
  overflow: hidden;
}
.fact-card::before {
  content: "?"; position: absolute; right: 18px; top: -26px;
  font: 700 190px/1 var(--serif); color: rgba(216,180,106,.07); pointer-events: none;
}
.fact-no { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.fact-tag { color: var(--gold); }
.fact-count { color: #6f7a8c; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .08em; }
.fact { margin: 0; min-height: 3.9em; font: 500 clamp(22px, 2.8vw, 29px)/1.3 var(--serif); transition: opacity .25s, transform .25s; }
.fact.fade { opacity: 0; transform: translateY(6px); }
.fact-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.dots { display: flex; flex-wrap: wrap; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(216,180,106,.22); }
.dots i.on { background: var(--gold); }
.next {
  flex: none; cursor: pointer; border-radius: 999px; padding: 11px 18px;
  border: 1px solid var(--gold); background: rgba(216,180,106,.08); color: var(--gold-hi);
  font: 600 14.5px/1 var(--sans); transition: background .2s;
}
.next:hover { background: rgba(216,180,106,.18); }

/* Closing CTA */
.cta { max-width: 760px; margin: 0 auto; padding: 40px 24px 72px; text-align: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { margin: 0 auto 24px; color: #cfd5df; max-width: 32em; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  border-radius: 12px; text-decoration: none; font: 600 15.5px/1 var(--sans); color: #1b1407;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 6px 22px rgba(216,180,106,.25);
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold); }

/* Footer */
.foot { border-top: 1px solid rgba(216,180,106,.1); padding: 26px 24px 40px; text-align: center; color: #6f7a8c; font-size: 13.5px; }
.foot p { margin: 0 0 8px; }
.privacy { max-width: 560px; margin: 0 auto; }
.privacy summary { cursor: pointer; color: var(--muted); }
.privacy p { margin-top: 10px; line-height: 1.55; }

/* Motion */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0%, 70%, 100% { background-position: 100% 0; } 35% { background-position: 0 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216,180,106,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(216,180,106,0); } }
@keyframes pulse-ok { 0% { box-shadow: 0 0 0 0 rgba(127,209,165,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(127,209,165,0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Tablet and phone */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 4px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  /* room above and below for the rings, which reach past the logo */
  .hero-art { width: min(64vw, 300px); margin: 12.5% 0 13.5%; }
  .lede { margin-left: auto; margin-right: auto; }
  .signup, .joined { width: 100%; text-align: left; }
  .fine { text-align: center; }
  .count { justify-content: center; }
  .features { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar { padding: 14px 16px; }
  .bar-brand img { height: 38px; }
  .bar-yt span { display: none; }
  .bar-yt { padding: 8px 10px; }
  .hero, .machine, .features, .facts, .cta { padding-left: 16px; padding-right: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: .14em; }
  .field { flex-direction: column; }
  .field button { min-height: 50px; }
  .machine-card { padding: 22px 18px 18px; }
  .year-row { flex-direction: column; gap: 8px; min-height: 140px; }
  .fact-card { padding: 26px 20px 20px; }
  .fact-foot { flex-direction: column-reverse; align-items: stretch; }
  .next { width: 100%; }
  .dots { justify-content: center; }
}
