/* ==========================================================================
   KNOX TREASURY, design system
   All brand decisions live in the token block below. Components reference
   tokens only; no stray hex values elsewhere in the codebase.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  color-scheme: dark;

  /* Palette, near-black field, polished gold accent. Nothing else. */
  --field: #0b0b0d;
  --surface: #141417;
  --surface-2: #1b1b1f;
  --gold: #c9a24a;
  --gold-bright: #e5c15a;
  --ink: #e6e1d6;
  --ink-muted: #9a968e;
  --hairline: rgba(201, 162, 74, 0.14);
  --hairline-strong: rgba(201, 162, 74, 0.32);
  --gold-wash: rgba(201, 162, 74, 0.08);
  --scrim: rgba(11, 11, 13, 0.72);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", -apple-system, Arial, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --text-2xl: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);
  --leading-tight: 1.12;
  --leading-snug: 1.35;
  --leading-body: 1.7;
  --tracking-caps: 0.18em;
  --tracking-wide: 0.08em;

  /* Space */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 6rem;
  --space-3xl: clamp(5rem, 4rem + 6vw, 9rem);

  /* Shape & depth */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 10px 30px rgba(0, 0, 0, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-slow: 700ms;

  --container: 72rem;
  --container-text: 44rem;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
picture {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover {
  color: var(--gold-bright);
}
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--gold);
  color: var(--field);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--surface-2);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus {
  top: 1rem;
}

[id] {
  scroll-margin-top: 84px;
}
[hidden] {
  display: none !important;
}
ol.steps,
ol.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-text {
  width: min(100% - 2.5rem, var(--container-text));
  margin-inline: auto;
}

/* Numerals: every number on the site sits on tabular figures */
.num,
.stat-value,
.ticker-value,
.fact-index,
.step-index {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- Type helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: 0.01em;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}
.section-head {
  margin-bottom: var(--space-xl);
  max-width: 46rem;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}
.section-head h2 {
  font-size: var(--text-xl);
}
.section-head .section-sub {
  margin-top: var(--space-md);
  color: var(--ink-muted);
  font-size: var(--text-md);
  max-width: 40rem;
}
.section {
  padding-block: var(--space-3xl);
}
.section + .section {
  border-top: 1px solid var(--hairline);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--field);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.button:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--field);
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(0);
}
.button-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--hairline-strong);
}
.button-ghost:hover {
  background: var(--gold-wash);
  color: var(--gold-bright);
  border-color: var(--gold);
}
.button-sm {
  min-height: 44px;
  padding: 0.55rem 1.2rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(11, 11, 13, 0.6), transparent);
  transition: background var(--dur-fast) linear, border-color var(--dur-fast) linear;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 13, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}
.brand:hover {
  color: var(--ink);
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}
.brand .wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav a:not(.button) {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
}
.nav a:not(.button):hover {
  color: var(--ink);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 60rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1);
  transition: transform 1.2s var(--ease-out);
}
.hero.zoom .hero-media img {
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(11, 11, 13, 0.4) 0%, rgba(11, 11, 13, 0.06) 30%, rgba(11, 11, 13, 0.55) 58%, rgba(11, 11, 13, 0.88) 82%, var(--field) 100%),
    radial-gradient(120% 90% at 50% 26%, transparent 50%, rgba(11, 11, 13, 0.55) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  padding-block: var(--space-2xl) var(--space-xl);
  text-align: center;
}
.hero .eyebrow {
  margin-bottom: var(--space-md);
  display: block;
  color: var(--gold-bright);
  text-shadow: 0 1px 4px rgba(11, 11, 13, 0.95), 0 0 18px rgba(11, 11, 13, 0.9);
}
.hero h1 {
  font-size: var(--text-2xl);
  font-weight: 600;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(11, 11, 13, 0.8);
}
.hero .lead {
  margin: var(--space-md) auto 0;
  max-width: 46ch;
  font-size: var(--text-md);
  color: var(--ink);
  text-shadow: 0 1px 16px rgba(11, 11, 13, 0.9);
}
.hero-actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}
.hero-ticker {
  margin-top: var(--space-xl);
  display: none;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--hairline);
}
.hero-ticker.on {
  display: flex;
}
.ticker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 7rem;
}
.ticker-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ticker-value {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Thesis ---------- */
.thesis-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-2xl);
  align-items: start;
}
.thesis-title {
  position: sticky;
  top: 7rem;
}
.thesis-title h2 {
  font-size: var(--text-xl);
  max-width: 16ch;
}
.thesis-title .rule {
  width: 72px;
  height: 1.5px;
  background: var(--gold);
  margin-top: var(--space-md);
}
.thesis-copy p {
  color: var(--ink-muted);
  font-size: var(--text-md);
  max-width: 62ch;
}
.thesis-copy p + p {
  margin-top: var(--space-md);
}
.thesis-copy strong {
  color: var(--ink);
  font-weight: 600;
}
.thesis-close {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--ink);
  line-height: var(--leading-snug);
  max-width: 30ch;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--surface);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 13rem;
}
.step-index {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.step h3 {
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.step p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
}
.mechanic-note {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--gold-wash);
}
.mechanic-note span {
  font-size: var(--text-sm);
  color: var(--ink);
}
.mechanic-note span::before {
  content: "·";
  color: var(--gold);
  margin-right: 0.5rem;
  font-weight: 700;
}

/* ---------- GLDx ---------- */
.gldx-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl);
  align-items: start;
}
.gldx-copy p {
  color: var(--ink-muted);
  font-size: var(--text-md);
  max-width: 60ch;
}
.gldx-copy p + p {
  margin-top: var(--space-md);
}
.gldx-copy strong {
  color: var(--ink);
  font-weight: 600;
}
.spec-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.spec-card header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
}
.spec-card header h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}
.spec-card header .tag {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}
.spec-rows {
  margin: 0;
}
.spec-rows > div {
  display: grid;
  grid-template-columns: minmax(7rem, 2fr) 3fr;
  gap: var(--space-sm);
  padding: 0.85rem var(--space-lg);
}
.spec-rows > div + div {
  border-top: 1px solid var(--hairline);
}
.spec-rows dt {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-muted);
  align-self: center;
}
.spec-rows dd {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.spec-card footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--hairline);
  font-size: var(--text-sm);
}

/* ---------- Live data ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-height: 8.5rem;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.stat-card:hover {
  border-color: var(--hairline-strong);
}
.stat-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.stat-sub {
  font-size: var(--text-xs);
  color: var(--ink-muted);
}
.stat-sub.up {
  color: var(--gold-bright);
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  color: transparent !important;
  min-height: 1.2em;
  user-select: none;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(230, 225, 214, 0.06), transparent);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.live-meta {
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--ink-muted);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: livepulse 2.4s ease-in-out infinite;
}
@keyframes livepulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.live-empty {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--ink-muted);
  font-size: var(--text-md);
}
.live-empty .display {
  display: block;
  color: var(--ink);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

/* ---------- The Gold Record ---------- */
.record-intro {
  max-width: 40rem;
  color: var(--ink-muted);
  font-size: var(--text-md);
  margin-top: var(--space-md);
}
.record-theme {
  margin-top: var(--space-2xl);
}
.record-theme:first-of-type {
  margin-top: var(--space-xl);
}
.record-theme > h3 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.record-theme > h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.fact {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md) var(--space-lg);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.fact:hover {
  border-color: var(--hairline-strong);
  background: var(--surface-2);
}
.fact-index {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.15;
}
.fact-body {
  min-width: 0;
}
.fact-body h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-snug);
}
.fact-body p {
  margin-top: var(--space-xs);
  color: var(--ink-muted);
  font-size: var(--text-sm);
}
.fact-source {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.fact-source a {
  color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
}
.fact-source a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ---------- Why StonkFun ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.pillar {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-lg);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}
.pillar p {
  margin-top: var(--space-sm);
  color: var(--ink-muted);
  font-size: var(--text-sm);
}
.pillar .pillar-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

/* ---------- How to buy ---------- */
.buy-steps {
  counter-reset: buystep;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.buy-step {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-lg);
}
.buy-step h3 {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  font-size: var(--text-base);
  font-weight: 600;
}
.buy-step h3::before {
  counter-increment: buystep;
  content: counter(buystep, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.buy-step p {
  margin-top: var(--space-sm);
  color: var(--ink-muted);
  font-size: var(--text-sm);
}
.mint-row {
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-md) var(--space-lg);
}
.mint-row .mint-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mint-address {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: var(--text-sm);
  color: var(--ink);
  overflow-wrap: anywhere;
  flex: 1 1 16rem;
}
.mint-address.pending {
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-style: italic;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.copy-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: var(--gold-wash);
}
.copy-btn.copied {
  color: var(--field);
  background: var(--gold);
  border-color: var(--gold);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 52rem;
}
.faq-list details {
  border-bottom: 1px solid var(--hairline);
}
.faq-list details:first-child {
  border-top: 1px solid var(--hairline);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-2xs);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--gold-bright);
}
.faq-list summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 var(--space-2xs) var(--space-lg);
  color: var(--ink-muted);
  max-width: 62ch;
}
.faq-list details p a {
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 1px;
}

/* ---------- Divider band ---------- */
.divider-band {
  height: 11rem;
  background-image: url("assets/divider.webp");
  background-size: cover;
  background-position: center;
  border-block: 1px solid var(--hairline);
  position: relative;
}
.divider-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--field), transparent 35%, transparent 65%, var(--field));
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: var(--space-2xl) var(--space-lg);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: var(--space-xl);
}
.footer-brand .wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand .wordmark img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}
.footer-brand p {
  margin-top: var(--space-md);
  color: var(--ink-muted);
  font-size: var(--text-sm);
  max-width: 34ch;
}
.footer-col h3 {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--ink);
  font-size: var(--text-sm);
  padding: 0.3rem 0;
}
.footer-col a:hover {
  color: var(--gold-bright);
}
.footer-col .x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: var(--space-md);
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-col .x-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}
.footer-mint {
  margin-top: var(--space-md);
}
.footer-mint .mint-address {
  font-size: var(--text-xs);
}
.footer-legal {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: var(--text-xs);
  line-height: 1.7;
}
.footer-legal p + p {
  margin-top: var(--space-sm);
}
.footer-legal a {
  color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline);
}
.footer-legal a:hover {
  color: var(--gold);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
}
.error-page .error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  color: var(--gold);
  line-height: 1;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-top: var(--space-md);
}
.error-page p {
  color: var(--ink-muted);
  margin: var(--space-md) 0 var(--space-lg);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media img,
  .hero.zoom .hero-media img {
    transform: none;
    transition: none;
  }
  .skeleton::after,
  .live-dot {
    animation: none;
  }
  .button:hover {
    transform: none;
  }
}

/* ---------- Breakpoints ---------- */
@media (max-width: 64rem) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .thesis-grid,
  .gldx-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .thesis-title {
    position: static;
  }
  .pillars,
  .buy-steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 48rem) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 11, 13, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    padding: var(--space-sm) var(--space-md) var(--space-lg);
    display: none;
  }
  .nav.nav-open {
    display: flex;
  }
  .nav a:not(.button) {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--hairline);
    font-size: var(--text-base);
  }
  .nav .button {
    margin-top: var(--space-md);
  }
  .brand .wordmark {
    font-size: 0.92rem;
  }
  .hero {
    min-height: min(88vh, 44rem);
  }
  .hero-media img {
    object-position: center 30%;
  }
  .hero::after {
    background: linear-gradient(to bottom, rgba(11, 11, 13, 0.5) 0%, rgba(11, 11, 13, 0.24) 24%, rgba(11, 11, 13, 0.62) 44%, rgba(11, 11, 13, 0.92) 76%, var(--field) 100%),
      radial-gradient(140% 80% at 50% 20%, transparent 45%, rgba(11, 11, 13, 0.6) 100%);
  }
  .steps,
  .facts,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .step {
    min-height: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .hero-ticker {
    gap: var(--space-md);
  }
}
