/* ===== CrossDex — Cross-Chain DEX Aggregator Whitepaper ===== */
/* Deep-tech / DeFi aesthetic: dark bg, blue-cyan gradient, glass cards, grid + glow */

:root {
  --bg: #070b14;
  --bg-2: #0a1220;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6ecf5;
  --muted: #8b98ad;
  --muted-2: #647089;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --yellow: #facc15;
  --grad: linear-gradient(100deg, #22d3ee 0%, #3b82f6 55%, #8b5cf6 100%);
  --grad-text: linear-gradient(100deg, #67e8f9 0%, #60a5fa 50%, #a78bfa 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav__logo {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: #fff; padding: 3px; box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}
.nav__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav__name { font-weight: 800; letter-spacing: 0.08em; font-size: 15px; }
.nav__name span { color: var(--cyan); }
.nav__links { display: flex; gap: 26px; }
.nav__link {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em; transition: color 0.2s; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover, .nav__link.active { color: var(--text); border-bottom-color: var(--cyan); }
.nav__toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 3px 0; border-radius: 2px; transition: 0.3s; }
.nav__progress { height: 2px; background: transparent; }
.nav__progress span { display: block; height: 100%; width: 0; background: var(--grad); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 28px 80px; overflow: hidden;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.hero__orb--a { width: 480px; height: 480px; top: -120px; left: -120px; background: #1d4ed8; }
.hero__orb--b { width: 420px; height: 420px; bottom: -140px; right: -80px; background: #0891b2; }
.hero__orb--c { width: 260px; height: 260px; top: 30%; right: 22%; background: #6d28d9; opacity: 0.35; }
.hero__logo { margin-bottom: 24px; }
.hero__logo img {
  width: 92px; height: 100px; object-fit: contain; display: block;
  background: #fff; border-radius: 20px; padding: 12px;
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}
.hero__kicker {
  font-size: 12px; letter-spacing: 0.35em; color: var(--cyan); margin-bottom: 22px;
  text-transform: uppercase; font-weight: 600;
}
.hero__title {
  font-size: clamp(46px, 8vw, 92px); line-height: 0.98; font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.hero__title span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(19px, 2.6vw, 26px); color: var(--text); font-weight: 600; margin-bottom: 12px; }
.hero__sub { font-size: 17px; color: var(--muted); margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted-2); letter-spacing: 0.04em;
}
.hero__meta .dot { color: var(--cyan); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: 0.25s; letter-spacing: 0.01em;
}
.btn--primary { background: var(--grad); color: #04101a; box-shadow: 0 8px 30px rgba(59,130,246,0.4); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(59,130,246,0.55); }
.btn--ghost { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ===== SECTIONS ===== */
.section { padding: 96px 28px; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.container { max-width: var(--maxw); margin: 0 auto; }
.chapter { font-size: 11px; letter-spacing: 0.3em; color: var(--cyan); text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; line-height: 1.1; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section__lead { font-size: 17px; color: var(--muted); max-width: 820px; margin-bottom: 40px; }
.section__tagline {
  margin-top: 34px; font-size: 16px; color: var(--text); font-weight: 600;
  border-left: 3px solid var(--cyan); padding-left: 16px;
  background: linear-gradient(90deg, rgba(34,211,238,0.08), transparent);
}
.block__title { font-size: 20px; font-weight: 700; margin: 44px 0 18px; letter-spacing: -0.01em; }
.block__sub { color: var(--muted); margin-bottom: 18px; max-width: 820px; }
.note { display: block; color: var(--muted-2); font-size: 12.5px; margin-top: 14px; }

/* ===== GRID & CARDS ===== */
.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: 0.25s;
}
.card--feature:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.card__icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-size: 20px; color: var(--cyan); background: rgba(34,211,238,0.12); margin-bottom: 16px;
  border: 1px solid rgba(34,211,238,0.25);
}
.card h3, .card h4 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card--util span { font-size: 12px; color: var(--cyan); font-weight: 700; letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.card--eco { text-align: center; }
.card--eco h4 { color: var(--cyan); }

/* ===== STATS ===== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 30px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.stat__num { display: block; font-size: clamp(34px, 5vw, 52px); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat__num span { font-size: 0.6em; }
.stat__label { color: var(--muted); font-size: 14px; }

/* ===== PAIN POINTS ===== */
.pain { display: grid; gap: 14px; }
.pain__item { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 22px; }
.pain__n { font-size: 20px; font-weight: 800; color: var(--cyan); min-width: 36px; opacity: 0.9; }
.pain__item h4 { font-size: 16px; margin-bottom: 4px; }
.pain__item p { color: var(--muted); font-size: 14.5px; }

/* ===== MISSION / MODULES ===== */
.mission { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mission__item { display: flex; gap: 14px; }
.mission__item > span { color: var(--cyan); font-size: 14px; margin-top: 4px; }
.mission__item h4 { font-size: 15px; margin-bottom: 4px; }
.mission__item p { color: var(--muted); font-size: 13.5px; }
.modules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.module { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.module h4 { font-size: 15px; color: var(--cyan); margin-bottom: 6px; }
.module p { color: var(--muted); font-size: 13.5px; }

/* ===== LAYERS ===== */
.layers { display: grid; gap: 14px; }
.layer { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); padding: 20px 22px; }
.layer:nth-child(2) { border-left-color: var(--cyan); }
.layer:nth-child(3) { border-left-color: var(--violet); }
.layer__tag { font-size: 11px; letter-spacing: 0.2em; color: var(--muted-2); font-weight: 700; }
.layer h4 { font-size: 18px; margin: 6px 0 8px; }
.layer p { color: var(--muted); font-size: 14.5px; }

/* ===== FLOW ===== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.flow__step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; position: relative; }
.flow__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #04101a; font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.flow__step h4 { font-size: 15px; margin-bottom: 6px; }
.flow__step p { color: var(--muted); font-size: 13.5px; }
.sig { margin-top: 16px; padding: 16px 20px; border-radius: var(--radius-sm); background: linear-gradient(90deg, rgba(34,211,238,0.12), rgba(139,92,246,0.12)); border: 1px solid rgba(34,211,238,0.25); font-weight: 600; font-size: 15px; }

/* ===== ROUTE ===== */
.route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.route__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.route__tag { font-size: 11px; letter-spacing: 0.15em; color: var(--violet); font-weight: 700; text-transform: uppercase; }
.route__item h4 { font-size: 16px; margin: 6px 0 6px; }
.route__item p { color: var(--muted); font-size: 13.5px; }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; margin: 8px 0 6px; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th { text-align: left; padding: 14px 18px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); background: rgba(34,211,238,0.06); }
.table td { padding: 13px 18px; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--border); }
.table td:first-child { color: var(--text); font-weight: 600; }

/* ===== SCORE ===== */
.score { margin-top: 18px; }
.score__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.score__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.score__item span { font-size: 15px; font-weight: 700; color: var(--cyan); }
.score__item p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ===== CONTRACTS ===== */
.contracts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contract { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.contract code { color: var(--cyan); font-family: "SF Mono", "JetBrains Mono", Consolas, monospace; font-size: 13.5px; }
.contract p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.sec-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.pillar { text-align: center; padding: 18px 14px; }
.pillar span { font-size: 22px; color: var(--cyan); }
.pillar h4 { font-size: 14px; margin: 8px 0 4px; }
.pillar p { color: var(--muted); font-size: 12.5px; }

/* ===== TOKEN ===== */
.token-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: stretch; margin-bottom: 12px; }
.token-num { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.token-num__big { font-size: clamp(30px, 5vw, 52px); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.token-num__label { color: var(--muted); font-size: 14px; margin-top: 10px; }
.token-prof { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 26px; display: grid; gap: 10px; align-content: center; }
.token-prof div { display: flex; gap: 14px; font-size: 14.5px; border-bottom: 1px dashed var(--border); padding-bottom: 9px; }
.token-prof div:last-child { border-bottom: none; padding-bottom: 0; }
.token-prof span { color: var(--muted-2); min-width: 92px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px; }

/* ===== ALLOCATION ===== */
.alloc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.alloc__chart { position: relative; max-width: 320px; margin: 0 auto; }
.alloc__chart svg { width: 100%; height: auto; }
.alloc__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.alloc__center strong { font-size: 30px; font-weight: 800; }
.alloc__center span { color: var(--muted); font-size: 13px; }
.alloc__legend { list-style: none; display: grid; gap: 12px; }
.alloc__legend li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; font-size: 14.5px; }
.alloc__legend .sw { width: 14px; height: 14px; border-radius: 4px; margin-top: 5px; }
.alloc__legend li > div { display: block; line-height: 1.5; }
.alloc__legend strong { color: var(--text); white-space: nowrap; }
.alloc__legend small { display: block; color: var(--muted-2); font-size: 12.5px; margin-top: 2px; }
.slice { transition: opacity 0.4s; opacity: 0.25; }
.slice.on { opacity: 1; }

/* ===== DEFLATION ===== */
.deflation { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.deflation__track { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.deflation__tag { font-size: 11px; letter-spacing: 0.18em; color: var(--yellow); font-weight: 700; text-transform: uppercase; }
.deflation__track h4 { font-size: 18px; margin: 8px 0; }
.deflation__track p { color: var(--muted); font-size: 14.5px; }
.deflation__stat { margin-top: 20px; text-align: center; font-size: clamp(38px, 6vw, 64px); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deflation__stat span { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 6px; background: none; -webkit-background-clip: unset; background-clip: unset; }

/* ===== DUAL / POOLS ===== */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.duel__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.duel__item h4 { font-size: 16px; margin-bottom: 6px; color: var(--cyan); }
.duel__item p { color: var(--muted); font-size: 14px; }
.pools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.pool { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.pool__risk { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 999px; display: inline-block; margin-bottom: 10px; }
.pool__risk.low { background: rgba(34,211,238,0.15); color: #22d3ee; }
.pool__risk.mid { background: rgba(250,204,21,0.15); color: #facc15; }
.pool__risk.high { background: rgba(244,114,182,0.15); color: #f472b6; }
.pool h4 { font-size: 15px; margin-bottom: 6px; }
.pool p { color: var(--muted); font-size: 13.5px; }

/* ===== DAO / LIFE ===== */
.dao { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.dao__stage { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; position: relative; }
.dao__stage > span { font-size: 11px; letter-spacing: 0.15em; color: var(--violet); font-weight: 700; }
.dao__stage h4 { font-size: 17px; margin: 6px 0 6px; }
.dao__stage p { color: var(--muted); font-size: 14px; }
.life { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 12px; }
.life__step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.life__step span { font-size: 13px; color: var(--cyan); font-weight: 700; }
.life__step h4 { font-size: 16px; margin: 6px 0 6px; }
.life__step p { color: var(--muted); font-size: 13.5px; }

/* ===== DEFENSE ===== */
.defense { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.defense__item { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--cyan); border-radius: var(--radius-sm); padding: 22px; }
.defense__item span { font-size: 13px; color: var(--cyan); font-weight: 700; }
.defense__item h4 { font-size: 17px; margin: 6px 0 8px; }
.defense__item p { color: var(--muted); font-size: 14px; }

/* ===== PARTNERS ===== */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.partners > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.partners span { font-size: 13px; color: var(--cyan); font-weight: 700; display: block; margin-bottom: 6px; }
.partners p { color: var(--muted); font-size: 13px; }

/* ===== TIMELINE ===== */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.tl { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; border-top: 3px solid var(--blue); position: relative; }
.tl:nth-child(2) { border-top-color: var(--cyan); }
.tl:nth-child(3) { border-top-color: var(--violet); }
.tl:nth-child(4) { border-top-color: var(--pink); }
.tl:nth-child(5) { border-top-color: var(--yellow); }
.tl__phase { font-size: 11px; letter-spacing: 0.18em; color: var(--cyan); font-weight: 700; display: block; }
.tl__date { font-size: 12.5px; color: var(--muted-2); display: block; margin: 2px 0 8px; }
.tl h4 { font-size: 16px; margin-bottom: 10px; }
.tl ul { list-style: none; }
.tl li { color: var(--muted); font-size: 13px; padding-left: 14px; position: relative; margin-bottom: 6px; }
.tl li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: 0.8; }
.tl:nth-child(2) li::before { background: var(--cyan); }
.tl:nth-child(3) li::before { background: var(--violet); }
.tl:nth-child(4) li::before { background: var(--pink); }
.tl:nth-child(5) li::before { background: var(--yellow); }

/* ===== TEAM ===== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.team__role { font-size: 11px; letter-spacing: 0.1em; color: var(--cyan); text-transform: uppercase; font-weight: 700; }
.team__card h4 { font-size: 18px; margin: 8px 0 8px; }
.team__card p { color: var(--muted); font-size: 14px; }
.advisors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.advisors > div { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 18px; }
.advisors h4 { font-size: 15px; color: var(--cyan); margin-bottom: 6px; }
.advisors p { color: var(--muted); font-size: 13.5px; }

/* ===== RISK / DISCLAIMER ===== */
.risk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.risk__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.risk__item h4 { font-size: 16px; color: var(--yellow); margin-bottom: 8px; }
.risk__item p { color: var(--muted); font-size: 14px; }
.disclaimer { margin-top: 22px; padding: 18px 22px; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--muted-2); font-size: 13.5px; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 50px 28px; background: var(--bg-2); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer__brand {
  font-weight: 800; letter-spacing: 0.02em; font-size: 18px;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
}
.footer__brand span { color: var(--cyan); }
.footer__logo {
  width: 26px; height: 26px; object-fit: contain; display: block;
  background: #fff; border-radius: 6px; padding: 2px;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}
.footer__tag { color: var(--muted); margin-top: 10px; font-size: 15px; }
.footer__meta { color: var(--muted-2); font-size: 12.5px; margin-top: 8px; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid--5, .modules, .route, .timeline, .partners { grid-template-columns: repeat(2, 1fr); }
  .grid--4, .mission, .score__grid, .sec-pillars, .life { grid-template-columns: repeat(2, 1fr); }
  .flow, .team, .advisors, .risk, .defense { grid-template-columns: repeat(2, 1fr); }
  .alloc { grid-template-columns: 1fr; }
  .contracts, .pools, .dao, .deflation, .duel { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 64px 20px; }
  .grid--4, .grid--5, .modules, .route, .timeline, .partners,
  .mission, .score__grid, .sec-pillars, .life, .flow, .team, .advisors,
  .risk, .defense, .contracts, .pools, .dao, .deflation, .duel, .stats,
  .token-hero { grid-template-columns: 1fr; }
  .nav__links {
    position: fixed; top: 62px; right: 0; flex-direction: column; gap: 0;
    background: rgba(7,11,20,0.97); border-bottom: 1px solid var(--border); border-left: 1px solid var(--border);
    width: 100%; max-width: 280px; padding: 10px 0; transform: translateX(100%); transition: transform 0.3s;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { padding: 13px 24px; border-bottom: 1px solid var(--border); }
  .nav__toggle { display: block; }
  .hero { padding: 110px 20px 60px; }
  .alloc__chart { max-width: 260px; }
}
