/* =====================================================================
   TOYCOIN — styles
   Palette: Cranberry #B3262E · Evergreen #1F5A3D · Warm Cream #FFF4E3
            Toy Gold #D9A441 · Midnight Navy #1E2F5C
===================================================================== */
:root {
  --red: #B3262E;
  --red-deep: #8C1B22;
  --red-ink: #6E141A;
  --green: #1F5A3D;
  --green-deep: #15402B;
  --cream: #FFF4E3;
  --cream-2: #F8E7CC;
  --gold: #D9A441;
  --gold-hi: #F2C66B;
  --gold-lo: #A9781F;
  --navy: #1E2F5C;
  --navy-deep: #131F40;
  --ink: #1B2442;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-lg: 0 30px 60px -20px rgba(19, 31, 64, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--navy-deep); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: .98; letter-spacing: -.02em; margin: 0; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; }
h2 { font-size: clamp(44px, 6.4vw, 92px); }
h2 em, h1 em { font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.kicker { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker--gold { color: var(--gold); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 880px; }
.section-head h2 em { color: var(--red); }
.section-head--light h2 { color: var(--cream); }
.section-head--light h2 em { color: var(--gold); }
.section-sub { max-width: 620px; font-size: 18px; color: rgba(255, 244, 227, .72); margin: 22px 0 0; }

/* split text */
/* padding gives italic overhangs + descenders room inside the reveal mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .14em .12em .02em; margin: -.04em -.14em -.12em -.02em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--navy-deep);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn--gold { box-shadow: 0 10px 30px -10px rgba(217, 164, 65, .8), inset 0 -3px 0 rgba(0,0,0,.12); }
.btn--gold:hover { --bg: var(--gold-hi); }
.btn--ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 2px rgba(255, 244, 227, .45); }
.btn--ghost:hover { --bg: var(--cream); --fg: var(--red); }
.btn--cream { --bg: var(--cream); --fg: var(--green-deep); }
.btn--cream:hover { --bg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 2px rgba(255, 244, 227, .4); }
.btn--ghost-light:hover { --bg: var(--gold); --fg: var(--navy-deep); box-shadow: none; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 14px; border-radius: 999px;
  background: rgba(140, 27, 34, .0); transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.nav.is-solid { background: rgba(255, 244, 227, .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px -12px rgba(19, 31, 64, .35); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font: 700 21px/1 var(--f-display); letter-spacing: -.01em; transition: color .3s; }
.nav__brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255, 244, 227, .6); }
.nav.is-solid .nav__brand { color: var(--red); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { color: rgba(255, 244, 227, .86); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.nav__links a:hover { background: rgba(255, 244, 227, .14); color: var(--cream); }
.nav.is-solid .nav__links a { color: var(--navy); }
.nav.is-solid .nav__links a:hover { background: rgba(179, 38, 46, .1); color: var(--red); }
.nav__burger { display: none; margin-left: 4px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 244, 227, .16); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav.is-solid .nav__burger { background: rgba(179, 38, 46, .1); } .nav.is-solid .nav__burger span { background: var(--red); }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 76px var(--gutter) auto; z-index: 49; background: var(--cream); border-radius: 24px; padding: 14px; box-shadow: var(--shadow-lg); display: grid; }
.drawer[hidden] { display: none; }
.drawer a { padding: 14px 16px; font: 600 22px/1.2 var(--f-display); color: var(--navy); text-decoration: none; border-radius: 14px; }
.drawer a:hover { background: var(--cream-2); color: var(--red); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 700px at 78% 40%, #C9343C 0%, transparent 60%),
    radial-gradient(900px 600px at 0% 100%, var(--red-deep) 0%, transparent 70%),
    var(--red);
  color: var(--cream);
  padding: clamp(120px, 16vh, 170px) 0 clamp(110px, 14vh, 150px);
}
.hero::before { /* subtle gift-wrap diagonal stripes */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background: repeating-linear-gradient(135deg, var(--cream) 0 2px, transparent 2px 46px);
  mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent);
}
.hero__glow { position: absolute; width: 640px; height: 640px; right: 4%; top: 12%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(242, 198, 107, .45), rgba(217, 164, 65, 0) 62%); filter: blur(10px); }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 244, 227, .12); box-shadow: inset 0 0 0 1px rgba(255, 244, 227, .22); font: 500 14px/1 var(--f-mono); letter-spacing: .02em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(217, 164, 65, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(217, 164, 65, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0); } }
.hero__title { font-size: clamp(56px, 8.6vw, 132px); line-height: .92; color: var(--cream); }
.hero__title em { color: var(--gold); }
.hero__lede { max-width: 540px; margin: 28px 0 36px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 244, 227, .86); }
.hero__lede strong { color: var(--cream); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.ca { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 10px 8px 8px; border-radius: 14px; border: 0; cursor: pointer; background: rgba(19, 31, 64, .28); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(255, 244, 227, .18); font: 500 14px/1 var(--f-mono); transition: background .3s; }
.ca:hover { background: rgba(19, 31, 64, .45); }
.ca__label { padding: 7px 9px; border-radius: 8px; background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.ca__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca__copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .8; }

.hero__stage { position: relative; aspect-ratio: 1 / 1.02; }
.coin-wrap { position: absolute; inset: -6% -6% 10%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.coin-wrap.is-dragging { cursor: grabbing; }
.coin-hint { transition: opacity .4s; }
#coin { width: 100%; height: 100%; }
.coin-fallback { position: absolute; inset: 18%; width: 64%; border-radius: 50%; box-shadow: 0 0 0 14px var(--gold), var(--shadow-lg); display: none; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.coin-wrap.no-webgl .coin-fallback { display: block; animation: bob 4s ease-in-out infinite; }
#coin { -webkit-user-drag: none; user-select: none; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-3deg); } }
.coin-hint { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 244, 227, .55); }

.blocks { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.block { width: clamp(58px, 6vw, 84px); aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; position: relative; box-shadow: inset 0 -8px 0 rgba(0,0,0,.16), inset 0 3px 0 rgba(255,255,255,.25), 0 18px 30px -12px rgba(0,0,0,.45); }
.block span { font: 800 clamp(34px, 3.6vw, 50px)/1 var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.block::before { content: ""; position: absolute; inset: 7px; border-radius: 7px; border: 2px dashed rgba(255,255,255,.35); }
.block--t { background: var(--gold); color: var(--red-deep); transform: rotate(-6deg); }
.block--o { background: var(--green); color: var(--cream); transform: translateY(-10px) rotate(3deg); }
.block--y { background: var(--cream); color: var(--red); transform: rotate(7deg); }

.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 74px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 244, 227, .6); }
.hero__scroll i { width: 2px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.edge { position: absolute; left: 0; width: 100%; height: 40px; z-index: 3; }
.edge--bottom { bottom: -1px; }
.edge path { fill: var(--navy-deep); }

/* ---------- marquee ---------- */
.marquee { background: var(--navy-deep); color: var(--gold); overflow: hidden; padding: 20px 0 22px; border-bottom: 1px solid rgba(217,164,65,.18); }
.marquee__track { display: flex; gap: 34px; width: max-content; white-space: nowrap; font: 600 clamp(22px, 2.6vw, 34px)/1 var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; will-change: transform; }
.marquee__track i { font-style: normal; color: var(--red); font-size: .7em; align-self: center; }
.marquee__track span:nth-of-type(2n) { color: var(--cream); }

/* ---------- gift journey ---------- */
.journey { position: relative; padding: clamp(90px, 12vw, 150px) 0; background: var(--cream); overflow: hidden; }
.journey::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(rgba(179, 38, 46, .1) 1.5px, transparent 1.5px); background-size: 28px 28px; pointer-events: none; }
.journey .wrap { position: relative; }
.journey__head { margin-bottom: 34px; }
.journey__lede { margin: 20px 0 0; max-width: 560px; font-size: 18px; color: rgba(27, 36, 66, .75); }
.journey__pin { position: relative; }
.journey__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.journey__hint { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(27, 36, 66, .6); display: inline-flex; gap: 8px; align-items: center; }
.journey__hint i { font-style: normal; color: var(--red); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.journey__progress { flex: 0 1 280px; height: 6px; border-radius: 99px; background: rgba(30, 47, 92, .1); overflow: hidden; }
.journey__progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: inherit; }
.stage { position: relative; border-radius: 28px; background: linear-gradient(180deg, #FFFBF3 0%, #FBEBD2 100%); box-shadow: inset 0 0 0 2px rgba(217, 164, 65, .35), 0 40px 80px -40px rgba(30, 47, 92, .45); overflow: hidden; }
.stage__scroller { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stage__scroller::-webkit-scrollbar { display: none; }
.stage__svg { width: 100%; height: auto; }
@media (max-width: 760px) { .stage__svg { width: 860px; max-width: none; } }
.stage__svg .j-mono { font: 500 15px var(--f-mono); }
.stage__svg .j-bold { font-weight: 700; }
.stage__svg .j-big { font: 700 34px var(--f-display); }
.stage__svg .j-sign { font-size: 13px; letter-spacing: .04em; }
.stage__svg .j-small { font-size: 12px; }
.stage__svg .j-node { font-size: 14px; }
.stage__svg .j-coin { font: 700 26px var(--f-body); }
.stage__svg .j-tag { font: 700 14px var(--f-body); }
.stage__svg .j-bubble { font: 700 italic 22px var(--f-display); }
.stage__caption { margin: 0; padding: 16px 22px 20px; min-height: 3.6em; font-size: 17px; color: var(--navy); border-top: 1px dashed rgba(217, 164, 65, .5); background: rgba(255, 255, 255, .5); }
.jsteps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.jsteps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; font-weight: 600; font-size: 15px; color: rgba(27, 36, 66, .5); box-shadow: inset 0 0 0 1px rgba(30, 47, 92, .08); transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.jsteps li b { font: 600 12px/1 var(--f-mono); padding: 6px 7px; border-radius: 8px; background: rgba(30, 47, 92, .08); }
.jsteps li.is-done { color: var(--green); }
.jsteps li.is-done b { background: var(--green); color: var(--cream); }
.jsteps li.is-active { background: var(--red); color: var(--cream); transform: translateY(-3px); box-shadow: 0 14px 26px -14px rgba(179, 38, 46, .8); }
.jsteps li.is-active b { background: var(--gold); color: var(--navy-deep); }

/* ---------- tracker ---------- */
.tracker { position: relative; background: radial-gradient(1000px 600px at 85% 0%, #23366B 0%, transparent 60%), var(--navy-deep); color: var(--cream); padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image:
  radial-gradient(1.5px 1.5px at 20px 30px, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 120px 80px, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 200px 160px, var(--gold-hi) 50%, transparent 51%),
  radial-gradient(1px 1px at 300px 40px, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 380px 200px, #fff 50%, transparent 51%);
  background-size: 420px 260px; animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.tracker .kicker { color: var(--gold); }
.tracker .wrap { position: relative; }

.tracker__status { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 244, 227, .06); box-shadow: inset 0 0 0 1px rgba(255, 244, 227, .1); font-size: 15px; color: rgba(255, 244, 227, .82); }
.pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: ping 2s infinite; }
.tracker__status.is-live .pulse { background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
.tracker__status.is-idle .pulse { background: var(--gold); animation: none; }
.tracker__status.is-error .pulse { background: var(--red); animation: none; }
.tracker__status.is-loading .pulse { animation: spin 1s linear infinite; border-radius: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; }
.stat { position: relative; min-width: 0; padding: 26px 24px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 244, 227, .07), rgba(255, 244, 227, .03)); box-shadow: inset 0 0 0 1px rgba(255, 244, 227, .1); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.stat:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(217, 164, 65, .45); }
.stat__label { margin: 0 0 18px; font: 500 13px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 244, 227, .62); display: flex; align-items: center; gap: 8px; }
.stat__value { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font: 600 clamp(30px, 2.9vw, 44px)/1.05 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat__value small { font: 500 15px/1 var(--f-mono); color: rgba(255, 244, 227, .55); letter-spacing: 0; }
.stat__usd { margin: 12px 0 0; font: 500 15px/1 var(--f-mono); color: rgba(255, 244, 227, .6); }
.stat--big { background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%); box-shadow: 0 30px 60px -30px rgba(179, 38, 46, .8); }
.stat--big .stat__value { font-size: clamp(40px, 4.2vw, 62px); }
.stat--big .stat__label, .stat--big .stat__usd, .stat--big small { color: rgba(255, 244, 227, .78); }
.stat--big::after { content: ""; position: absolute; right: 0; top: 0; width: 120px; height: 120px; border-radius: 0 var(--radius) 0 100%; background: repeating-linear-gradient(45deg, rgba(255,244,227,.12) 0 8px, transparent 8px 16px); pointer-events: none; }
.stat > * { position: relative; z-index: 1; }
.stat--gold .stat__value span { color: var(--gold); }
.stat--green .stat__value span { color: #7FD3A3; }
.tip { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; background: rgba(255, 244, 227, .14); cursor: help; position: relative; text-transform: none; letter-spacing: 0; }
.tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: 240px; padding: 12px 14px; border-radius: 12px; background: var(--cream); color: var(--ink); font: 500 13px/1.45 var(--f-body); opacity: 0; pointer-events: none; transition: .25s var(--ease); box-shadow: var(--shadow-lg); z-index: 5; }
.tip:hover::after, .tip:focus::after { opacity: 1; transform: translate(-50%, 0); }

.ribbon-meter { margin-top: 18px; padding: 24px; border-radius: var(--radius); background: rgba(255, 244, 227, .04); box-shadow: inset 0 0 0 1px rgba(255, 244, 227, .08); }
.ribbon-meter__head { display: flex; justify-content: space-between; margin-bottom: 14px; font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 244, 227, .65); }
.ribbon-meter__head span:last-child { color: var(--gold); font-weight: 600; }
.ribbon-meter__bar { position: relative; height: 22px; border-radius: 999px; background: repeating-linear-gradient(135deg, rgba(255,244,227,.06) 0 10px, rgba(255,244,227,.02) 10px 20px); }
.ribbon-meter__fill { position: absolute; inset: 0 auto 0 0; width: 0%; border-radius: inherit; background: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--cream) 14px 28px); box-shadow: 0 0 24px rgba(179, 38, 46, .6); background-size: 40px 40px; animation: candy 1.2s linear infinite; }
@keyframes candy { to { background-position: 40px 0; } }
.ribbon-meter__lock { margin: 16px 0 0; display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255, 244, 227, .78); }
.ribbon-meter__lock::before { content: ""; flex: none; width: 14px; height: 16px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Crect x='1' y='7' width='12' height='9' rx='2' fill='%23D9A441'/%3E%3Cpath d='M4 7V5a3 3 0 0 1 6 0v2' fill='none' stroke='%23D9A441' stroke-width='2'/%3E%3C/svg%3E"); }
.ribbon-meter__bow { position: absolute; top: 50%; left: 0%; width: 42px; height: 30px; transform: translate(-50%, -50%); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M30 20C18 2 2 4 4 16c1 8 14 6 26 4zM30 20c12-18 28-16 26-4-1 8-14 6-26 4z' fill='%23D9A441'/%3E%3Cpath d='M30 20l-10 18 6-1 4 3zM30 20l10 18-6-1-4 3z' fill='%23A9781F'/%3E%3Ccircle cx='30' cy='20' r='6' fill='%23F2C66B'/%3E%3C/svg%3E"); filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }

.ledger { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 18px; }
.ledger__col { padding: 26px; border-radius: var(--radius); background: rgba(255, 244, 227, .04); box-shadow: inset 0 0 0 1px rgba(255, 244, 227, .08); min-width: 0; }
.ledger h3 { font-size: 26px; margin-bottom: 18px; color: var(--cream); }
.ledger__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ledger__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 244, 227, .05); font: 500 14px/1.2 var(--f-mono); }
.ledger__list li .gift { width: 30px; height: 30px; border-radius: 8px; background: var(--green); display: grid; place-items: center; font-size: 15px; }
.ledger__list li a { color: rgba(255, 244, 227, .7); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger__list li a:hover { color: var(--gold); }
.ledger__list li b { color: var(--gold); font-weight: 600; }
.ledger__list .ledger__empty { display: block; background: none; color: rgba(255, 244, 227, .55); font-family: var(--f-body); font-size: 15px; padding: 6px 0; }
.ledger__meta { margin: 0; display: grid; gap: 2px; }
.ledger__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 244, 227, .12); font-size: 14px; }
.ledger__meta dt { color: rgba(255, 244, 227, .55); }
.ledger__meta dd { margin: 0; font-family: var(--f-mono); text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger__meta dd a { color: var(--gold); text-decoration: none; }
.ledger__meta dd a:hover { text-decoration: underline; }

/* ---------- how it works ---------- */
.how { position: relative; padding: clamp(90px, 12vw, 160px) 0; background: var(--cream); overflow: hidden; }
.how::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(30, 47, 92, .08) 1.5px, transparent 1.5px); background-size: 26px 26px; pointer-events: none; }
.how__track { position: relative; }
.how__ribbon { position: absolute; left: 0; top: 40px; width: 100%; height: 220px; overflow: visible; pointer-events: none; }
.how__ribbon path { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 6px 0 rgba(169, 120, 31, .35)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step { position: relative; padding: 30px 26px 30px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(30, 47, 92, .06), 0 24px 50px -30px rgba(30, 47, 92, .45); transition: translate .5s var(--ease), rotate .5s var(--ease); }
.step:nth-child(even) { margin-top: 70px; }
.step:hover { translate: 0 -6px; rotate: -.6deg; }
.step__num { position: absolute; top: 22px; right: 24px; font: 600 14px/1 var(--f-mono); color: rgba(30, 47, 92, .35); }
.step__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--red); margin-bottom: 26px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.15); }
.step:nth-child(2) .step__icon { background: var(--green); }
.step:nth-child(3) .step__icon { background: var(--navy); }
.step:nth-child(4) .step__icon { background: var(--gold); }
.step__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--cream); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.step:nth-child(4) .step__icon svg { stroke: var(--navy-deep); }
.step h3 { font-size: 28px; color: var(--navy); margin-bottom: 12px; }
.step p { margin: 0; color: rgba(27, 36, 66, .78); font-size: 16px; }

/* ---------- charity ---------- */
.charity { position: relative; overflow: hidden; background: radial-gradient(900px 600px at 90% 30%, #2A7350 0%, transparent 65%), var(--green); color: var(--cream); padding: clamp(90px, 12vw, 160px) 0; isolation: isolate; }
.charity::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background: repeating-linear-gradient(45deg, var(--cream) 0 2px, transparent 2px 40px), repeating-linear-gradient(-45deg, var(--cream) 0 2px, transparent 2px 40px); }
.charity__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.charity h2 { color: var(--cream); margin-bottom: 30px; font-size: clamp(40px, 5.4vw, 78px); }
.charity h2 em { color: var(--gold); }
.charity__copy > p { font-size: 18px; color: rgba(255, 244, 227, .86); max-width: 540px; }
.charity__copy strong { color: var(--cream); }
.charity__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.fine { font-size: 13px !important; color: rgba(255, 244, 227, .55) !important; max-width: 520px; line-height: 1.5; }
.toybox { position: relative; aspect-ratio: 1; }
.toy { position: absolute; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .28)); will-change: transform; }
.toy--bear { width: 42%; left: 29%; top: 26%; border-radius: 28px; box-shadow: 0 0 0 8px var(--gold), 0 40px 60px -20px rgba(0,0,0,.5); filter: none; z-index: 2; }
.toy--train { width: 50%; left: 2%; top: 70%; }
.toy--rocket { width: 18%; right: 6%; top: 4%; }
.toy--drum { width: 30%; left: 0; top: 12%; }
.toy--duck { width: 26%; right: 0; top: 60%; }
.toy--gift { width: 22%; left: 52%; top: -2%; }
.toy--ball { width: 17%; left: 72%; top: 38%; z-index: 3; }

/* ---------- tokenomics ---------- */
.tokenomics { padding: clamp(90px, 12vw, 160px) 0 clamp(110px, 13vw, 180px); background: var(--cream-2); position: relative; overflow: hidden; }
.tokenomics::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: radial-gradient(circle at 12px -4px, var(--green) 12px, transparent 13px) 0 0 / 24px 18px repeat-x; }
.tags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 22px; perspective: 1000px; }
.tag { --c: var(--cream); --t: var(--navy); position: relative; padding: 52px 30px 32px 30px; border-radius: 18px 18px 18px 18px; background: var(--c); color: var(--t); transform-origin: 50% -30px; box-shadow: 0 24px 40px -24px rgba(19, 31, 64, .5); clip-path: polygon(14% 0, 86% 0, 100% 13%, 100% 100%, 0 100%, 0 13%); transition: translate .6s var(--ease), rotate .6s var(--ease); }
.tag:hover { rotate: -2.5deg; translate: 0 -4px; }
.tag:nth-child(even):hover { rotate: 2.5deg; }
.tag__hole { position: absolute; top: 18px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--cream-2); box-shadow: inset 0 0 0 3px rgba(0,0,0,.12); }
.tag::before { content: ""; position: absolute; top: -60px; left: 50%; width: 2px; height: 80px; background: var(--gold-lo); transform: rotate(8deg); transform-origin: bottom; opacity: .7; }
.tag__k { margin: 0 0 10px; font: 500 13px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; text-align: center; }
.tag__v { margin: 0; font: 600 clamp(30px, 3.2vw, 44px)/1.05 var(--f-display); letter-spacing: -.02em; text-align: center; font-variation-settings: "SOFT" 100, "WONK" 1; }
.tag__v small { font: 500 15px/1.4 var(--f-body); letter-spacing: 0; opacity: .75; }
.tag--red { --c: var(--red); --t: var(--cream); }
.tag--green { --c: var(--green); --t: var(--cream); }
.tag--gold { --c: var(--gold); --t: var(--navy-deep); }
.tag--navy { --c: var(--navy); --t: var(--cream); }
.tag--cream { --c: #fff; }

/* ---------- countdown ---------- */
.countdown { position: relative; overflow: hidden; background: radial-gradient(800px 500px at 50% 0%, #C9343C, transparent 70%), var(--red-deep); color: var(--cream); padding: clamp(90px, 12vw, 150px) 0; text-align: center; isolation: isolate; }
.countdown__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 20px); margin: 10px 0 34px; width: min(820px, 100%); perspective: 800px; }
.door { position: relative; padding: clamp(18px, 3vw, 34px) 8px; border-radius: 18px; background: linear-gradient(180deg, var(--cream), var(--cream-2)); color: var(--red); box-shadow: inset 0 -6px 0 rgba(0,0,0,.08), 0 24px 40px -20px rgba(0,0,0,.5); }
.door::before { content: ""; position: absolute; inset: 8px; border-radius: 12px; border: 2px dashed rgba(179, 38, 46, .25); pointer-events: none; }
.door b { display: block; font: 700 clamp(44px, 8vw, 110px)/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.03em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.door span { display: block; margin-top: 8px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.countdown__line { font: 500 italic clamp(24px, 3vw, 38px)/1.2 var(--f-display); margin: 0 0 30px; max-width: 760px; }

/* ---------- faq ---------- */
.faq { padding: clamp(90px, 12vw, 160px) 0; background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq .section-head { position: sticky; top: 120px; }
.faq__list details { border-bottom: 2px solid rgba(30, 47, 92, .1); }
.faq__list summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font: 600 clamp(20px, 2vw, 26px)/1.25 var(--f-display); color: var(--navy); transition: color .25s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--red); }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--red) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23FFF4E3' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .4s var(--ease), background-color .3s; }
.faq__list details[open] summary::after { transform: rotate(135deg); background-color: var(--green); }
.faq__list p { margin: 0 0 26px; max-width: 620px; color: rgba(27, 36, 66, .8); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: var(--cream); padding: 80px 0 34px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 244, 227, .12); }
.footer__brand img { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 18px; }
.footer__word { margin: 0; font: 700 clamp(56px, 10vw, 140px)/.85 var(--f-display); letter-spacing: -.04em; color: var(--cream); font-variation-settings: "SOFT" 100, "WONK" 1; }
.footer__tag { margin: 14px 0 0; font: italic 500 20px/1 var(--f-display); color: var(--gold); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__links a { padding: 10px 16px; border-radius: 999px; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 244, 227, .2); font-size: 15px; transition: background .25s, color .25s; }
.footer__links a:hover { background: var(--gold); color: var(--navy-deep); }
.footer__legal { margin-top: 26px; font-size: 13px; color: rgba(255, 244, 227, .5); max-width: 900px; margin-inline: auto; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translate(-50%, 140%); padding: 14px 20px; border-radius: 14px; background: var(--navy-deep); color: var(--cream); font-weight: 500; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .jsteps { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(even) { margin-top: 0; }
  .how__ribbon { display: none; }
}
@media (max-width: 900px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { max-width: 460px; width: 100%; margin: 10px auto 0; }
  .hero__scroll { display: none; }
  .ledger, .charity__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .tags { grid-template-columns: 1fr 1fr; }
  .toybox { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats, .steps { grid-template-columns: 1fr; }
  .jsteps { grid-template-columns: 1fr 1fr; }
  .jsteps li { font-size: 14px; padding: 10px; }
  .stage__caption { font-size: 15px; padding: 14px 16px 16px; }
  .tags { grid-template-columns: 1fr; gap: 50px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .ca { width: 100%; }
  .eyebrow { font-size: 12px; line-height: 1.35; border-radius: 14px; align-items: flex-start; }
  .eyebrow .dot { margin-top: 4px; flex: none; }
  .door span { font-size: 10px; letter-spacing: .06em; }
  .ledger__list li { grid-template-columns: auto 1fr; }
  .ledger__list li a { grid-column: 1 / -1; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
