/* moneycanbuy.fun teaser. Brand: black, toad green, price-tag gold, neon .fun green.
   Fonts are bundled (SIL OFL 1.1, see assets/fonts). No external requests. */
@font-face { font-family: "Quicksand"; src: url("assets/fonts/quicksand-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("assets/fonts/quicksand-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("assets/fonts/quicksand-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #000;
  --deep: #020604;
  --glow: #1b5934;
  --card: #0b110c;
  --line: #1f2a21;
  --line-hi: #34433a;
  --ink: #fff;
  --muted: #a3aba4;
  --toad: #82b63e;
  --toad-dark: #09210b;
  --gold: #f5c451;
  --gold-hi: #ffe185;
  --neon: #3ecf7a;
  --neon-ink: #03130a;
  --bad: #ef6a5c;
  --sans: "Quicksand", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; background: var(--bg); color: var(--ink); font: 500 16px/1.45 var(--sans); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(27, 89, 52, .55), transparent 70%),
    radial-gradient(900px 600px at 0% 40%, rgba(27, 89, 52, .18), transparent 70%),
    radial-gradient(1000px 700px at 50% 100%, rgba(27, 89, 52, .35), transparent 70%),
    var(--deep);
}
body::before { /* faint dot grid over the whole page */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35));
  -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35));
}
main, .bar, .foot { position: relative; z-index: 1; }
main { overflow-x: clip; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
svg { fill: currentColor; }
h1, h2, p { margin: 0; }
b { font-weight: 700; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--pad);
  background: linear-gradient(to bottom, rgba(2, 6, 4, .92), rgba(2, 6, 4, .6));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.logo img { height: 40px; width: auto; }
.bar-links { display: flex; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s, transform .2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: rgba(62, 207, 122, .16); transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: clamp(20px, 4vh, 48px) var(--pad) clamp(28px, 5vh, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 80px);
  min-height: calc(100svh - 61px);
}
.glow {
  position: absolute; right: 8%; top: 8%; width: 46vw; max-width: 720px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(62, 207, 122, .22), rgba(245, 196, 81, .06) 45%, transparent 70%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero-copy { position: relative; z-index: 2; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--neon);
  padding: 8px 12px; border-radius: 999px; background: rgba(62, 207, 122, .08); border: 1px solid rgba(62, 207, 122, .3);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; animation: pulse 1.8s ease-in-out infinite; }
h1 { font-weight: 700; letter-spacing: -.035em; line-height: .94; font-size: clamp(40px, 7.2vw, 118px); }
h1 span { display: block; }
h1 .l2 {
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 45%, var(--neon) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.lead { margin-top: 22px; font-size: clamp(17px, 1.45vw, 21px); color: var(--muted); max-width: 34em; }
.lead b { color: var(--toad); }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 16px;
  font: 700 17px/1 var(--sans); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn.go { background: var(--neon); color: var(--neon-ink); box-shadow: 0 10px 40px -10px rgba(62, 207, 122, .7); }
.btn.go:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(62, 207, 122, .9); }
.btn.ghost { background: rgba(255, 255, 255, .05); color: var(--ink); border: 1px solid var(--line-hi); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

.pills { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: #dfe5df;
  background: rgba(11, 17, 12, .8); border: 1px solid var(--line-hi);
}
.pills svg { width: 16px; height: 16px; color: var(--toad); }
.pills .soon { color: var(--gold); border-color: rgba(245, 196, 81, .4); background: rgba(43, 35, 12, .6); }
.pills .soon .dot { width: 7px; height: 7px; }
.pills a.pill-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.pills a.pill-link:hover { color: var(--neon); }

/* video stage */
.stage { position: relative; z-index: 1; justify-self: center; }
.ambient {
  position: absolute; inset: -12% -30%; width: 160%; height: 124%; object-fit: cover;
  filter: blur(70px) saturate(1.4); opacity: .45; pointer-events: none; z-index: -1;
}
.phone {
  position: relative; height: min(calc(100svh - 150px), 820px); min-height: 520px; aspect-ratio: 9 / 16;
  border-radius: 34px; overflow: hidden; background: #000;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .03), 0 40px 120px -30px rgba(62, 207, 122, .55), 0 0 80px -20px rgba(245, 196, 81, .35);
}
.phone video { width: 100%; height: 100%; object-fit: cover; }
.sound {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); cursor: pointer;
  background: rgba(0, 0, 0, .6); color: #fff; font: 700 14px/1 var(--sans);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.sound svg { width: 20px; height: 20px; }
.sound .on { display: none; }
.sound[aria-pressed="true"] { background: var(--neon); color: var(--neon-ink); border-color: transparent; }
.sound[aria-pressed="true"] .on { display: block; }
.sound[aria-pressed="true"] .off { display: none; }
.sound:hover { transform: scale(1.04); }
.sound.nudge { animation: nudge 2.4s ease-in-out 1.2s 3; }

.tag {
  position: absolute; z-index: 4; font: 500 clamp(20px, 2vw, 30px)/1 var(--mono); color: #1b1404;
  padding: 10px 14px 10px 22px; border-radius: 10px 6px 6px 10px;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold));
  border: 3px solid var(--toad-dark); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6);
}
.tag::before { /* the hole of the price tag */
  content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--toad-dark);
}
.t1 { left: -70px; top: 16%; transform: rotate(-12deg); animation: float 6s ease-in-out infinite; }
.t2 { right: -64px; top: 44%; transform: rotate(9deg); animation: float 7s ease-in-out -2s infinite; }
.t3 { left: -52px; bottom: 12%; transform: rotate(6deg); animation: float 6.5s ease-in-out -4s infinite; }

/* ---------- ticker ---------- */
.ticker {
  position: relative; overflow: hidden; padding: 18px 0;
  background: var(--gold); color: #120d02; transform: rotate(-1.5deg); margin: 10px -20px 0;
  border-block: 3px solid var(--toad-dark);
}
.track { display: flex; width: max-content; align-items: center; gap: 28px; animation: marquee 26s linear infinite; }
.track span { font: 700 clamp(22px, 3vw, 40px)/1 var(--sans); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.track i {
  font: 500 20px/1 var(--mono); font-style: normal; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--toad-dark); color: var(--gold);
}

/* ---------- sections ---------- */
section:not(.hero) { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--pad) 0; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 60px); letter-spacing: -.03em; line-height: 1; }
.mini {
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 6px 9px; border: 1px solid var(--line-hi); border-radius: 999px;
}

/* dare calculator: scene with persona icons + a flying chip, driven entirely by main.js */
.dare-calc { padding-top: clamp(64px, 9vw, 120px); }
.calc-amount { margin-bottom: 20px; }
.calc-label {
  display: block; font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin-bottom: 10px;
}
.calc-amount-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.calc-sign { font: 700 clamp(22px, 2.6vw, 30px)/1 var(--mono); color: var(--gold); }
#calc-amount {
  width: 7em; font: 700 clamp(22px, 2.6vw, 30px)/1 var(--mono); background: transparent; border: none;
  color: var(--ink); outline: none; -moz-appearance: textfield;
}
#calc-amount::-webkit-outer-spin-button, #calc-amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#calc-currency {
  font: 700 13px/1 var(--sans); background: var(--card); border: 1px solid var(--line-hi); border-radius: 10px;
  color: var(--ink); padding: 9px 10px; margin-left: auto; cursor: pointer;
}
#calc-slider { width: 100%; accent-color: var(--neon); display: block; margin-bottom: 12px; }
.calc-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-quick button {
  padding: 8px 14px; border-radius: 999px; font: 700 13px/1 var(--sans); border: 1px solid var(--line-hi);
  background: var(--card); color: var(--muted); cursor: pointer; transition: background .2s, color .2s;
}
.calc-quick button:hover { color: var(--ink); }
.calc-quick button.active { background: var(--neon); color: var(--neon-ink); border-color: transparent; }
.calc-flags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; min-height: 0; }
.calc-flag {
  font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px;
  border-radius: 8px; background: rgba(245, 196, 81, .15); color: var(--gold); border: 1px solid rgba(245, 196, 81, .35);
}

.calc-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.calc-tabs { display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; }
.calc-tab {
  flex: 0 1 auto; min-width: 0; padding: 10px 16px; border-radius: 999px; font: 700 13px/1 var(--sans);
  border: 1px solid var(--line-hi); background: var(--card); color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.calc-tab:hover { color: var(--ink); }
.calc-tab[aria-selected="true"] { background: var(--neon); color: var(--neon-ink); border-color: transparent; }
.calc-play {
  padding: 10px 18px; border-radius: 999px; font: 700 13px/1 var(--sans); border: 1px solid var(--line-hi);
  background: var(--card); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .2s;
}
.calc-play:hover { background: rgba(62, 207, 122, .16); }
.calc-play[aria-pressed="true"] { background: var(--neon); color: var(--neon-ink); border-color: transparent; }

.calc-stage {
  position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 4px;
  min-height: clamp(240px, 28vw, 320px);
  padding: clamp(96px, 10vw, 124px) 10px 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
}
.calc-persona {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0;
  opacity: 1; transition: opacity .3s;
}
.calc-persona svg { width: clamp(52px, 5.6vw, 80px); height: clamp(52px, 5.6vw, 80px); color: var(--toad); fill: currentColor; transition: filter .2s, transform .2s; }
.calc-persona svg .pole { stroke: currentColor; stroke-width: 2; fill: none; }
.calc-persona svg .hole { fill: var(--card); }
.calc-persona img { width: clamp(56px, 6vw, 82px); height: clamp(56px, 6vw, 82px); object-fit: contain; transition: filter .2s, transform .2s; }
.calc-persona b { font: 700 clamp(11px, 1.15vw, 14px)/1.2 var(--sans); color: var(--ink); text-align: center; }
.calc-persona.dim { opacity: .55; }
.calc-persona.excluded { opacity: .38; }
.calc-persona.active svg, .calc-persona.active img {
  color: var(--neon); filter: drop-shadow(0 0 16px rgba(62, 207, 122, .7)); animation: persona-pulse 1.15s ease-in-out infinite;
}
.calc-persona.active b { color: var(--neon); }
.calc-chip {
  position: absolute; top: 20px; left: 0; width: clamp(48px, 5vw, 76px); transform: translateX(-50%);
  opacity: 0; transition: left .55s cubic-bezier(.32, .64, .35, 1), opacity .25s; pointer-events: none; z-index: 2;
}
.calc-chip.show { opacity: 1; }
.calc-chip-arc { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.calc-chip.flying .calc-chip-arc { animation: chip-arc .55s ease; }
.calc-chip svg {
  width: clamp(40px, 4.2vw, 60px); height: clamp(40px, 4.2vw, 60px); border-radius: 50%; background: var(--gold);
  color: var(--toad-dark); padding: 8px; box-shadow: 0 10px 26px -6px rgba(245, 196, 81, .65);
}
.calc-chip span { font: 700 clamp(12px, 1.15vw, 14px)/1 var(--mono); color: var(--gold-hi); white-space: nowrap; }

.calc-stepper { margin-top: 20px; }
.calc-dots { position: relative; display: flex; justify-content: space-between; margin-bottom: 12px; }
.calc-dots::before {
  content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 2px; background: var(--line-hi);
  transform: translateY(-50%); z-index: 0;
}
.calc-dot {
  position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-hi);
  background: var(--card); color: var(--muted); font: 700 11px/1 var(--mono); display: flex; align-items: center;
  justify-content: center; cursor: pointer; padding: 0; transition: background .2s, color .2s, border-color .2s;
}
.calc-dot.done { background: rgba(62, 207, 122, .16); border-color: rgba(62, 207, 122, .4); color: var(--neon); }
.calc-dot.current { background: var(--neon); border-color: transparent; color: var(--neon-ink); }
.calc-current { margin: 0; font: 700 16px/1.3 var(--sans); color: var(--ink); min-height: 1.3em; }

.calc-allsteps { margin-top: 14px; }
.calc-allsteps summary { cursor: pointer; font: 700 13px/1 var(--sans); color: var(--muted); list-style: none; }
.calc-allsteps summary::-webkit-details-marker { display: none; }
.calc-allsteps summary:hover { color: var(--ink); }
.calc-allsteps[open] summary { margin-bottom: 10px; }
.calc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.calc-steps li {
  font: 600 14px/1.3 var(--sans); color: var(--muted); padding: 9px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s;
}
.calc-steps li:hover { color: var(--ink); }
.calc-steps li.current { color: var(--ink); background: rgba(62, 207, 122, .1); border-color: rgba(62, 207, 122, .35); }

.calc-receipts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 20px; }
.calc-receipt { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.calc-receipt span {
  display: block; font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  margin-bottom: 6px;
}
.calc-receipt b { display: block; font: 500 13px/1.35 var(--mono); color: var(--muted); }
.calc-receipt b + b { margin-top: 4px; }
.calc-receipt b.pos, .calc-receipt b.neg { font: 700 15px/1.3 var(--mono); } /* profit/loss stand out from put-in/back */
.calc-receipt b.pos { color: var(--neon); }
.calc-receipt b.neg { color: var(--bad); }

/* example dares */
.reel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reel figure {
  position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid var(--line); background: #000;
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.reel figure:hover img { transform: scale(1.05); }
.reel figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 16px 16px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .55) 55%, transparent);
}
.reel figcaption span { font-weight: 700; font-size: 16px; line-height: 1.2; }
.reel figcaption b { font: 500 28px/1 var(--mono); color: var(--gold); white-space: nowrap; }

/* optimistic flow */
.flow { display: grid; grid-template-columns: minmax(200px, .8fr) 1.6fr; gap: 0; align-items: center; }
.node { border-radius: 22px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line-hi); }
.node .k { display: block; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.node b { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.proof { position: relative; }
.proof::after { /* connector to the two branches */
  content: ""; position: absolute; left: 100%; top: 50%; width: 48px; height: 2px; background: var(--line-hi);
}
.branches { position: relative; display: grid; gap: 14px; padding-left: 96px; }
.branches::before { /* vertical spine */
  content: ""; position: absolute; left: 48px; top: 25%; bottom: 25%; width: 2px; background: var(--line-hi);
}
.branches .node { position: relative; }
.branches .node::before { content: ""; position: absolute; right: 100%; top: 50%; width: 48px; height: 2px; background: var(--line-hi); }
.node.ok { border-color: rgba(62, 207, 122, .5); background: linear-gradient(90deg, rgba(13, 42, 26, .9), var(--card)); }
.node.ok .k, .node.ok b { color: var(--neon); }
.node.dispute { border-color: rgba(245, 196, 81, .45); background: linear-gradient(90deg, rgba(43, 35, 12, .9), var(--card)); }
.node.dispute .k { color: var(--gold); }

.legend { margin-top: 22px; }
.legend summary { cursor: pointer; font: 700 14px/1 var(--sans); color: var(--muted); }
.legend summary:hover { color: var(--ink); }
.legend p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 54em; }

/* NFT holders */
.nft-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.nft-row img { width: 140px; height: 140px; border-radius: 18px; border: 1px solid var(--line-hi); background: #000; }
.link-ext { display: inline-block; margin-top: 4px; font: 700 14px/1 var(--sans); color: var(--neon); text-decoration: none; }
.link-ext:hover { text-decoration: underline; }

/* made by the swarm */
.credit-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.credit-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 14px 18px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.credit-list li span { font-weight: 700; margin-right: 6px; }
.credit-list a { font: 500 14px/1 var(--mono); color: var(--neon); text-decoration: none; }
.credit-list a:hover { text-decoration: underline; }
.credits .lead a { color: var(--toad); text-decoration: none; }
.credits .lead a:hover { text-decoration: underline; }

/* status tiles */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
}
.tile svg { grid-row: 1 / 3; width: 46px; height: 46px; color: var(--toad); }
.tile .big { font-size: clamp(36px, 3.6vw, 52px); line-height: 1; letter-spacing: -.03em; }
.tile span { color: var(--muted); font-weight: 600; }
.tile.soon { border-color: rgba(245, 196, 81, .35); }
.tile.soon svg, .tile.soon .big { color: var(--gold); }

/* final call */
.final { text-align: center; padding-bottom: clamp(40px, 6vw, 80px); }
.final .toad {
  width: clamp(200px, 24vw, 320px); height: auto; margin: 0 auto -6px;
  filter: drop-shadow(0 30px 60px rgba(62, 207, 122, .35)) drop-shadow(0 0 40px rgba(245, 196, 81, .2));
  animation: bob 5s ease-in-out infinite;
}
.final h2 { font-size: clamp(44px, 8vw, 120px); letter-spacing: -.04em; line-height: .95; }
.final .cta { justify-content: center; }
.warn { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* footer */
.foot {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.foot img { height: 30px; width: auto; opacity: .9; }
.foot nav { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

/* scroll reveal: CSS scroll-driven where supported, otherwise simply visible */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}

@keyframes pulse { 50% { opacity: .35; } }
@keyframes persona-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes chip-arc { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-30px); } }
@keyframes chip-arc-sm { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(62, 207, 122, 0); } 50% { box-shadow: 0 0 0 8px rgba(62, 207, 122, .35); } }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .t1 { left: -40px; } .t2 { right: -36px; } .t3 { left: -30px; }
  .reel { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .logo img { height: 28px; }
  .icon-btn { width: 38px; height: 38px; }
  .hero {
    grid-template-columns: 1fr; gap: 0; min-height: 0; text-align: left;
    padding-top: 14px; padding-bottom: 8px;
  }
  .hero-copy { display: contents; }
  .chip { display: none; }
  h1 { order: 1; font-size: clamp(34px, 9.6vw, 48px); line-height: .98; margin-bottom: 14px; }
  h1 .l1 { white-space: nowrap; }
  .stage { order: 2; width: 100%; }
  .phone {
    height: auto; min-height: 0; width: min(100%, calc((100svh - 190px) * 9 / 16));
    min-width: 260px; margin: 0 auto; border-radius: 26px;
  }
  .lead { order: 3; margin-top: 22px; font-size: 17px; }
  .hero .cta { order: 4; margin-top: 20px; }
  .hero .cta .btn { flex: 1 1 0; justify-content: center; padding: 0 12px; }
  .pills { order: 5; margin-top: 20px; }
  .glow { width: 120vw; right: -30%; top: 10%; }
  .tag { font-size: 17px; padding: 7px 10px 7px 18px; border-width: 2px; }
  .tag::before { left: 6px; width: 6px; height: 6px; margin-top: -3px; }
  .t1 { left: -6px; top: 22%; }
  .t2 { display: none; }
  .t3 { left: auto; right: -6px; bottom: auto; top: 46%; }
  .ticker { padding: 13px 0; margin-top: 28px; }
  .track i { width: 28px; height: 28px; font-size: 16px; }
  .calc-amount-row { flex-wrap: wrap; }
  #calc-currency { margin-left: 0; }
  .calc-stage { min-height: clamp(180px, 46vw, 220px); padding: clamp(66px, 20vw, 82px) 2px 10px; gap: 2px; }
  .calc-persona { gap: 6px; }
  .calc-persona svg, .calc-persona img { width: clamp(44px, 12vw, 52px); height: clamp(44px, 12vw, 52px); }
  .calc-persona b { font-size: 9.5px; }
  .calc-chip { top: 12px; width: clamp(38px, 11vw, 48px); }
  .calc-chip.flying .calc-chip-arc { animation-name: chip-arc-sm; }
  .calc-chip svg { width: clamp(30px, 8vw, 38px); height: clamp(30px, 8vw, 38px); padding: 6px; }
  .calc-chip span { font-size: 11px; }
  .calc-dot { width: 22px; height: 22px; font-size: 10px; }
  .calc-tab { padding: 9px 6px; font-size: 12px; }
  .calc-play { padding: 9px 12px; font-size: 12px; }
  .reel {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scrollbar-width: none;
  }
  .reel::-webkit-scrollbar { display: none; }
  .reel figure { flex: 0 0 72%; scroll-snap-align: center; }
  .flow { grid-template-columns: 1fr; }
  .proof::after { left: 32px; top: 100%; width: 2px; height: 28px; }
  .branches { padding: 28px 0 0 0; }
  .branches::before { left: 32px; top: 0; bottom: auto; height: 28px; width: 2px; }
  .branches .node::before { display: none; }
  .trust { grid-template-columns: 1fr; gap: 12px; }
  .tile { padding: 20px; }
  .nft-row img { width: 104px; height: 104px; }
  .credit-list li { padding: 12px 14px; }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
