/* ============================================================
   Onil Token LP — base styles
   Dark only. Onil Gold #FFAD00 / variant #FFD56B.
   ============================================================ */

:root {
  --gold: #FFAD00;
  --gold-soft: #FFD56B;
  --gold-deep: #C68500;
  --bg: #000000;
  --bg-tone: #000000;     /* overridden by tweak */
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);
  --text: #ffffff;
  --text-2: rgba(255,255,255,0.72);
  --text-3: rgba(255,255,255,0.48);
  --text-4: rgba(255,255,255,0.32);
  --gold-tint: color-mix(in oklch, var(--gold) 12%, transparent);

  --font-sans: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 160px);
  --max-w: 1320px;

  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;

  --gold-intensity: 1;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-tone);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}

html, body { overflow-x: hidden; max-width: 100%; }
img, svg, canvas, video { max-width: 100%; height: auto; }
canvas { height: revert-layer; } /* keep three.js canvases at their renderer-set size */

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold); color: #000; }

/* ============ Layout primitives ============ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
}

.section--tight { padding-top: calc(var(--section-y) * 0.6); padding-bottom: calc(var(--section-y) * 0.6); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  max-width: 60ch;
  text-wrap: pretty;
}

.divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.hairline { border-top: 1px solid var(--border); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--gold);
  color: #0A0700;
}
.btn--primary:hover { background: var(--gold-soft); }
.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============ TBD pill ============ */
.tbd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 1px dashed color-mix(in oklch, var(--gold) 70%, transparent);
  border-radius: 999px;
  padding: 4px 10px;
  background: color-mix(in oklch, var(--gold) 5%, transparent);
}
.tbd--lg { font-size: 13px; padding: 6px 14px; }
.tbd::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* Blurred number variant */
.tbd-blur {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
}
.tbd-blur .num {
  filter: blur(7px);
  user-select: none;
  color: var(--gold);
}
.tbd-blur .lock {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Skeleton shimmer variant */
.tbd-shimmer {
  display: inline-block;
  width: 120px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(90deg,
    color-mix(in oklch, var(--gold) 12%, transparent) 0%,
    color-mix(in oklch, var(--gold) 32%, transparent) 50%,
    color-mix(in oklch, var(--gold) 12%, transparent) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============ Card surfaces ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover {
  background: var(--card-hover);
  border-color: var(--border-strong);
}

/* ============ Display type ============ */
.display {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

/* Mono numerals */
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--bg-tone) 70%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-logo .mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--gold);
  color: #0A0700;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--text-2);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--text-3);
  text-transform: uppercase;
}
.lang-toggle button.active {
  background: var(--gold);
  color: #0A0700;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 24px 0 28px;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
}
.hero-lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 48ch;
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-kpi {
  border-left: 1px solid var(--border);
  padding-left: 28px;
  margin-bottom: 8px;
}
.hero-kpi .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 12px;
}
.hero-kpi .value {
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--gold);
}
.hero-kpi .sub {
  display: block;
  margin-top: 14px;
  color: var(--text-3);
  font-size: 13px;
  max-width: 32ch;
}

.hero-meta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-meta > div {
  padding: 22px 0;
  border-right: 1px solid var(--border);
  padding-left: 24px;
}
.hero-meta > div:first-child { padding-left: 0; }
.hero-meta > div:last-child { border-right: 0; }
.hero-meta .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 8px;
}
.hero-meta .v {
  font-size: 14px;
  color: var(--text);
}

/* Subtle gold glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle at center,
    color-mix(in oklch, var(--gold) calc(8% * var(--gold-intensity)), transparent) 0%,
    transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* ============ Trusted by ============ */
.trusted {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 28px;
  text-align: center;
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 36px 56px;
  margin-bottom: 36px;
}
.partner-logo {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.partner-logo .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-3);
}
.chain-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
}
.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.chain-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-block;
}
.chain-dot--eth { background: linear-gradient(135deg, #627EEA, #8FA9FF); }
.chain-dot--polygon { background: linear-gradient(135deg, #8247E5, #B58CFF); }
.chain-dot--arbitrum { background: linear-gradient(135deg, #28A0F0, #82CFFF); }
.chain-dot--base { background: linear-gradient(135deg, #0052FF, #4D85FF); }
.chain-dot--solana { background: linear-gradient(135deg, #14F195, #9945FF); }
.chain-dot--tron { background: linear-gradient(135deg, #FF060A, #FF7A7C); }

/* ============ How it works ============ */
.flows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.flow {
  background: var(--bg-tone);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  transition: background .2s ease;
}
.flow:hover { background: rgba(255,173,0,0.025); }
.flow-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.flow-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}
.flow-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.flow-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: color-mix(in oklch, var(--gold) 8%, transparent);
  border: 1px solid color-mix(in oklch, var(--gold) 30%, transparent);
  border-radius: 999px;
  padding: 6px 12px;
  width: fit-content;
}
.flow-desc {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.flow-meta {
  margin-top: auto;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.flow-meta .item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.flow-meta .item b { color: var(--text); font-weight: 500; }

/* ============ Coverage map ============ */
.coverage-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.map-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  padding: 24px;
}
.dotted-map {
  width: 100%;
  height: 100%;
  display: block;
}
.rail-pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--gold) 18%, transparent);
  transition: box-shadow .2s ease, transform .2s ease;
}
.rail-pin::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.4;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}
.rail-pin:hover {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 8px color-mix(in oklch, var(--gold) 24%, transparent);
}
.rail-tooltip {
  position: absolute;
  background: #0a0700;
  border: 1px solid var(--gold);
  color: var(--text);
  font-size: 12px;
  font-family: var(--font-mono);
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transform: translate(-50%, -130%);
  pointer-events: none;
  z-index: 10;
}
.rail-tooltip .rail-name { color: var(--gold); display: block; font-weight: 500; }
.rail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.rail-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding .2s ease;
}
.rail-row:hover { padding-left: 8px; }
.rail-row.active { background: linear-gradient(90deg, color-mix(in oklch, var(--gold) 8%, transparent), transparent); padding-left: 12px; }
.rail-flag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.rail-name-row { font-size: 14px; }
.rail-name-row .sub { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.rail-time { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }

/* ============ Tech stack ============ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stack-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 130px;
  transition: border-color .2s ease, background .2s ease;
}
.stack-card:hover { border-color: var(--gold); background: var(--card-hover); }
.stack-card .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.stack-card .name {
  font-size: 15px;
  font-weight: 500;
}
.stack-card .desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============ Token section ============ */
.token-section {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in oklch, var(--gold) calc(6% * var(--gold-intensity)), transparent) 0%, transparent 50%),
    var(--bg-tone);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.token-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.token-symbol {
  font-family: var(--font-mono);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--gold);
  display: block;
}
.token-symbol .dollar { color: var(--text-3); }
.token-tagline {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 16px 0 24px;
  max-width: 32ch;
  text-wrap: balance;
}
.token-rights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.token-rights li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 14px;
  color: var(--text-2);
}
.token-rights .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.token-rights b { color: var(--text); font-weight: 500; }

/* Tokenomics bar */
.alloc-block { margin-top: 24px; }
.alloc-bar {
  display: flex;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.alloc-seg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #0A0700;
  font-weight: 500;
  cursor: pointer;
  transition: filter .2s ease;
}
.alloc-seg:hover { filter: brightness(1.1); }
.alloc-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.alloc-legend-item {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.alloc-swatch { width: 14px; height: 14px; border-radius: 3px; }
.alloc-name { color: var(--text-2); }
.alloc-pct { font-family: var(--font-mono); color: var(--text); font-size: 12px; }

/* Vesting timeline */
.vesting {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: rgba(255,255,255,0.02);
}
.vesting-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}
.vesting-head h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.vesting-head .legend {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  gap: 16px;
}
.vesting-head .legend span { display: inline-flex; align-items: center; gap: 6px; }
.vesting-head .legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.vest-row {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.vest-row:last-child { border-bottom: 0; }
.vest-label { font-size: 13px; color: var(--text); }
.vest-label .sub { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); margin-top: 2px; letter-spacing: 0.04em; }
.vest-track {
  position: relative;
  height: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
}
.vest-cliff, .vest-linear {
  position: absolute;
  top: 0; bottom: 0;
}
.vest-cliff {
  background: repeating-linear-gradient(45deg,
    color-mix(in oklch, var(--gold) 50%, transparent) 0,
    color-mix(in oklch, var(--gold) 50%, transparent) 4px,
    color-mix(in oklch, var(--gold) 30%, transparent) 4px,
    color-mix(in oklch, var(--gold) 30%, transparent) 8px);
}
.vest-linear {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.vest-axis {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.vest-axis .scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.vest-pct { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); text-align: right; }

/* ============ Participate ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color .2s ease;
}
.step:hover { border-color: var(--gold); }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.step h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.step p { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 0; }
.step-meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============ Roadmap ============ */
.roadmap-tabs {
  display: flex;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.roadmap-tabs button {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  transition: background .2s ease, color .2s ease;
}
.roadmap-tabs button.active {
  background: var(--gold);
  color: #0A0700;
}
.roadmap-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.roadmap-summary {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}
.roadmap-summary .phase {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.roadmap-summary h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.roadmap-summary p { color: var(--text-2); font-size: 14px; line-height: 1.6; margin: 0; }
.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.roadmap-list .item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.roadmap-list .item:last-child { border-bottom: 0; }
.roadmap-list .check {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.roadmap-list .item.done .check { color: var(--gold); }
.roadmap-list .text { font-size: 14px; }
.roadmap-list .text .sub { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }

/* ============ Team ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--card);
  transition: border-color .2s ease;
}
.team-card:hover { border-color: var(--border-strong); }
.team-photo {
  aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0 8px,
      rgba(255,255,255,0.02) 8px 16px);
  position: relative;
  display: grid;
  place-items: center;
}
.team-photo .ph {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
  text-align: center;
}
.team-info {
  padding: 18px;
  border-top: 1px solid var(--border);
}
.team-info .name { font-size: 14px; font-weight: 500; }
.team-info .role { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.team-info .meta { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); margin-top: 8px; letter-spacing: 0.04em; }

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  gap: 24px;
}
.faq-q .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-3);
}
.faq-item.open .faq-q .icon {
  background: var(--gold);
  color: #0A0700;
  border-color: var(--gold);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}
.faq-a > div { padding: 0 0 28px 0; max-width: 70ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============ Compliance ============ */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.compliance-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 24px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compliance-card .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}
.compliance-card .title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.compliance-card .desc { font-size: 13px; color: var(--text-3); line-height: 1.55; }

/* ============ Final CTA ============ */
.final-cta {
  text-align: center;
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 0.98;
  margin: 0 auto 24px;
  max-width: 16ch;
  text-wrap: balance;
}
.final-cta h2 em { font-style: normal; color: var(--gold); }
.final-cta p {
  color: var(--text-2);
  max-width: 56ch;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.55;
}
.final-cta .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom,
    color-mix(in oklch, var(--gold) calc(10% * var(--gold-intensity)), transparent) 0%,
    transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.final-cta > * { position: relative; z-index: 1; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  font-size: 12px;
  color: var(--text-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: var(--text); }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-4);
  line-height: 1.7;
}
.footer-disclaimer p { margin: 0; max-width: 80ch; }

/* ============ Modals ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #0a0700;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  width: 100%;
  max-width: 540px;
  padding: 36px;
  position: relative;
  max-height: 90vh;
  overflow: auto;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-3);
  font-size: 18px;
  transition: border-color .2s ease, color .2s ease;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.modal p.lede { color: var(--text-2); font-size: 14px; margin: 0 0 28px; }
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.form-row input, .form-row select, .form-row textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 0;
  border-color: var(--gold);
}
.checkbox-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 18px;
}
.checkbox-row input[type=checkbox] {
  appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1px;
}
.checkbox-row input[type=checkbox]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-row input[type=checkbox]:checked::after {
  content: '✓';
  display: block;
  text-align: center;
  color: #0A0700;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
.modal-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.modal-steps .dot {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
}
.modal-steps .dot.active { background: var(--gold); }
.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.modal-success {
  text-align: center;
  padding: 24px 0;
}
.modal-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--gold) 15%, transparent);
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 28px;
  margin: 0 auto 20px;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-3d-wrap { margin: 0 auto 28px; max-width: 320px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero-meta > div:nth-child(2) { border-right: 0; }
  .flows { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .token-hero { grid-template-columns: 1fr; }
  .alloc-legend { grid-template-columns: 1fr; }
  .roadmap-panel { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vest-row, .vest-axis { grid-template-columns: 100px 1fr 60px; }
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div { border-right: 0; border-bottom: 1px solid var(--border); padding-left: 0 !important; }
  .hero-meta > div:last-child { border-bottom: 0; }
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-3d-wrap { max-width: 280px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .container { padding-left: 16px; padding-right: 16px; }
  .vest-row, .vest-axis { grid-template-columns: 84px 1fr 48px; gap: 8px; }
  .flow { padding: 24px; }
  .step { padding: 24px; }
  .modal { padding: 24px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .partners-row { gap: 20px 28px; }
  .twk-panel { display: none !important; }
  .twk-fab { bottom: 12px !important; right: 12px !important; }
}
