/* ============================================================
   AMERICAN DREAM — GOLD COIN THEME
   Gold accents on near-black, matching the logo coin.
   ============================================================ */

:root {
  /* Core gold + ink palette — sampled directly from the high-contrast coin logo */
  --gold:        #E7AC08; /* Official WLFI Gold */
  --gold-bright: #FEED8B; /* Official WLFI Crayola Yellow */
  --gold-mid:    #B88A06; 
  --gold-deep:   #733D12; /* Official WLFI Sepia Brown */
  --gold-shadow: #211000; 
  --gold-glow:   rgba(231, 172, 8, 0.30);

  /* Refined metallic gradient — mirrors the logo's specific beveled shine */
  --gold-gradient: linear-gradient(
    135deg,
    #3E2723 0%,   /* Shadow */
    #733D12 15%,  /* Official WLFI Sepia Brown */
    #E7AC08 40%,  /* Official WLFI Gold */
    #FEED8B 50%,  /* Official WLFI Crayola Yellow */
    #E7AC08 60%,  /* Official WLFI Gold */
    #733D12 85%,  /* Official WLFI Sepia Brown */
    #3E2723 100%  /* Shadow */
  );

  --ink:         #121212;
  --ink-soft:    #1A1A1A;
  --ink-deep:    #0A0A0A;
  --ink-glow:    rgba(231, 172, 8, 0.08);

  --cream:       #F5F5F5; /* Clean off-white for main text (WLFI style) */
  --cream-dim:   #B0B0B0; /* Muted gray for secondary text */
  --cream-faint: #707070; /* Faint gray for labels */

  /* Back-compat aliases (old --red/--blue tokens map to new palette) */
  --red:         var(--gold);
  --red-deep:    var(--gold-deep);
  --red-glow:    var(--gold-glow);
  --blue:        var(--gold-bright);
  --blue-deep:   var(--gold);
  --blue-glow:   var(--ink-glow);

  --white:       var(--cream);
  --off-white:   #1F1810;

  --text-main:   var(--cream);
  --text-muted:  var(--cream-dim);
  --text-light:  var(--cream-faint);

  --glass-bg:    rgba(18, 18, 18, 0.85);
  --glass-brd:   rgba(231, 172, 8, 0.18);

  --radius-lg:   10px;
  --radius-md:   8px;
  --radius-sm:   6px;

  --container:   1180px;

  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-data:    "JetBrains Mono", "SF Mono", Menlo, monospace;
  --font-stamp:   "JetBrains Mono", "SF Mono", Menlo, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection {
  background: rgba(231, 172, 8, 0.2);
  color: #ffffff;
}

/* ---------- Background ---------- */
.bg-root {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: #121212;
}

/* Subtle film-grain for depth */
.bg-root::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* Orbs are now disabled — gradient does the heavy lifting like WLFI */
.orb { display: none; }

/* Star pattern — everything below the hero */
.starred-zone {
  position: relative;
  isolation: isolate;
}

.starred-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('assets/stars.svg');
  background-repeat: repeat;
  background-size: 340px 340px;
  pointer-events: none;
}

footer.starred-zone::before {
  position: absolute;
}


/* ---------- Glass panel (Premium Depth) ---------- */
.glass-panel {
  position: relative;
  background: rgba(41, 37, 36, 0.65); /* Matched to Raisin Black */
  border: 1px solid rgba(231, 172, 8, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.35),
    0 10px 15px -3px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(231, 172, 8, 0.05);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.glass-panel:hover {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.45),
    0 10px 10px -5px rgba(0, 0, 0, 0.3),
    0 0 24px -8px rgba(231, 172, 8, 0.2);
}


/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 172, 8, 0.12);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-line-1 { 
  font-family: var(--font-display); 
  font-weight: 800; 
  font-size: 1.2rem; 
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(231, 172, 8, 0.18);
}

.nav-links { display: flex; gap: 1.4rem; margin-right: 1rem; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: #ffffff; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
}

@media (max-width: 880px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.4rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: #000000;
  border-radius: var(--radius-sm);
  background: var(--gold);
  border: 1px solid rgba(254, 237, 139, 0.4);
  box-shadow:
    0 10px 25px -8px rgba(231, 172, 8, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid var(--gold);
  overflow: hidden;
}

.cta-primary:hover {
  transform: translateY(-3px);
  background: var(--gold-bright);
  box-shadow:
    0 18px 35px -8px rgba(231, 172, 8, 0.6);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
}
.cta-secondary:hover { 
  background: rgba(231, 172, 8, 0.1);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- HERO ---------- */
.hero { 
  position: relative;
  max-width: 100%; 
  margin: 0; 
  padding: 8rem 1.25rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      ellipse 70% 60% at 50% 45%,
      rgba(10, 9, 8, 0.65) 0%,
      rgba(10, 9, 8, 0.3) 60%,
      rgba(10, 9, 8, 0.15) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 9, 8, 0.4) 0%,
      rgba(10, 9, 8, 0.2) 45%,
      rgba(10, 9, 8, 0.55) 100%
    ),
    url('assets/hero-visual.png');
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: opacity;
  transition: opacity 0.1s linear;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
}

.hero-panel { 
  position: relative;
  z-index: 2;
  max-width: var(--container);
  padding: 4rem 2.5rem; 
  text-align: center; 
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -3rem -1rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 68% at 50% 50%,
    rgba(8, 7, 6, 0.7) 0%,
    rgba(8, 7, 6, 0.45) 45%,
    rgba(8, 7, 6, 0.15) 72%,
    transparent 88%
  );
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 1.5rem auto 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.7);
}

.title-blue, .title-red {
  display: inline-block;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.title-blue {
  display: inline-block;
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.7);
}
.title-red {
  display: inline-block;
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.7);
}

/* Reusable metallic gold text — mirrors the coin's beveled shine */
.metal-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.title-sub { 
  display: block; 
  font-family: var(--font-body); 
  font-weight: 600; 
  font-size: clamp(1rem, 2vw, 1.2rem); 
  color: var(--blue); 
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-top: 1rem; 
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 0, 0, 0.7);
}

.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.7; max-width: 80ch; margin: 0 auto 2rem; color: #f5f5f5; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 0, 0, 0.7); }
.hero-sub strong { color: var(--gold-bright); }

.hero-ca {
  margin: 2.5rem auto 0;
  max-width: 580px;
  text-align: left;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(231, 172, 8, 0.04);
  border: 1px dashed rgba(231, 172, 8, 0.25);
}
.ca-label {
  font-family: var(--font-data);
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.ca-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.ca-text {
  flex: 1;
  min-width: 0;
  font-family: var(--font-data);
  font-size: 0.88rem;
  color: var(--gold);
  padding: 0.65rem 0.8rem;
  background: var(--ink-deep);
  border: 1px solid rgba(231, 172, 8, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.ca-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
}
.ca-copy:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}
.ca-copy.is-copied {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--cream);
}
.ca-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}

.hero-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
@media (max-width: 760px) { .hero-badges { grid-template-columns: repeat(2, 1fr); } }

.badge { display: flex; align-items: center; gap: 0.8rem; padding: 1rem; background: #fff; border: 1px solid var(--glass-brd); border-radius: var(--radius-md); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.badge-icon {
  width: 40px; height: 40px;
  border-radius: 0;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
}
.badge-text strong { display: block; font-size: 0.9rem; color: var(--blue-deep); }
.badge-text small { font-size: 0.75rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { max-width: var(--container); margin: 0 auto; padding: 5rem 1.25rem; }

/* First section after hero — tighten the gap above onboarding */
#how {
  padding-top: 2rem;
}

.section-head { text-align: center; margin-bottom: 3.5rem; }
.eyebrow {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  font-weight: 700;
}
.section-head h2 { 
  font-family: var(--font-display); 
  font-weight: 800; 
  font-size: clamp(2.2rem, 5vw, 3.5rem); 
  letter-spacing: -0.03em;
  margin: 0 0 1.2rem; 
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.section-head p { max-width: 65ch; margin: 0 auto; color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }

/* ---------- Full-bleed colored section bands ---------- */
.section-blue,
.section-red {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  margin-bottom: 0;
}
.section-blue::before,
.section-red::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
}
.section-blue::before {
  background: transparent;
  background-image:
    radial-gradient(at 20% 20%, rgba(231, 172, 8, 0.04) 0px, transparent 50%),
    radial-gradient(at 80% 80%, rgba(115, 61, 18, 0.03) 0px, transparent 50%);
  border-top: 1px solid rgba(231, 172, 8, 0.08);
  border-bottom: 1px solid rgba(231, 172, 8, 0.08);
}
.section-red::before {
  background: transparent;
  background-image:
    radial-gradient(at 20% 20%, rgba(231, 172, 8, 0.05) 0px, transparent 50%),
    radial-gradient(at 80% 80%, rgba(115, 61, 18, 0.04) 0px, transparent 50%);
  border-top: 1px solid rgba(231, 172, 8, 0.10);
  border-bottom: 1px solid rgba(231, 172, 8, 0.10);
}

/* Subtle gold-fleck pattern overlay on bands */
.section-blue::after,
.section-red::after {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background-image:
    radial-gradient(circle 1.5px at 8% 18%,  rgba(231, 172, 8, 0.35), transparent 60%),
    radial-gradient(circle 1px   at 22% 64%, rgba(231, 172, 8, 0.25), transparent 60%),
    radial-gradient(circle 1.2px at 38% 30%, rgba(231, 172, 8, 0.30), transparent 60%),
    radial-gradient(circle 1px   at 55% 78%, rgba(231, 172, 8, 0.22), transparent 60%),
    radial-gradient(circle 1.5px at 72% 22%, rgba(231, 172, 8, 0.32), transparent 60%),
    radial-gradient(circle 1px   at 88% 60%, rgba(231, 172, 8, 0.25), transparent 60%),
    radial-gradient(circle 1.2px at 95% 88%, rgba(231, 172, 8, 0.30), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

/* Section-specific accent emphasis (cards stay dark, gold strong inside) */
.section-red .stat-red,
.section-red .index-caption strong,
.section-red .tt-ratio,
.section-red .tooltip-ratio strong {
  color: var(--gold-bright);
}

.section-blue .how-link {
  color: var(--gold);
}

/* ---------- HOW TO BUY ---------- */
.how-orbit {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(300px, 480px) minmax(250px, 300px);
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "note-tl coin note-tr"
    "note-bl coin note-br";
  gap: 2rem 3rem;
  align-items: center;
  justify-content: center;
  max-width: 1240px;
  min-height: min(680px, 95vw);
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
}

.how-orbit-center {
  grid-area: coin;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.how-note {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 260px;
  max-width: 260px;
  padding-top: 0.85rem;
  transition: transform 0.3s ease;
}

.how-note-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 260px;
  aspect-ratio: 1 / 1;
  padding: 1rem 1.05rem 0.9rem;
  overflow: hidden;
  /* Dark sticky note — matches page bg */
  background: linear-gradient(168deg, rgba(41, 37, 36, 0.92) 0%, rgba(28, 25, 23, 0.96) 100%);
  border: 1px solid rgba(231, 172, 8, 0.12);
  border-radius: 2px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(231, 172, 8, 0.06),
    2px 3px 6px rgba(0, 0, 0, 0.38),
    5px 10px 22px rgba(0, 0, 0, 0.32);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.how-note-sheet::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(225deg, #292524 0%, #1c1917 55%, rgba(0, 0, 0, 0.25) 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.how-note-sheet.glass-panel:hover {
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(231, 172, 8, 0.08),
    3px 5px 10px rgba(0, 0, 0, 0.42),
    8px 14px 28px rgba(0, 0, 0, 0.36);
}

.how-fastener {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

/* Push pin — note 01 */
.how-fastener-pin {
  top: 0;
  left: 14px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #feed8b 0%, #e7ac08 42%, #733d12 100%);
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}
.how-fastener-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 88%;
  width: 2px;
  height: 7px;
  background: linear-gradient(180deg, #8a8a8a, #555);
  transform: translateX(-50%);
  border-radius: 1px;
}

/* Paperclip — note 02 */
.how-fastener-paperclip {
  top: 2px;
  left: 6px;
  width: 14px;
  height: 34px;
  border: 2.5px solid #b8b8b8;
  border-radius: 10px 10px 4px 4px;
  border-bottom: none;
  transform: rotate(8deg);
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.35);
}
.how-fastener-paperclip::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 8px;
  height: 20px;
  border: 2px solid #d4d4d4;
  border-radius: 6px 6px 2px 2px;
  border-bottom: none;
}

/* Binder clip — note 03 */
.how-fastener-clip {
  top: -2px;
  left: 50%;
  width: 38px;
  height: 20px;
  transform: translateX(-50%);
}
.how-fastener-clip::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid #2a2a2a;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #4a4a4a 0%, #1a1a1a 100%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
}
.how-fastener-clip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 28px;
  height: 6px;
  transform: translateX(-50%);
  background: #888;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Tape — note 04 */
.how-fastener-tape {
  top: 4px;
  left: 50%;
  width: 52px;
  height: 18px;
  transform: translateX(-50%) rotate(-3deg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  opacity: 0.85;
}
.how-fastener-tape::before,
.how-fastener-tape::after {
  content: "";
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
}
.how-fastener-tape::before { left: 0; }
.how-fastener-tape::after { right: 0; }

.how-note-tl {
  grid-area: note-tl;
  align-self: start;
  justify-self: end;
  transform: rotate(-13deg);
  transform-origin: 18% 6%;
}
.how-note-bl {
  grid-area: note-bl;
  align-self: end;
  justify-self: end;
  transform: rotate(-4deg);
  transform-origin: 12% 8%;
}
.how-note-tr {
  grid-area: note-tr;
  align-self: start;
  justify-self: start;
  transform: rotate(9deg);
  transform-origin: 50% 5%;
}
.how-note-br {
  grid-area: note-br;
  align-self: end;
  justify-self: start;
  transform: rotate(16deg);
  transform-origin: 52% 7%;
}

.how-note-tl:hover { transform: rotate(-11deg) translateY(-5px); }
.how-note-bl:hover { transform: rotate(-2deg) translateY(-5px); }
.how-note-tr:hover { transform: rotate(7deg) translateY(-5px); }
.how-note-br:hover { transform: rotate(14deg) translateY(-5px); }

.how-note-head {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-bottom: 1px dashed rgba(231, 172, 8, 0.18);
  padding-bottom: 0.5rem;
}

.how-note-body {
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  flex: 1;
}

.how-coin {
  width: min(480px, 94vw);
  aspect-ratio: 1;
}

.how-coin-spinner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(14deg);
  filter:
    drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 70px rgba(231, 172, 8, 0.16));
}

.how-coin-spinner.is-spinning {
  animation: coinSpinOnce 2.8s cubic-bezier(0.34, 0.05, 0.18, 1) forwards;
}

.how-coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow:
    inset 0 -14px 28px rgba(0, 0, 0, 0.38),
    inset 0 12px 22px rgba(254, 237, 139, 0.14);
}

.how-coin-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.how-coin-front { transform: translateZ(14px); }
.how-coin-back { transform: rotateY(180deg) translateZ(14px); }

@keyframes coinSpinOnce {
  0%   { transform: rotateX(22deg) rotateY(0deg); }
  72%  { transform: rotateX(16deg) rotateY(380deg); }
  100% { transform: rotateX(14deg) rotateY(360deg); }
}

.how-number {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.how-note-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.25;
}
.how-link {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.74rem;
  opacity: 0.9;
  padding-left: 0;
  margin-top: auto;
}

@media (max-width: 980px) {
  .how-orbit {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "coin coin"
      "note-tl note-tr"
      "note-bl note-br";
    gap: 1.25rem 1rem;
    min-height: auto;
    padding: 0.5rem 0 1.5rem;
    overflow: hidden;
  }
  .how-orbit-center { padding: 0.25rem 0 1rem; }
  .how-coin { width: min(340px, 78vw); }
  .how-note {
    width: 100%;
    max-width: none;
  }
  .how-note-tl {
    transform: rotate(-8deg);
    transform-origin: 18% 6%;
  }
  .how-note-bl {
    transform: rotate(-3deg);
    transform-origin: 12% 8%;
  }
  .how-note-tr {
    transform: rotate(6deg);
    transform-origin: 50% 5%;
  }
  .how-note-br {
    transform: rotate(10deg);
    transform-origin: 52% 7%;
  }
  .how-note-sheet {
    width: 100%;
    max-width: min(260px, calc(50vw - 1.5rem));
    margin: 0 auto;
  }
  .how-note-tl,
  .how-note-bl,
  .how-note-tr,
  .how-note-br {
    align-self: stretch;
    justify-self: stretch;
  }
}

@media (max-width: 860px) {
  .how-orbit {
    grid-template-columns: 1fr;
    grid-template-areas:
      "coin"
      "note-tl"
      "note-tr"
      "note-bl"
      "note-br";
    gap: 1.25rem;
    padding: 0.5rem 0.5rem 1.5rem;
  }
  .how-coin { width: min(300px, 72vw); }
  .how-note-sheet {
    width: 100%;
    max-width: min(280px, calc(100vw - 3rem));
  }
  .how-note-tl { transform: rotate(-6deg); transform-origin: 18% 6%; }
  .how-note-bl { transform: rotate(4deg); transform-origin: 12% 8%; }
  .how-note-tr { transform: rotate(-4deg); transform-origin: 50% 5%; }
  .how-note-br { transform: rotate(7deg); transform-origin: 52% 7%; }
}

/* ---------- CHART ---------- */
#chart {
  position: relative;
}

.chart-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(231, 172, 8, 0.15);
}
.chart-symbol {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--text-muted);
}
.chart-symbol strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}
.chart-pair { color: var(--text-light); font-size: 0.85rem; }
.dot-live {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(231, 172, 8, 0.25);
  animation: dotPulse 1.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(231, 172, 8, 0.25); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 8px rgba(231, 172, 8, 0); }
}

.chart-resolutions {
  display: inline-flex;
  background: rgba(231, 172, 8, 0.06);
  border: 1px solid rgba(231, 172, 8, 0.18);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.res {
  padding: 0.4rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.res:hover { color: var(--gold); }
.res.is-active {
  background: var(--gold);
  color: var(--ink);
}

.chart-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
@media (max-width: 640px) { .chart-stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(231, 172, 8, 0.05);
  border: 1px solid rgba(231, 172, 8, 0.15);
}
.stat-label {
  display: block;
  font-family: var(--font-stamp);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-light);
  text-transform: uppercase;
}
.stat-value {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
}
.stat-green { color: var(--gold-bright); }
.stat-red   { color: var(--gold); }
.stat-blue  { color: var(--gold-bright); }

.chart-canvas-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(180deg, #12100F 0%, #1C1917 100%);
  border: 1px solid rgba(231, 172, 8, 0.12);
}
.chart-canvas {
  display: block;
  width: 100%;
  height: 280px;
}
.chart-veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2px);
}
.chart-veil-stamp {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  background: #292524; /* Matched to Raisin Black */
  border: 1px solid rgba(231, 172, 8, 0.2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.veil-eyebrow {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.chart-veil-stamp strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
}

.chart-foot {
  padding-top: 1rem;
  border-top: 1px solid rgba(231, 172, 8, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.chart-foot-cta { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.2rem;
  border-radius: 0;
  color: var(--cream);
  font-weight: 600;
  border: 2px solid rgba(231, 172, 8, 0.3);
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.cta-ghost:hover {
  background: rgba(231, 172, 8, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.cta-sm { padding: 0.55rem 1.1rem; font-size: 0.8rem; }

/* ---------- Index Hero ---------- */
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.index-hero {
  grid-column: 1 / -1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.index-stat {
  grid-column: span 1;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.index-cta {
  grid-column: span 2;
  padding: 2.5rem;
}
.index-comparison {
  grid-column: span 3;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 980px) {
  .index-grid { grid-template-columns: repeat(2, 1fr); }
  .index-hero { grid-column: 1 / -1; }
  .index-cta, .index-comparison { grid-column: span 2; }
  .index-stat { grid-column: span 1; }
}
@media (max-width: 640px) {
  .index-grid { grid-template-columns: 1fr; }
  .index-hero { grid-column: 1 / -1; }
  .index-cta, .index-stat, .index-comparison { grid-column: span 1; }
}

.comparison-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  width: 100%;
}
.comparison-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--cream);
  text-align: left;
}
.comparison-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-dot-red  { background: var(--gold); box-shadow: 0 0 0 3px rgba(231, 172, 8, 0.2); }
.legend-dot-blue { background: var(--gold-bright); box-shadow: 0 0 0 3px rgba(254, 237, 139, 0.2); }

.comparison-graph {
  position: relative;
  width: 100%;
  height: 320px;
  margin: 0;
  background: rgba(231, 172, 8, 0.03);
  border-radius: var(--radius-md);
  overflow: visible;
  border: 1px solid rgba(231, 172, 8, 0.12);
  cursor: crosshair;
}
.comparison-graph .comp-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.comp-svg text {
  font-family: var(--font-data);
  pointer-events: none;
}

.chart-tooltip {
  position: absolute;
  top: 12px;
  left: 0;
  min-width: 180px;
  padding: 0.75rem 0.9rem;
  background: rgba(10, 9, 8, 0.96);
  border: 1px solid rgba(231, 172, 8, 0.35);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  font-family: var(--font-body);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 5;
}
.tooltip-year {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.tooltip-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
}
.tooltip-row strong {
  margin-left: auto;
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-data);
  font-size: 0.85rem;
}
.tt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.tt-dot-red  { background: var(--red); }
.tt-dot-blue { background: var(--blue); }
.tt-label { font-weight: 600; color: var(--text-main); }

.tooltip-ratio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(231, 172, 8, 0.2);
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: var(--font-data);
}
.tooltip-ratio strong {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
}

.gauge {
  position: relative;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 280px;
}
.gauge-svg { width: 100%; height: auto; }
.gauge-value {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.gauge-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.gauge-of { color: var(--text-light); font-size: 1.2rem; margin-left: 4px; font-weight: 600; }
.index-caption { color: var(--text-muted); line-height: 1.6; margin: 0; text-align: center; max-width: 45ch; margin: 0 auto; }
.index-caption strong { color: var(--gold); }
.index-source { display: inline-block; margin-top: 0.6rem; color: var(--text-light); font-size: 0.7rem; letter-spacing: 0.02em; }

.index-eyebrow {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  font-weight: 700;
  text-align: center;
}

.stat-eyebrow {
  font-family: var(--font-data);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 700;
}
.stat-big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--gold);
  margin: 0.5rem 0;
}
.stat-sub { font-size: 0.85rem; font-weight: 700; display: block; margin-bottom: 1rem; }
.stat-foot { font-size: 0.75rem; color: var(--text-light); margin-top: auto; font-style: italic; }

.index-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- TOKENOMICS ---------- */
#tokenomics {
  position: relative;
  isolation: isolate;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.token-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.token-eyebrow {
  font-family: var(--font-stamp);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-light);
  text-transform: uppercase;
}
.token-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.token-sub { font-size: 0.85rem; color: var(--text-muted); }

.token-promise { grid-column: span 2; }
.token-promise h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
}

.promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.promise-list li {
  background: rgba(231, 172, 8, 0.04);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(231, 172, 8, 0.18);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--cream-dim);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  flex-shrink: 0;
  font-size: 0;
  color: transparent;
  background-image: url('assets/star.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 980px) {
  .token-promise { grid-column: span 2; }
}
@media (max-width: 520px) {
  .tokenomics-grid { grid-template-columns: 1fr; }
  .token-promise { grid-column: span 1; }
  .promise-list { grid-template-columns: 1fr; }
}

/* ---------- THE RESERVE ---------- */
.reserve-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.reserve-main {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.reserve-side {
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.reserve-side-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(231, 172, 8, 0.22);
}
.reserve-side-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.reserve-eyebrow {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}
.reserve-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(231, 172, 8, 0.22);
}
.reserve-pct {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.reserve-pct strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.reserve-pct span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.reserve-flow {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.flow-node {
  flex: 1;
  min-width: 130px;
  padding: 1rem 1.1rem;
  background: rgba(231, 172, 8, 0.04);
  border: 1px solid rgba(231, 172, 8, 0.18);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.flow-node-accent {
  background: rgba(231, 172, 8, 0.14);
  border-color: rgba(231, 172, 8, 0.45);
}
.flow-node-final {
  background: var(--gold);
  border-color: var(--gold);
}
.flow-node-final .flow-label,
.flow-node-final .flow-sub {
  color: var(--ink);
}
.flow-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.flow-sub {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 700;
}

.reserve-balance {
  padding: 1.4rem 1.5rem;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.reserve-balance-label {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10, 9, 8, 0.85);
  font-weight: 700;
}
.reserve-balance-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.reserve-balance-sub {
  font-size: 0.8rem;
  color: rgba(10, 9, 8, 0.9);
}

.reserve-wallet {
  padding: 1.2rem;
  background: rgba(231, 172, 8, 0.04);
  border: 1px dashed rgba(231, 172, 8, 0.25);
}
.reserve-wallet-label {
  font-family: var(--font-data);
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.reserve-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.reserve-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  background: rgba(231, 172, 8, 0.04);
  border: 1px solid rgba(231, 172, 8, 0.18);
  border-radius: var(--radius-sm);
}
.reserve-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.reserve-list p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .reserve-grid { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-content: center; width: 100%; }
  .reserve-flow { flex-direction: column; }
}

/* ---------- HERO CTA + Disclaimer ---------- */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}
.disclaimer {
  margin: 2rem auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0 1rem;
}

/* ---------- FINAL CTA ---------- */
.final-cta { padding-top: 1rem; padding-bottom: 6rem; }

.dream-marquee {
  overflow: hidden;
  margin-top: 3rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.dream-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: dreamScroll 45s linear infinite;
}
.dream-track img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(231, 172, 8, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.dream-marquee:hover .dream-track { animation-play-state: paused; }
@keyframes dreamScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .dream-track { animation: none; }
  .how-coin-spinner.is-spinning { animation: none; }
}
.final-card {
  padding: 4rem 2rem;
  text-align: center;
}
.final-card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 0.75rem;
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.final-card p {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-style: italic;
}
.final-cta-row {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 1.25rem 2rem;
  border-top: 1px solid rgba(231, 172, 8, 0.12);
}

footer.starred-zone {
  position: relative;
  isolation: isolate;
  background: transparent;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); }
.footer-brand small { font-size: 0.72rem; color: var(--text-light); }

.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid rgba(231, 172, 8, 0.3);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.footer-disclaimer {
  max-width: var(--container);
  margin: 1rem auto 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- Mobile optimizations (desktop unchanged above 980px) ---------- */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0.7rem 1rem;
    gap: 0.75rem;
  }

  .brand-line-1 { font-size: 1rem; }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    padding: 0.55rem 0.9rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .hero {
    padding: 6.5rem 1rem 2.5rem;
  }

  .hero-panel {
    padding: 1.5rem 0.25rem;
  }

  .hero-panel::before {
    inset: -1.5rem -0.5rem;
  }

  .hero-title {
    margin: 1rem auto;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .title-sub {
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    margin-top: 0.75rem;
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-ca {
    margin-top: 1.75rem;
    padding: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-cta .cta-primary,
  .hero-cta .cta-secondary,
  .hero-cta .cta-ghost {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 3rem 1rem;
  }

  #how {
    padding-top: 1.5rem;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-head h2 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .section-head p {
    font-size: 0.95rem;
  }

  .eyebrow {
    letter-spacing: 0.16em;
    font-size: 0.62rem;
  }

  .chart-card {
    padding: 1.1rem;
    gap: 1rem;
  }

  .chart-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-resolutions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .res {
    flex: 1 1 auto;
    min-width: 2.5rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.72rem;
  }

  .chart-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .chart-foot-cta {
    flex-direction: column;
  }

  .chart-foot-cta .cta-secondary,
  .chart-foot-cta .cta-ghost {
    width: 100%;
    justify-content: center;
  }

  .chart-veil-stamp {
    padding: 1.1rem 1rem;
    margin: 0 0.5rem;
  }

  .chart-veil-stamp strong {
    font-size: 1rem;
  }

  .index-hero,
  .index-comparison,
  .index-stat {
    padding: 1.5rem 1.1rem;
  }

  .comparison-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .comparison-title {
    text-align: center;
  }

  .comparison-legend {
    justify-content: center;
  }

  .comparison-graph {
    height: 240px;
  }

  .gauge-num {
    font-size: 2.75rem;
  }

  .stat-big {
    font-size: 1.65rem;
  }

  .token-card {
    padding: 1.25rem;
  }

  .token-big {
    font-size: clamp(1.5rem, 7vw, 2rem);
    word-break: break-word;
  }

  .reserve-main,
  .reserve-side {
    padding: 1.5rem 1.1rem;
  }

  .reserve-flow {
    gap: 0.5rem;
  }

  .flow-node {
    min-width: 0;
    width: 100%;
  }

  .final-cta {
    padding-bottom: 3.5rem;
  }

  .final-card {
    padding: 2.5rem 1.25rem;
  }

  .final-card p {
    font-size: 1rem;
  }

  .final-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta-row .cta-primary,
  .final-cta-row .cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .dream-track img {
    width: 160px;
    height: 160px;
  }

  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links,
  .footer-social {
    justify-content: center;
  }

  .footer-disclaimer {
    padding: 0 0.5rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .nav-brand {
    min-width: 0;
  }

  .brand-line-1 {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    padding: 0.5rem 0.7rem;
    font-size: 0.62rem;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.25rem);
  }

  .title-sub {
    letter-spacing: 0.08em;
    font-size: 0.72rem;
  }

  .ca-row {
    flex-direction: column;
  }

  .ca-text {
    font-size: 0.72rem;
    white-space: normal;
    word-break: break-all;
    text-overflow: unset;
    overflow: visible;
  }

  .ca-copy {
    width: 100%;
  }

  .cta-primary,
  .cta-secondary {
    padding: 0.95rem 1.25rem;
    font-size: 0.92rem;
  }

  .how-note-sheet {
    width: 100%;
    max-width: calc(100vw - 2.5rem);
  }

  .how-number { font-size: 0.55rem; }
  .how-note-head h3 { font-size: 0.78rem; }
  .how-note-body { font-size: 0.82rem; }
  .how-link { font-size: 0.76rem; }

  .chart-stats {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 1.1rem;
  }

  .chart-canvas {
    height: 200px;
  }

  .token-big {
    font-size: 1.35rem;
  }

  .promise-list li {
    font-size: 0.82rem;
    padding: 0.6rem 0.75rem;
  }

  .reserve-balance-value {
    font-size: 1.75rem;
  }

  .copy-toast {
    left: 1rem;
    right: 1rem;
    transform: none;
    text-align: center;
    font-size: 0.85rem;
  }

  .copy-toast.is-show {
    bottom: 1.5rem;
  }
}

/* ---------- Animations ---------- */
.hero-anim { opacity: 0; }
.hero-anim-fade { animation: heroFadeIn .8s forwards; }
.hero-anim-fade-up { animation: heroFadeUp .8s forwards; }
.hero-anim-scale { animation: heroScaleIn .6s forwards; }

@keyframes heroFadeIn { to { opacity: 1; } }
@keyframes heroFadeUp { from { transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroScaleIn { from { transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.hero-anim-delay-1 { animation-delay: 0.1s; }
.hero-anim-delay-2 { animation-delay: 0.2s; }
.hero-anim-delay-3 { animation-delay: 0.3s; }
.hero-anim-delay-4 { animation-delay: 0.4s; }
.hero-anim-delay-5 { animation-delay: 0.5s; }
.hero-anim-delay-6 { animation-delay: 0.6s; }

.copy-toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink); padding: 0.8rem 1.5rem; border-radius: var(--radius-sm); opacity: 0; transition: all 0.3s; z-index: 100; font-weight: 700; letter-spacing: 0.04em; }
.copy-toast.is-show { opacity: 1; bottom: 3rem; }
