/* ============ Fonts ============ */
@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ============ Tokens ============ */
:root {
  --navy: #06122e;
  --navy-2: #0a1a40;
  --flag: #0038b8;
  --electric: #2f7bff;
  --sky: #9dbdff;
  --paper: #f5f7fb;
  --white: #ffffff;
  --ink: #0a1633;
  --muted: #56627f;
  --line: rgba(10, 22, 51, 0.12);
  --line-strong: rgba(10, 22, 51, 0.22);
  --line-dark: rgba(255, 255, 255, 0.12);
  --up: #1fc77e;
  --down: #ff5a5f;

  --display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 4px;
  --nav-h: 72px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; }
::selection { background: var(--electric); color: #fff; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: var(--radius); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ============ Type ============ */
.display, .hero__title, .beat, .hero__caption-title {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.004em;
}
.display { font-size: clamp(52px, 8.2vw, 132px); color: var(--ink); }
.section--navy .display { color: #fff; }

/* line masks for the reveal animation */
.line { display: block; overflow: hidden; padding: 0.06em 0 0.02em; margin: -0.06em 0 -0.02em; }
.line > span { display: block; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flag);
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: currentColor; flex: none; }
.hero .eyebrow, .section--navy .eyebrow { color: var(--electric); }

.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.75); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform 0.25s; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--electric); color: #fff; }
.btn--ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--blue { background: var(--flag); color: #fff; }
.btn--blue:hover { background: var(--navy); }
.btn--icon { width: 54px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.btn--icon svg { width: 18px; height: 18px; }
.btn--icon:hover { border-color: #fff; }
.btn--icon:hover svg { transform: none; }

/* pre-launch state */
.is-soon .btn[data-buy] svg { display: none; }
.is-soon .btn[data-buy]::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--electric);
  animation: pulse-blue 1.8s infinite;
}
.is-soon .btn--light[data-buy]::before { background: var(--flag); }

.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  transition: border-color 0.2s, background-color 0.2s;
}
.ca-pill:hover { border-color: rgba(255, 255, 255, 0.4); }
.ca-pill svg { width: 14px; height: 14px; opacity: 0.7; }
.ca-pill__label { color: var(--electric); font-weight: 600; letter-spacing: 0.12em; }
.ca-pill--light { border-color: var(--line); color: var(--ink); }
.ca-pill--light:hover { border-color: var(--line-strong); }
.ca-pill--light .ca-pill__label { color: var(--flag); }
.is-soon .ca-pill { cursor: default; }
.is-soon .ca-pill svg { display: none; }
.is-copied .ca-pill__value, .is-copied > span:last-child { color: var(--up); }

/* status dots */
.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
  animation: pulse 1.8s infinite;
}
.dot--soon { background: var(--electric); animation-name: pulse-blue; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 199, 126, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(31, 199, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 199, 126, 0); }
}
@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(47, 123, 255, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(47, 123, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 123, 255, 0); }
}
.is-soon [data-live-dot] { display: none; }

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.nav.is-scrolled { background: rgba(6, 18, 46, 0.97); border-color: var(--line-dark); }
.nav.is-light { background: rgba(255, 255, 255, 0.97); color: var(--ink); border-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__coin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: url('../assets/coin-mark.png') center / cover no-repeat;
}
.brand__name { font-family: var(--display); font-size: 22px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; }

.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav__links a { opacity: 0.78; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 1; }
.btn--nav { height: 42px; padding: 0 18px; font-size: 12px; background: #fff; color: var(--navy); }
.btn--nav:hover { background: var(--electric); color: #fff; }
.nav.is-light .btn--nav { background: var(--flag); color: #fff; }
.nav.is-light .btn--nav:hover { background: var(--navy); }

.nav__toggle { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: currentColor; transition: transform 0.3s; }
.nav__toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: var(--nav-h) var(--gutter) 40px;
  background: var(--navy);
}
.menu[hidden] { display: none; }
.menu a { font-family: var(--display); font-size: clamp(40px, 11vw, 64px); line-height: 1.12; text-transform: uppercase; color: #fff; }
.menu-open .nav { background: var(--navy); color: #fff; border-color: var(--line-dark); }

@media (max-width: 960px) {
  .nav__inner { gap: 10px; }
  .nav__links { display: none; }
  .btn--nav { margin-left: auto; }
  .nav__toggle { display: flex; margin-right: -8px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 20px; }
  .btn--nav { height: 38px; padding: 0 12px; font-size: 11px; letter-spacing: 0.08em; }
}

/* ============ Hero ============ */
.hero { position: relative; height: 400vh; background: var(--navy); color: #fff; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 189, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 189, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 50%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 60% 50%, #000 25%, transparent 78%);
}
.hero__glow {
  position: absolute;
  left: 74%;
  top: 50%;
  width: 80vmin;
  height: 80vmin;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(47, 123, 255, 0.42) 0%, rgba(47, 123, 255, 0.12) 38%, rgba(47, 123, 255, 0) 66%);
  pointer-events: none;
}

/* the two lines sit in opposite corners so the coin never hides them */
.hero__beats { position: absolute; inset: calc(var(--nav-h) + 44px) var(--gutter) 96px; z-index: 1; pointer-events: none; }
.beat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; font-size: clamp(60px, 10.5vw, 196px); opacity: 0; }
.beat span:last-child { align-self: flex-end; text-align: right; }
.beat--quiet { color: transparent; -webkit-text-stroke: 1.5px rgba(157, 189, 255, 0.6); }
.beat--loud { color: #fff; }

.coin-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }

.coin-fallback { display: none; }
.no-webgl .coin-fallback {
  position: absolute;
  z-index: 2;
  left: 74%;
  top: 50%;
  display: block;
  width: min(52vh, 36vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  perspective: 1200px;
}
.coin-fallback__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.coin-fallback__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin-fallback__face--back { transform: rotateY(180deg); }

.stripe { position: absolute; left: 0; right: 0; z-index: 3; height: 2px; background: var(--electric); transform-origin: left center; }
.stripe--top { top: calc(var(--nav-h) + 14px); }
.stripe--bottom { bottom: 56px; }

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: calc(var(--nav-h) + 16px);
  padding-bottom: 72px;
}
.hero__title { font-size: clamp(76px, 10.6vw, 180px); }
.hero__sub { max-width: 470px; margin-top: 26px; font-size: clamp(17px, 1.3vw, 19px); color: rgba(255, 255, 255, 0.78); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__content .ca-pill { margin-top: 18px; }

.hero__caption {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  top: 50%;
  width: min(360px, 30vw);
  transform: translateY(-50%);
  opacity: 0;
}
.hero__caption-title { font-size: clamp(48px, 5.4vw, 88px); }
.hero__caption-text { margin-top: 18px; color: rgba(255, 255, 255, 0.72); }

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.scroll-cue svg { width: 14px; height: 14px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

.ticker {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(6, 18, 46, 0.92);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__group { display: flex; align-items: center; flex: none; }
.tick { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; white-space: nowrap; }
.tick::after { content: ''; width: 4px; height: 4px; margin-left: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.tick b { font-weight: 600; color: #fff; }
.tick sub { font-size: 0.72em; vertical-align: -0.2em; }
.tick--status { color: #fff; font-weight: 600; }
.tick--note { color: var(--sky); }
.up { color: var(--up) !important; }
.down { color: var(--down) !important; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { position: relative; padding: clamp(96px, 11vw, 160px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #fff; }
.section--paper::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}
.section > .container { position: relative; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-head__aside { justify-self: end; max-width: 440px; font-size: 18px; color: var(--muted); }
.section--navy .section-head__aside { color: rgba(255, 255, 255, 0.7); }

/* the sheet that slides over the pinned hero */
.story { z-index: 5; margin-top: -100vh; margin-top: -100svh; box-shadow: 0 -40px 60px -20px rgba(0, 0, 0, 0.5); }

/* ============ Story ============ */
.story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.story__body p { max-width: 560px; margin-bottom: 18px; font-size: 18px; color: var(--muted); }
.story__body .lead { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.45; font-weight: 500; color: var(--ink); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 38px; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat__value { font-family: var(--display); font-size: clamp(28px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; color: var(--flag); }
.stat__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ============ How it moves ============ */
.steps-wrap { position: relative; border-top: 1px solid var(--line); }
.steps__progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--flag); transform: scaleX(0); transform-origin: left center; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 34px 32px 34px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__num { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: var(--flag); }
.step h3 { margin: 18px 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.9vw, 44px); line-height: 0.95; text-transform: uppercase; }
.step p { max-width: 310px; color: var(--muted); }

.chart { margin-top: clamp(48px, 6vw, 80px); overflow: hidden; background: var(--navy); border-radius: var(--radius); }
.chart__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.chart__title { display: flex; align-items: center; gap: 10px; color: #fff; }
.chart__body { position: relative; height: clamp(380px, 44vw, 560px); }
.chart__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: #fff;
  background-image:
    linear-gradient(rgba(157, 189, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 189, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.chart__placeholder-title { font-family: var(--display); font-size: clamp(34px, 4.2vw, 60px); line-height: 0.95; text-transform: uppercase; }
.chart__placeholder-text { max-width: 420px; color: rgba(255, 255, 255, 0.65); }
.fineprint { max-width: 760px; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ============ Tokenomics ============ */
.tk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tk {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tk__label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tk__value {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--display);
  font-size: clamp(40px, 3.8vw, 60px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--flag);
  font-variant-numeric: tabular-nums;
}
.is-soon .tk__value[data-m] { color: var(--line-strong); }
.tk[hidden] { display: none; }
.tk__note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.tk__bar { display: block; height: 4px; margin-top: 16px; overflow: hidden; border-radius: 2px; background: var(--line); }
.tk__bar[hidden] { display: none; }
.tk__bar i { display: block; width: var(--p, 0%); height: 100%; background: var(--flag); transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tk__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--flag); }
.tk__link svg { width: 12px; height: 12px; }
/* --span fills whatever is left of the row once the trust cards are in or out (set in main.js) */
.tk--contract { grid-column: span var(--span, 2); background: var(--navy); border-color: var(--navy); color: #fff; }
.tk--contract .tk__label { color: rgba(255, 255, 255, 0.6); }
.tk__ca { margin-top: auto; padding-top: 28px; font-family: var(--mono); font-size: clamp(14px, 1.25vw, 17px); word-break: break-all; }
.tk__actions { display: flex; gap: 8px; margin-top: 18px; }
.tk__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s;
}
.tk__btn:hover { border-color: rgba(255, 255, 255, 0.5); }
.tk__btn svg { width: 13px; height: 13px; }

.is-disabled { opacity: 0.4; pointer-events: none; }

/* ============ Verify ============ */
.checks { list-style: none; padding: 0; }
.checks:not(:empty) { border-top: 1px solid var(--line-dark); }
.check {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}
.check__box { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--electric); border-radius: 3px; color: var(--electric); }
.check__box svg { width: 16px; height: 16px; }
.check__title { font-family: var(--display); font-size: clamp(22px, 2.1vw, 30px); line-height: 1; text-transform: uppercase; }
.check__desc { color: rgba(255, 255, 255, 0.66); }
.check__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }
.check__link svg { width: 12px; height: 12px; }
.checks__note { max-width: 640px; padding: 26px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.7); }
.checks__note[hidden] { display: none; }

.verify-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.vlink {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s;
}
.vlink:hover { border-color: var(--electric); background: rgba(47, 123, 255, 0.08); }
.vlink strong { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; text-transform: uppercase; }
.vlink strong svg { width: 16px; height: 16px; color: var(--electric); }
.vlink span { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* ============ How to buy ============ */
.buy-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.buy-steps li {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px 24px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.buy-steps h3 { margin: auto 0 12px; padding-top: 40px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.4vw, 36px); line-height: 1; text-transform: uppercase; }
.buy-steps p { font-size: 15.5px; color: var(--muted); }
.buy__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 18px 20px 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.warn { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.warn svg { width: 18px; height: 18px; flex: none; color: var(--flag); }
.buy__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ============ Campaign trail ============ */
.trail__list { list-style: none; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trail__list::before, .trail__list::after { content: ''; position: absolute; top: 8px; left: 0; height: 2px; }
.trail__list::before { right: 0; background: var(--line); }
.trail__list::after { width: var(--progress, 0%); background: var(--flag); }
.phase { position: relative; padding-right: 28px; }
.phase__dot { position: relative; z-index: 1; display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); }
.phase.is-done .phase__dot { background: var(--flag); border-color: var(--flag); }
.phase.is-current .phase__dot { background: var(--white); border-color: var(--flag); box-shadow: 0 0 0 6px rgba(0, 56, 184, 0.14); }
.phase__num { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flag); }
.phase.is-current .phase__num::after { content: 'Now'; padding: 3px 8px; border-radius: 999px; background: var(--flag); color: #fff; font-size: 10.5px; letter-spacing: 0.14em; }
.phase h3 { margin: 12px 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3vw, 46px); line-height: 0.95; text-transform: uppercase; }
.phase p { max-width: 270px; color: var(--muted); }

/* ============ FAQ ============ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--flag);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 26px 0; color: var(--muted); }

/* ============ Final CTA ============ */
.final { overflow: hidden; }
.final__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.final .display { font-size: clamp(50px, 7vw, 116px); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.countdown div { padding: 18px 8px 14px; text-align: center; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.countdown__label { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.final__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ============ Footer ============ */
.footer { padding: 64px 0 32px; background: var(--navy); color: rgba(255, 255, 255, 0.75); border-top: 1px solid var(--line-dark); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer__links a:hover { color: #fff; }
.disclaimer { max-width: 900px; margin: 32px 0; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.55); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .tk-grid, .buy-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk--contract { grid-column: span 2; }
  .verify-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .section-head, .story__grid, .faq__grid, .final__grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 20px; }
  .section-head__aside { justify-self: start; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .check { grid-template-columns: 32px minmax(0, 1fr); gap: 8px 16px; }
  .check__desc, .check__link { grid-column: 2; }
  .trail__list { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-left: 40px; }
  .trail__list::before, .trail__list::after { top: 0; left: 8px; width: 2px; }
  .trail__list::before { bottom: 0; height: auto; right: auto; }
  .trail__list::after { height: var(--progress, 0%); }
  .phase__dot { position: absolute; left: -40px; top: 0; }
  .phase__num { margin-top: 0; }
  .final__grid { gap: 40px; }
}

/* stacked hero: phones and portrait tablets (keep in sync with STACKED_QUERY in coin.js) */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .hero__content { justify-content: flex-end; padding-bottom: 92px; }
  .hero__title { font-size: clamp(64px, 19vw, 132px); }
  .hero__sub { margin-top: 18px; font-size: 16px; }
  .hero__ctas { margin-top: 24px; width: 100%; max-width: 520px; }
  .hero__ctas .btn { flex: 1 1 auto; height: 50px; padding: 0 18px; }
  .hero__glow { left: 50%; top: 26%; width: 110vw; height: 110vw; }
  .hero__caption { left: var(--gutter); right: var(--gutter); top: auto; bottom: 96px; width: auto; max-width: 520px; transform: none; }
  .hero__caption-title { font-size: clamp(44px, 13vw, 72px); }
  .scroll-cue { display: none; }
  .no-webgl .coin-fallback { left: 50%; top: 26%; width: min(64vw, 32vh); }
}

@media (max-width: 760px) {
  .stripe--top { top: calc(var(--nav-h) + 8px); }
  .ticker { font-size: 11.5px; }
}

/* short phones (iPhone SE and similar) */
@media (max-width: 760px) and (max-height: 719px) {
  .hero__content .eyebrow { margin-bottom: 14px; }
  .hero__title { font-size: 15vw; }
  .hero__sub { margin-top: 14px; font-size: 15px; }
  .hero__ctas { margin-top: 18px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__content .ca-pill { display: none; }
  .tk-grid, .buy-steps, .verify-links { grid-template-columns: minmax(0, 1fr); }
  .tk--contract { grid-column: auto; }
  .tk { min-height: 180px; }
  .buy-steps li { min-height: 0; }
  .buy-steps h3 { padding-top: 28px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:last-child { grid-column: span 2; }
  .buy__bar { padding: 18px; }
  .buy__actions, .buy__actions .btn, .buy__actions .ca-pill { width: 100%; }
  .faq__list details p { padding-right: 0; }
  .countdown b { font-size: 40px; }
}

/* ============ Intro start states (set before the scripts run, to avoid a flash) ============ */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(115%); }
  .js .hero__content .eyebrow, .js .hero__sub, .js .hero__ctas, .js .hero__content .ca-pill { opacity: 0; }
  .js .stripe { transform: scaleX(0); }
  .js .ticker { transform: translateY(100%); }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; }
  .story { margin-top: 0; }
  .beat, .hero__caption, .scroll-cue { display: none; }
  .ticker__track { animation-duration: 160s; }
  .dot, .scroll-cue svg { animation: none; }
}
