/* ============================================================
   demothree · the site
   One long page = one day in the sky: noon (hero) → afternoon
   (the three heads) → golden hour (playground) → sunset into
   night (the on-chain record, where the fees flow) → dawn (the art) →
   morning (address, faq) → day again (footer).
   Type: Outfit (display) · DM Sans (text) · Spline Sans Mono (data),
   all OFL and self-hosted. Japanese uses the system gothic.
   No CDN, no external request: everything is served by Django.
   ============================================================ */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-var.e3c90dae7c8b.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-var.d2e4e99fd381.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-italic-var.d28befd04e96.woff2") format("woff2");
  font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Spline Sans Mono"; src: url("../fonts/spline-sans-mono-var.4ebf124f4aa2.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0a1638;
  --ink-2: #2a3a66;
  --ink-3: #5a6891;
  --night-ink: #e9efff;
  --night-dim: #a9b5da;
  --volt: #8cff5a;          /* the coin green */
  --volt-ink: #237a00;      /* green text on light skies */
  --shiba: #f39a3b;
  --shiba-ink: #a9510a;
  --up: #1d8a38;
  --down: #cf3558;
  --up-n: #8cff5a;
  --down-n: #ff8aa2;
  /* Chinese / Japanese glyphs come from the reader's own system fonts (no download) */
  --f-cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", "Noto Sans CJK JP", Meiryo;
  --f-display: "Outfit", var(--f-cjk), ui-rounded, "Avenir Next", system-ui, sans-serif;
  --f-text: "DM Sans", var(--f-cjk), system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Spline Sans Mono", var(--f-cjk), ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-jp: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

html:lang(zh) { --f-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC"; }

/* ---------- base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #bfe0ff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: var(--f-mono); }
p { text-wrap: pretty; }
[lang="ja"] { font-family: var(--f-jp); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1em; height: 1em; flex: none; fill: currentColor; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 8px; }
.skip {
  position: fixed; left: 12px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
.up { color: var(--up); }
.down { color: var(--down); }
[data-tone="dark"] .up { color: var(--up-n); }
[data-tone="dark"] .down { color: var(--down-n); }

/* ---------- buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 50px; padding: 0 1.4em; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--f-display); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: translate .35s var(--spring), box-shadow .35s var(--ease), background .25s;
}
.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0 0; scale: .98; }
.btn .ico { width: 1.05em; height: 1.05em; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 12px 30px -12px rgba(10, 22, 56, .7); }
.btn-volt { background: var(--volt); color: #062100; box-shadow: 0 10px 30px -12px rgba(140, 255, 90, .85); }
.btn-glass {
  background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .24); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }

/* ---------- nav -------------------------------------------------------- */
.nav {
  --nav-bg: rgba(6, 26, 84, .26); --nav-fg: #fff; --nav-line: rgba(255, 255, 255, .24);
  --nav-hover: rgba(255, 255, 255, .14); --nav-inv: var(--ink);
  position: fixed; top: 14px; left: 50%; z-index: 50; translate: -50% 0;
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 7px 7px 10px; border-radius: 999px;
  background: var(--nav-bg); color: var(--nav-fg); border: 1px solid var(--nav-line);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  transition: background .45s, color .45s, border-color .45s, box-shadow .45s;
}
.nav[data-tone="light"] {
  --nav-bg: rgba(255, 255, 255, .74); --nav-fg: var(--ink); --nav-line: rgba(10, 22, 56, .08);
  --nav-hover: rgba(10, 22, 56, .06); --nav-inv: #fff;
  box-shadow: 0 12px 40px -22px rgba(10, 22, 56, .45);
}
.nav[data-tone="night"] {
  --nav-bg: rgba(10, 14, 44, .62); --nav-line: rgba(255, 255, 255, .12);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--f-display); letter-spacing: -.035em; }
.nav-brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2px var(--volt); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 10px 13px; border-radius: 999px; text-decoration: none;
  font: 500 13px/1 var(--f-mono); letter-spacing: .02em; opacity: .84;
  transition: background .2s, opacity .2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; background: var(--nav-hover); }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--volt); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--nav-hover); }
.lang a { min-width: 30px; padding: 8px 8px; border-radius: 999px; text-align: center; text-decoration: none; font: 600 12px/1 var(--f-mono); opacity: .72; }
.lang a[aria-current] { background: var(--nav-fg); color: var(--nav-inv); opacity: 1; }
.nav-x {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--nav-hover); text-decoration: none; transition: background .2s, translate .3s var(--spring);
}
.nav-x:hover { translate: 0 -1px; background: var(--nav-fg); color: var(--nav-inv); }
.nav-x .ico { width: 16px; height: 16px; }
.nav-burger {
  display: none; place-content: center; gap: 4px; width: 42px; height: 42px; padding: 0;
  border-radius: 50%; border: 0; background: var(--nav-hover);
}
.nav-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: .3s var(--ease); }
.nav-burger[aria-expanded="true"] i:nth-child(2) { translate: 0 6px; rotate: 45deg; }
.nav-burger[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.nav-burger[aria-expanded="true"] i:nth-child(4) { translate: 0 -6px; rotate: -45deg; }

.sheet {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 100px 28px 34px; color: #fff; overflow-y: auto;
  background: linear-gradient(180deg, #06267a 0%, #1d63d4 45%, #6fb2f2 80%, #bfe0ff 100%);
}
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 5px 0; text-decoration: none;
  font: 800 clamp(36px, 11vw, 60px)/1.08 var(--f-display); letter-spacing: -.045em;
}
.sheet nav small { font: 500 13px/1 var(--f-mono); letter-spacing: .08em; opacity: .7; }
.sheet-kana { margin: 0; align-self: flex-end; font-size: 58px; font-weight: 800; writing-mode: vertical-rl; opacity: .3; }

/* ---------- clouds, stars, coins -------------------------------------- */
.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: max(calc(var(--w) * 1vw), calc(var(--w) * 5.5px)); height: auto; aspect-ratio: 2 / 1;
  overflow: visible;
  animation: drift calc(var(--d) * 1s) ease-in-out calc(var(--dl) * 1s) infinite alternate;
}
.cloud.flip { scale: -1 1; }
@keyframes drift { from { translate: -2.6vw 0; } to { translate: 2.6vw 0; } }
.cloud.day { --cs: #9db8e3; --cm: #cddcf3; --cl: #f0f6ff; --ch: #fff; }
.cloud.far { --cs: #7aa2dd; --cm: #9dbdea; --cl: #bfd7f7; --ch: #dcebff; --cho: .8; opacity: .8; }
.cloud.soft { --cs: #c6d7f0; --cm: #e0eaf8; --cl: #f7faff; --ch: #fff; opacity: .92; }
.cloud.gold { --cs: #ee8f5f; --cm: #fbb987; --cl: #ffdcb3; --ch: #fff2df; }
.cloud.sunset { --cs: #ffae78; --cm: #d0628a; --cl: #a4407b; --ch: #b9508a; --cho: .8; }
.cloud.dawn { --cs: #e27a93; --cm: #f5a4a9; --cl: #ffd3c1; --ch: #fff0e6; }

.stars {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: url("../img/stars-a.862a9e09dd75.svg"), url("../img/stars-b.9ba29c3ac244.svg"), url("../img/stars-c.fc604e49a65c.svg");
  background-size: 420px 420px, 620px 620px, 900px 900px;
}
.stars::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/stars-a.862a9e09dd75.svg"); background-size: 520px 520px; background-position: 210px 130px;
  animation: twinkle 4.5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .1; } to { opacity: .95; } }
.shoot {
  position: absolute; top: 34%; left: 12%; width: 170px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); rotate: -22deg; opacity: 0;
  animation: shoot 10s ease-in 3s infinite;
}
.shoot.s2 { top: 58%; left: 58%; animation-duration: 14s; animation-delay: 8s; }
.shoot.s3 { top: 16%; left: 34%; animation-duration: 12s; animation-delay: 5s; }
@keyframes shoot {
  0% { transform: translateX(0); opacity: 0; }
  2% { opacity: 1; }
  7% { transform: translateX(460px); opacity: 0; }
  100% { transform: translateX(460px); opacity: 0; }
}

/* ---------- 00 hero · noon -------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 100px var(--gutter) 200px; color: #fff;
  background: linear-gradient(180deg, #05237a 0%, #0a45b6 24%, #2170dc 50%, #5fa6ef 75%, #bfe0ff 100%);
}
.hero-sky { position: absolute; inset: 0; z-index: -1; }
.sunlight {
  position: absolute; right: -32vmax; top: -44vmax; width: 96vmax; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .6) 0%, rgba(214, 236, 255, .24) 26%, rgba(255, 255, 255, 0) 60%);
}
.flyers { position: absolute; inset: 0; overflow: hidden; }
.flyer {
  position: absolute; left: 0; top: 0; width: var(--s);
  animation: fly var(--t) linear var(--dl) infinite; will-change: transform;
}
.flyer svg { width: 100%; height: auto; aspect-ratio: 120 / 84; rotate: -16deg; filter: drop-shadow(0 12px 14px rgba(3, 20, 70, .38)); }
.flyer.far { opacity: .7; }
.flyer.far svg { filter: blur(.5px); }
@keyframes fly {
  from { transform: translate3d(-22vw, calc(var(--y0) * 1vh), 0) rotate(-6deg); }
  to { transform: translate3d(122vw, calc(var(--y1) * 1vh), 0) rotate(9deg); }
}
.trail {
  position: absolute; right: 58%; top: 42%; width: 230%; height: 3px; border-radius: 3px;
  transform-origin: right center; rotate: -14deg;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .8));
}
.trail.t2 { top: 62%; width: 150%; height: 2px; opacity: .6; }

.vtext { position: absolute; z-index: 0; margin: 0; writing-mode: vertical-rl; pointer-events: none; }
.vtext-l {
  left: max(10px, 2.2vw); top: 15%;
  font-size: clamp(56px, 8.4vw, 132px); font-weight: 800; line-height: 1; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 1.3px rgba(255, 255, 255, .42);
}
.vtext-r {
  right: max(14px, 2.6vw); top: 24%;
  font-size: 13px; font-weight: 600; letter-spacing: .62em; color: rgba(255, 255, 255, .85);
  text-shadow: 0 1px 10px rgba(3, 25, 90, .5);
}

.hero-inner {
  position: relative; z-index: 2; max-width: 1100px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 9px 15px 9px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-kicker .ico { width: 15px; height: 15px; color: var(--volt); }

.portal { position: relative; width: min(430px, 76vw, 44vh); min-width: 250px; aspect-ratio: 1; }
.portal-ring {
  position: absolute; inset: -3%; width: 106%; height: 106%; max-width: none; overflow: visible;
  font: 600 19px var(--f-mono); letter-spacing: .14em; fill: rgba(255, 255, 255, .92);
  animation: spin 70s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.portal-disc {
  position: absolute; inset: 10.5%; padding: 0; border: 0; border-radius: 50%; overflow: hidden;
  background: #0b2a6e; cursor: pointer;
  box-shadow: 0 0 0 6px var(--volt), 0 0 0 7.5px rgba(6, 33, 0, .35),
              0 0 70px 8px rgba(140, 255, 90, .42), 0 44px 80px -24px rgba(2, 16, 60, .75);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.portal-disc img { width: 100%; height: 100%; object-fit: cover; scale: 1.02; transition: scale 1s var(--ease); }
.portal-disc:hover img { scale: 1.08; }
.portal.woof .portal-disc { animation: woof .5s var(--spring); }
@keyframes woof { 30% { scale: 1.06; rotate: -3deg; } 60% { scale: .98; rotate: 2deg; } }
.woofs { position: absolute; inset: 0; pointer-events: none; }
.woofs span {
  position: absolute; left: var(--x); top: var(--y);
  padding: 6px 12px; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--ink);
  font: 800 20px/1 var(--f-display); white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(3, 20, 70, .5);
  animation: bubble 1.4s var(--ease) forwards;
}
@keyframes bubble {
  0% { opacity: 0; transform: translateY(10px) scale(.6); }
  18% { opacity: 1; transform: translateY(0) scale(1.08); }
  30% { transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-30px); }
}

.wordmark {
  position: relative; z-index: 3; margin: -.3em 0 0; white-space: nowrap;
  font: 800 clamp(52px, 13vw, 178px)/.84 var(--f-display); letter-spacing: -.06em;
  text-shadow: 0 10px 50px rgba(3, 25, 90, .38);
}
.wordmark span { display: inline-block; }
.hero-kana {
  display: flex; align-items: center; gap: 14px; margin: 18px 0 0;
  font: 500 clamp(15px, 1.6vw, 19px)/1 var(--f-display); letter-spacing: .02em;
}
.hero-kana [lang="ja"] { font-weight: 700; letter-spacing: .14em; }
.hero-kana i { width: 30px; height: 1.5px; background: currentColor; opacity: .6; }
.hero-lead {
  max-width: 36em; margin: 18px auto 0;
  font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .95); text-wrap: balance;
  text-shadow: 0 1px 2px rgba(3, 25, 90, .35), 0 2px 18px rgba(3, 25, 90, .45);
}
.hero-lead b { color: #fff; font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.ca {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 17px;
  border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .5); background: rgba(6, 20, 60, .3);
  font: 500 14px/1 var(--f-mono); color: #fff; overflow: hidden;
  transition: background .25s, translate .35s var(--spring);
}
.ca:hover { background: rgba(6, 20, 60, .45); translate: 0 -2px; }
.ca-k { font-weight: 700; color: var(--volt); }
.ca-done {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit;
  background: var(--volt); color: #062100; font: 700 14px/1 var(--f-mono);
  opacity: 0; scale: .9; transition: opacity .3s, scale .4s var(--spring); pointer-events: none;
}
.copied .ca-done { opacity: 1; scale: 1; }

.hero > .clouds { z-index: 1; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; translate: -50% 0; white-space: nowrap;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
}
.scroll-hint i { width: 1.5px; height: 40px; background: linear-gradient(var(--ink-2), transparent); transform-origin: top; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { scale: 1 0; } 50% { scale: 1 1; } 100% { scale: 1 1; opacity: 0; } }

/* hero entrance (only when JS is on, so no-JS never hides anything) */
.js .portal { animation: pop 1.2s var(--spring) .05s both; }
.js .wordmark span { animation: rise 1s var(--spring) both; animation-delay: calc(.3s + var(--i) * 55ms); }
.js .hero-kicker { animation: fadeUp .9s var(--ease) .05s both; }
.js .hero-kana { animation: fadeUp .9s var(--ease) .85s both; }
.js .hero-lead { animation: fadeUp .9s var(--ease) 1s both; }
.js .hero-ctas { animation: fadeUp .9s var(--ease) 1.15s both; }
@keyframes pop { from { opacity: 0; transform: translateY(40px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(.5em) rotate(8deg); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- ticker ----------------------------------------------------- */
main { overflow-x: clip; }   /* the tilted ticker is wider than the screen on purpose */
.ticker {
  position: relative; z-index: 6; margin: -30px -5vw 0; rotate: -2deg;
  background: var(--ink); color: #fff; overflow: hidden;
  border-block: 2px solid var(--volt); box-shadow: 0 24px 50px -24px rgba(10, 22, 56, .7);
}
.ticker-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list {
  display: flex; align-items: center; margin: 0; padding: 15px 0; list-style: none;
  font: 500 14px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.ticker-list li { display: flex; align-items: center; gap: 8px; }
.ticker-list li::after {
  content: ""; width: 7px; height: 7px; margin: 0 24px; background: var(--volt); rotate: 45deg; border-radius: 1px;
}
.ticker-list b { color: var(--volt); font-weight: 700; }
.ticker .up { color: var(--volt); }
.ticker .down { color: #ff8aa2; }
.ticker .tk-date { color: rgba(255, 255, 255, .6); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections, shared ------------------------------------------ */
.sec { position: relative; isolation: isolate; overflow: clip; padding: clamp(96px, 12vw, 160px) var(--gutter); }
.sec, .footer { margin-top: -1px; }
.sec > .clouds { z-index: -1; }
.wrap { position: relative; max-width: var(--wrap); margin: 0 auto; }
.wrap.narrow { max-width: 860px; }
[data-tone="dark"] { color: var(--night-ink); }
.sec-head { max-width: 780px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase;
}
.k-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid currentColor; font-weight: 700; letter-spacing: 0;
}
.k-jp { font-size: 15px; font-weight: 700; letter-spacing: .2em; color: var(--shiba-ink); }
[data-tone="dark"] .k-jp { color: var(--volt); }
.title {
  margin: 0; font: 800 clamp(44px, 7.2vw, 98px)/.94 var(--f-display);
  letter-spacing: -.048em; text-wrap: balance;
}
.lead {
  margin: 22px auto 0; max-width: 40em;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2);
}
.sec-head.left .lead { margin-left: 0; }
[data-tone="dark"] .lead { color: var(--night-dim); }
.fine { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.fine.center { max-width: 60em; margin: 30px auto 0; text-align: center; }
[data-tone="dark"] .fine { color: rgba(200, 212, 245, .72); }

.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 01 heads · afternoon ------------------------------------- */
.heads-sec {
  padding-top: clamp(130px, 14vw, 200px);
  background: linear-gradient(180deg, #bfe0ff 0%, #dcefff 22%, #f2f8ff 60%, #fdf5e8 100%);
}
.heads { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr) 60px minmax(0, 1fr); margin-top: 120px; }
.head-card {
  --accent: var(--volt); --accent-ink: var(--volt-ink);
  position: relative; display: flex; flex-direction: column;
  padding: 116px 28px 28px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .72));
  border: 1px solid #fff;
  box-shadow: 0 1px 0 #fff inset, 0 40px 80px -40px rgba(24, 72, 160, .45), 0 14px 24px -18px rgba(24, 72, 160, .3);
}
.head-card[data-head="x3"] { --accent: #4f8cff; --accent-ink: #1f4fbf; }
.head-card[data-head="meme"] { --accent: var(--shiba); --accent-ink: var(--shiba-ink); }
.head-pic {
  position: absolute; top: -86px; left: 24px; width: 180px; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; background: #2c7be5;
  box-shadow: 0 0 0 6px #fff, 0 0 0 9.5px var(--accent), 0 26px 44px -16px rgba(24, 72, 160, .6);
  transition: rotate .6s var(--spring), translate .6s var(--spring);
}
.head-card:hover .head-pic { translate: 0 -8px; rotate: -5deg; }
.head-pic img { width: 100%; height: 100%; object-fit: cover; }
.head-num {
  position: absolute; top: 18px; right: 24px;
  font-size: 78px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px rgba(10, 22, 56, .2);
}
.head-role { margin: 0; font: 700 12px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--accent-ink); }
.head-name { margin: 10px 0 12px; font: 800 38px/1 var(--f-display); letter-spacing: -.045em; }
.head-text { flex: 1; margin: 0 0 22px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.head-stat { display: flex; align-items: flex-end; gap: 14px; padding-top: 18px; border-top: 1px dashed rgba(10, 22, 56, .16); }
.head-stat b { font: 800 44px/.88 var(--f-display); letter-spacing: -.045em; white-space: nowrap; }
.head-stat span { font: 500 12px/1.4 var(--f-mono); color: var(--ink-3); }
.head-op { display: grid; place-items: center; }
.head-op span {
  writing-mode: vertical-rl; padding: 18px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; white-space: nowrap;
  font: 700 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 12px 30px -10px rgba(10, 22, 56, .6);
}
.head-op:first-of-type span { text-combine-upright: all; }

.equation {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 16px;
  margin: 76px auto 0; font: 700 clamp(21px, 3vw, 38px)/1 var(--f-display); letter-spacing: -.035em;
}
.eq-part { padding: .42em .82em .5em; border-radius: 999px; }
.eq-usd { background: var(--ink); color: #fff; }
.eq-ratio { background: #ffe0bd; color: #86400a; box-shadow: inset 0 0 0 2px rgba(243, 154, 59, .5); }
.eq-x3 { background: #0c1a12; color: var(--volt); box-shadow: 0 0 0 2px rgba(140, 255, 90, .35), 0 12px 30px -12px rgba(140, 255, 90, .8); }
.eq-op { font-weight: 400; color: var(--ink-3); }

/* ---------- 02 playground · golden hour ----------------------------- */
.play-sec { background: linear-gradient(180deg, #fdf5e8 0%, #ffe6c4 30%, #ffcd94 64%, #ffab73 100%); }
.sun { position: absolute; right: 8%; bottom: 16%; z-index: -2; width: min(500px, 64vw); aspect-ratio: 1; }
.sun i {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, #fffdf3 0 24%, #ffeab0 32%, #ffc873 43%, rgba(255, 178, 99, .35) 55%, rgba(255, 178, 99, 0) 70%);
  animation: glow 6s ease-in-out infinite alternate;
}
@keyframes glow { to { scale: 1.05; } }
.play { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.play-panel {
  margin-top: 34px; padding: 26px; border-radius: 28px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 30px 60px -40px rgba(160, 70, 0, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ctl + .ctl { margin-top: 18px; }
.ctl-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font: 600 12.5px/1.25 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2);
}
.ctl-row output { font: 800 27px/1 var(--f-display); letter-spacing: -.03em; text-transform: none; color: var(--ink); white-space: nowrap; }
.ctl-derived { padding: 13px 15px; border-radius: 16px; background: rgba(10, 22, 56, .055); }
.ctl-derived.real { background: #fff1de; box-shadow: inset 0 0 0 1.5px rgba(243, 154, 59, .55); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block;
  width: 100%; height: 34px; margin: 8px 0 0; background: transparent; cursor: grab;
}
input[type="range"]:active { cursor: grabbing; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 99px;
  background: linear-gradient(90deg, #ffb3c3 0%, #fff 50%, #b9f5a1 100%);
  box-shadow: inset 0 1px 3px rgba(10, 22, 56, .22);
}
input[type="range"]::-moz-range-track {
  height: 10px; border-radius: 99px;
  background: linear-gradient(90deg, #ffb3c3 0%, #fff 50%, #b9f5a1 100%);
  box-shadow: inset 0 1px 3px rgba(10, 22, 56, .22);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #3b4451, #0a0d11 72%); border: 3px solid var(--volt);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .5), 0 0 0 5px rgba(140, 255, 90, .22);
  transition: scale .25s var(--spring);
}
input[type="range"]:active::-webkit-slider-thumb { scale: 1.15; }
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #3b4451, #0a0d11 72%); border: 3px solid var(--volt);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .5);
}
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.presets button {
  padding: 10px 13px; border-radius: 999px; border: 1px solid rgba(10, 22, 56, .14);
  background: rgba(255, 255, 255, .85); font: 500 12.5px/1 var(--f-mono);
  transition: background .2s, color .2s, translate .3s var(--spring);
}
.presets button:hover { background: #fff; translate: 0 -1px; }
.presets button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.presets .pr-real { border-color: var(--shiba); color: var(--shiba-ink); font-weight: 700; }
.presets .pr-real.on { background: var(--shiba); border-color: var(--shiba); color: #2d1300; }
.presets .pr-reset { border-style: dashed; }
.play-real {
  margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: #fff3e2;
  border-left: 4px solid var(--shiba); font-size: 14.5px; line-height: 1.5; color: #4a2a0d;
}

.play-stage {
  padding: clamp(20px, 3vw, 34px); border-radius: 34px;
  background: rgba(255, 255, 255, .56); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 50px 90px -50px rgba(150, 60, 0, .65);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.stage-heads { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 240px; }
.bub { flex: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.bub-pic {
  width: clamp(80px, 10.5vw, 138px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 5px #fff, 0 18px 34px -12px rgba(120, 50, 0, .6);
  transform: scale(var(--k, 1)); transition: transform .55s var(--spring), filter .4s;
}
.bub-pic img { width: 100%; height: 100%; object-fit: cover; }
.bub.shrink .bub-pic { filter: saturate(.55) brightness(.95); }
.bub figcaption {
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
  font: 600 11.5px/1.1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.bub figcaption b { font: 800 22px/1 var(--f-display); letter-spacing: -.02em; text-transform: none; color: var(--ink); }
.stage-op { font: 700 19px/1 var(--f-mono); color: var(--ink-3); padding-bottom: 50px; }
.result {
  display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 24px 0 14px;
  padding: 26px 16px 24px; border-radius: 26px; background: var(--ink); color: #fff; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 56, .9);
}
.result-label { font: 600 12.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; opacity: .7; }
.result-val { font: 800 clamp(62px, 8.4vw, 116px)/.88 var(--f-display); letter-spacing: -.055em; transition: color .3s; }
.result-val.up { color: var(--volt); }
.result-val.down { color: #ff8aa2; }
.result-val.bump { animation: bump .45s var(--spring); }
@keyframes bump { 40% { scale: 1.06; } }
.result-formula { font: 500 13.5px/1.3 var(--f-mono); opacity: .78; }
.result-formula i { font-style: normal; color: #ffd29b; }

/* ---------- 03 on-chain · sunset into night -------------------------- */
.chain-sec {
  padding-top: clamp(116px, 12vw, 176px);
  background: linear-gradient(180deg, #ffab73 0%, #f77f6d 5%, #da567f 11%, #9c3e8e 19%, #55317f 28%,
              #251f5e 38%, #10143b 48%, #070b24 58%, #070b24 100%);
}
.chain-sec .stars { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, #000 36%); mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, #000 36%); }
.chain-sec .sec-head .lead { color: rgba(255, 238, 245, .9); }
.chain-sec .k-jp { color: #fff3a8; }

.bigstat {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: clamp(18px, 3vw, 48px);
  margin: 0 0 clamp(34px, 4vw, 56px); padding-bottom: clamp(26px, 3vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.bigstat-num {
  margin: -.1em -.14em -.2em 0; padding: .1em .14em .2em 0;
  font: 800 clamp(100px, 19vw, 290px)/.78 var(--f-display); letter-spacing: -.065em;
  background: linear-gradient(180deg, #fff 25%, #b2c6ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bigstat-label { margin: 0 0 10px; font: 700 clamp(22px, 2.6vw, 34px)/1.1 var(--f-display); letter-spacing: -.025em; }
.bigstat-note { margin: 0; max-width: 30em; color: var(--night-dim); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat {
  position: relative; padding: 24px 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .1);
}
.stat-num { margin: 0 0 12px; font: 800 clamp(40px, 4.4vw, 60px)/.9 var(--f-display); letter-spacing: -.045em; color: #fff; }
.stat-num small { margin-left: 3px; font-size: .5em; color: var(--night-dim); }
.stat-label { margin: 0 0 8px; font: 600 15.5px/1.3 var(--f-display); color: #fff; }
.stat-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--night-dim); }
.stat-paw { background: linear-gradient(160deg, rgba(140, 255, 90, .16), rgba(140, 255, 90, .03)); border-color: rgba(140, 255, 90, .32); }
.paw-mark { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; fill: var(--volt); opacity: .85; rotate: 18deg; }

.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.chart {
  margin: 0; display: flex; flex-direction: column; padding: 24px; border-radius: 24px;
  background: rgba(12, 18, 52, .62); border: 1px solid rgba(255, 255, 255, .09);
}
.chart-title { margin-bottom: 18px; font: 600 12.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--night-dim); }
.chart-note { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--night-dim); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart svg text { font-family: var(--f-mono); }
.svg-curve .grid { stroke: rgba(255, 255, 255, .09); stroke-dasharray: 3 6; }
.svg-curve .gl, .chart .tick { fill: rgba(200, 212, 245, .55); font-size: 12px; }
.svg-curve .line {
  fill: none; stroke: var(--volt); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(140, 255, 90, .6));
}
.dot { stroke: #0c1234; stroke-width: 3; }
.dot-peak { fill: #fff; }
.dot-now { fill: var(--volt); }
.chart .lbl { fill: #fff; font-size: 13px; font-weight: 600; }
.js .svg-curve .line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .25s; }
.js .svg-curve .area, .js .svg-curve .dot, .js .svg-curve .lbl { opacity: 0; transition: opacity 1s 1.4s; }
.js .chart.in .svg-curve .line { stroke-dashoffset: 0; }
.js .chart.in .svg-curve .area, .js .chart.in .svg-curve .dot, .js .chart.in .svg-curve .lbl { opacity: 1; }
.svg-bars .bar { fill: rgba(140, 255, 90, .8); transform-box: fill-box; transform-origin: bottom; }
.svg-bars .bar.first { fill: var(--volt); }
.svg-bars .bar.partial { fill: rgba(140, 255, 90, .32); }
.js .svg-bars .bar { transform: scaleY(0); transition: transform 1s var(--spring); transition-delay: calc(.1s + var(--i) * 45ms); }
.js .chart.in .svg-bars .bar { transform: none; }
.svg-dist { height: 150px; }
.svg-dist .seg { fill: rgb(140 255 90 / var(--a)); }
.svg-dist .flow { fill: rgb(140 255 90 / calc(var(--a) * .34)); }
.dist-axis { margin: 6px 0; font: 500 11.5px/1 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--night-dim); }
.dist-table { width: 100%; margin-top: 16px; border-collapse: collapse; font: 500 13px/1.2 var(--f-mono); font-variant-numeric: tabular-nums; }
.dist-table th {
  padding: 8px 6px; text-align: right; font-size: 10.5px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--night-dim); border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.dist-table td { padding: 8px 6px; text-align: right; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.dist-table td:first-child { white-space: nowrap; }
.dist-table th:first-child, .dist-table td:first-child { text-align: left; }
.dist-table td i { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: rgb(140 255 90 / var(--a)); vertical-align: -1px; }
.rings-wrap { flex: 1; display: grid; grid-template-columns: minmax(140px, 230px) minmax(0, 1fr); align-items: center; gap: 24px; }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 15; }
.ring { fill: none; stroke-width: 15; stroke-linecap: round; stroke-dasharray: var(--dash) var(--circ); }
.js .ring { stroke-dasharray: 0 var(--circ); transition: stroke-dasharray 1.7s var(--ease); transition-delay: calc(.25s + var(--i) * .2s); }
.js .chart.in .ring { stroke-dasharray: var(--dash) var(--circ); }
.ring-top1 { stroke: var(--shiba); }
.ring-top10 { stroke: #7fb0ff; }
.ring-top50 { stroke: var(--volt); }
.rings-legend { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rings-legend li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--c); }
.rl-top1 { --c: var(--shiba); }
.rl-top10 { --c: #7fb0ff; }
.rl-top50 { --c: var(--volt); }
.rings-legend b { font: 800 32px/1 var(--f-display); letter-spacing: -.035em; color: #fff; }
.rings-legend span { font: 500 12px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-dim); }

.red {
  display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr) minmax(140px, 200px);
  align-items: center; gap: 18px 30px; margin-top: 16px; padding: 26px 28px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 120, 150, .15), rgba(255, 120, 150, .04));
  border: 1px solid rgba(255, 138, 162, .36);
}
.red-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 26px/1.05 var(--f-display); letter-spacing: -.03em; color: #ffc0cc; }
.red-title .ico { width: 28px; height: 28px; fill: #ff8aa2; }
.red-body p { margin: 0; }
.red-body p + p { margin-top: 8px; }
.red-trend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.spark { width: 140px; height: 36px; }
.spark polyline { fill: none; stroke: #ff8aa2; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.red-why { margin: 0; font: 500 13px/1.45 var(--f-mono); color: #ffc0cc; text-align: right; }
.src {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin: 28px 0 0;
  font: 500 12.5px/1.6 var(--f-mono); color: rgba(200, 212, 245, .62);
}
.src a { display: inline-flex; align-items: center; gap: 6px; color: var(--volt); text-decoration: none; }
.src a:hover { text-decoration: underline; }

/* where the fees flow: a full-width card at the end of the charts */
.chart-fees { grid-column: 1 / -1; }
.fee-flow {
  display: grid; grid-template-columns: auto minmax(90px, 1fr) auto minmax(90px, 1fr) auto;
  align-items: center; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none;
}
.fee-flow .node { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 190px; text-align: center; }
.fee-flow .node-ico {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; overflow: hidden;
  background: #0b1030; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 0 0 6px rgba(140, 255, 90, .06);
}
.fee-flow .node-ico svg { width: 56px; height: auto; }
.fee-flow .node-ico.wallet svg { width: 32px; color: var(--volt); }
.fee-flow .node-ico.ai img { width: 100%; height: 100%; object-fit: cover; }
.fee-flow .node b { font: 700 16px/1.2 var(--f-display); color: #fff; }
.fee-flow .node small { font: 500 12px/1.3 var(--f-mono); color: var(--night-dim); }
.fee-flow .pipe { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pipe-line {
  position: relative; width: 100%; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(140, 255, 90, .5) 0 8px, transparent 8px 16px);
}
.pipe-line i {
  position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--volt); box-shadow: 0 0 12px var(--volt);
  animation: flowdot 3s linear infinite;
}
.pipe-line i:nth-child(2) { animation-delay: -1s; }
.pipe-line i:nth-child(3) { animation-delay: -2s; }
@keyframes flowdot { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
.pipe-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pipe-tag {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 12px; border-radius: 12px;
  background: rgba(140, 255, 90, .1); border: 1px solid rgba(140, 255, 90, .3);
}
.pipe-tag small { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--night-dim); }
.pipe-tag.dim { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13); }

/* ---------- 04 art · night into dawn (the moon sets here) ----------- */
.art-sec {
  padding-bottom: clamp(150px, 16vw, 240px);
  background: linear-gradient(180deg, #070b24 0%, #10164a 20%, #2b2a70 38%, #683d8c 54%, #bd5f8f 68%,
              #f2979b 80%, #ffc8a4 91%, #ffe3c7 100%);
}
.moon {
  position: absolute; top: clamp(70px, 9vw, 130px); right: clamp(18px, 8vw, 150px); z-index: -1;
  width: clamp(92px, 12vw, 176px); rotate: -12deg;
  filter: drop-shadow(0 0 38px rgba(140, 255, 90, .5)) drop-shadow(0 0 90px rgba(140, 255, 90, .22));
}
.moon svg { width: 100%; height: auto; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
.stars-top { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 52%); mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 52%); }
.gallery { columns: 3 290px; column-gap: 28px; }
.polaroid {
  position: relative; break-inside: avoid; margin: 0 0 34px; padding: 12px 12px 0; border-radius: 6px;
  background: #fdfbf6; color: var(--ink); rotate: var(--tilt);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75), 0 2px 6px rgba(0, 0, 0, .22);
  transition: rotate .55s var(--spring), translate .55s var(--spring), scale .55s var(--spring), box-shadow .5s;
}
.polaroid:hover { rotate: 0deg; translate: 0 -8px; scale: 1.015; box-shadow: 0 44px 80px -34px rgba(0, 0, 0, .85); }
.pol-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 2px; background: #0b1030; overflow: hidden; cursor: zoom-in; }
.pol-open img { width: 100%; height: auto; transition: scale .9s var(--ease); }
.polaroid:hover .pol-open img { scale: 1.045; }
.polaroid figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 4px 14px; font: 700 15px/1.2 var(--f-display); letter-spacing: -.01em; }
.polaroid figcaption a {
  display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 7px 10px; border-radius: 999px;
  background: #edf2fb; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  font: 600 11px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; transition: background .2s, color .2s;
}
.polaroid figcaption a:hover { background: var(--ink); color: #fff; }
.tape {
  --tape: rgba(140, 255, 90, .72);
  position: absolute; top: -14px; left: 50%; z-index: 2; width: 106px; height: 30px; translate: -50% 0;
  rotate: calc(var(--tilt) * -2 + 3deg); opacity: .93;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .38) 0 6px, rgba(255, 255, 255, 0) 6px 12px), var(--tape);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  clip-path: polygon(3% 0, 97% 5%, 100% 50%, 97% 100%, 2% 95%, 0 50%);
}
.polaroid:nth-child(3n+2) .tape { --tape: rgba(243, 154, 59, .8); }
.polaroid:nth-child(3n) .tape { --tape: rgba(127, 176, 255, .8); }
.kit-cta { margin: 34px 0 0; text-align: center; }
.kit-cta a {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; border-radius: 999px;
  background: rgba(10, 22, 56, .88); color: #fff; text-decoration: none;
  font: 600 15px/1.3 var(--f-display); box-shadow: 0 20px 40px -20px rgba(10, 22, 56, .85);
  transition: translate .35s var(--spring);
}
.kit-cta a:hover { translate: 0 -2px; }
.kit-cta .ico { color: var(--volt); }

.lightbox { width: min(1120px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 8, 28, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 10px; animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; scale: .96; } }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img { width: auto; height: auto; max-width: 100%; max-height: 78vh; border-radius: 12px; box-shadow: 0 40px 90px -30px #000; }
.lb-cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; font: 700 18px/1.2 var(--f-display); }
.lb-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .1); color: #fff;
  font: 400 30px/1 var(--f-display); transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close-form { position: absolute; top: -6px; right: -6px; z-index: 2; margin: 0; }

/* ---------- 05 find & 06 faq · morning ------------------------------- */
.find-sec { background: linear-gradient(180deg, #ffe3c7 0%, #fff0e1 22%, #f2f8ff 64%, #e2f0ff 100%); }
.ca-card {
  position: relative; max-width: 1000px; margin: 0 auto; padding: clamp(24px, 4vw, 48px); border-radius: 34px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 24px;
  background: #fff; box-shadow: 0 50px 100px -50px rgba(24, 72, 160, .5), 0 0 0 1px rgba(10, 22, 56, .05);
}
.ca-label { grid-column: 1 / -1; margin: 0; font: 600 12.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.ca-full { margin: 0; font: 600 clamp(14px, 2.05vw, 25px)/1.3 var(--f-mono); letter-spacing: -.01em; word-break: break-all; }
.ca-copy { position: relative; overflow: hidden; }
.ca-copy .ca-done { font-family: var(--f-display); font-size: 16px; }
.ca-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0; }
.ca-facts div { padding: 14px 16px; border-radius: 16px; background: #f2f6ff; }
.ca-facts dt { margin-bottom: 7px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.ca-facts dd { margin: 0; font: 600 16px/1.35 var(--f-display); }
.ca-facts code { font-size: .92em; }
.warn {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 2px 0 0; padding: 14px 16px;
  border-radius: 16px; background: #fff4e4; color: #6e3700; font-weight: 600;
}
.warn b { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--shiba); color: #fff; font: 800 15px/1 var(--f-display); }
.links { max-width: 1000px; margin: 20px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.links-label { grid-column: 1 / -1; margin: 10px 0 0; font: 600 12.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.link-card {
  position: relative; display: flex; flex-direction: column; gap: 5px; padding: 18px 44px 16px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(10, 22, 56, .07); text-decoration: none;
  transition: translate .35s var(--spring), background .2s, box-shadow .3s;
}
.link-card:hover { translate: 0 -3px; background: #fff; box-shadow: 0 22px 40px -26px rgba(24, 72, 160, .55); }
.link-card span { font: 700 18px/1.2 var(--f-display); }
.link-card small { font: 500 11.5px/1.3 var(--f-mono); color: var(--ink-3); overflow-wrap: anywhere; }
.link-card .ico { position: absolute; top: 17px; right: 16px; width: 18px; height: 18px; color: var(--ink-3); }

.faq-sec { padding-top: 40px; background: linear-gradient(180deg, #e2f0ff 0%, #cfe6ff 100%); }
.faq { display: grid; gap: 10px; }
.qa {
  border-radius: 22px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 20px 40px -34px rgba(24, 72, 160, .65);
}
.qa summary {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; list-style: none; cursor: pointer;
  font: 700 clamp(17px, 1.7vw, 21px)/1.3 var(--f-display); letter-spacing: -.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-n { font: 600 12px/1 var(--f-mono); color: var(--ink-3); }
.qa-q { flex: 1; }
.qa summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #e9f1ff; transition: background .3s; }
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: var(--ink); transition: rotate .4s var(--spring);
}
.qa summary i::after { rotate: 90deg; }
.qa[open] summary i { background: var(--volt); }
.qa[open] summary i::after { rotate: 0deg; }
.qa p { max-width: 46em; margin: 0; padding: 0 22px 22px 60px; font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }

/* ---------- footer · day again --------------------------------------- */
.footer {
  position: relative; isolation: isolate; overflow: clip; color: #fff;
  padding: clamp(150px, 16vw, 230px) var(--gutter) 0;
  background: linear-gradient(180deg, #cfe6ff 0%, #8cc2f5 16%, #3f8be6 42%, #1557c8 72%, #0a3499 100%);
}
.footer > .clouds { z-index: -1; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-brand img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px var(--volt); }
.foot-tag { margin: 14px 0 0; font: 700 20px/1.35 var(--f-display); }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h3 { margin: 0 0 6px; font: 600 12px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; opacity: .72; }
.foot-col a { font: 500 16px/1.3 var(--f-display); text-decoration: none; opacity: .92; }
.foot-col a:hover { opacity: 1; text-decoration: underline; }
.foot-legal { display: grid; gap: 8px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.foot-legal p { max-width: 72em; margin: 0; }
.foot-built { font: 500 12px/1.5 var(--f-mono); letter-spacing: .04em; }
.foot-word {
  margin: 34px 0 -.14em; padding: 0 .1em .02em; text-align: center; white-space: nowrap;
  font: 800 clamp(64px, 20vw, 330px)/.76 var(--f-display); letter-spacing: -.07em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .25) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- the fee flow: amounts live on LONG ------------------------- */
.pipe-live { flex-direction: row; gap: 6px; text-decoration: none; transition: background .2s; }
.pipe-live:hover { background: rgba(140, 255, 90, .2); }
.pipe-live small { color: var(--volt); }
.pipe-live .ico { width: 13px; height: 13px; color: var(--volt); }

/* ---------- footer languages ------------------------------------------- */
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 4px 0 0; }
.foot-langs a { font: 500 15px/1.3 var(--f-display); }
.foot-langs a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Chinese & Japanese ------------------------------------------ */
/* CJK glyphs fill the whole em: no negative tracking, a little more air, slightly
   smaller display sizes; Japanese titles break between phrases, not inside words. */
:lang(zh) body, :lang(ja) body { line-height: 1.8; }
:lang(zh) .title, :lang(ja) .title {
  font-size: clamp(34px, 5.6vw, 76px); line-height: 1.16; letter-spacing: 0;
}
:lang(zh) .lead, :lang(ja) .lead, :lang(zh) .hero-lead, :lang(ja) .hero-lead { line-height: 1.8; }
:lang(ja) .title, :lang(ja) .lead, :lang(ja) .hero-lead, :lang(ja) .head-text { word-break: auto-phrase; }
:lang(zh) .kicker, :lang(ja) .kicker, :lang(zh) .chart-title, :lang(ja) .chart-title,
:lang(zh) .pipe-tag small, :lang(ja) .pipe-tag small, :lang(zh) .ctl-row, :lang(ja) .ctl-row,
:lang(zh) .result-label, :lang(ja) .result-label, :lang(zh) .ca-label, :lang(ja) .ca-label,
:lang(zh) .links-label, :lang(ja) .links-label { letter-spacing: .05em; }
:lang(zh) .head-name, :lang(ja) .head-name { letter-spacing: -.02em; }
:lang(zh) .bigstat-label, :lang(ja) .bigstat-label, :lang(zh) .stat-label, :lang(ja) .stat-label { line-height: 1.45; }
:lang(zh) .eq-part, :lang(ja) .eq-part { letter-spacing: 0; }
:lang(zh) .sheet nav a, :lang(ja) .sheet nav a { letter-spacing: 0; }

/* ---------- responsive ------------------------------------------------ */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .charts { grid-template-columns: minmax(0, 1fr); }
  .red { grid-template-columns: minmax(0, 1fr); }
  .red-why { text-align: left; }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .heads { grid-template-columns: minmax(0, 1fr); margin-top: 100px; }
  .head-op { margin: 18px 0 104px; }
  .head-op span { writing-mode: horizontal-tb; padding: 11px 18px; }
  .play { grid-template-columns: minmax(0, 1fr); }
  .fee-flow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 8px; }
  .fee-flow .node { max-width: none; }
  .fee-flow .pipe { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; justify-self: stretch; }
  .fee-flow .pipe-line { grid-column: 2; }
  .fee-flow .pipe-tags { grid-column: 3; justify-self: start; }
  .pipe-line { width: 4px; height: 70px; background: repeating-linear-gradient(180deg, rgba(140, 255, 90, .5) 0 8px, transparent 8px 16px); }
  .pipe-line i { left: 50%; top: 0; margin: 0 0 0 -6px; animation-name: flowdotv; }
  @keyframes flowdotv { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }
  .pipe-tags { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-term { display: none; }
  .vtext-l { top: 92px; font-size: 42px; opacity: .55; }
  .vtext-r { display: none; }
  .hero { padding-bottom: 190px; }
  .hero-ctas .btn, .ca { height: 46px; }
  .ticker { margin-top: -22px; }
  .ticker-list { padding: 12px 0; font-size: 12.5px; }
  .head-card { padding: 104px 22px 24px; }
  .head-pic { width: 158px; top: -78px; }
  .head-name { font-size: 34px; }
  .stage-heads { min-height: 190px; }
  .stage-op { padding-bottom: 44px; font-size: 15px; }
  .bub figcaption b { font-size: 18px; }
  .bigstat { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .stats { gap: 10px; }
  .stat { padding: 20px 18px; }
  .chart { padding: 20px 16px; }
  .rings-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .svg-rings { max-width: 220px; }
  .ca-card { grid-template-columns: minmax(0, 1fr); }
  .ca-facts { grid-template-columns: minmax(0, 1fr); }
  .gallery { columns: 2 150px; column-gap: 16px; }
  .polaroid { padding: 8px 8px 0; margin-bottom: 24px; }
  .polaroid figcaption { flex-direction: column; align-items: flex-start; font-size: 13.5px; }
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lb-prev, .lb-next { display: none; }
  .qa p { padding-left: 22px; }
}
@media (max-width: 460px) {
  .nav-x { display: none; }          /* it's in the menu; room for the four languages */
  .nav-brand span { font-size: 18px; }
  .lang a { min-width: 26px; padding: 7px 6px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .links { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-kicker { gap: 7px; padding: 8px 12px 8px 10px; font-size: 10px; letter-spacing: .03em; white-space: nowrap; }
  .equation { font-size: 19px; }
  .dist-table { font-size: 11.5px; }
  .dist-table th { padding: 6px 3px; font-size: 9px; letter-spacing: .04em; }
  .dist-table td { padding: 7px 3px; }
}
/* layers moved on scroll get their own compositor layer, so the cloud filters aren't repainted */
[data-parallax] { will-change: transform; }

/* ---------- motion preferences --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .flyers, .shoot { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* bands scrolled out of view stop their loops (clouds, coins, marquee, stars) */
.offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }
