/* BASKT launch site
 * Tokens: apps/web/src/app/globals.css (same values as brand_assets/). Do not reinvent.
 * Type: Geist Sans + Geist Mono (OFL, self-hosted, ~116 KB total).
 * Separation is done with borders, not shadows. Gradient = accent, never a background.
 */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2-variations"),
       url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2-variations"),
       url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #000000;
  --surface: #0c0d12;
  --surface-2: #14161d;
  --border: #1f2128;
  --border-strong: #2e313b;

  --fg: #e8eaed;
  --fg-muted: #9aa0ab;
  --fg-subtle: #6b7280;

  --brand: #a932e5;
  --brand-soft: #1a0b26;
  --brand-blue: #1769fb;
  --brand-indigo: #4336f9;
  --brand-violet: #9230ec;
  --brand-fuchsia: #ea36d0;
  --brand-magenta: #fc37a8;
  --brand-coral: #fd5b55;
  --brand-orange: #fd851a;
  /* accents for calls to action and small marks: the coral of the coins, never the violet
   * (flat violet reads as generic AI-app purple). The primary button itself wears the whole
   * brand gradient as a ring, like the basket rim and the selected coins in the diagrams. */
  --cta: #fd5b55;
  --cta-fg: #0b0a0f;
  --gradient-brand: linear-gradient(122deg,
    #1769fb 0%, #4336f9 20%, #9230ec 40%, #ea36d0 60%,
    #fc37a8 70%, #fd5b55 85%, #fd851a 100%);

  --up: #22c55e;
  --down: #ef4444;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Cascadia Mono", monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 12vw, 168px);
  --nav-h: 64px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 0, "cv11" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--cta); color: var(--cta-fg); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow--brand { color: var(--cta); }

.display {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 34em;
  text-wrap: pretty;
}
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .18s var(--ease-out), border-color .18s var(--ease-out), color .18s var(--ease-out);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary {
  /* dark fill inside, brand gradient on the border: the double-background trick */
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--gradient-brand) border-box;
  border: 1.5px solid transparent;
  color: var(--fg);
  font-weight: 600;
  transition: background .18s var(--ease-out), transform .18s var(--ease-out);
}
.btn--primary:hover {
  background: linear-gradient(#1e212b, #1e212b) padding-box, var(--gradient-brand) border-box;
  transform: translateY(-1px);
}
.btn--primary:active { transform: none; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--fg-subtle); background: var(--surface); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: inline-flex; align-items: center; height: 100%; }
.nav__logo img { height: 28px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--fg-muted);
  transition: color .15s;
}
.nav__links a:hover { color: var(--fg); }
.nav__x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--fg);
  transition: border-color .15s, background-color .15s;
}
.nav__x:hover { border-color: var(--fg-subtle); background: var(--surface); }
.nav__x svg { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 360px) {
  .nav__x span { display: none; }
  .nav__x { padding: 0 10px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px) clamp(56px, 8vw, 112px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px) clamp(32px, 6vw, 96px);
  align-items: center;
}
.hero__head {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__title {
  font-size: clamp(2.625rem, 6.1vw, 5rem);
  letter-spacing: -0.04em;
  max-width: 14em;
}
.hero__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.pill .eyebrow { color: var(--fg); }
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cta);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253, 91, 85, .55); }
  50%      { box-shadow: 0 0 0 5px rgba(253, 91, 85, 0); }
}
.hero__title span { display: block; }
.hero__title em { font-style: normal; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__lead { max-width: 28em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--fg-muted);
  text-wrap: pretty;
}
.hero__note .pill__dot { flex: none; }
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 12px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
}
.hero__proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta);
  flex: none;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero__visual::before {
  /* the only glow on the page: brand violet, faint, behind the basket */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(48% 42% at 50% 64%, rgba(146, 48, 236, .2), transparent 70%);
  pointer-events: none;
}
.basket {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: auto;
}
.basket__title {
  position: relative;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  /* the top of the basket drawing is empty sky for the falling coins: pull it up under the title */
  margin-bottom: -9%;
}
.basket__caption {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
}

/* coins: fall in one after another, rest, fade, repeat */
.coin {
  transform-box: fill-box;
  transform-origin: center;
  animation: drop 9s infinite both;
  animation-delay: calc(var(--i) * 0.32s);
}
@keyframes drop {
  0%   { transform: translateY(-430px) rotate(-14deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  2%   { opacity: 1; }
  11%  { transform: translateY(0) rotate(0deg); opacity: 1; animation-timing-function: ease-out; }
  13%  { transform: translateY(-9px) rotate(2deg); animation-timing-function: ease-in; }
  15%  { transform: translateY(0) rotate(0deg); }
  84%  { transform: translateY(0); opacity: 1; }
  90%  { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(-430px) rotate(-14deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .coin { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: 2; margin-top: 0; }
  .basket { max-width: 400px; }
}
@media (max-width: 480px) {
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- sections ---------- */
.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--border);
}
.section__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 52rem;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section__title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.section__head .lead { margin-top: 4px; }

/* ---------- the number ---------- */
.market { padding-bottom: clamp(40px, 5vw, 64px); }
.market__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.market__copy { display: flex; flex-direction: column; gap: 24px; }
.market__title {
  font-size: clamp(2.125rem, 4.6vw, 3.875rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.market__title .num { font-weight: 700; }
.market__q { color: var(--fg-muted); font-weight: 500; }

.dots {
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  gap: clamp(5px, 0.8vw, 8px);
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.dots i {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background-color .2s;
}
/* the one meme someone actually caught: main.js moves it every 0.5 s while visible */
.dots i.hot { background: var(--gradient-brand); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 64px);
  margin: clamp(56px, 8vw, 104px) 0 0;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column-reverse; gap: 10px; padding-right: 16px; }
.stat dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); }
.stat dd {
  margin: 0;
  font-size: clamp(1.875rem, 4.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.step__art {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.step__body, .prop__body { display: flex; flex-direction: column; gap: 10px; }
.step__n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-magenta);
}
.step__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.step__text { color: var(--fg-muted); line-height: 1.55; text-wrap: pretty; }

/* ---------- why trust it ---------- */
.props {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.prop { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.prop__claim {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.prop__text { color: var(--fg-muted); line-height: 1.55; text-wrap: pretty; }

/* ---------- curators ---------- */
.curators__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.curators__copy { display: flex; flex-direction: column; gap: 18px; }
.fees {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.feebar {
  display: flex;
  gap: 2px;
  height: 40px;
  margin-top: 4px;
}
.feebar__seg { border-radius: 3px; min-width: 3px; }
.feebar__seg--curator { background: var(--gradient-brand); border-radius: 5px 3px 3px 5px; }
.feebar__seg--protocol { background: var(--fg); }
.feebar__seg--rest { background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 3px 5px 5px 3px; }
.feebar__legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--fg-muted);
}
.feebar__legend li { display: flex; align-items: center; gap: 12px; }
.feebar__legend b { font-weight: 500; color: var(--fg); margin-right: 6px; }
.sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.sw--curator { background: var(--gradient-brand); }
.sw--protocol { background: var(--fg); }
.sw--rest { background: var(--surface-2); border: 1px solid var(--border-strong); }
.feebar__note { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-muted); }

/* ---------- genesis curators ---------- */
.genesis { background: var(--surface); }
.genesis__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 46rem;
}
.genesis .btn--lg { margin-top: 8px; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 1.0625rem; border-radius: 10px; }

/* ---------- economics ---------- */
.econ__title span { display: block; width: fit-content; }
.burn {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 40px);
  align-items: start;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.burn__copy { display: flex; flex-direction: column; gap: 16px; max-width: 52rem; }
.burn__title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.025em; line-height: 1.2; text-wrap: balance; }
.burn__text { color: var(--fg-muted); line-height: 1.6; text-wrap: pretty; }
.burn__text b { color: var(--fg); font-weight: 600; }
.burn__text code { font-family: var(--font-mono); font-size: 0.9em; color: var(--fg); }
/* the economic machine: four nodes joined by arrows, one direction, no status */
.machine {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.machine__node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  position: relative;
}
.machine__node b { font-weight: 600; color: var(--fg); font-size: 0.9375rem; letter-spacing: -0.01em; }
.machine__node span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-muted); line-height: 1.4; }
.machine__node::after {
  /* the gradient ring walks the machine: fees, treasury, buy, burn */
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1.5px;
  border-radius: 10px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  animation: machine-hl 4s infinite;
  animation-delay: calc(var(--n, 0) * 1s);
}
@keyframes machine-hl {
  0%       { opacity: 0; }
  5%, 22%  { opacity: 1; }
  30%, 100% { opacity: 0; }
}
.machine__arrow {
  flex: none;
  display: flex;
  align-items: center;
  color: var(--fg-muted);
}
.machine__arrow svg { width: 22px; height: 22px; }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  vertical-align: middle;
  margin-right: 12px;
}
.dot--done { background: var(--fg); }
.dot--ring {
  width: 12px; height: 12px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--gradient-brand) border-box;
  border: 2.5px solid transparent;
}
.dot--todo { background: transparent; border: 1.5px solid var(--fg-subtle); }

/* ---------- status ---------- */
.state { margin: 0; border-top: 1px solid var(--border); }
.state__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 8px 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.state__row dt { font-weight: 500; }
.state__row dd { margin: 0; color: var(--fg-muted); display: flex; align-items: baseline; }
.state__row dd .dot { position: relative; top: -1px; }

.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(64px, 9vw, 128px);
}
.closing__title { font-size: clamp(2rem, 4.6vw, 3.75rem); letter-spacing: -0.035em; }
.closing__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.status { padding-bottom: clamp(56px, 7vw, 96px); }
.footer { padding-bottom: clamp(16px, 3vw, 32px); }
.footer__card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px) 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.footer__card::before {
  /* one thin brand line along the top edge */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--gradient-brand);
  opacity: .7;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.7fr);
  gap: 32px clamp(20px, 3vw, 40px);
}
.footer__h {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__col a { font-size: 0.9375rem; color: var(--fg-muted); transition: color .15s; }
.footer__col a:hover { color: var(--fg); }
.footer__risk { font-size: 0.8125rem; line-height: 1.6; color: var(--fg-muted); text-wrap: pretty; }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-subtle);
}
.footer__mark {
  /* giant outlined wordmark, cut by the bottom edge of the card */
  margin: clamp(8px, 2vw, 24px) 0 -0.2em;
  font-size: clamp(5rem, 21vw, 17.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  user-select: none;
  pointer-events: none;
}
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--risk { grid-column: 1 / -1; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .steps, .props { grid-template-columns: 1fr; gap: 48px; }
  .step, .prop { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: 28px; }
}
@media (max-width: 760px) {
  .market__grid { grid-template-columns: 1fr; }
  .dots { justify-self: start; max-width: 100%; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .stats { text-align: center; }
  .stat { padding-right: 0; align-items: center; }
  .curators__grid { grid-template-columns: 1fr; }
  .state__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .machine { flex-direction: column; gap: 6px; }
  .machine__arrow { justify-content: center; }
  .machine__arrow svg { transform: rotate(90deg); }
  .step, .prop { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- trust animations ---------- */
/* 1 · lock: three coins drop in, the lid closes, the padlock snaps shut (6 s loop) */
.lk-coin, .ky-coin { animation-delay: var(--d, 0s); }
.lk-coin { animation: lk-coin 6s infinite both; animation-delay: var(--d, 0s); }
@keyframes lk-coin {
  0%        { transform: translateY(-130px); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  3%        { opacity: 1; }
  18%       { transform: translateY(0); animation-timing-function: ease-out; }
  21%       { transform: translateY(-6px); animation-timing-function: ease-in; }
  24%, 90%  { transform: translateY(0); opacity: 1; }
  96%, 100% { transform: translateY(0); opacity: 0; }
}
.lk-lid { animation: lk-lid 6s infinite both; }
@keyframes lk-lid {
  0%, 32%   { transform: translateY(-80px); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  36%       { opacity: 1; }
  44%       { transform: translateY(0); animation-timing-function: ease-out; }
  47%       { transform: translateY(-4px); animation-timing-function: ease-in; }
  50%, 90%  { transform: translateY(0); opacity: 1; }
  96%, 100% { transform: translateY(0); opacity: 0; }
}
.lk-lock { transform-box: fill-box; transform-origin: center; animation: lk-lock 6s infinite both; }
@keyframes lk-lock {
  0%, 50%   { opacity: 0; transform: scale(.6); }
  56%, 90%  { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(1); }
}
.lk-lock-shackle { animation: lk-shackle 6s infinite both; }
@keyframes lk-shackle {
  0%, 58%    { transform: translateY(-7px); }
  64%        { transform: translateY(1px); }
  67%, 100%  { transform: translateY(0); }
}

/* 2 · bytecode: the gaps between the "text" lines slide left, same on both sides */
.bc   { stroke-dasharray: 20 6 7 6; animation: bc-a 3s linear infinite; }
.bc--b { stroke-dasharray: 6 6 18 6 8 6; animation-name: bc-b; animation-duration: 3.8s; }
.bc--c { stroke-dasharray: 12 6 9 6; animation-name: bc-c; animation-duration: 2.5s; }
@keyframes bc-a { to { stroke-dashoffset: 39; } }
@keyframes bc-b { to { stroke-dashoffset: 50; } }
@keyframes bc-c { to { stroke-dashoffset: 33; } }

/* 3 · key: a key opens the closed basket, the coins float out and bob (7 s loop) */
.ky-key { transform-box: fill-box; transform-origin: center; animation: ky-key 7s infinite both; }
@keyframes ky-key {
  0%, 6%    { opacity: 0; transform: translateX(90px) scaleY(1); }
  12%       { opacity: 1; }
  22%       { transform: translateX(0) scaleY(1); }
  28%, 36%  { opacity: 1; transform: translateX(0) scaleY(-1); }
  42%, 100% { opacity: 0; transform: translateX(20px) scaleY(-1); }
}
.ky-lock-shackle { animation: ky-shackle 7s infinite both; }
@keyframes ky-shackle {
  0%, 29%   { transform: translateY(0); }
  34%, 100% { transform: translateY(-7px); }
}
.ky-lock { animation: ky-lock 7s infinite both; }
@keyframes ky-lock {
  0%        { opacity: 0; transform: translateY(0); }
  4%, 38%   { opacity: 1; transform: translateY(0); }
  46%, 100% { opacity: 0; transform: translateY(-10px); }
}
.ky-lid { animation: ky-lid 7s infinite both; }
@keyframes ky-lid {
  0%        { opacity: 0; transform: translateY(0); }
  4%, 40%   { opacity: 1; transform: translateY(0); }
  50%, 100% { opacity: 0; transform: translateY(-40px); }
}
.ky-coin { animation: ky-coin 7s infinite both; animation-delay: var(--d, 0s); }
@keyframes ky-coin {
  0%        { transform: translateY(0); opacity: 0; }
  4%, 46%   { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  58%       { transform: translateY(-80px); }
  65%       { transform: translateY(-88px); }
  72%       { transform: translateY(-80px); }
  79%       { transform: translateY(-88px); }
  86%       { transform: translateY(-80px); }
  91%       { transform: translateY(-84px); opacity: 1; }
  96%, 100% { transform: translateY(-84px); opacity: 0; }
}

/* animations sleep while off screen (main.js toggles .in-view) */
.js .anim:not(.in-view),
.js .anim:not(.in-view) *,
.js .anim:not(.in-view) *::after { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .pill__dot, .machine__node::after,
  .art-lock *, .art-bc *, .art-key * { animation: none !important; }
  .machine__node[style*="--n:3"]::after { opacity: 1; }
  .art-key .ky-key { opacity: 0; }
}

/* Genesis pre-launch banner */
.topbar{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:10px 18px;background:#0b0c11;border-bottom:1px solid #22242e;font-size:14px;color:#c9ccd6;text-decoration:none;position:relative}
.topbar::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(122deg,#1769fb,#4336f9 20%,#9230ec 40%,#ea36d0 60%,#fc37a8 70%,#fd5b55 85%,#fd851a)}
.topbar[hidden]{display:none}
.topbar__dot{width:7px;height:7px;border-radius:50%;background:#fd851a;box-shadow:0 0 0 4px rgba(253,133,26,.16)}
.topbar__text{font-variant-numeric:tabular-nums}.topbar__text b{color:#fff;font-weight:600}
.topbar__go{color:#fff;font-weight:600;white-space:nowrap}
.topbar:hover .topbar__go{color:#fd851a}
@media (max-width:560px){.topbar{font-size:13px;gap:8px;padding:9px 14px}}

/* Las ilustraciones de "how it works" y "why trust it", alineadas entre tarjetas.
   Iban pegadas al final de su texto, asi que una tarjeta con un renglon de mas
   empujaba su dibujo hacia abajo y la fila se leia torcida. Las celdas del grid
   ya tienen la misma altura, asi que basta con empujar el dibujo al fondo: los
   tres arrancan y terminan a la misma altura, sin fijar alturas a mano ni
   depender de que los textos midan lo mismo. */
.step > svg, .prop > svg { margin-top: auto; }
