/* ==========================================================================
   MUICOOIN — Design System
   Midnight navy · charcoal · champagne gold · platinum · electric blue
   ========================================================================== */

:root {
  --navy-950: #0F2236;
  --navy-900: #13283F;
  --navy-850: #162C45;
  --navy-800: #1B3450;
  --charcoal: #11253A;
  --charcoal-2: #152A41;

  --gold: #C9B98F;
  --gold-hi: #E3D6B0;
  --gold-lo: #8A6A1F;
  --silver: #C5CED8;
  --blue: #3478F6;
  --blue-soft: rgba(52, 120, 246, .14);
  --white: #FFFFFF;
  --muted: #AAB6C5;
  --muted-2: #7D8A9C;

  --paper: #F4F5F7;
  --paper-2: #E9ECF0;
  --ink: #13283F;
  --ink-2: #3C4858;
  --ink-3: #66727F;

  --line: rgba(197, 206, 216, .12);
  --line-2: rgba(197, 206, 216, .22);
  --line-gold: rgba(201, 185, 143, .38);
  --line-ink: rgba(15, 34, 54, .12);

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 3px;
  --r-lg: 6px;
  --ease: cubic-bezier(.22, .7, .18, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; background: var(--gold); color: var(--navy-950); padding: 10px 16px; font-weight: 700; transform: translateY(-200%); transition: transform .2s; text-decoration: none; }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.01em;
}
.h1 { font-family: var(--f-display); font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -.015em; }
.h2 { font-family: var(--f-display); font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
.h3 { font-family: var(--f-sans); font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.h4 { font-family: var(--f-sans); font-size: 17px; font-weight: 700; line-height: 1.35; }
.h2 em, .h1 em, .display em { font-style: italic; color: var(--gold); }
.sec--light .h2 em, .sec--light .h1 em { color: var(--gold-lo); }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.sec--light .lead { color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; line-height: 1.55; }
.gold-text { color: var(--gold); }
.mono { font-family: var(--f-mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.sec--light .eyebrow { color: var(--gold-lo); }
.index-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted-2); }

/* ---------- Status tags (credibility system) ---------- */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px 4px 8px; border: 1px solid currentColor; border-radius: 2px;
  white-space: nowrap; line-height: 1.4; vertical-align: middle;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--proposed { color: var(--gold); }
.status--dev { color: #6EA2FF; }
.status--pending { color: var(--muted); }
.status--pending::before { background: transparent; border: 1px solid currentColor; }
.status--done { color: #5FC69B; }
.sec--light .status--proposed { color: #8A6A1F; }
.sec--light .status--dev { color: #1F5FD6; }
.sec--light .status--pending { color: #66727F; }
.sec--light .status--done { color: #1E8A5C; }

.status-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 13px; color: var(--muted); }
.status-legend > span { display: inline-flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px;
  font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--line { border-color: var(--line-2); color: var(--white); background: transparent; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--navy-800); }
.sec--light .btn--line { color: var(--ink); border-color: var(--line-ink); }
.sec--light .btn--line:hover { color: var(--gold-lo); border-color: var(--gold-lo); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 11.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.sec--light .link-arrow { color: var(--gold-lo); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(15, 34, 54, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; height: 100%; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__word { font-family: var(--f-sans); font-weight: 800; font-size: 16px; letter-spacing: .24em; }
.brand__word b { color: var(--gold); font-weight: 800; }

.nav__menu { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: var(--nav-h); padding: 0 11px;
  font-size: 13.5px; font-weight: 600; color: var(--silver); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .25s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 22px; height: 1px; background: var(--gold);
}
.nav__caret { width: 9px; height: 9px; transition: transform .25s; opacity: .7; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(var(--nav-h) - 12px); left: -14px; min-width: 300px;
  background: rgba(15, 34, 54, .98); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 10px; list-style: none;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1121px) {
  .nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
}
.dropdown a { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 11px 14px; border-radius: var(--r); text-decoration: none; transition: background .2s; }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(197,206,216,.06); }
.dropdown a strong { font-size: 14px; font-weight: 700; color: var(--white); }
.dropdown a span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.dropdown a[aria-current="page"] strong { color: var(--gold); }

.nav__cta { margin-left: 14px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.site-header.is-open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1240px) { .nav__link { padding: 0 8px; font-size: 13px; } .nav { gap: 18px; } }
@media (max-width: 1120px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__panel {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; overflow-y: auto;
    background: var(--navy-950); padding: 12px var(--gutter) 40px;
    display: none; flex-direction: column;
  }
  .site-header.is-open .nav__panel { display: flex; }
  .nav__menu { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { height: 58px; width: 100%; justify-content: space-between; font-size: 17px; padding: 0 2px; color: var(--white); }
  .nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--gold); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 14px; min-width: 0; }
  .nav__item.is-open .dropdown { display: block; }
  .dropdown a { padding: 10px 2px; }
  .nav__panel .nav__cta--mobile { display: inline-flex; margin-top: 28px; }
}
@media (min-width: 1121px) {
  .nav__panel { display: contents; }
  .nav__cta--mobile { display: none !important; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.sec { position: relative; padding: clamp(88px, 11vw, 160px) 0; }
.sec--tight { padding: clamp(64px, 8vw, 110px) 0; }
.sec--navy { background: var(--navy-900); }
.sec--charcoal { background: var(--charcoal); }
.sec--light { background: var(--paper); color: var(--ink); }
.sec--white { background: #fff; color: var(--ink); }
.sec--white .lead { color: var(--ink-2); }
.sec--white .eyebrow { color: var(--gold-lo); }
.sec--light ::selection, .sec--white ::selection { background: var(--ink); color: #fff; }
.sec + .sec--rule::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); max-width: calc(var(--container) - 2*var(--gutter)); margin: 0 auto; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--stack { grid-template-columns: 1fr; max-width: 820px; }
.sec-head .lead { justify-self: end; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lead { justify-self: start; } }

.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Architectural grid background */
.archgrid { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.archgrid::before {
  content: ""; position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(197,206,216,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197,206,216,.055) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
}

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 30px) 0 130px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 72% 48%, rgba(52,120,246,.10), transparent 60%),
    radial-gradient(ellipse 40% 50% at 72% 50%, rgba(201, 185, 143,.07), transparent 70%),
    linear-gradient(180deg, #06101C 0%, var(--navy-950) 60%, #0A1828 100%);
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__pillars { position: absolute; inset: 0; pointer-events: none; }
.hero__pillars span {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(197,206,216,.10) 30%, rgba(197,206,216,.10) 70%, transparent);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__title { font-family: var(--f-display); font-size: clamp(50px, 6.4vw, 100px); line-height: .92; letter-spacing: -.02em; margin-bottom: 30px; }
.hero__title span { white-space: nowrap; }
.hero__title span { display: block; }
.hero__title span:nth-child(3) { color: var(--gold); font-style: italic; }
.hero__sub { font-size: 13px; font-family: var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--silver); margin-bottom: 18px; }
.hero__text { font-size: clamp(16px, 1.3vw, 18.5px); color: var(--muted); max-width: 52ch; margin-bottom: 40px; }
.hero__stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; justify-self: center; }
.hero__stage canvas { position: absolute; inset: -12%; width: 124% !important; height: 124% !important; }
.hero__fallback { position: absolute; inset: 8%; display: grid; place-items: center; transition: opacity .8s var(--ease); }
.hero__fallback img { width: 78%; height: auto; filter: drop-shadow(0 50px 60px rgba(0,0,0,.6)); }
.has-webgl .hero__stage.is-live .hero__fallback { opacity: 0; pointer-events: none; }
.hero__meta {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line);
}
.hero__meta .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__meta .container > div { padding: 20px 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.hero__meta .container > div b { display: block; color: var(--silver); font-weight: 500; margin-top: 4px; letter-spacing: .08em; }
.hero__meta .container > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.coin-caption { position: absolute; bottom: 4%; right: 2%; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; text-align: right; }
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 150px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: -1; max-width: 420px; margin: -10px auto -30px; }
  .coin-caption { display: none; }
}
@media (max-width: 640px) {
  .hero__meta .container { grid-template-columns: 1fr 1fr; }
  .hero__meta .container > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__meta .container > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero__stage { max-width: 320px; }
}

/* ==========================================================================
   Editorial blocks
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
@media (max-width: 900px) { .split, .split--even, .split--rev { grid-template-columns: 1fr; } .split__sticky { position: static; } }

.prose { font-size: 17px; line-height: 1.75; color: var(--muted); }
.prose p { margin-bottom: 1.2em; }
.prose strong { color: var(--white); font-weight: 600; }
.sec--light .prose, .sec--white .prose { color: var(--ink-2); }
.sec--light .prose strong, .sec--white .prose strong { color: var(--ink); }

.pullquote { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.005em; }
.pullquote em { color: var(--gold); }
.sec--light .pullquote em { color: var(--gold-lo); }

/* Comparison: native coin vs token */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.compare__col { padding: clamp(26px, 3vw, 40px); }
.compare__col + .compare__col { border-left: 1px solid var(--line-2); }
.compare__col--hl { background: linear-gradient(180deg, rgba(201, 185, 143,.08), rgba(201, 185, 143,0) 70%); }
.compare__col h3 { font-family: var(--f-display); font-size: 30px; margin-bottom: 6px; }
.compare__col .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 22px; }
.compare__col--hl .tag { color: var(--gold); }
.compare dl { margin: 0; display: grid; gap: 16px; }
.compare dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.compare dd { margin: 2px 0 0; font-size: 15px; color: var(--silver); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } .compare__col + .compare__col { border-left: 0; border-top: 1px solid var(--line-2); } }

/* Vision: actors diagram on light */
.actors { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid var(--line-ink); }
.actor { padding: 36px 28px 0 0; position: relative; }
.actor + .actor { padding-left: 28px; border-left: 1px solid var(--line-ink); }
.actor__n { font-family: var(--f-mono); font-size: 12px; color: var(--gold-lo); letter-spacing: .12em; }
.actor h3 { font-family: var(--f-display); font-size: 36px; margin: 14px 0 12px; }
.actor p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 800px) { .actors { grid-template-columns: 1fr; } .actor + .actor { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-ink); margin-top: 32px; } }

.vision-figure { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-950); aspect-ratio: 16 / 9; }
.vision-figure svg { width: 100%; height: 100%; }

/* ---------- Ecosystem pillars (interactive list + panel) ---------- */
.pillars { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 80px); align-items: stretch; }
.pillars__list { list-style: none; border-top: 1px solid var(--line); }
.pillars__btn {
  width: 100%; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; text-align: left;
  padding: 24px 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
  color: var(--muted); transition: color .3s;
}
.pillars__btn .index-num { color: var(--muted-2); }
.pillars__btn strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
.pillars__btn .arrow { width: 22px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.pillars__btn:hover, .pillars__btn[aria-selected="true"] { color: var(--white); }
.pillars__btn[aria-selected="true"] .index-num { color: var(--gold); }
.pillars__btn[aria-selected="true"] .arrow { width: 44px; background: var(--gold); }
.pillars__panel { position: relative; background: var(--navy-850); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 520px; display: flex; flex-direction: column; }
.pillars__art { position: relative; flex: 1; min-height: 260px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 50% 60%, rgba(52,120,246,.12), transparent 70%); }
.pillars__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillars__body { padding: 30px clamp(22px, 3vw, 38px) 34px; }
.pillars__body h3 { font-family: var(--f-display); font-size: 34px; margin: 14px 0 12px; }
.pillars__body p { color: var(--muted); font-size: 15.5px; max-width: 58ch; }
.pillars__tabpanel[hidden] { display: none; }
.pillars__tabpanel { animation: fadeUp .6s var(--ease); display: flex; flex-direction: column; height: 100%; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillars__panel { min-height: 0; } }

/* ---------- Stage / canvas panels ---------- */
.stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(ellipse at 50% 50%, #0F2140 0%, var(--navy-950) 70%); border: 1px solid var(--line); }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage__fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s; }
.stage__fallback svg { width: 100%; height: 100%; }
.has-webgl .stage.is-live .stage__fallback { opacity: 0; pointer-events: none; }
.stage__label { position: absolute; z-index: 2; left: 20px; top: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.stage__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 185, 143,.15); }
.stage__note { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 16px; font-size: 12px; color: var(--muted-2); }
.stage--globe { aspect-ratio: 1 / 1; }
.stage--chain { aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .stage--chain { aspect-ratio: 4 / 5; } }

/* ---------- Blockchain architecture explorer ---------- */
.arch { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.arch__layers { list-style: none; border-top: 1px solid var(--line); }
.arch__layer { border-bottom: 1px solid var(--line); }
.arch__layer button { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 20px 0; background: none; border: 0; cursor: pointer; color: var(--silver); }
.arch__layer button strong { font-size: 17px; font-weight: 600; }
.arch__layer button:hover strong, .arch__layer.is-open button strong { color: var(--white); }
.arch__layer .plus { width: 14px; height: 14px; position: relative; }
.arch__layer .plus::before, .arch__layer .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform .3s var(--ease); }
.arch__layer .plus::after { transform: rotate(90deg); }
.arch__layer.is-open .plus::after { transform: rotate(0deg); }
.arch__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.arch__layer.is-open .arch__detail { grid-template-rows: 1fr; }
.arch__detail > div { overflow: hidden; }
.arch__detail p { color: var(--muted); font-size: 15px; padding-bottom: 22px; margin: 0; max-width: 60ch; }
.arch__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
@media (max-width: 960px) { .arch { grid-template-columns: 1fr; } }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec caption { text-align: left; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding-bottom: 14px; }
.spec th, .spec td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding-top: 0; }
.spec tbody th { font-weight: 600; color: var(--white); width: 32%; }
.spec td { color: var(--muted); }
.spec td:last-child, .spec th:last-child { padding-right: 0; text-align: right; }
.sec--light .spec th, .sec--light .spec td, .sec--white .spec th, .sec--white .spec td { border-bottom-color: var(--line-ink); }
.sec--light .spec tbody th, .sec--white .spec tbody th { color: var(--ink); }
.sec--light .spec td, .sec--white .spec td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .spec--stack thead { display: none; }
  .spec--stack tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .sec--light .spec--stack tr, .sec--white .spec--stack tr { border-bottom-color: var(--line-ink); }
  .spec--stack th, .spec--stack td { display: block; border: 0; padding: 3px 0; width: auto !important; text-align: left !important; }
}

/* ==========================================================================
   Tokenomics
   ========================================================================== */
.supply-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; margin-bottom: 60px; }
.supply-figure { font-family: var(--f-display); font-size: clamp(60px, 11vw, 168px); line-height: .85; letter-spacing: -.03em; }
.supply-figure small { font-size: .32em; color: var(--gold); letter-spacing: .02em; margin-left: .15em; font-style: italic; }
@media (max-width: 800px) { .supply-head { grid-template-columns: 1fr; } }

.tok { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.tok__chart { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.tok__chart canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.tok__svg { position: absolute; inset: 0; transition: opacity .6s; }
.has-webgl .tok__chart.is-live .tok__svg { opacity: 0; pointer-events: none; }
.tok__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.tok__center .pct { font-family: var(--f-display); font-size: clamp(54px, 7vw, 88px); line-height: 1; }
.tok__center .lbl { font-size: 13px; color: var(--muted); max-width: 18ch; margin: 8px auto 0; }
.tok__center .amt { font-family: var(--f-mono); font-size: 12px; color: var(--gold); letter-spacing: .08em; margin-top: 8px; }
.tok__legend { list-style: none; border-top: 1px solid var(--line); }
.tok__row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .25s; border-radius: 0; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; color: inherit; }
.tok__row:hover, .tok__row.is-active { background: rgba(197,206,216,.04); }
.tok__swatch { width: 12px; height: 12px; border-radius: 1px; }
.tok__name { font-weight: 600; font-size: 15.5px; }
.tok__pct { font-family: var(--f-display); font-size: 26px; min-width: 2.6em; text-align: right; }
.tok__amt { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); min-width: 13ch; text-align: right; }
.tok__bar { grid-column: 2 / -1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.tok__bar i { position: absolute; inset: 0 auto 0 0; background: var(--c, var(--gold)); width: 0; transition: width 1.2s var(--ease); }
.is-inview .tok__bar i { width: var(--w); }
@media (max-width: 960px) { .tok { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tok__amt { display: none; } }

.alloc-explain { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; border-top: 1px solid var(--line-ink); }
.alloc-item { grid-column: span 4; padding: 34px 30px 34px 0; border-bottom: 1px solid var(--line-ink); }
.alloc-item:nth-child(3n+2), .alloc-item:nth-child(3n+3) { padding-left: 30px; border-left: 1px solid var(--line-ink); }
.alloc-item:nth-child(7) { grid-column: span 12; display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.alloc-item .pct { font-family: var(--f-display); font-size: 54px; line-height: 1; color: var(--ink); }
.alloc-item .amt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--gold-lo); margin: 8px 0 16px; display: block; }
.alloc-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.alloc-item p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .alloc-item { grid-column: span 6; }
  .alloc-item:nth-child(n) { padding-left: 0; border-left: 0; padding-right: 0; }
  .alloc-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-ink); }
  .alloc-item:nth-child(7) { grid-template-columns: 1fr; gap: 0; padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) { .alloc-item { grid-column: span 12; } .alloc-item:nth-child(even) { padding-left: 0; border-left: 0; } }

.principles { counter-reset: p; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.principles li { counter-increment: p; padding: 24px 0 24px 56px; border-top: 1px solid var(--line); position: relative; color: var(--muted); font-size: 15.5px; }
.principles li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-family: var(--f-mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.principles li strong { display: block; color: var(--white); font-weight: 600; font-size: 16.5px; margin-bottom: 4px; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ==========================================================================
   Wallet mockups (CSS 3D)
   ========================================================================== */
.devices { position: relative; display: grid; grid-template-columns: 1.2fr 2.2fr 1fr; gap: 0; align-items: end; perspective: 1800px; min-height: 520px; padding: 40px 0 0; }
.device { position: relative; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.device__label { text-align: center; margin-top: 26px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.device__label b { display: block; color: var(--white); font-family: var(--f-sans); font-size: 14px; letter-spacing: .12em; margin-bottom: 4px; }

/* phone */
.phone { width: min(260px, 100%); aspect-ratio: 9 / 19; margin: 0 auto; border-radius: 38px; padding: 10px; background: linear-gradient(145deg, #2A3038, #0C0F13 45%, #1D2229); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 50px 80px -30px rgba(0,0,0,.8), 0 0 0 1px #000; transform: rotateY(18deg) rotateX(4deg); }
.phone__screen { position: relative; height: 100%; border-radius: 29px; overflow: hidden; background: linear-gradient(180deg, #0A1526, #0F2236); padding: 40px 16px 16px; font-size: 10px; }
.phone__notch { position: absolute; top: 10px; left: 50%; width: 76px; height: 20px; transform: translateX(-50%); background: #000; border-radius: 12px; }
.ui-label { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.ui-balance { font-family: var(--f-display); font-size: 34px; line-height: 1; margin: 6px 0 2px; }
.ui-balance small { font-size: 13px; color: var(--gold); font-style: italic; }
.ui-sub { color: var(--muted-2); font-size: 9.5px; }
.ui-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0; }
.ui-actions span { border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 0; text-align: center; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }
.ui-actions span:first-child { background: var(--gold); color: var(--navy-950); border-color: var(--gold); font-weight: 700; }
.ui-list { border-top: 1px solid var(--line); }
.ui-list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--silver); font-size: 9.5px; }
.ui-list div span:last-child { font-family: var(--f-mono); color: var(--muted); }
.ui-demo { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--f-mono); font-size: 7.5px; letter-spacing: .16em; color: var(--muted-2); text-transform: uppercase; }

/* laptop */
.laptop { width: 100%; max-width: 640px; margin: 0 auto; transform: rotateX(6deg); transform-origin: bottom; }
.laptop__lid { border-radius: 14px 14px 4px 4px; padding: 12px; background: linear-gradient(180deg, #2A3038, #12161B); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 80px -30px rgba(0,0,0,.8); }
.laptop__screen { aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #0F2236; display: grid; grid-template-columns: 22% 1fr; font-size: 10px; }
.laptop__base { height: 14px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #3A414A, #15191E); box-shadow: 0 30px 40px -18px rgba(0,0,0,.9); position: relative; }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #0F1216; }
.lp-side { background: #0A1526; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.lp-side .lp-brand { font-weight: 800; letter-spacing: .2em; font-size: 8px; margin-bottom: 10px; color: var(--gold); }
.lp-side span { padding: 5px 7px; border-radius: 3px; color: var(--muted); font-size: 8.5px; }
.lp-side span.on { background: rgba(201, 185, 143,.12); color: var(--gold); }
.lp-main { padding: 14px 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }
.lp-top { display: flex; justify-content: space-between; align-items: end; }
.lp-chart { border: 1px solid var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.lp-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lp-rows div { border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; }
.lp-rows b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 9px; color: var(--silver); margin-top: 2px; }

/* merchant terminal */
.terminal { width: min(200px, 100%); margin: 0 auto; transform: rotateY(-18deg) rotateX(6deg); }
.terminal__body { border-radius: 22px 22px 28px 28px; padding: 12px 12px 22px; background: linear-gradient(160deg, #E9ECF0, #B9C1CB 60%, #8E98A4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 50px 70px -30px rgba(0,0,0,.85); }
.terminal__screen { aspect-ratio: 3 / 4; border-radius: 12px; background: #0F2236; padding: 16px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 9px; position: relative; overflow: hidden; }
.terminal__qr { width: 62%; aspect-ratio: 1; background: #fff; border-radius: 6px; padding: 6px; }
.terminal__qr svg { width: 100%; height: 100%; }
.terminal__amt { font-family: var(--f-display); font-size: 22px; line-height: 1; }
.terminal__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 12px; }
.terminal__keys i { height: 12px; border-radius: 3px; background: linear-gradient(180deg, #F6F7F9, #C9D0D8); box-shadow: 0 1px 0 rgba(0,0,0,.2); }

@media (max-width: 960px) {
  .devices { grid-template-columns: 1fr 1fr; gap: 50px 20px; min-height: 0; }
  .devices .device--laptop { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 520px) {
  .devices { grid-template-columns: 1fr; }
  .phone { transform: none; width: 230px; }
  .terminal { transform: none; }
}

.wallet-specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 80px; }
.wallet-spec { padding: 36px 30px 0 0; }
.wallet-spec + .wallet-spec { padding-left: 30px; border-left: 1px solid var(--line); }
.wallet-spec h3 { font-family: var(--f-display); font-size: 30px; margin: 14px 0 14px; }
.wallet-spec ul { list-style: none; margin-top: 18px; }
.wallet-spec li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; font-size: 14.5px; color: var(--muted); }
.wallet-spec li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 1px; background: var(--gold); }
@media (max-width: 900px) { .wallet-specs { grid-template-columns: 1fr; } .wallet-spec + .wallet-spec { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 36px; } }

.notice {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line-gold);
  border-radius: var(--r); background: rgba(201, 185, 143,.05); font-size: 14px; color: var(--silver); line-height: 1.6;
}
.notice svg { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.notice strong { color: var(--white); }
.sec--light .notice, .sec--white .notice { border-color: rgba(168, 56, 31,.4); background: rgba(168, 56, 31,.06); color: var(--ink-2); }
.sec--light .notice strong, .sec--white .notice strong { color: var(--ink); }
.sec--light .notice svg, .sec--white .notice svg { color: var(--gold-lo); }
.notice--strong { border-color: var(--gold); background: rgba(201, 185, 143,.09); }

/* ==========================================================================
   Roadmap
   ========================================================================== */
.roadmap { position: relative; }
.roadmap__track { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; border-top: 1px solid var(--line-2); }
.roadmap__progress { position: absolute; top: -1px; left: 0; height: 1px; background: var(--gold); width: calc(100% / 12); transition: width .8s var(--ease); }
.rm-tab { position: relative; text-align: left; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 26px 14px 26px 0; transition: color .3s; }
.rm-tab::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--navy-950); border: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
.sec--navy .rm-tab::before { background: var(--navy-900); }
.rm-tab .index-num { display: block; margin-bottom: 8px; }
.rm-tab strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.1; display: block; }
.rm-tab:hover { color: var(--white); }
.rm-tab[aria-selected="true"] { color: var(--white); }
.rm-tab[aria-selected="true"]::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(201, 185, 143,.15); }
.rm-tab[aria-selected="true"] .index-num { color: var(--gold); }
.rm-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 80px); padding-top: 40px; border-top: 1px solid var(--line); animation: fadeUp .6s var(--ease); }
.rm-panel[hidden] { display: none; }
.rm-panel h3 { font-family: var(--f-display); font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 14px 0 20px; }
.rm-panel ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.rm-panel li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rm-panel li strong { display: block; font-weight: 600; margin-bottom: 4px; }
.rm-panel li span { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) {
  .roadmap__track { grid-template-columns: repeat(3, 1fr); }
  .roadmap__progress { display: none; }
  .rm-panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .roadmap__track { grid-template-columns: 1fr 1fr; }
  .rm-panel ul { grid-template-columns: 1fr; }
}

/* Vertical roadmap (roadmap page) */
.vroad { position: relative; list-style: none; }
.vroad::before { content: ""; position: absolute; left: 140px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.vroad__phase { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 0; padding-bottom: 80px; position: relative; }
.vroad__phase:last-child { padding-bottom: 0; }
.vroad__meta { padding-right: 30px; padding-top: 6px; }
.vroad__meta .index-num { color: var(--gold); display: block; }
.vroad__dot { position: absolute; left: 136px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(201, 185, 143,.14); }
.vroad__body { padding-left: 50px; }
.vroad__body h2 { font-family: var(--f-display); font-size: clamp(36px, 4.4vw, 58px); line-height: 1; margin-bottom: 16px; }
.vroad__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 28px; }
.vroad__grid div { padding: 20px 0; border-top: 1px solid var(--line); }
.vroad__grid h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.vroad__grid p { color: var(--muted); font-size: 15px; }
.vroad__dep { margin-top: 20px; font-size: 13.5px; color: var(--muted-2); }
.vroad__dep b { color: var(--silver); font-weight: 600; }
@media (max-width: 760px) {
  .vroad::before { left: 4px; }
  .vroad__phase { grid-template-columns: 1fr; padding-left: 32px; }
  .vroad__dot { left: 0; }
  .vroad__body { padding-left: 0; }
  .vroad__meta { padding-bottom: 10px; }
  .vroad__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Why MUICOOIN (light, numbered editorial)
   ========================================================================== */
.why { list-style: none; border-top: 1px solid var(--line-ink); }
.why li { display: grid; grid-template-columns: 90px minmax(0, 5fr) minmax(0, 6fr); gap: 30px; padding: 40px 0; border-bottom: 1px solid var(--line-ink); align-items: start; }
.why .index-num { color: var(--gold-lo); padding-top: 10px; }
.why h3 { font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.why p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .why li { grid-template-columns: 1fr; gap: 12px; } .why .index-num { padding-top: 0; } }

/* ==========================================================================
   Investor
   ========================================================================== */
.inv-index { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inv-index a { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .3s; min-height: 170px; }
.inv-index a:hover { background: rgba(197,206,216,.035); }
.inv-index a strong { font-size: 17px; font-weight: 600; }
.inv-index a span { font-size: 14px; color: var(--muted); }
.inv-index a .index-num { margin-top: auto; color: var(--gold); }
@media (max-width: 860px) { .inv-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .inv-index { grid-template-columns: 1fr; } .inv-index a { min-height: 0; } }

.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); }
.calc__in { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 24px; }
.calc__out { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.calc__badge { align-self: flex-start; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-950); background: var(--silver); padding: 5px 10px; border-radius: 2px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 13px; font-weight: 600; color: var(--silver); }
.field .hint { font-size: 12.5px; color: var(--muted-2); }
.input-money { position: relative; }
.input-money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--f-mono); }
.input, .select, .textarea {
  width: 100%; height: 52px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--white);
  background: var(--navy-950); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 185, 143,.15); }
.input-money .input { padding-left: 48px; font-family: var(--f-mono); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #E07A6A; }
.field-error { font-size: 12.5px; color: #F09A8B; min-height: 0; }
.range { width: 100%; accent-color: var(--gold); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button { height: 34px; padding: 0 12px; font-family: var(--f-mono); font-size: 12px; background: transparent; border: 1px solid var(--line-2); border-radius: 2px; cursor: pointer; color: var(--silver); }
.presets button:hover, .presets button.is-on { border-color: var(--gold); color: var(--gold); }
.assump { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.assump div { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.assump div:nth-child(even) { text-align: right; font-family: var(--f-mono); color: var(--silver); }
.calc__result { font-family: var(--f-display); font-size: clamp(44px, 5.6vw, 76px); line-height: 1; letter-spacing: -.01em; }
.calc__result small { font-size: .36em; color: var(--gold); font-style: italic; }
.calc__kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc__kpis div { padding: 16px 12px 16px 0; }
.calc__kpis div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.calc__kpis span { display: block; font-size: 12px; color: var(--muted-2); }
.calc__kpis b { font-family: var(--f-mono); font-weight: 500; font-size: 16px; color: var(--white); }
.vest { position: relative; height: 150px; }
.vest svg { width: 100%; height: 100%; overflow: visible; }
.vest__legend { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); margin-top: 8px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc__in { border-right: 0; border-bottom: 1px solid var(--line-2); } }
@media (max-width: 480px) { .calc__kpis { grid-template-columns: 1fr; } .calc__kpis div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ==========================================================================
   Community
   ========================================================================== */
.community { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-950), #0A1828); }
.community__title { font-family: var(--f-display); font-size: clamp(48px, 8vw, 120px); line-height: .92; letter-spacing: -.02em; max-width: 14ch; }
.community__title em { color: var(--gold); }
.community__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); margin-top: 70px; align-items: start; }
.channels { list-style: none; border-top: 1px solid var(--line); }
.channels li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.channels svg { width: 26px; height: 26px; color: var(--silver); }
.channels strong { display: block; font-size: 17px; font-weight: 600; }
.channels span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .community__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .channels li { grid-template-columns: 36px 1fr; } .channels li .status { grid-column: 2; justify-self: start; } }

.form { display: grid; gap: 18px; }
.form--card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: rgba(15, 34, 54,.7); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 13.5px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.check a { color: var(--gold); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 14px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-2); display: none; }
.form-status.is-shown { display: block; }
.form-status--ok { border-color: rgba(95,198,155,.5); color: #A9E5CB; background: rgba(95,198,155,.06); }
.form-status--info { border-color: var(--line-gold); color: var(--silver); background: rgba(201, 185, 143,.05); }
.form-status--err { border-color: rgba(224,122,106,.5); color: #F3B3A8; background: rgba(224,122,106,.06); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(70px, 10vw, 140px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; border-bottom: 1px solid var(--line); }
.phero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 50px; align-items: end; }
.phero__title { font-family: var(--f-display); font-size: clamp(50px, 7.6vw, 112px); line-height: .92; letter-spacing: -.02em; }
.phero__title em { color: var(--gold); }
.phero__aside { font-size: 17px; color: var(--muted); }
.phero__aside .status-legend { margin-top: 24px; }
.phero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.phero__art svg { position: absolute; right: -5%; top: 50%; transform: translateY(-50%); height: 120%; width: auto; opacity: .9; }
.crumbs { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.phero--light { background: var(--paper); color: var(--ink); border-bottom-color: var(--line-ink); }
.phero--light .phero__aside { color: var(--ink-2); }
.phero--light .phero__title em { color: var(--gold-lo); }
.phero--light .crumbs, .phero--light .crumbs a { color: var(--ink-3); }
.phero--light .status-legend { color: var(--ink-2); }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; gap: 26px; } .phero__art svg { opacity: .35; right: -30%; } }

/* page sub-nav (on-this-page) */
.toc { position: sticky; top: calc(var(--nav-h) + 30px); }
.toc h2 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--white); }
.toc a.is-active { color: var(--gold); border-left-color: var(--gold); }
.sec--light .toc ol, .sec--white .toc ol { border-left-color: var(--line-ink); }
.sec--light .toc a, .sec--white .toc a { color: var(--ink-3); }
.sec--light .toc a:hover, .sec--white .toc a:hover { color: var(--ink); }
.sec--light .toc a.is-active, .sec--white .toc a.is-active { color: var(--gold-lo); border-left-color: var(--gold-lo); }
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .toc { position: static; } .toc ol { columns: 2; column-gap: 20px; } }
@media (max-width: 520px) { .toc ol { columns: 1; } }

/* Long-form document typography */
.doc { max-width: 760px; }
.doc > section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.sec--light .doc > section, .sec--white .doc > section { border-bottom-color: var(--line-ink); }
.doc > section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.doc h2 { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; margin-bottom: 22px; display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.doc h2 .index-num { font-size: 13px; }
.doc h3 { font-size: 18px; font-weight: 700; margin: 34px 0 12px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.78; color: var(--muted); }
.sec--light .doc p, .sec--light .doc li, .sec--white .doc p, .sec--white .doc li { color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1.2em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--gold); }
.sec--light .doc li::marker, .sec--white .doc li::marker { color: var(--gold-lo); }
.doc strong { color: var(--white); font-weight: 600; }
.sec--light .doc strong, .sec--white .doc strong { color: var(--ink); }
.doc a { color: var(--gold); }
.sec--light .doc a, .sec--white .doc a { color: #1F5FD6; }
.doc .spec { margin: 10px 0 24px; }
.doc .notice { margin: 24px 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted-2); padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.sec--light .doc-meta, .sec--white .doc-meta { border-color: var(--line-ink); color: var(--ink-3); }
.doc-meta b { color: var(--silver); font-weight: 500; }
.sec--light .doc-meta b, .sec--white .doc-meta b { color: var(--ink); }

/* Pending spec chip inline */
.tbd { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); border: 1px dashed var(--line-2); padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.sec--light .tbd, .sec--white .tbd { color: var(--ink-3); border-color: rgba(15, 34, 54,.25); }
.placeholder { font-family: var(--f-mono); font-size: .88em; color: var(--gold); background: rgba(201, 185, 143,.08); border: 1px dashed var(--line-gold); padding: 1px 7px; border-radius: 2px; }
.sec--light .placeholder, .sec--white .placeholder { color: #8A6A1F; background: rgba(168, 56, 31,.08); border-color: rgba(168, 56, 31,.4); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-group + .faq-group { margin-top: 70px; }
.faq-group > h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lo); margin-bottom: 18px; }
.faq { border-top: 1px solid var(--line-ink); }
.faq details { border-bottom: 1px solid var(--line-ink); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 20px; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-sans); font-size: 22px; font-weight: 300; color: var(--gold-lo); transition: transform .3s var(--ease); text-align: center; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 40px 28px 0; color: var(--ink-2); font-size: 16px; line-height: 1.75; max-width: 75ch; }
.faq .faq__a a { color: #1F5FD6; }
.faq-search { position: relative; margin-bottom: 50px; }
.faq-search .input { background: #fff; color: var(--ink); border-color: var(--line-ink); padding-left: 48px; height: 58px; }
.faq-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.faq-empty { color: var(--ink-3); display: none; padding: 20px 0; }

/* ==========================================================================
   Docs page
   ========================================================================== */
.docs-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; border-top: 1px solid var(--line); }
.docs-item { grid-column: span 6; padding: 34px 34px 34px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 60px 1fr; gap: 20px; }
.docs-item:nth-child(even) { padding-left: 34px; padding-right: 0; border-left: 1px solid var(--line); }
.docs-item svg { width: 36px; height: 36px; color: var(--gold); }
.docs-item h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.docs-item p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.docs-item ul { list-style: none; }
.docs-item li { font-size: 14px; color: var(--silver); padding: 6px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.docs-item li span:last-child { font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) { .docs-item { grid-column: span 12; } .docs-item:nth-child(even) { padding-left: 0; border-left: 0; } }
@media (max-width: 480px) { .docs-item { grid-template-columns: 1fr; gap: 12px; } }

.code { font-family: var(--f-mono); font-size: 13.5px; line-height: 1.7; background: #0A1828; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; overflow-x: auto; color: var(--silver); }
.code .c { color: var(--muted-2); }
.code .k { color: var(--gold); }

/* Glossary */
.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.gloss div { padding: 22px 0; border-top: 1px solid var(--line-ink); }
.gloss dt { font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.gloss dd { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .gloss { grid-template-columns: 1fr; } }

/* ==========================================================================
   Whitepaper page
   ========================================================================== */
.wp-cover { position: relative; aspect-ratio: 3 / 4; max-width: 420px; width: 100%; justify-self: end; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #162C45, #0F2236 60%); border: 1px solid var(--line-2); box-shadow: 0 60px 90px -40px rgba(0,0,0,.8), 30px 30px 0 -1px rgba(201, 185, 143,.08); padding: 40px 34px; display: flex; flex-direction: column; transform: rotate(-2deg); }
.wp-cover::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 185, 143,.25); pointer-events: none; }
.wp-cover__top { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; display: flex; justify-content: space-between; }
.wp-cover__title { font-family: var(--f-display); font-size: clamp(40px, 4.4vw, 58px); line-height: .95; margin-top: auto; }
.wp-cover__title em { color: var(--gold); }
.wp-cover__sub { font-size: 13px; color: var(--muted); margin-top: 16px; }
.wp-cover svg { position: absolute; right: -60px; top: 50px; width: 300px; opacity: .55; }
.wp-cover__foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; display: flex; justify-content: space-between; }
@media (max-width: 900px) { .wp-cover { justify-self: start; max-width: 320px; transform: none; } }

.wp-outline { list-style: none; counter-reset: wp; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; border-top: 1px solid var(--line-ink); }
.wp-outline li { counter-increment: wp; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-ink); }
.wp-outline li::before { content: counter(wp, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--gold-lo); }
.wp-outline a { font-weight: 600; color: var(--ink); text-decoration: none; }
.wp-outline a:hover { color: var(--gold-lo); }
@media (max-width: 760px) { .wp-outline { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); }
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 6px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; background: var(--navy-900); border-top: 1px solid var(--line); }
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.cta-band h2 { font-family: var(--f-display); font-size: clamp(40px, 5.4vw, 76px); line-height: .98; }
.cta-band h2 em { color: var(--gold); }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0A1828; border-top: 1px solid var(--line); padding: 90px 0 40px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer__tag { font-family: var(--f-display); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; margin: 26px 0 0; }
.footer__tag em { color: var(--gold); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer__cols h2 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer__cols ul { list-style: none; display: grid; gap: 10px; }
.footer__cols a { color: var(--silver); text-decoration: none; transition: color .2s; }
.footer__cols a:hover { color: var(--gold); }
.footer__risk { padding: 40px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 60px; }
.footer__risk h2 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.footer__risk p { font-size: 12.5px; line-height: 1.7; color: var(--muted-2); margin-bottom: .9em; }
.footer__bottom { padding-top: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--muted-2); }
.footer__bottom button { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 12.5px; }
@media (max-width: 960px) { .footer__top, .footer__risk { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 640px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.consent { position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; background: var(--navy-900); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 22px 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.consent.is-shown { transform: none; opacity: 1; }
.consent h2 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.consent p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.consent p a { color: var(--gold); }
.consent .btn-row { gap: 10px; }
.consent__prefs { display: none; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 16px; }
.consent.is-prefs .consent__prefs { display: grid; gap: 12px; }

/* ==========================================================================
   Reveal & motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-inview { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

/* SVG diagram animations */
.flow-dash { stroke-dasharray: 4 8; animation: dash 3.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -96; } }
.pulse-dot { animation: pulse 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Utility spacing */
.mt-s { margin-top: 20px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: 70px; } .mt-xl { margin-top: 110px; }
.mb-s { margin-bottom: 20px; } .mb-m { margin-bottom: 40px; } .mb-l { margin-bottom: 70px; }
.center { text-align: center; }
.maxw-60 { max-width: 60ch; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Print (legal / whitepaper) */
@media print {
  .site-header, .site-footer, .consent, .cta-band, .toc, .phero__art { display: none !important; }
  body, .sec, .phero { background: #fff !important; color: #000 !important; }
  .doc p, .doc li { color: #222 !important; }
  .phero { padding-top: 20px; }
}

/* ---------- light-section variants & late fixes ---------- */
.sec--light .compare { border-color: var(--line-ink); background: #fff; }
.sec--light .compare__col + .compare__col { border-color: var(--line-ink); }
.sec--light .compare__col--hl { background: linear-gradient(180deg, rgba(201, 185, 143,.14), rgba(201, 185, 143,0) 75%); }
.sec--light .compare__col h3 { color: var(--ink); }
.sec--light .compare__col--hl .tag { color: var(--gold-lo); }
.sec--light .compare dt, .sec--light .compare .tag { color: var(--ink-3); }
.sec--light .compare dd { color: var(--ink-2); }
@media (max-width: 520px) {
  .hero__title { font-size: 13vw; }
  .hero__title span { white-space: normal; }
}

.sec:not(.sec--light):not(.sec--white) .why p { color: var(--muted); }
.sec:not(.sec--light):not(.sec--white) .why h3 { color: var(--white); }
.tok__center .amt { max-width: 22ch; margin-left: auto; margin-right: auto; line-height: 1.5; }
@media (max-width: 520px) {
  .laptop { transform: none; width: 92%; }
  .laptop__base { margin: 0 -4%; }
  .tok__center .amt { font-size: 10.5px; max-width: 18ch; }
  .tok__center .lbl { font-size: 12px; }
}

/* ---------- Investor registration ---------- */
.reg { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.reg__steps { list-style: none; position: sticky; top: calc(var(--nav-h) + 30px); border-left: 1px solid var(--line-ink); }
.reg__steps li { padding: 12px 0 12px 20px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); font-weight: 600; font-size: 15px; display: flex; gap: 12px; align-items: baseline; }
.reg__steps li .index-num { color: var(--ink-3); }
.reg__steps li.is-current { color: var(--ink); border-left-color: var(--gold-lo); }
.reg__steps li.is-current .index-num { color: var(--gold-lo); }
.reg__steps li.is-done { color: var(--ink-2); }
.reg__steps li.is-done .index-num::after { content: " \2713"; color: #1E8A5C; }
.reg__form { background: #fff; border: 1px solid var(--line-ink); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 48px); gap: 22px; }
.reg__step { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.reg__step[hidden] { display: none; }
.reg__step legend { color: var(--ink); margin-bottom: 8px; padding: 0; outline: none; }
.reg .field label, .reg .field .label { color: var(--ink); }
.reg .field .hint { color: var(--ink-3); }
.reg .input, .reg .select, .reg .textarea { background: #fff; color: var(--ink); border-color: rgba(15, 34, 54,.2); }
.reg .input:focus, .reg .select:focus, .reg .textarea:focus { border-color: var(--gold-lo); box-shadow: 0 0 0 3px rgba(168, 56, 31,.15); }
.reg .field-error { color: #B3412E; }
.reg .check { color: var(--ink-2); }
.reg .check a { color: #1F5FD6; }
.reg .check strong { color: var(--ink); }
.reg .input[aria-invalid="true"], .reg .select[aria-invalid="true"] { border-color: #B3412E; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.choice { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid rgba(15, 34, 54,.16); border-radius: var(--r); cursor: pointer; color: var(--ink); font-size: 15px; transition: border-color .2s, background .2s; }
.choice:hover { border-color: rgba(15, 34, 54,.35); }
.choice input { accent-color: var(--ink); width: 17px; height: 17px; margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--ink); background: rgba(15, 34, 54,.035); }
.reg__nav { display: flex; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line-ink); }
.reg__nav .reg__count { margin-right: auto; }
.reg__nav [data-step-prev] + .reg__count { margin-left: 0; }
.reg__nav[hidden] { display: none; }
.reg__review { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0 0 10px; border-top: 1px solid var(--line-ink); }
.reg__review div { padding: 10px 0; border-bottom: 1px solid var(--line-ink); }
.reg__review dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.reg__review dd { margin: 2px 0 0; color: var(--ink); font-size: 15px; word-break: break-word; }
.reg .form-status--info { color: var(--ink-2); }
.reg .form-status--err { color: #8F2F20; background: rgba(179,65,46,.06); border-color: rgba(179,65,46,.35); }
.reg .form-status--ok { color: #1E6B48; }
.reg__done[hidden] { display: none; }
.reg__done .h2 { color: var(--ink); }
@media (max-width: 900px) {
  .reg { grid-template-columns: 1fr; }
  .reg__steps { position: static; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 0; border-top: 1px solid var(--line-ink); }
  .reg__steps li { flex-direction: column; gap: 2px; padding: 12px 6px 0 0; border-left: 0; border-top: 2px solid transparent; margin: -1px 0 0; font-size: 12.5px; }
  .reg__steps li.is-current { border-top-color: var(--gold-lo); }
}
@media (max-width: 520px) { .reg__review { grid-template-columns: 1fr; } .reg__nav { flex-wrap: wrap; } .reg__nav .reg__count { width: 100%; order: -1; } }

.reg__message { padding: 22px; background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--r); }
.reg__message label { font-size: 16px; font-weight: 700; }
.reg__message .textarea { min-height: 170px; }
.reg__counter { text-align: right; }
.reg .field[hidden] { display: none; }

.reg .reg__msg-small .textarea { min-height: 0; height: auto; resize: vertical; }

[hidden] { display: none !important; }

/* ---------- Concept film (homepage "everyday life" animation) ---------- */
.film__stage { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--navy-950); }
.film__svg { width: 100%; height: 100%; }
.film__svg text { font-family: var(--f-sans); font-size: 12px; }
.film__svg .tb { fill: #fff; font-size: 14px; font-weight: 700; }
.film__svg .tw { fill: #fff; }
.film__svg .tn { fill: var(--navy-950); font-weight: 700; }
.film__svg .ts { fill: var(--muted); font-size: 11px; }
.film__svg .tok { fill: #5FC69B; font-size: 11px; font-weight: 600; }
.film__svg .tl, .film__svg .mono { font-family: var(--f-mono); }
.film__svg .tl { fill: var(--muted); font-size: 11px; letter-spacing: .16em; }
.film__scene { display: none; }
.film__scene.is-on { display: inline; animation: fScene .6s var(--ease) both; }
.film.is-paused .film__svg *, .film:not(.is-ready) .film__svg * { animation-play-state: paused !important; }
.film__badge { position: absolute; left: 14px; top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: rgba(15, 34, 54,.75); border: 1px solid var(--line-gold); padding: 5px 10px; border-radius: 2px; }
.film__play { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-gold); background: rgba(15, 34, 54,.8); color: var(--gold); display: grid; place-items: center; cursor: pointer; }
.film__play svg { width: 16px; height: 16px; }
.film__play .i-play, .film.is-paused .film__play .i-pause { display: none; }
.film.is-paused .film__play .i-play { display: block; }
.film__chapters { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.film__chapters button { width: 100%; text-align: left; background: none; border: 0; padding: 10px 0 0; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.35; }
.film__chapters button .index-num { display: block; margin-bottom: 2px; }
.film__chapters button[aria-current="true"] { color: #fff; }
.film__chapters i { display: block; height: 2px; background: var(--line-2); margin-bottom: 10px; overflow: hidden; }
.film__chapters i b { display: block; height: 100%; width: 0; background: var(--gold); }
.film__caption { margin-top: 18px; color: var(--silver); font-size: 17px; max-width: 70ch; min-height: 3.3em; }
@media (max-width: 760px) {
  .film__chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .film__badge { font-size: 9px; padding: 3px 7px; left: 8px; top: 8px; }
  .film__play { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .film__caption { font-size: 15px; }
}

.f-in, .f-pop, .f-out, .f-flyx, .f-flyy, .f-move, .f-reach, .f-draw, .f-ripple, .f-blink { animation-fill-mode: both; animation-delay: var(--d, 0s); }
.f-in { animation-name: fIn; animation-duration: .5s; animation-timing-function: var(--ease); }
.f-pop { animation-name: fPop; animation-duration: .55s; animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); transform-box: fill-box; transform-origin: center; }
.f-out { animation-name: fOut; animation-duration: .35s; }
.f-flyx { animation-name: fFlyX; animation-duration: var(--dur, 1s); animation-timing-function: linear; }
.f-flyy { animation-name: fFlyY; animation-duration: var(--dur, 1s); }
.f-move { animation-name: fMove; animation-duration: var(--dur, 1s); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
.f-reach { animation-name: fReach; animation-duration: var(--dur, 3s); animation-timing-function: var(--ease); }
.f-draw { stroke-dasharray: 1000; animation-name: fDraw; animation-duration: var(--dur, 1s); animation-timing-function: ease-out; }
.f-ripple { animation-name: fRipple; animation-duration: .7s; transform-box: fill-box; transform-origin: center; }
.f-blink { animation-name: fBlink; animation-duration: .4s; animation-iteration-count: 3; }
.f-spin { animation: fSpin 1.6s linear infinite; }
.f-steam { animation: fSteam 2s ease-in-out infinite; }
@keyframes fScene { from { opacity: 0; } to { opacity: 1; } }
@keyframes fIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes fOut { to { opacity: 0; } }
@keyframes fFlyX { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 0), var(--dy2, 0)); } }
@keyframes fFlyY { 0% { transform: translateY(0); animation-timing-function: ease-out; } 50% { transform: translateY(var(--dy, -100px)); animation-timing-function: ease-in; } 100% { transform: translateY(0); } }
@keyframes fMove { to { transform: translate(var(--dx, 0), var(--dy, 0)); } }
@keyframes fReach { 0%, 100% { transform: none; } 35%, 65% { transform: translate(var(--dx, 0), var(--dy, 0)); } }
@keyframes fDraw { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes fRipple { from { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } to { opacity: 0; transform: scale(2.6); } }
@keyframes fBlink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fSpin { to { transform: rotate(360deg); } }
@keyframes fSteam { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: .8; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .film .film__svg * { animation-play-state: running !important; }
  .film__play { display: none; }
}

/* ---------- Decentralized by design (homepage) ---------- */
.dec-compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-ink); background: #fff; }
.dec-fig { margin: 0; padding: clamp(24px, 3vw, 40px); }
.dec-fig + .dec-fig { border-left: 1px solid var(--line-ink); }
.dec-fig--hl { background: linear-gradient(180deg, rgba(201, 185, 143,.14), rgba(201, 185, 143,0) 75%); }
.dec-fig svg { width: 100%; max-width: 360px; margin: 0 auto 20px; }
.dec-fig figcaption { color: var(--ink-2); font-size: 15px; }
.dec-fig figcaption strong { display: block; color: var(--ink); font-size: 18px; margin: 8px 0 6px; }
.dec-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.dec-tag--gold { color: var(--gold-lo); }
.dec-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-ink); border-left: 1px solid var(--line-ink); }
.dec-grid li { padding: 28px; border-right: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); background: rgba(255,255,255,.55); }
.dec-grid .index-num { color: var(--gold-lo); }
.dec-grid h4 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 10px 0 8px; }
.dec-grid p { color: var(--ink-2); font-size: 15px; }
.dec-hold { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.dec-hold .h2 { color: var(--ink); }
.dec-uses { list-style: none; border-top: 1px solid var(--line-ink); }
.dec-uses li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line-ink); color: var(--ink-2); position: relative; }
.dec-uses li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.dec-uses strong { color: var(--ink); }
.dec-uses .status { margin-left: 6px; }
.dec-note { display: flex; gap: 14px; padding: 18px 22px; border: 1px solid var(--gold-lo); background: rgba(201, 185, 143,.1); color: var(--ink-2); font-size: 15px; }
.dec-note svg { flex: none; width: 18px; height: 18px; color: var(--gold-lo); margin-top: 3px; }
.dec-note strong { color: var(--ink); }
.dec-note a { color: #1F5FD6; }
@media (max-width: 860px) {
  .dec-compare, .dec-hold { grid-template-columns: 1fr; }
  .dec-fig + .dec-fig { border-left: 0; border-top: 1px solid var(--line-ink); }
  .dec-grid { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1100px) { .dec-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Premium colour pass: film + decentralization ---------- */
.film__stage { border-color: rgba(201, 185, 143,.35); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(201, 185, 143,.08), 0 0 80px -20px rgba(52,120,246,.35); }
.film__svg use[href="#fc"] { filter: drop-shadow(0 0 6px rgba(246,227,168,.75)) drop-shadow(0 0 16px rgba(201, 185, 143,.45)); }
.film__svg use[href="#fok"] { filter: drop-shadow(0 0 8px rgba(95,198,155,.6)); }
.film__svg use[href="#fp"] { filter: drop-shadow(0 18px 18px rgba(0,0,0,.45)); }
.film__badge { background: linear-gradient(90deg, rgba(201, 185, 143,.18), rgba(15, 34, 54,.85)); }
.film__play { background: linear-gradient(135deg, #F6E3A8, #C9B98F 50%, #8A6A1F); color: var(--navy-950); border: 0; box-shadow: 0 6px 20px rgba(201, 185, 143,.4); }
.film__chapters i b { background: linear-gradient(90deg, #8A6A1F, #F6E3A8); box-shadow: 0 0 10px rgba(201, 185, 143,.7); }
.film__chapters button[aria-current="true"] .index-num { color: var(--gold); }

#decentralized { background: radial-gradient(1200px 500px at 100% 0%, rgba(201, 185, 143,.14), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(52,120,246,.08), transparent 60%), var(--paper); }
.dec-compare { box-shadow: 0 30px 60px -35px rgba(15, 34, 54,.35); }
.dec-fig--hl { background: linear-gradient(160deg, rgba(201, 185, 143,.22), rgba(201, 185, 143,.02) 70%); }
.dec-grid li { background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; }
.dec-grid li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #8A6A1F, #F6E3A8, #3478F6); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.dec-grid li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(15, 34, 54,.35); z-index: 1; }
.dec-grid li:hover::before { transform: scaleX(1); }
.dec-grid .index-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #F6E3A8, #C9B98F 55%, #8A6A1F); color: var(--navy-950); font-weight: 600; }
.dec-hold { padding: clamp(28px, 5vw, 60px); border-radius: var(--r-lg); color: var(--white); background: radial-gradient(700px 400px at 100% 0%, rgba(52,120,246,.28), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(43,179,154,.16), transparent 60%), linear-gradient(135deg, #13283F, #0F2236); box-shadow: 0 40px 80px -40px rgba(15, 34, 54,.8); border: 1px solid rgba(201, 185, 143,.3); }
.dec-hold .h2 { color: var(--white); }
.dec-hold .h2 em { color: var(--gold); }
.dec-hold .eyebrow { color: var(--gold); }
.dec-hold p.mt-s { color: var(--muted) !important; }
.dec-uses { border-top-color: var(--line-2); }
.dec-uses li { border-bottom-color: var(--line); color: var(--muted); }
.dec-uses strong { color: var(--white); }
.dec-uses li::before { background: linear-gradient(135deg, #F6E3A8, #C9B98F); box-shadow: 0 0 10px rgba(201, 185, 143,.7); }
.dec-hold .status--proposed { color: var(--gold); }

/* ---------- Direct message buttons (WhatsApp / Instagram) ---------- */
.dm-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.dm { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; box-shadow: 0 10px 26px -6px rgba(0,0,0,.55); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.dm svg { width: 28px; height: 28px; }
.dm--wa { background: #25D366; }
.dm--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: dmPing 2.4s var(--ease) infinite; }
.dm--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.dm:hover, .dm:focus-visible { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 32px -8px rgba(0,0,0,.6); }
.dm__tip { position: absolute; right: 68px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; background: var(--navy-950); color: #fff; border: 1px solid var(--line-gold); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.dm:hover .dm__tip, .dm:focus-visible .dm__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes dmPing { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
.consent.is-shown ~ .dm-float, body:has(.consent.is-shown) .dm-float { bottom: 200px; }
@media (max-width: 600px) { .dm { width: 50px; height: 50px; } .dm svg { width: 25px; height: 25px; } .dm__tip { display: none; } }
.footer__dms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer__dm { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--silver); font-size: 13.5px; text-decoration: none; transition: border-color .3s, color .3s; }
.footer__dm svg { width: 18px; height: 18px; }
.footer__dm:hover { border-color: #25D366; color: #fff; }
@media print { .dm-float { display: none !important; } }
.dm--tg { background: linear-gradient(135deg, #37AEE2, #1E96C8); }
.dm--tg svg { width: 26px; height: 26px; margin-left: -2px; }
.dm--tt { background: #000; border: 1px solid rgba(255,255,255,.18); }
.dm--tt svg { width: 24px; height: 24px; filter: drop-shadow(-1.5px -1px 0 #25F4EE) drop-shadow(1.5px 1px 0 #FE2C55); }
.footer__dm:has(svg path[d^="M12.525"]):hover { border-color: #FE2C55; }
/* Why-section film sits on a light section */
.sec--light .film__chapters button { color: var(--ink-3); }
.sec--light .film__chapters button[aria-current="true"] { color: var(--ink); }
.sec--light .film__chapters i { background: var(--line-ink); }
.sec--light .film__caption { color: var(--ink-2); }

/* ---------- 3D logo mark (same shape, metallic + depth + coin tilt) ---------- */
.mark3d { display: inline-block; flex: none; perspective: 240px; }
.mark3d svg { width: 100%; height: 100%; transform-style: preserve-3d; filter: drop-shadow(0 1px 0 #5E4720) drop-shadow(0 3px 6px rgba(0,0,0,.55)) drop-shadow(0 0 8px rgba(201, 185, 143,.35)); animation: markTilt 6s ease-in-out infinite; }
.brand:hover .mark3d svg, .brand:focus-visible .mark3d svg { animation: markSpin 1.2s var(--ease) 1; }
@keyframes markTilt { 0%, 100% { transform: rotateY(-22deg) rotateX(6deg); } 50% { transform: rotateY(22deg) rotateX(-4deg); } }
@keyframes markSpin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

/* ---------- Intro logo reveal (once per visit; pure-CSS timeline, JS only skips) ---------- */
.intro { display: none; }
html.intro-on .intro { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; align-content: center; background: radial-gradient(ellipse at 50% 45%, #0E2140 0%, #050B16 60%, #02060D 100%); overflow: hidden; animation: introOut .7s var(--ease) 3.1s forwards; }
html.intro-on body { overflow: hidden; }
.intro__light { position: absolute; width: 140vmax; height: 140vmax; left: 50%; top: 45%; transform: translate(-50%, -50%) scale(.2); background: radial-gradient(circle, rgba(246,227,168,.35) 0%, rgba(201, 185, 143,.12) 18%, transparent 45%); opacity: 0; animation: introLight 2.4s var(--ease) .2s forwards; }
.intro__rings { position: absolute; left: 50%; top: 45%; width: 0; height: 0; }
.intro__rings span { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; border: 1px solid rgba(201, 185, 143,.6); opacity: 0; animation: introRing 1.8s var(--ease) forwards; }
.intro__rings span:nth-child(1) { animation-delay: 1.15s; }
.intro__rings span:nth-child(2) { animation-delay: 1.35s; }
.intro__rings span:nth-child(3) { animation-delay: 1.55s; }
.intro__coin { position: relative; width: min(46vw, 230px); perspective: 900px; margin-top: -4vh; }
.intro__coin picture, .intro__coin img { display: block; width: 100%; height: auto; }
.intro__coin picture { opacity: 0; animation: introCoin 1.6s cubic-bezier(.2,.8,.2,1) .25s forwards; }
.intro__shine { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(../assets/mui-coin-480.png) center / 100% 100% no-repeat; mask: url(../assets/mui-coin-480.png) center / 100% 100% no-repeat; background: linear-gradient(105deg, transparent 35%, rgba(255,248,220,.8) 48%, rgba(255,255,255,.95) 50%, rgba(255,248,220,.8) 52%, transparent 65%) no-repeat; background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: screen; opacity: 0; animation: introShine 1s ease-in-out 1.75s forwards; }
.intro__word { margin: 26px 0 0; font-family: var(--f-sans); font-weight: 800; font-size: clamp(26px, 5vw, 40px); letter-spacing: .32em; padding-left: .32em; color: #fff; display: flex; justify-content: center; }
.intro__word b { font-weight: 800; display: flex; color: var(--gold); }
.intro__word span { display: inline-block; opacity: 0; transform: translateY(18px); animation: introLetter .55s var(--ease) forwards; }
.intro__word > span:nth-child(1) { animation-delay: 1.5s; } .intro__word > span:nth-child(2) { animation-delay: 1.56s; } .intro__word > span:nth-child(3) { animation-delay: 1.62s; }
.intro__word b span:nth-child(1) { animation-delay: 1.68s; } .intro__word b span:nth-child(2) { animation-delay: 1.74s; } .intro__word b span:nth-child(3) { animation-delay: 1.8s; } .intro__word b span:nth-child(4) { animation-delay: 1.86s; } .intro__word b span:nth-child(5) { animation-delay: 1.92s; }
.intro__tag { margin: 12px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); text-align: center; opacity: 0; animation: introFade .7s var(--ease) 2.15s forwards; }
.intro__skip { position: absolute; right: 20px; bottom: 20px; background: none; border: 1px solid var(--line-2); color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.intro__skip:hover { color: #fff; border-color: var(--gold); }
html.intro-on.intro-skip .intro { animation: introOut .35s var(--ease) forwards !important; }
@keyframes introLight { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); } 60% { opacity: 1; } 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); } }
@keyframes introCoin { 0% { opacity: 0; transform: rotateY(-200deg) scale(.55); filter: blur(10px); } 55% { opacity: 1; filter: blur(0) drop-shadow(0 0 60px rgba(246,227,168,.7)); } 100% { opacity: 1; transform: rotateY(0) scale(1); filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(201, 185, 143,.45)); } }
@keyframes introRing { 0% { opacity: 0; transform: scale(.5); } 25% { opacity: .9; } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes introShine { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }
@keyframes introLetter { to { opacity: 1; transform: none; } }
@keyframes introFade { to { opacity: 1; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { html.intro-on .intro { display: none; } }
@media print { .intro { display: none !important; } }

/* ---------- Photos in highlighted sections ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid rgba(201, 185, 143,.35); box-shadow: 0 30px 60px -30px rgba(15, 34, 54,.6); background: var(--navy-900); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 34, 54,0) 45%, rgba(15, 34, 54,.78) 100%); pointer-events: none; }
.photo figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.photo--tall { aspect-ratio: 4 / 3; max-width: 520px; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--actor { aspect-ratio: 16 / 10; margin-bottom: 22px; }
.community__photo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 34, 54,.92), rgba(15, 34, 54,.78) 40%, rgba(15, 34, 54,.95)), url(../assets/photos/community.jpg) center / cover no-repeat; opacity: .9; }
@media (max-width: 960px) { .photo--tall { max-width: none; } }
.photo.mt-m { margin-top: 40px; }
.sec--white .btn--line { color: var(--ink); border-color: var(--line-ink); }
.sec--white .btn--line:hover { color: var(--gold-lo); border-color: var(--gold-lo); }

/* ---------- Real coin logo (replaces SVG mark) ---------- */
.brand__logo { display: inline-block; flex: none; border-radius: 50%; filter: drop-shadow(0 2px 5px rgba(0,0,0,.45)) drop-shadow(0 0 6px rgba(201, 185, 143,.3)); transition: transform .6s var(--ease); }
.brand__logo img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.brand:hover .brand__logo, .brand:focus-visible .brand__logo { transform: rotate(-12deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .brand__logo { transition: none; } }

/* ---------- Hero coin: flip motion for the image fallback (no WebGL / file://) ---------- */
.hero__fallback { perspective: 1200px; }
.hero__fallback picture { display: grid; place-items: center; width: 100%; transform-style: preserve-3d; animation: heroCoinFlip 6s cubic-bezier(.45,.05,.35,1) infinite; will-change: transform; }
@keyframes heroCoinFlip {
  0%   { transform: translateY(0) rotateY(-14deg); }
  35%  { transform: translateY(-12px) rotateY(10deg); }
  70%  { transform: translateY(0) rotateY(-14deg); }
  85%  { transform: translateY(-34px) rotateY(166deg) rotateX(8deg); }
  100% { transform: translateY(0) rotateY(346deg); }
}
@media (prefers-reduced-motion: reduce) { .hero__fallback picture { animation: none; } }

/* ==========================================================================
   SECURITY PRINT THEME (Nov 2026)
   Banknote-engraving language: ink navy, engraving paper, vermilion serial
   accent, heavy grotesque display, status shown as ink stamps.
   Previous look is backed up in _archive/pre-security-print/.
   ========================================================================== */
:root {
  --paper: #ECEEE8;
  --paper-2: #E1E4DC;
  --ink: #0F2236;
  --ink-2: #3A4756;
  --ink-3: #4A5866;
  --muted: #B9C3CE;
  --muted-2: #8D9AA8;
  --accent: #8A6A1F;        /* vermilion, on paper */
  --accent-on-dark: #F0C96A;
  --line-ink: rgba(15, 34, 54, .18);
  --r: 2px;
  --r-lg: 4px;
}

/* Display type: heavy, tight grotesque instead of the italic serif */
.display, .h1, .h2, .hero__title, .footer__tag {
  font-weight: 800; letter-spacing: -.035em; line-height: .94;
  font-optical-sizing: auto;
}
.h2 { line-height: .98; }
.h2 em, .h1 em, .display em, .footer__tag em, .hero__title span:nth-child(3) { font-style: normal; color: var(--accent-on-dark); }
.sec--light .h2 em, .sec--light .h1 em, .sec--white .h2 em, .sec--white .h1 em { color: var(--accent); }
.h3 { letter-spacing: -.015em; }

/* Paper sections */
.sec--light { background-color: var(--paper); }
.sec--white { background-color: #F6F6F1; color: var(--ink); }
.sec--light + .sec--light, .sec--white + .sec--light, .sec--light + .sec--white { border-top: 1.5px solid var(--ink); }
.sec--light .eyebrow, .sec--white .eyebrow, .sec--light .link-arrow { color: var(--accent); }
.sec--light ::selection, .sec--white ::selection { background: var(--ink); color: var(--paper); }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline-color: var(--accent-on-dark); }
.sec--light :focus-visible, .sec--white :focus-visible { outline-color: var(--accent); }

/* Status tags become ink stamps */
.status {
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  padding: 5px 10px; border-width: 1.5px; border-radius: 0;
  transform: rotate(-1.5deg);
}
.status::before { display: none; }
.status--dev { transform: rotate(1deg); }
.status--pending { transform: rotate(1.5deg); border-style: dashed; }
.status--proposed { color: #ECEEE8; }
.status--dev { color: var(--accent-on-dark); }
.status--pending { color: var(--muted); }
.status--done { color: #7CC9A3; }
.sec--light .status--proposed, .sec--white .status--proposed { color: var(--ink); }
.sec--light .status--dev, .sec--white .status--dev { color: var(--accent); }
.sec--light .status--pending, .sec--white .status--pending { color: var(--ink-3); }
.sec--light .status--done, .sec--white .status--done { color: #1E5E45; }
@media (prefers-reduced-motion: reduce) { .status { transform: none; } }

/* Buttons: sentence case, flat ink or paper fills */
.btn { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; border-width: 1.5px; }
.btn--sm { font-size: 14px; }
.btn--gold { background: var(--paper); color: var(--ink); }
.btn--gold:hover { background: #fff; color: var(--ink); }
.btn--line { border-color: rgba(236, 238, 232, .55); }
.btn--line:hover { border-color: var(--paper); color: var(--paper); }
.sec--light .btn--gold, .sec--white .btn--gold { background: var(--ink); color: var(--paper); }
.sec--light .btn--gold:hover, .sec--white .btn--gold:hover { background: var(--accent); color: #fff; }
.sec--light .btn--line, .sec--white .btn--line { border-color: var(--ink); color: var(--ink); }
.sec--light .btn--line:hover, .sec--white .btn--line:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* Engraving hatch behind the hero */
.hero { background-image: repeating-linear-gradient(135deg, rgba(236, 238, 232, .035) 0 1px, transparent 1px 7px); }

/* Microtext band across the top of the footer */
.site-footer { position: relative; padding-top: 118px; }
.site-footer::before {
  content: "MUICOOIN · Series 00 · Pre-mainnet · No part of the network is live yet · Proposed max supply 100,000,000 MUI · MUICOOIN · Series 00 · Pre-mainnet · No part of the network is live yet · Proposed max supply 100,000,000 MUI · MUICOOIN · Series 00 · Pre-mainnet · No part of the network is live yet · ";
  position: absolute; top: 0; left: 0; right: 0; padding: 8px 0;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; color: var(--ink); background: var(--paper);
}

/* ---------- Status table: lights up in colour on hover / touch / focus ---------- */
.spec--lit tbody tr { --c: #F0C96A; cursor: default; outline: none; }
.spec--lit tbody tr:nth-child(9n+2) { --c: #FFD978; }
.spec--lit tbody tr:nth-child(9n+3) { --c: #5FA8FF; }
.spec--lit tbody tr:nth-child(9n+4) { --c: #3D8BFF; }
.spec--lit tbody tr:nth-child(9n+5) { --c: #9CC2FF; }
.spec--lit tbody tr:nth-child(9n+6) { --c: #E6C27A; }
.spec--lit tbody tr:nth-child(9n+7) { --c: #7FC8FF; }
.spec--lit tbody tr:nth-child(9n+8) { --c: #D4AF5A; }
.spec--lit tbody tr:nth-child(9n+9) { --c: #B8D4FF; }
.spec--lit tbody th, .spec--lit tbody td {
  background-color: transparent;
  background-image: linear-gradient(90deg, transparent 0%, var(--c) 50%, transparent 100%);
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
  transition: background-color .45s var(--ease), color .35s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease), background-size .6s var(--ease);
}
.spec--lit tbody th { transition-property: background-color, color, padding, box-shadow, background-size; }
.spec--lit tbody tr:is(:hover, :focus-visible, .is-lit) > * {
  background-color: color-mix(in srgb, var(--c) 16%, transparent);
  background-size: 200% 2px;
  animation: lit-sweep 1.6s linear infinite;
  color: var(--white);
}
.spec--lit tbody tr:is(:hover, :focus-visible, .is-lit) > th { color: var(--c); padding-left: 18px; box-shadow: inset 4px 0 0 var(--c); }
.spec--lit tbody tr:is(:hover, :focus-visible, .is-lit) .status {
  background: var(--c); border-color: var(--c); color: var(--ink);
  animation: stamp-press .5s var(--ease) both;
}
@keyframes lit-sweep { from { background-position: -100% 100%; } to { background-position: 200% 100%; } }
@keyframes stamp-press {
  0% { transform: rotate(-1.5deg) scale(1); }
  45% { transform: rotate(-6deg) scale(1.18); }
  100% { transform: rotate(0deg) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .spec--lit tbody tr > *, .spec--lit tbody tr .status { animation: none !important; transition: background-color .2s, color .2s; }
}

/* ---------- "Five layers, one chain": colour pass ---------- */
.stage--vivid {
  background:
    radial-gradient(ellipse 60% 70% at 18% 30%, rgba(156, 194, 255, .22), transparent 70%),
    radial-gradient(ellipse 55% 60% at 85% 25%, rgba(230, 194, 122, .18), transparent 70%),
    radial-gradient(ellipse 60% 60% at 60% 95%, rgba(95, 168, 255, .18), transparent 70%),
    var(--navy-950);
  border-color: rgba(156, 194, 255, .35);
}
.stage--vivid .stage__label::before { background: #5FA8FF; box-shadow: 0 0 0 4px rgba(95, 168, 255, .2); animation: vivid-pulse 2.4s ease-in-out infinite; }
@keyframes vivid-pulse { 50% { box-shadow: 0 0 0 8px rgba(95, 168, 255, 0); } }

.arch__layers--vivid > li { --c: #F0C96A; position: relative; transition: background-color .45s var(--ease), box-shadow .45s var(--ease); }
.arch__layers--vivid > li:nth-child(2) { --c: #FFD978; }
.arch__layers--vivid > li:nth-child(3) { --c: #5FA8FF; }
.arch__layers--vivid > li:nth-child(4) { --c: #3D8BFF; }
.arch__layers--vivid > li:nth-child(5) { --c: #9CC2FF; }
.arch__layers--vivid > li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--c), transparent); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.arch__layers--vivid > li:hover::after, .arch__layers--vivid > li.is-open::after { transform: scaleX(1); }
.arch__layers--vivid > li.is-open { background-color: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: inset 4px 0 0 var(--c); }
.arch__layers--vivid button { padding-left: 16px; padding-right: 16px; transition: padding .45s var(--ease); }
.arch__layers--vivid > li:hover button, .arch__layers--vivid > li.is-open button { padding-left: 22px; }
.arch__layers--vivid button strong { transition: color .3s var(--ease); }
.arch__layers--vivid > li:hover button strong, .arch__layers--vivid > li.is-open button strong { color: var(--c); }
.arch__layers--vivid .plus { transition: transform .45s var(--ease); }
.arch__layers--vivid .plus::before, .arch__layers--vivid .plus::after { background: var(--c); height: 2px; }
.arch__layers--vivid > li.is-open .plus { transform: rotate(180deg); }
.arch__layers--vivid .arch__detail p { padding-left: 22px; padding-right: 16px; }
.arch__layers--vivid .arch__detail strong { color: var(--c) !important; }
.arch__layers--vivid > li.is-open .arch__detail > div { animation: vivid-in .5s var(--ease) both; }
@keyframes vivid-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .stage--vivid .stage__label::before, .arch__layers--vivid > li.is-open .arch__detail > div { animation: none; }
}

/* ---------- Page transitions: "mint press" (ink, cream, a touch of gold) ---------- */
html.pt-in::after { content: ""; position: fixed; inset: 0; z-index: 9998; background: #0F2236; animation: pt-safety .3s 2.5s forwards; }
@keyframes pt-safety { to { opacity: 0; visibility: hidden; } }
.pt { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.pt--out { pointer-events: auto; cursor: progress; }

/* the two press plates */
.pt__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #0F2236; overflow: hidden; }
.pt__panel--top { top: 0; transform: translateY(-101%); box-shadow: inset 0 -1px 0 #C9B98F; }
.pt__panel--bot { bottom: 0; transform: translateY(101%); box-shadow: inset 0 1px 0 #C9B98F; }
.pt__guil { position: absolute; inset: 0; opacity: .5;   /* engraved line texture */
  background: repeating-radial-gradient(circle at 50% 100%, transparent 0 13px, rgba(201, 185, 143, .14) 13px 14px); }
.pt__panel--bot .pt__guil { background: repeating-radial-gradient(circle at 50% 0%, transparent 0 13px, rgba(201, 185, 143, .14) 13px 14px); }
.pt--out .pt__panel--top { animation: pt-close-top .42s cubic-bezier(.7, 0, .3, 1) both; }
.pt--out .pt__panel--bot { animation: pt-close-bot .42s cubic-bezier(.7, 0, .3, 1) both; }
.pt--in .pt__panel { transform: none; }
.pt--leave .pt__panel--top { animation: pt-open-top .62s cubic-bezier(.7, 0, .2, 1) .12s both; }
.pt--leave .pt__panel--bot { animation: pt-open-bot .62s cubic-bezier(.7, 0, .2, 1) .12s both; }
@keyframes pt-close-top { from { transform: translateY(-101%); } to { transform: none; } }
@keyframes pt-close-bot { from { transform: translateY(101%); } to { transform: none; } }
@keyframes pt-open-top { from { transform: none; } to { transform: translateY(-101%); } }
@keyframes pt-open-bot { from { transform: none; } to { transform: translateY(101%); } }

/* gold seam that fills like a progress line */
.pt__seam { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; z-index: 1; }
.pt__seam i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: #C9B98F; box-shadow: 0 0 12px rgba(201, 185, 143, .6); }
.pt--out .pt__seam i { animation: pt-seam .5s cubic-bezier(.4, 0, .2, 1) .34s both; }
.pt--in .pt__seam i { transform: scaleX(1); }
.pt--leave .pt__seam i { animation: pt-seam-out .3s ease-in both; }
@keyframes pt-seam { to { transform: scaleX(1); } }
@keyframes pt-seam-out { to { transform: scaleX(1) scaleY(0); opacity: 0; } }

/* the coin and lettering */
.pt__press { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(420px, calc(100vw - 32px)); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #ECEEE8; perspective: 600px; }
.pt__coin { width: 120px; height: 120px; border-radius: 50%; display: block; margin-bottom: 8px;
  box-shadow: 0 0 0 2px #0F2236, 0 0 0 3.5px #C9B98F, 0 16px 30px rgba(0, 0, 0, .45); }
.pt__coin img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.pt--out .pt__coin { animation: pt-drop .5s cubic-bezier(.3, 1.4, .5, 1) .26s both; }
@keyframes pt-drop {
  0% { transform: translateY(-60vh) rotate(-40deg) scale(1.3); opacity: 0; }
  60% { transform: translateY(0) rotate(0) scale(.9); opacity: 1; }      /* stamp */
  78% { transform: scale(1.06); }
  100% { transform: none; }
}
.pt--leave .pt__coin { animation: pt-flip .55s cubic-bezier(.5, 0, .5, 1) both; }
@keyframes pt-flip { 0% { transform: rotateY(0) scale(1); opacity: 1; } 100% { transform: rotateY(540deg) scale(.4); opacity: 0; } }

.pt__level { font-family: var(--f-mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #C9B98F; }
.pt__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 6vw, 46px); line-height: 1; letter-spacing: -.03em; }
.pt__name span { display: inline-block; }
.pt--out .pt__name span { animation: pt-type .2s steps(2) calc(.42s + var(--i) * 28ms) both; }
@keyframes pt-type { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pt__xp { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8D9AA8; }
.pt--out .pt__level, .pt--out .pt__xp { animation: pt-type .3s ease .5s both; }
.pt--leave .pt__level, .pt--leave .pt__name, .pt--leave .pt__xp { animation: pt-fade .25s ease-in both; }
@keyframes pt-fade { to { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pt, html.pt-in::after { display: none; } }

/* ---------- Layer tower: five isometric slabs that mirror the layer list ---------- */
@property --bob { syntax: "<length>"; inherits: false; initial-value: 0px; }
.arch__side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.tower { margin: 0; position: relative; height: 440px; perspective: 1400px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.tower::before { content: ""; position: absolute; left: 50%; top: 52%; width: 300px; height: 300px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 194, 255, .28), rgba(95, 168, 255, .12) 45%, transparent 70%); filter: blur(10px); pointer-events: none; }
.tower__stack { position: absolute; left: 50%; top: 56%; width: 200px; height: 200px; margin: -100px 0 0 -100px;
  transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg); }
.tower__slab {
  --c: #F0C96A; --gap: 50px; --lift: 0px; --slide: 0px;
  position: absolute; inset: 0; padding: 18px; border: 1.5px solid var(--c); border-radius: 3px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; text-align: left;
  color: #ECEEE8; font: inherit; transform-style: preserve-3d;
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--c) 30%, transparent) 0 1px, transparent 1px 25px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--c) 30%, transparent) 0 1px, transparent 1px 25px),
    color-mix(in srgb, var(--c) 26%, #0F2236);
  transform: translateZ(calc(var(--i) * var(--gap) + var(--lift) + var(--bob))) translateX(var(--slide));
  transition: transform .55s cubic-bezier(.3, 1.3, .5, 1), opacity .4s, box-shadow .4s, background-color .4s;
  animation: tower-bob 4s ease-in-out calc(var(--i) * -.6s) infinite;
  box-shadow: 0 0 0 1px rgba(15, 34, 54, .6);
}
/* side walls give each slab thickness */
.tower__slab::before, .tower__slab::after { content: ""; position: absolute; background: color-mix(in srgb, var(--c) 55%, #0F2236); pointer-events: none; }
.tower__slab::before { left: -1.5px; right: -1.5px; bottom: -1.5px; height: 14px; transform-origin: bottom; transform: rotateX(90deg); }
.tower__slab::after { top: -1.5px; bottom: -1.5px; right: -1.5px; width: 14px; transform-origin: right; transform: rotateY(-90deg); background: color-mix(in srgb, var(--c) 38%, #0F2236); }
.tower__slab:nth-child(2) { --c: #FFD978; }
.tower__slab:nth-child(3) { --c: #5FA8FF; }
.tower__slab:nth-child(4) { --c: #3D8BFF; }
.tower__slab:nth-child(5) { --c: #9CC2FF; }
.tower__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; color: var(--c); }
.tower__name { font-family: var(--f-display); font-weight: 800; font-size: 19px; line-height: 1.05; letter-spacing: -.02em; }
@keyframes tower-bob { 50% { --bob: 7px; } }

/* hover + active states */
.tower__slab:hover, .tower__slab.is-hot { --lift: 14px; }
.tower__slab:focus-visible { outline: 2px solid var(--c); outline-offset: 4px; }
.tower[data-active]:not([data-active="-1"]) .tower__slab:not(.is-active) { opacity: .5; }
.tower__slab.is-active {
  --lift: 34px; --slide: 46px; opacity: 1;
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--c) 45%, transparent) 0 1px, transparent 1px 25px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, transparent) 0 1px, transparent 1px 25px),
    color-mix(in srgb, var(--c) 48%, #0F2236);
  box-shadow: 0 0 0 1px var(--c), 0 0 40px color-mix(in srgb, var(--c) 70%, transparent);
}
.tower__slab.is-active .tower__num { color: #ECEEE8; }

/* data packets travelling up through the stack */
.tower__packet { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 4px rgba(255, 255, 255, .55), 0 0 26px 8px rgba(156, 194, 255, .5);
  pointer-events: none; animation: tower-packet 3.6s cubic-bezier(.5, 0, .5, 1) calc(var(--p) * -1.2s) infinite; }
@keyframes tower-packet {
  0% { transform: translateZ(-10px) scale(.4); opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateZ(260px) scale(1); opacity: 0; }
}
.tower__cap { position: relative; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }

@media (max-width: 960px) { .tower { height: 400px; } }
@media (max-width: 480px) { .tower { height: 340px; } .tower__stack { transform: rotateX(58deg) rotateZ(-42deg) scale(.78); } }
@media (prefers-reduced-motion: reduce) { .tower__slab, .tower__packet { animation: none; } .tower__packet { display: none; } }
.arch__layers--vivid > li.is-hot::after { transform: scaleX(1); }
.arch__layers--vivid > li.is-hot button { padding-left: 22px; }
.arch__layers--vivid > li.is-hot button strong { color: var(--c); }

/* ---------- Technology: development update card ---------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.devup { padding: clamp(40px, 6vw, 72px) 0 0; }
.devup__card {
  position: relative; padding: clamp(24px, 4vw, 44px); border-radius: 6px; background: var(--navy-900);
  isolation: isolate; overflow: hidden;
}
.devup__card::before {  /* animated rainbow frame */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: -1;
  background: conic-gradient(from var(--spin), #F0C96A, #FFD978, #5FA8FF, #3D8BFF, #9CC2FF, #E6C27A, #F0C96A);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: devup-spin 6s linear infinite;
}
.devup__card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(95, 168, 255, .18), transparent 70%); pointer-events: none; }
@keyframes devup-spin { to { --spin: 360deg; } }
.devup__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: center; margin-bottom: 18px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.devup__live { display: inline-flex; align-items: center; gap: 10px; color: #5FA8FF; }
.devup__live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5FA8FF; box-shadow: 0 0 0 0 rgba(95, 168, 255, .6); animation: devup-ping 1.8s ease-out infinite; }
@keyframes devup-ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(95, 168, 255, 0); } }
.devup__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -.03em; max-width: 22ch; margin-bottom: 16px; }
.devup__title em { font-style: normal; background: linear-gradient(90deg, #FFD978, #E6C27A, #9CC2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.devup__text { color: var(--muted); max-width: 68ch; margin-bottom: 28px; }
.devup__steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; counter-reset: none; }
.devup__steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; border: 1.5px solid rgba(236, 238, 232, .2); border-radius: 4px; }
.devup__steps strong { font-size: 16px; font-weight: 600; color: var(--white); }
.devup__steps span:last-child { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.devup__n { font-family: var(--f-mono); font-size: 12px; color: var(--muted-2); }
.devup__steps li.is-now { border-color: #5FA8FF; background: rgba(95, 168, 255, .1); }
.devup__steps li.is-now .devup__n, .devup__steps li.is-now span:last-child { color: #5FA8FF; }
.devup__steps li.is-now::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #5FA8FF, #3D8BFF, #5FA8FF); background-size: 200% 100%; animation: devup-run 1.6s linear infinite; }
@keyframes devup-run { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .devup__card::before, .devup__live::before, .devup__steps li.is-now::after { animation: none; } }

/* ---------- Touchable topic words ---------- */
.ch-w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; will-change: transform; }
[data-wave] { cursor: default; -webkit-tap-highlight-color: transparent; }
.is-wave .ch { animation: ch-jump .58s cubic-bezier(.3, 1.6, .5, 1) calc(var(--k) * 22ms) both; }
@keyframes ch-jump {
  0% { transform: none; }
  35% { transform: translateY(-.16em) rotate(-4deg) scale(1.08); color: var(--cc); text-shadow: 0 0 18px color-mix(in srgb, var(--cc) 60%, transparent); }
  70% { color: var(--cc); }
  100% { transform: none; }
}

/* tap burst */
.tw-burst { position: fixed; z-index: 9990; width: 0; height: 0; pointer-events: none; }
.tw-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  animation: tw-fly .62s cubic-bezier(.2, .7, .3, 1) both; }
.tw-burst i:nth-child(3n) { border-radius: 1px; width: 7px; height: 7px; }
.tw-burst::before { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #FFD978; animation: tw-ring .5s ease-out both; }
@keyframes tw-fly { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(.2) rotate(180deg); opacity: 0; } }
@keyframes tw-ring { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* labels and key words: colourful underline sweep */
.eyebrow, .prose strong, .doc strong, .lead strong, .devup__text strong, .arch__detail strong { background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  background-image: linear-gradient(90deg, #F0C96A, #FFD978, #5FA8FF, #3D8BFF, #9CC2FF); transition: background-size .45s var(--ease); }
.eyebrow:hover, .prose strong:hover, .doc strong:hover, .lead strong:hover, .devup__text strong:hover, .arch__detail strong:hover,
.eyebrow:active, .prose strong:active, .doc strong:active { background-size: 100% 2px; }
.status { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background-color .3s, color .3s; }
.status:hover, .status:active { transform: rotate(0deg) scale(1.1); }
/* keep the hero's line spans from styling the new letter spans */
.hero__title span.ch-w { display: inline-block; white-space: nowrap; color: inherit; font-style: inherit; }
.hero__title span.ch { display: inline-block; white-space: normal; color: inherit; font-style: inherit; }

/* ---------- Investors: "The project in brief" fact cards ---------- */
.brief { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.brief__card {
  --c: #3D8BFF; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  padding: 22px 22px 20px; background: #fff; border: 1.5px solid rgba(15, 34, 54, .14); border-radius: 6px;
  transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), box-shadow .45s var(--ease), border-color .3s;
}
.brief__card--wide { grid-column: 1 / -1; }
.brief__card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 38%; background: var(--c); transition: width .55s var(--ease); }
.brief__card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); opacity: .6; transition: transform .6s var(--ease), opacity .4s; pointer-events: none; }
.brief__card:hover, .brief__card:focus-within, .brief__card:active { transform: translateY(-5px) rotate(-.4deg); border-color: var(--c);
  box-shadow: 6px 8px 0 color-mix(in srgb, var(--c) 55%, transparent); }
.brief__card:hover::before, .brief__card:active::before { width: 100%; }
.brief__card:hover::after, .brief__card:active::after { transform: scale(1.6); opacity: 1; }
.brief__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.brief__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: #0F2236;
  background: color-mix(in srgb, var(--c) 30%, #fff); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), background-color .3s; }
.brief__icon svg { width: 22px; height: 22px; }
.brief__card:hover .brief__icon, .brief__card:active .brief__icon { transform: rotate(-12deg) scale(1.12); background: var(--c); }
.brief__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.brief dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.brief dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; }
.brief__card--wide dd { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; letter-spacing: -.015em; }
.brief__card .status { align-self: flex-start; margin-top: 6px; }
.brief__rosette { display: block; width: min(240px, 70%); height: auto; margin-top: 36px; animation: brief-turn 60s linear infinite; }
@keyframes brief-turn { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .brief__rosette { display: none; } }
@media (prefers-reduced-motion: reduce) { .brief__rosette { animation: none; } .brief__card, .brief__icon { transition: none; } }

/* ---------- Investors: "Technology objectives" quest path ---------- */
.quest { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.quest__sum { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: #0F2236; color: #ECEEE8; border-radius: 6px; }
.quest__bar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; height: 14px; }
.quest__seg { border-radius: 2px; background: rgba(236, 238, 232, .14); }
.quest__seg--dev { background: linear-gradient(90deg, #F0C96A, #FFD978); background-size: 200% 100%; animation: quest-glow 2.4s ease-in-out infinite alternate; }
.quest__seg--proposed { background: repeating-linear-gradient(135deg, rgba(236, 238, 232, .5) 0 2px, rgba(236, 238, 232, .14) 2px 6px); }
.quest__seg--pending { border: 1.5px dashed rgba(236, 238, 232, .45); background: transparent; }
@keyframes quest-glow { to { background-position: 100% 0; } }
.quest__legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #B9C3CE; }
.quest__legend span { display: inline-flex; align-items: center; gap: 8px; }
.quest__key { width: 12px; height: 12px; border-radius: 2px; }
.quest__key--dev { background: linear-gradient(90deg, #F0C96A, #FFD978); }
.quest__key--proposed { background: repeating-linear-gradient(135deg, rgba(236, 238, 232, .7) 0 2px, rgba(236, 238, 232, .2) 2px 5px); }
.quest__key--pending { border: 1.5px dashed rgba(236, 238, 232, .6); }

.quest__list { list-style: none; position: relative; display: flex; flex-direction: column; gap: 10px; }
.quest__list::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #3D8BFF, #5FA8FF, #FFD978, #F0C96A, #E6C27A, #9CC2FF, #7FC8FF); background-size: 100% 200%;
  animation: quest-flow 6s linear infinite; }
@keyframes quest-flow { to { background-position: 0 -200%; } }
.quest__item { position: relative; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px 16px 12px 0;
  border-radius: 6px; transition: background-color .35s var(--ease), transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.quest__item:hover, .quest__item:active { background: color-mix(in srgb, var(--c) 14%, transparent); transform: translateX(6px); }
.quest__dot { position: relative; z-index: 1; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: #0F2236; background: #fff;
  border: 3px solid var(--c); box-shadow: 0 0 0 5px var(--paper); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), background-color .3s, color .3s; }
.quest__item:hover .quest__dot, .quest__item:active .quest__dot { transform: scale(1.12) rotate(-10deg); background: var(--c); }
.quest__item--dev .quest__dot { background: var(--c); animation: quest-ping 2s ease-out infinite; }
.quest__item--pending .quest__dot { border-style: dashed; }
@keyframes quest-ping { 0% { box-shadow: 0 0 0 5px var(--paper), 0 0 0 5px color-mix(in srgb, var(--c) 60%, transparent); }
  100% { box-shadow: 0 0 0 5px var(--paper), 0 0 0 16px transparent; } }
.quest__body { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.quest__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.quest__body strong { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.quest__item .status { margin-left: auto; }
@media (max-width: 560px) { .quest__item .status { margin-left: 70px; } }
@media (prefers-reduced-motion: reduce) { .quest__list::before, .quest__seg--dev, .quest__item--dev .quest__dot { animation: none; } }

/* ==========================================================================
   WHITEPAPER — "agreement paper" with playful colour
   ========================================================================== */
/* seal */
.wp-seal { display: block; }
.wp-seal__edge { transform-origin: 100px 100px; animation: wp-turn 40s linear infinite; }
.wp-seal__ring { transform-origin: 100px 100px; animation: wp-turn 24s linear infinite reverse; }
.wp-seal:hover .wp-seal__edge, .wp-seal:hover .wp-seal__ring { animation-duration: 4s; }
@keyframes wp-turn { to { transform: rotate(360deg); } }

/* cover: cream deed with seal */
.wp-cover--deed { background: #FBF8EF; color: #0F2236; box-shadow: 8px 10px 0 -1px #F1EBDA, 8px 10px 0 0 rgba(15, 34, 54, .18), 16px 20px 0 -2px #E9E2CD, 0 40px 80px -30px rgba(0, 0, 0, .6); }
.wp-cover--deed::before { inset: 12px; border: 1.5px solid #0F2236; }
.wp-cover--deed::after { content: ""; position: absolute; inset: 18px; border-radius: 2px; padding: 2px; pointer-events: none;
  background: linear-gradient(90deg, #3D8BFF, #5FA8FF, #FFD978, #F0C96A, #E6C27A, #9CC2FF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.wp-cover--deed .wp-cover__top, .wp-cover--deed .wp-cover__sub, .wp-cover--deed .wp-cover__foot { color: #4A5866; }
.wp-cover--deed .wp-cover__foot { border-top-color: rgba(15, 34, 54, .2); }
.wp-cover--deed .wp-cover__title em { color: #8A6A1F; }
.wp-cover--deed > svg:not(.wp-seal) { opacity: .5; }
.wp-cover--deed > svg:not(.wp-seal) g { stroke: #2F4F9E; }
.wp-seal--cover { position: absolute; z-index: 2; right: 26px; bottom: 70px; width: 120px; height: 120px; transform: rotate(-8deg); filter: drop-shadow(0 6px 10px rgba(15, 34, 54, .3)); }

/* contents list as coloured tabs */
.wp-outline li { --c: #3D8BFF; transition: background-color .3s, padding .35s var(--ease); border-radius: 4px; }
.wp-outline li:nth-child(8n+2) { --c: #F0C96A; } .wp-outline li:nth-child(8n+3) { --c: #5FA8FF; } .wp-outline li:nth-child(8n+4) { --c: #FFD978; }
.wp-outline li:nth-child(8n+5) { --c: #9CC2FF; } .wp-outline li:nth-child(8n+6) { --c: #E6C27A; } .wp-outline li:nth-child(8n+7) { --c: #7FC8FF; } .wp-outline li:nth-child(8n+8) { --c: #D4AF5A; }
.wp-outline li::before { display: inline-grid; place-items: center; width: 34px; height: 26px; border-radius: 13px; background: var(--c); color: #0F2236; font-weight: 500; }
.wp-outline li:hover { background: color-mix(in srgb, var(--c) 16%, transparent); padding-left: 8px; padding-right: 8px; }

/* desk + paper sheet */
.wp-desk { background-color: #E6E2D6; background-image: radial-gradient(rgba(15, 34, 54, .06) 1px, transparent 1px); background-size: 14px 14px; }
.wp-sheet {
  position: relative; max-width: 820px; padding: clamp(28px, 6vw, 72px) clamp(22px, 6vw, 76px);
  background-color: #FBF8EF;
  background-image: radial-gradient(ellipse at 20% 0%, rgba(242, 193, 78, .07), transparent 50%), radial-gradient(ellipse at 100% 100%, rgba(156, 194, 255, .07), transparent 50%);
  box-shadow: inset 0 0 0 14px #FBF8EF, inset 0 0 0 15.5px rgba(15, 34, 54, .55),
    7px 9px 0 -1px #F3EEDF, 7px 9px 0 0 rgba(15, 34, 54, .12), 14px 18px 0 -2px #EEE8D7, 14px 18px 0 -1px rgba(15, 34, 54, .1),
    0 40px 70px -30px rgba(15, 34, 54, .45);
}
.wp-sheet::before { content: ""; position: absolute; inset: 20px; pointer-events: none; padding: 2px;
  background: linear-gradient(90deg, #3D8BFF, #5FA8FF, #FFD978, #F0C96A, #E6C27A, #9CC2FF, #3D8BFF); background-size: 200% 100%; animation: wp-slide 12s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@keyframes wp-slide { to { background-position: 200% 0; } }
.wp-sheet > * { position: relative; }

/* letterhead */
.wp-letterhead { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 26px; margin-bottom: 8px; border-bottom: 3px double rgba(15, 34, 54, .55); }
.wp-letterhead__text { flex: 1 1 320px; min-width: 0; }
.wp-letterhead__kicker { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #8A6A1F; margin: 0 0 6px; }
.wp-letterhead__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1; letter-spacing: -.03em; color: #0F2236; margin: 0 0 16px; }
.wp-letterhead__meta { margin: 0; display: grid; gap: 6px; }
.wp-letterhead__meta div { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.wp-letterhead__meta dt { flex: 0 0 110px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #4A5866; padding-top: 3px; }
.wp-letterhead__meta dd { margin: 0; flex: 1 1 200px; font-size: 14.5px; color: #0F2236; }
.wp-seal--head { width: 132px; height: 132px; flex: none; transform: rotate(8deg); filter: drop-shadow(0 6px 10px rgba(15, 34, 54, .25)); }

/* clauses */
.wp-sheet > section.wp-clause { border-bottom: 1.5px dashed rgba(15, 34, 54, .22); }
.wp-clause::before { content: ""; position: absolute; left: clamp(-40px, -4vw, -18px); top: 4px; bottom: 56px; width: 4px; border-radius: 2px; background: var(--c);
  transform: scaleY(.15); transform-origin: top; opacity: .6; transition: transform .6s var(--ease), opacity .3s; }
.wp-clause:hover::before, .wp-clause:focus-within::before, .wp-clause:target::before { transform: scaleY(1); opacity: 1; }
.wp-clause h2 { color: #0F2236; }
.wp-clause h2 .index-num { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--c); color: #0F2236; letter-spacing: .12em;
  transform: rotate(-3deg); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.wp-clause h2 .index-num::before { content: "Article "; text-transform: uppercase; }
.wp-clause:hover h2 .index-num { transform: rotate(3deg) scale(1.08); }
.wp-clause > p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-weight: 800; font-size: 3.6em; line-height: .82; margin: 6px 10px 0 0; color: var(--cd); }
.wp-clause strong { color: #0F2236; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--c) 50%, transparent) 58%) no-repeat 0 0 / 100% 100%; padding: 0 2px; }
.wp-clause li::marker { color: var(--cd); }
.wp-clause a { color: var(--cd); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wp-clause h3 { color: var(--cd); }
.wp-sheet .spec { background: #fff; }
.wp-sheet .tbd { color: var(--cd, #4A5866); border-color: currentColor; }

/* table of contents: coloured index tabs */
.wp-toc li { --c: #3D8BFF; }
.wp-toc li:nth-child(8n+2) { --c: #F0C96A; } .wp-toc li:nth-child(8n+3) { --c: #5FA8FF; } .wp-toc li:nth-child(8n+4) { --c: #FFD978; }
.wp-toc li:nth-child(8n+5) { --c: #9CC2FF; } .wp-toc li:nth-child(8n+6) { --c: #E6C27A; } .wp-toc li:nth-child(8n+7) { --c: #7FC8FF; } .wp-toc li:nth-child(8n+8) { --c: #D4AF5A; }
.wp-toc a { border-left-width: 4px !important; transition: background-color .3s, border-color .3s, padding .3s var(--ease), color .3s; border-radius: 0 4px 4px 0; }
.wp-toc a:hover { border-left-color: var(--c) !important; background: color-mix(in srgb, var(--c) 18%, transparent); color: #0F2236 !important; }
.wp-toc a.is-active { border-left-color: var(--c) !important; background: color-mix(in srgb, var(--c) 32%, transparent); color: #0F2236 !important; font-weight: 600; padding-left: 22px; }

/* signature block */
.wp-sign { margin-top: 56px; padding-top: 34px; border-top: 3px double rgba(15, 34, 54, .55); }
.wp-sign__stamp { position: absolute; right: 0; top: 18px; padding: 8px 14px; border: 2.5px solid #8A6A1F; color: #8A6A1F; border-radius: 4px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transform: rotate(-9deg); opacity: .85; }
.wp-sign__note { max-width: 50ch; font-size: 14.5px !important; color: #3A4756 !important; margin-bottom: 30px; padding-right: 150px; }
.wp-sign__lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.wp-sign__lines div { display: flex; flex-direction: column; gap: 6px; }
.wp-sign__line { height: 44px; border-bottom: 1.5px solid #0F2236; background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(15, 34, 54, .06) 6px 7px); }
.wp-sign__lines span:not(.wp-sign__line) { font-size: 14.5px; font-weight: 600; color: #0F2236; }
.wp-sign__lines em { font-family: var(--f-mono); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #4A5866; }
@media (max-width: 600px) { .wp-sign__stamp { position: static; display: inline-block; margin-bottom: 18px; } .wp-sign__note { padding-right: 0; } }

/* reading ribbon */
.wp-progress { position: fixed; z-index: 95; left: 0; right: 0; top: var(--nav-h); height: 5px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.wp-progress.is-on { opacity: 1; }
.wp-progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, #3D8BFF, #5FA8FF, #FFD978, #F0C96A, #E6C27A, #9CC2FF); }

@media (prefers-reduced-motion: reduce) { .wp-seal__edge, .wp-seal__ring, .wp-sheet::before { animation: none; } }

/* Whitepaper: MUICOOIN logo on letterhead, cover and as a paper watermark */
.wp-letterhead__logo { display: block; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%;
  box-shadow: 0 0 0 3px #FBF8EF, 0 0 0 5px #FFD978, 0 8px 18px rgba(15, 34, 54, .3); transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.wp-letterhead:hover .wp-letterhead__logo { transform: rotateY(360deg); }
.wp-cover__brand { display: inline-flex; align-items: center; gap: 10px; color: #0F2236; font-weight: 500; }
.wp-cover__brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 6px rgba(15, 34, 54, .35); }
.wp-sheet {
  background-image: url("../assets/wp-watermark.webp"),
    radial-gradient(ellipse at 20% 0%, rgba(242, 193, 78, .07), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(156, 194, 255, .07), transparent 50%);
  background-repeat: repeat-y, no-repeat, no-repeat;
  background-position: center 120px, 0 0, 0 0;
  background-size: min(64%, 520px) auto, auto, auto;
}
@media (prefers-reduced-motion: reduce) { .wp-letterhead__logo { transition: none; } }

/* ==========================================================================
   LEGAL & RISK DISCLOSURES — official notice paper (shares the whitepaper sheet)
   ========================================================================== */
.lg-sheet { padding-top: clamp(64px, 8vw, 96px); }
.lg-tape { position: absolute !important; left: 22px; right: 22px; top: 22px; height: 30px; overflow: hidden; display: flex; align-items: center;
  background: repeating-linear-gradient(-45deg, #FFD978 0 14px, #0F2236 14px 28px, #F0C96A 28px 42px, #0F2236 42px 56px, #5FA8FF 56px 70px, #0F2236 70px 84px);
  background-size: 118.8px 100%; animation: lg-tape 3s linear infinite; }
.lg-tape span { margin: 0 auto; padding: 3px 12px; background: #FBF8EF; color: #0F2236; white-space: nowrap; overflow: hidden; max-width: calc(100% - 40px);
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
@keyframes lg-tape { to { background-position: 118.8px 0; } }

.lg-keys { margin: 26px 0 8px; }
.lg-keys__title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #8A6A1F; margin: 0 0 12px; }
.lg-keys__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.lg-key { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 14px 14px; border-radius: 6px; text-decoration: none;
  background: #fff; border: 1.5px solid color-mix(in srgb, var(--c) 70%, #0F2236); color: #0F2236 !important;
  transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), box-shadow .4s, background-color .3s; }
.lg-key:hover, .lg-key:focus-visible, .lg-key:active { transform: translateY(-4px) rotate(-1deg); background: color-mix(in srgb, var(--c) 16%, #fff);
  box-shadow: 5px 6px 0 color-mix(in srgb, var(--c) 70%, transparent); }
.lg-key__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #0F2236; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.lg-key:hover .lg-key__icon { transform: rotate(-15deg) scale(1.12); }
.lg-key__icon svg { width: 20px; height: 20px; }
.lg-key strong { font-size: 15px; line-height: 1.25; background: none !important; padding: 0 !important; }
.lg-key span:last-child { font-size: 13px; line-height: 1.45; color: #3A4756; }

.lg-risk { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; margin-top: 30px !important;
  background: color-mix(in srgb, var(--c) 22%, #fff); border: 1.5px solid var(--c); color: #0F2236 !important; font-size: 16px !important; }
.lg-risk__icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #0F2236; color: #FFD978; font-family: var(--f-mono); font-weight: 700; font-size: 14px; animation: lg-blink 2.4s ease-in-out infinite; }
@keyframes lg-blink { 50% { background: #8A6A1F; color: #fff; } }
.lg-end .wp-sign__note { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .lg-tape, .lg-risk__icon { animation: none; } }

/* ==========================================================================
   BOOK VIEW (whitepaper + legal): pages turn on click
   ========================================================================== */
.book { outline: none; }
.book:focus-visible { outline: 2px solid #3D8BFF; outline-offset: 8px; border-radius: 4px; }
.book__top { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.book__count { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #4A5866; }
.book-toggle { min-height: 36px; padding: 0 14px; border: 1.5px solid #0F2236; border-radius: 999px; background: #fff; color: #0F2236;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s; }
.book-toggle:hover { background: #0F2236; color: #FBF8EF; }
.book-toggle--float { margin-bottom: 22px; }

.book__stage { position: relative; perspective: 2400px; transition: height .35s var(--ease); cursor: pointer; }
.book__page { position: relative; }
.book__page > section.wp-clause { border-bottom: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.book__page > section.wp-clause::before { bottom: 0; transform: scaleY(1); opacity: 1; }
.book__page.is-anim { position: absolute; left: 0; right: 0; top: 0; }
.book__page.is-under { z-index: 1; }
.book__page.is-turning { z-index: 2; background: #FBF8EF; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform-origin: left center;
  box-shadow: 0 0 0 12px #FBF8EF; }
.book__page.is-turning::after { content: ""; position: absolute; inset: -12px; pointer-events: none; background: linear-gradient(90deg, rgba(15, 34, 54, 0), rgba(15, 34, 54, .28)); opacity: 0; }
.book__page.turn-out { animation: book-out .85s cubic-bezier(.45, .05, .35, 1) both; }
.book__page.turn-in { animation: book-in .85s cubic-bezier(.45, .05, .35, 1) both; }
.book__page.turn-out::after { animation: book-shade .85s ease-in both; }
.book__page.turn-in::after { animation: book-shade .85s ease-out reverse both; }
@keyframes book-out { 0% { transform: rotateY(0); } 100% { transform: rotateY(-180deg); } }
@keyframes book-in { 0% { transform: rotateY(-180deg); } 100% { transform: rotateY(0); } }
@keyframes book-shade { to { opacity: 1; } }
.book__page.is-under { animation: book-settle .85s ease both; }
@keyframes book-settle { 0% { filter: brightness(.9); } 100% { filter: none; } }

/* turn-corner hint */
.book__page::before { content: ""; position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; pointer-events: none; z-index: 3;
  background: linear-gradient(135deg, transparent 50%, #E9E2CD 50%, #F7F1E2 70%, #FBF8EF);
  box-shadow: -3px -3px 6px rgba(15, 34, 54, .12); border-top-left-radius: 6px; transition: width .35s var(--ease), height .35s var(--ease); }
.book__stage:hover .book__page::before { width: 58px; height: 58px; }
.book__folio { margin-top: 34px; text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: #4A5866; }

.book__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 3px double rgba(15, 34, 54, .4); }
.book__btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #0F2236; background: #fff; color: #0F2236; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background-color .25s, color .25s; }
.book__btn--next { background: #0F2236; color: #FBF8EF; }
.book__btn:hover:not(:disabled) { transform: translateY(-2px); }
.book__btn:disabled { opacity: .35; cursor: default; }
.book__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; flex: 1 1 200px; }
.book__dot { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid #0F2236; background: #fff; cursor: pointer; position: relative;
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background-color .25s; }
.book__dot::after { content: ""; position: absolute; inset: -9px; }  /* bigger touch target */
.book__dot:hover { transform: scale(1.3); background: var(--c); }
.book__dot.is-on { background: var(--c); transform: scale(1.45); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 40%, transparent); }
@media (max-width: 560px) { .book__btn { flex: 1 1 40%; } .book__dots { order: 3; flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .book__stage { transition: none; } }


/* ==========================================================================
   PREMIUM CRYPTO THEME (Nov 2026) — navy · gold · electric blue · light grey
   Overrides the Security Print theme above. Previous files: _archive/pre-premium/
   ========================================================================== */
:root {
  --navy-950: #060E1D; --navy-900: #0B1A33; --navy-850: #0E2140; --navy-800: #132A52;
  --charcoal: #0A1730; --charcoal-2: #0E1E3A;
  --gold: #D4AF5A; --gold-hi: #F0D58C; --gold-lo: #8A6A1F;
  --blue: #1F6FEB; --blue-soft: rgba(31, 111, 235, .16);
  --accent: #8A6A1F; --accent-on-dark: #F0D58C;
  --paper: #F2F4F8; --paper-2: #E6EAF2;
  --ink: #0B1A33; --ink-2: #33415A; --ink-3: #4D5B72;
  --muted: #AEB9CC; --muted-2: #8391A8;
  --line: rgba(212, 175, 90, .16); --line-2: rgba(212, 175, 90, .3); --line-gold: rgba(212, 175, 90, .45);
  --f-display: "Sora", "Inter", system-ui, sans-serif;
  --r: 10px; --r-lg: 16px;
  --gold-grad: linear-gradient(180deg, #F7E3A1 0%, #D4AF5A 55%, #A9843A 100%);
}
body { background: var(--navy-950); }
.display, .h1, .h2, .hero__title, .footer__tag, .phero__title, .devup__title, .community__title { letter-spacing: -.02em; font-weight: 700; }

/* gold gradient emphasis on dark; solid deep gold on light */
:is(.h1, .h2, .display, .footer__tag, .phero__title, .community__title, .devup__title) em,
:is(.h1, .h2, .display, .footer__tag, .phero__title, .community__title, .devup__title) em .ch {
  font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
:is(.sec--light, .sec--white, .phero--light) :is(.h1, .h2, .phero__title) em,
:is(.sec--light, .sec--white, .phero--light) :is(.h1, .h2, .phero__title) em .ch { background: none; color: #8A6A1F; }
.eyebrow { color: var(--gold); }
.sec--light, .sec--white { color: var(--ink); }
.sec--light { background-color: var(--paper); }
.sec--white { background-color: #fff; }
.sec--light + .sec--light, .sec--white + .sec--light, .sec--light + .sec--white { border-top: 1px solid rgba(11, 26, 51, .08); }
.sec--navy { background: radial-gradient(ellipse 70% 60% at 80% 0%, rgba(31, 111, 235, .16), transparent 60%), var(--navy-900); }
.sec--charcoal { background: radial-gradient(ellipse 60% 60% at 10% 100%, rgba(212, 175, 90, .08), transparent 60%), var(--charcoal); }
.hero, .site-footer { background-image: none; }
.site-footer::before { display: none; }
.site-footer { padding-top: 90px; background: #040A15; }

/* status: clean pills again */
.status { transform: none !important; border-radius: 999px; border-width: 1px; font-size: 10.5px; padding: 4px 10px 4px 9px; }
.status::before { display: inline-block; }
.status--pending { border-style: solid; }
.status--proposed { color: var(--gold); }
.status--dev { color: #5FA8FF; }
.status--done { color: #5FC69B; }
:is(.sec--light, .sec--white) .status--proposed { color: #8A6A1F; }
:is(.sec--light, .sec--white) .status--dev { color: #1F5FD6; }
.status:hover, .status:active { transform: scale(1.05) !important; }

/* buttons: gold pills */
.btn { border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; border-width: 1.5px; }
.btn--gold, :is(.sec--light, .sec--white) .btn--gold {
  background: linear-gradient(180deg, #F3D687 0%, #D4AF5A 55%, #B8913C 100%); color: #0B1A33; border-color: transparent;
  box-shadow: 0 10px 28px -10px rgba(212, 175, 90, .75), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--gold:hover, :is(.sec--light, .sec--white) .btn--gold:hover { background: linear-gradient(180deg, #FBE3A0, #E2BE68 55%, #C49D45); color: #0B1A33; transform: translateY(-1px); }
.btn--line { border-color: rgba(212, 175, 90, .7); color: var(--gold-hi); background: rgba(212, 175, 90, .04); }
.btn--line:hover { border-color: var(--gold-hi); color: #fff; background: rgba(212, 175, 90, .12); }
:is(.sec--light, .sec--white) .btn--line { border-color: rgba(11, 26, 51, .35); color: var(--ink); background: transparent; }
:is(.sec--light, .sec--white) .btn--line:hover { border-color: #8A6A1F; color: #8A6A1F; }
.btn__ico { width: 18px !important; height: 18px !important; }
.btn:hover .btn__ico { transform: none !important; }
.link-arrow { color: var(--gold); }

/* ---------------- hero ---------------- */
.hero {
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.4px 1.4px at 46% 12%, rgba(255, 217, 120, .8), transparent 60%),
    radial-gradient(1px 1px at 62% 86%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 24%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1px 1px at 8% 92%, rgba(255, 217, 120, .6), transparent 60%),
    radial-gradient(ellipse 55% 70% at 75% 45%, rgba(31, 111, 235, .28), transparent 65%),
    radial-gradient(ellipse 40% 40% at 70% 50%, rgba(212, 175, 90, .14), transparent 70%),
    linear-gradient(180deg, #040A17 0%, #071330 55%, #060E1D 100%) !important;
}
.hero__pillars, .hero .archgrid { display: none; }
.hero__copy { min-width: 0; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(212, 175, 90, .45); background: rgba(212, 175, 90, .08); color: var(--gold-hi);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.hero__badge span { width: 8px; height: 8px; border-radius: 50%; background: #5FC69B; box-shadow: 0 0 0 0 rgba(95, 198, 155, .6); animation: devup-ping 1.8s ease-out infinite; }
.hero__title--brand { margin-bottom: 22px; }
.hero__title--brand span { display: block; white-space: normal; }
.hero__word, .hero__word .ch {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; line-height: .95;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__word { font-size: clamp(56px, 8.6vw, 128px); filter: drop-shadow(0 6px 24px rgba(212, 175, 90, .35)); }
.hero__tag, .hero__title span.hero__tag { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.15; letter-spacing: -.01em;
  color: var(--gold-hi) !important; margin-top: 10px; }
.hero__text { color: #C9D3E3; max-width: 54ch; margin-bottom: 32px; }
.hero__feats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 34px; }
.hero__feats li { display: flex; align-items: center; gap: 10px; padding: 0 18px; font-size: 13px; line-height: 1.3; color: #D6DEEA; }
.hero__feats li:first-child { padding-left: 0; }
.hero__feats li + li { border-left: 1px solid rgba(212, 175, 90, .3); }
.hero__feats .ico { width: 26px; height: 26px; color: var(--gold); flex: none; filter: drop-shadow(0 0 6px rgba(212, 175, 90, .45)); }
.hero__visual { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1 / 1; justify-self: center; }
.hero__globe { position: absolute; inset: 4%; width: 92%; height: 92%; filter: drop-shadow(0 0 40px rgba(31, 111, 235, .45)); }
.hero__arcs path { stroke-dasharray: 6 10; animation: hero-arc 3.4s linear infinite; animation-delay: var(--d); opacity: .85; filter: drop-shadow(0 0 3px #FFD978); }
@keyframes hero-arc { to { stroke-dashoffset: -64; } }
.hero__orbit { position: absolute; left: 2%; right: 2%; top: 38%; height: 26%; transform: rotate(-16deg); pointer-events: none; z-index: 3; }
.hero__orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: rgba(255, 217, 120, .95); border-left-color: rgba(255, 217, 120, .5);
  filter: drop-shadow(0 0 8px #FFD978); animation: hero-orbit 7s linear infinite; }
.hero__orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 217, 120, .25); }
@keyframes hero-orbit { to { transform: rotate(360deg); } }
.hero__visual .hero__stage { position: absolute; inset: 6%; max-width: none; aspect-ratio: auto; z-index: 2; }
.hero__meta { border-top-color: rgba(212, 175, 90, .2); background: rgba(4, 10, 23, .55); backdrop-filter: blur(6px); }
.hero__meta .container > div b { color: var(--gold-hi); }
@media (max-width: 960px) {
  .hero__visual { order: -1; max-width: 420px; margin: -10px auto -20px; }
  .hero__feats li { padding: 0 12px; }
}
@media (max-width: 640px) {
  .hero__visual { max-width: 330px; }
  .hero__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .hero__feats li, .hero__feats li:first-child { padding: 0; border-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .hero__arcs path, .hero__orbit::before, .hero__badge span { animation: none; } }

/* ---------------- five feature cards ---------------- */
.feat5 { position: relative; padding: 56px 0 24px; background: linear-gradient(180deg, #060E1D, #081633); }
.feat5__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.feat5__card { display: flex; flex-direction: column; gap: 16px; padding: 24px 22px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(19, 42, 82, .65), rgba(8, 20, 44, .85));
  border: 1px solid rgba(212, 175, 90, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), box-shadow .4s, border-color .3s; }
.feat5__card:hover { transform: translateY(-6px); border-color: var(--gold-hi); box-shadow: 0 20px 40px -18px rgba(212, 175, 90, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }
.feat5__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(255, 217, 120, .22), rgba(212, 175, 90, .06)); border: 1px solid rgba(212, 175, 90, .35); }
.feat5__icon .ico { width: 28px; height: 28px; filter: drop-shadow(0 0 6px rgba(212, 175, 90, .5)); }
.feat5__card h3 { font-family: var(--f-display); font-size: 18px; font-weight: 700; line-height: 1.25; color: #fff; margin: 0 0 8px; }
.feat5__card p { font-size: 14px; line-height: 1.55; color: #B8C3D6; margin: 0 0 14px; }

/* ---------------- vision band with skyline ---------------- */
.vision { position: relative; overflow: hidden; padding: 64px 0 0; text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(31, 111, 235, .25), transparent 70%), linear-gradient(180deg, #081633, #050C1A); }
.vision__inner { position: relative; z-index: 2; }
.vision__label { display: inline-flex; align-items: center; gap: 18px; margin: 0 0 16px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); color: var(--gold); }
.vision__label span { width: clamp(40px, 12vw, 180px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.vision__label span + span, .vision__label span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.vision__text { max-width: 760px; margin: 0 auto; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: #E3E9F3; }
.vision__skyline { display: block; width: 100%; height: clamp(150px, 18vw, 240px); margin-top: 26px; }
.vision__lights rect { animation: vision-twinkle 3s ease-in-out infinite alternate; }
.vision__lights rect:nth-child(3n) { animation-delay: -1s; } .vision__lights rect:nth-child(5n) { animation-delay: -2s; }
@keyframes vision-twinkle { to { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .vision__lights rect { animation: none; } }

/* ---------- topic icons on section labels and document headings ---------- */
.eyebrow:has(.eyebrow__ico)::before { display: none; }
.eyebrow__ico { width: 34px; height: 34px; flex: none; display: inline-grid; place-items: center; border-radius: 10px; color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(255, 217, 120, .22), rgba(212, 175, 90, .05)); border: 1px solid rgba(212, 175, 90, .4);
  box-shadow: 0 6px 16px -8px rgba(212, 175, 90, .6); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), background-color .3s; }
.eyebrow__ico svg { width: 18px; height: 18px; filter: drop-shadow(0 0 4px rgba(212, 175, 90, .45)); }
.eyebrow:hover .eyebrow__ico, .eyebrow:active .eyebrow__ico { transform: rotate(-10deg) scale(1.1); }
:is(.sec--light, .sec--white, .phero--light) .eyebrow__ico { color: #8A6A1F; background: linear-gradient(180deg, #FFF8E4, #F6E7BF); border-color: rgba(138, 106, 31, .35); box-shadow: 0 6px 14px -8px rgba(138, 106, 31, .5); }
:is(.sec--light, .sec--white, .phero--light) .eyebrow__ico svg { filter: none; }
.h-ico { width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; align-self: center; border-radius: 12px;
  color: var(--cd, #8A6A1F); background: color-mix(in srgb, var(--c, #D4AF5A) 22%, #fff); border: 1px solid color-mix(in srgb, var(--c, #D4AF5A) 60%, transparent);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.h-ico svg { width: 22px; height: 22px; }
.wp-clause:hover .h-ico { transform: rotate(-8deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) { .eyebrow__ico, .h-ico { transition: none; } }

/* ---------- isometric blockchain illustration (chain stage fallback) ---------- */
.iso-chain { width: 100%; height: 100%; }
.iso-chain .ic-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; fill: #AEB9CC; text-anchor: middle; }
.iso-chain .ic-label--new { fill: #9CC2FF; font-weight: 500; }
.iso-chain .ic-beam { stroke: #FFD978; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 5px #FFD978); }
.iso-chain .ic-packet { fill: #fff; filter: drop-shadow(0 0 6px #FFD978); }
.iso-chain .ic-trace path { stroke-dasharray: 10 14; animation: ic-flow 4s linear infinite; animation-delay: var(--d); }
.iso-chain .ic-attest { stroke: #5FA8FF; stroke-width: 1.5; stroke-dasharray: 4 6; opacity: 0; animation: ic-attest 4s ease-in-out infinite; animation-delay: var(--d); }
.iso-chain .ic-node { animation: ic-bob 3s ease-in-out infinite; animation-delay: var(--d); }
.iso-chain .ic-block--new { animation: ic-pulse 2.6s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(61, 139, 255, .65)); }
.iso-chain .ic-block:not(.ic-block--new) { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.iso-chain .ic-coin { animation: ic-float 5s ease-in-out infinite; animation-delay: var(--d); }
@keyframes ic-flow { to { stroke-dashoffset: -96; } }
@keyframes ic-attest { 0%, 15% { opacity: 0; stroke-dashoffset: 40; } 40%, 70% { opacity: .9; } 100% { opacity: 0; stroke-dashoffset: -40; } }
@keyframes ic-bob { 50% { transform: translateY(-5px); } }
@keyframes ic-pulse { 50% { opacity: .78; } }
@keyframes ic-float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .iso-chain * { animation: none !important; } .iso-chain .ic-attest { opacity: .6; } }
.iso-chain .ic-dot { fill: #FFE7A3; filter: drop-shadow(0 0 4px #FFD978); }
.iso-chain .ic-beam { fill: none; stroke-width: 2.4; stroke-dasharray: 2 0; }

/* ---------- Vision: world landmarks panorama ---------- */
.vision__pan { position: relative; overflow: hidden; margin-top: 26px; }
.vision__pan .vision__skyline { display: block; width: 100%; min-width: 1100px; height: auto; margin: 0; }
.vision__wonders .lm { transition: filter .35s, transform .45s cubic-bezier(.3, 1.4, .5, 1); transform-box: fill-box; transform-origin: 50% 100%; }
.vision__wonders .lm:hover { filter: brightness(1.25) drop-shadow(0 0 10px rgba(255, 217, 120, .7)); transform: translateY(-4px); }
@media (max-width: 1100px) {
  .vision__pan .vision__skyline { width: 1100px; animation: vision-pan 38s ease-in-out infinite alternate; }
}
@keyframes vision-pan { from { transform: translateX(0); } to { transform: translateX(calc(-1100px + 100vw)); } }
@media (prefers-reduced-motion: reduce) { .vision__pan { overflow-x: auto; } .vision__pan .vision__skyline { animation: none; } }

/* book: clearer page numbers + spacing fix on the Article pill */
.wp-clause h2 .index-num::before { content: "Article\00a0"; }
.book__count { font-size: 13px; font-weight: 500; color: #0B1A33; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(11, 26, 51, .15); }
.book__folio { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 38px; padding-top: 14px; border-top: 1px solid rgba(11, 26, 51, .12); }
.book__folio-n { font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1; color: #8A6A1F; }
.book__folio-of { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #4D5B72; }
.book__page:nth-child(odd) .book__folio { justify-content: flex-end; }
.book__page:nth-child(even) .book__folio { justify-content: flex-start; }
.book__folio { padding-left: 8px; padding-right: 72px; } .book__page:nth-child(even) .book__folio { padding-right: 8px; }

/* ---------- Vision: real photographs (Everest backdrop + wonders gallery) ---------- */
.vision--photo { padding: clamp(80px, 10vw, 130px) 0 clamp(56px, 7vw, 90px); background: #050C1A; }
.vision__bg { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(5, 12, 26, .92) 0%, rgba(5, 12, 26, .55) 38%, rgba(5, 12, 26, .78) 70%, #050C1A 100%),
              url("../assets/photos/wonders/everest.webp") center 30% / cover no-repeat;
  transform: scale(1.06); animation: vision-drift 30s ease-in-out infinite alternate; }
@keyframes vision-drift { to { transform: scale(1.12) translateY(-10px); } }
.vision__peak { margin: 18px auto 44px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.wonders { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; text-align: left; }
.wonder { position: relative; margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5;
  border: 1px solid rgba(212, 175, 90, .5); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
  transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), box-shadow .4s, border-color .3s; }
.wonder img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; filter: saturate(1.05); }
.wonder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 12, 26, .9)); pointer-events: none; }
.wonder figcaption { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.wonder strong { font-family: var(--f-display); font-size: 15px; line-height: 1.2; color: #fff; }
.wonder span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.wonder:hover { transform: translateY(-8px); border-color: var(--gold-hi); box-shadow: 0 26px 50px -18px rgba(212, 175, 90, .55); }
.wonder:hover img { transform: scale(1.08); }
.vision__credits { margin-top: 26px; text-align: left; font-size: 12.5px; color: #8391A8; }
.vision__credits summary { cursor: pointer; display: inline-block; font-family: var(--f-mono); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: #AEB9CC; }
.vision__credits ul { list-style: none; margin: 12px 0 0; display: grid; gap: 4px; }
.vision__credits a { color: #C9D3E3; }
@media (max-width: 1100px) { .wonders { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .wonders { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 14px; }
  .wonder { flex: 0 0 62%; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) { .vision__bg { animation: none; } .wonder, .wonder img { transition: none; } }
.iso-chain .ic-spin { transform-box: fill-box; transform-origin: center; animation: ic-spin 4.5s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)) drop-shadow(0 0 8px rgba(255, 217, 120, .35)); }
@keyframes ic-spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.12); } }
@media (prefers-reduced-motion: reduce) { .iso-chain .ic-spin { animation: none; } }
.hero__word { font-size: clamp(44px, 6.1vw, 94px); white-space: nowrap; }

/* MUICOOIN logo used wherever a coin is pictured */
.ui-coin { display: inline-block; width: 1em; height: 1em; margin-right: .35em; vertical-align: -.12em; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(212, 175, 90, .6); }
.tok__logo { display: block; width: clamp(48px, 5vw, 72px); height: auto; margin: 0 auto 10px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(212, 175, 90, .6), 0 10px 24px -8px rgba(0, 0, 0, .6); animation: tok-logo 6s ease-in-out infinite; }
@keyframes tok-logo { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .tok__logo { animation: none; } }
.phero__title { font-size: clamp(40px, 5.4vw, 84px); overflow-wrap: anywhere; }

/* ==========================================================================
   CONTENT PROTECTION (deterrent only: no website can fully block screenshots)
   ========================================================================== */
html.mui-protect body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.mui-protect :is(input, textarea, select, [contenteditable="true"]) { -webkit-user-select: text; user-select: text; }
html.mui-protect img { -webkit-user-drag: none; }
/* shield while the window loses focus (snipping tools, screen-capture apps), is hidden, or prints */
html.is-shielded body > *:not(.protect-toast) { filter: blur(22px) !important; transition: filter .08s; }
html.is-shielded body::after { content: "MUICOOIN · protected content"; position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center;
  background: rgba(6, 14, 29, .85); color: #D4AF5A; font: 600 18px/1.4 "Sora", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.protect-toast { position: fixed; left: 50%; bottom: 28px; z-index: 100001; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 10px 18px; border-radius: 999px; background: #0B1A33; color: #F0D58C; border: 1px solid rgba(212, 175, 90, .5);
  font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); transition: opacity .25s, transform .25s; }
.protect-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media print {
  body > * { display: none !important; }
  body::after { content: "Printing is disabled for MUICOOIN content. Visit muicooin.org"; display: block; padding: 40px; font: 16px sans-serif; color: #000; }
}

/* ---------- contact page: icons ---------- */
.contact-list li.has-ico { display: flex; align-items: flex-start; gap: 16px; }
.contact-body { min-width: 0; flex: 1; }
.contact-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.contact-ico svg { width: 24px; height: 24px; }
.contact-ico--wa { background: linear-gradient(160deg, #3BE07A, #1FAF55); }
.contact-ico--tg { background: linear-gradient(160deg, #3FB4F0, #1E8ACB); }
.contact-ico--tt { background: #0B0B0F; box-shadow: -2px -2px 0 #25F4EE inset, 2px 2px 0 #FE2C55 inset, 0 10px 22px -12px rgba(0, 0, 0, .7); }
.contact-ico--x { background: #0B0B0F; border: 1px solid rgba(255, 255, 255, .2); }
.contact-ico--mail, .contact-ico--pin { background: linear-gradient(180deg, #F3D687, #D4AF5A 55%, #B8913C); color: #0B1A33; }
.contact-list li.has-ico:hover .contact-ico { transform: rotate(-8deg) scale(1.08); }

/* ---------- Wallets: real photographs with MUICOOIN concept screens ---------- */
.wphotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wphoto { margin: 0; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #0B1A33;
  border: 1px solid rgba(212, 175, 90, .4); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), box-shadow .4s, border-color .3s; }
.wphoto:hover { transform: translateY(-8px); border-color: var(--gold-hi); box-shadow: 0 30px 60px -24px rgba(212, 175, 90, .45); }
.wphoto__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.wphoto__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wphoto:hover .wphoto__media > img { transform: scale(1.05); }
.wphoto__phone { position: absolute; right: 8%; bottom: -14%; width: 34%; aspect-ratio: 1 / 2; padding: 5px; border-radius: 22px; background: #0A0F18;
  box-shadow: 0 0 0 1.5px #3A4458, 0 24px 40px -10px rgba(0, 0, 0, .75); transform: rotate(6deg); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.wphoto__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }
.wphoto:hover .wphoto__phone { transform: rotate(2deg) translateY(-10px); }
.wphoto figcaption { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.wphoto figcaption .status { align-self: flex-start; }
.wphoto figcaption strong { font-family: var(--f-display); font-size: 20px; color: #fff; }
.wphoto figcaption span:last-child { font-size: 14.5px; color: #B8C3D6; line-height: 1.5; }
.wphotos__note { margin: 16px 0 0; font-size: 13px; color: var(--muted-2); }
@media (max-width: 900px) { .wphotos { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .wphoto, .wphoto__media > img, .wphoto__phone { transition: none; } }

/* homepage supply figure: smaller */
.supply-figure { font-size: clamp(40px, 6.2vw, 92px); line-height: .95; overflow-wrap: anywhere; }
.supply-figure small { font-style: normal; }

/* ---------- About hero: phone lying down, light beam, floating logo coins ---------- */
.phero__art svg.pa { opacity: 1; }
.pa .pa-screen { animation: pa-screen 3s ease-in-out infinite; }
.pa .pa-beam { animation: pa-beam 3s ease-in-out infinite; transform-origin: 50% 85%; transform-box: view-box; }
.pa .pa-coin { animation: pa-float var(--t) ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
.pa .pa-spin { transform-box: fill-box; transform-origin: center; animation: pa-spin var(--s) ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(255, 217, 120, .6)); }
.pa .pa-spark { animation: pa-spark 4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes pa-screen { 50% { opacity: .75; } }
@keyframes pa-beam { 0%, 100% { opacity: .85; } 50% { opacity: 1; transform: scaleX(1.04); } }
@keyframes pa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pa-spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
@keyframes pa-spark { 0%, 100% { opacity: 0; transform: translateY(6px); } 50% { opacity: 1; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pa * { animation: none !important; } }
/* About hero: text left, phone + light beam art on the right */
.phero--art .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
.phero--art .phero__aside { grid-column: 1; max-width: 560px; }
.phero--art .phero__art svg { right: 0; top: auto; bottom: 0; transform: none; height: 112%; }
@media (max-width: 900px) {
  .phero--art .phero__grid { grid-template-columns: 1fr; }
  .phero--art .phero__art svg { opacity: .3; right: -25%; height: 100%; }
}
