/* ══════════════════════════════════════════════════════════
   TrustLedgerLabs — document.trustledgerlabs.com
   Design System & Stylesheet
   ══════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,700&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --bg:        #0a0906;
  --bg2:       #111009;
  --bg3:       #19160f;
  --bg4:       #201d14;
  --bg5:       #252118;

  --tx:        #f2ece0;
  --tx2:       #a09880;
  --tx3:       #6a6250;

  --gold:      #c8a458;
  --gold2:     #e0c07a;
  --gold-dim:  rgba(200,164,88,0.12);
  --gold-bd:   rgba(200,164,88,0.28);

  --teal:      #4ab8a8;
  --teal-dim:  rgba(74,184,168,0.10);
  --teal-bd:   rgba(74,184,168,0.25);

  --border:    rgba(242,236,224,0.07);
  --shadow:    0 2px 24px rgba(0,0,0,0.35);
  --shadow2:   0 16px 64px rgba(0,0,0,0.55);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --radius:    8px;
  --radius-lg: 16px;
  --nav-h:     64px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── LAYOUT ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sect { padding: 5rem 0; }

/* ══════════════════════════════════════════════════════════
   TOP NAV
   ══════════════════════════════════════════════════════════ */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,9,6,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.topnav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: #0a0906;
  letter-spacing: 0.05em;
}
.logo-wordmark {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--tx);
}
.logo-wordmark em { font-style: normal; color: var(--gold); margin-left: 0.35em; }
.top-links {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}
.top-links a {
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--tx2);
  font-weight: 500;
  transition: color .2s, background .2s;
}
.top-links a:hover, .top-links a.active {
  color: var(--tx);
  background: var(--bg3);
}
.topnav-right { margin-left: auto; }
.btn-outline {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--gold-bd);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--gold-dim); }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,164,88,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,88,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-fade 8s ease-in-out infinite alternate;
}
@keyframes grid-fade { from { opacity: 0.5 } to { opacity: 1 } }
.hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200,164,88,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--gold-bd);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  background: var(--gold-dim);
  animation: fade-up 0.7s ease forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
  animation: fade-up 0.7s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--tx2);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fade-up 0.7s 0.2s ease both;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.7s 0.3s ease both;
}
.btn-primary {
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0a0906;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  padding: 0.8rem 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--tx2);
  background: var(--bg2);
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--gold-bd); color: var(--tx); }

/* ══════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════ */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 3rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--tx2);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ══════════════════════════════════════════════════════════
   DOC CARDS
   ══════════════════════════════════════════════════════════ */
.cards-section { padding: 6rem 0; background: var(--bg2); }
.doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.doc-card {
  background: var(--bg2);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: background .25s;
  position: relative;
}
.doc-card:hover { background: var(--bg3); }
.doc-card-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.doc-card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.doc-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.doc-card p {
  font-size: 0.875rem;
  color: var(--tx2);
  line-height: 1.65;
  flex: 1;
}
.doc-card-link {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 1rem;
  transition: letter-spacing .2s;
}
.doc-card:hover .doc-card-link { letter-spacing: 0.03em; }

/* ══════════════════════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════════════════════ */
.timeline-strip { padding: 6rem 0; background: var(--bg); }
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
  margin-top: 1rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.tl-item {
  padding: 0 1.5rem;
  padding-top: 0;
}
.tl-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--tx3);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}
.tl-dot--active { border-color: var(--teal); background: var(--teal-dim); }
.tl-dot--gold { border-color: var(--gold); background: var(--gold-dim); }
.tl-dot--future { border-color: var(--gold2); background: transparent; border-style: dashed; }
.tl-content strong { font-size: 0.95rem; font-weight: 600; display: block; margin-bottom: 0.5rem; }
.tl-content p { font-size: 0.85rem; color: var(--tx2); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   STATS
   ══════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.stat-sub { font-size: 0.75rem; color: var(--tx3); }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,164,88,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,88,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner { max-width: 800px; position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--tx3);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--tx3); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--tx2);
  max-width: 580px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   DOC LAYOUT (sidebar + content)
   ══════════════════════════════════════════════════════════ */
.doc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
}
.doc-sidebar {
  border-right: 1px solid var(--border);
  padding: 2.5rem 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.sidebar-section { margin-bottom: 2rem; }
.sidebar-section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx3);
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}
.sidebar-link {
  display: block;
  padding: 0.45rem 1.5rem;
  font-size: 0.875rem;
  color: var(--tx2);
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.sidebar-link:hover {
  color: var(--tx);
  border-left-color: var(--border);
  background: var(--bg2);
}
.sidebar-link.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--gold-dim);
}
.doc-content {
  padding: 3rem 3rem 5rem;
}

/* ══════════════════════════════════════════════════════════
   CONTENT TYPOGRAPHY
   ══════════════════════════════════════════════════════════ */
.doc-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 3rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.doc-content h2:first-child { margin-top: 0; }
.doc-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--tx);
}
.doc-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.doc-content p {
  font-size: 0.95rem;
  color: var(--tx2);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.doc-content ul, .doc-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.doc-content li {
  font-size: 0.95rem;
  color: var(--tx2);
  line-height: 1.75;
  margin-bottom: 0.35rem;
}
.doc-content strong { color: var(--tx); font-weight: 600; }
.doc-content code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg3);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  color: var(--teal);
}
.doc-content pre {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.doc-content pre code {
  background: none;
  padding: 0;
  color: var(--tx2);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ── INFO BOXES ── */
.info-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg3);
}
.info-box.gold {
  border-color: var(--gold-bd);
  background: var(--gold-dim);
}
.info-box.teal {
  border-color: var(--teal-bd);
  background: var(--teal-dim);
}
.info-box-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.info-box.gold .info-box-title { color: var(--gold); }
.info-box.teal .info-box-title { color: var(--teal); }
.info-box p { font-size: 0.875rem; color: var(--tx2); margin: 0; }

/* ── TABLES ── */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}
.doc-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx3);
  font-weight: 500;
}
.doc-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--tx2);
  line-height: 1.6;
}
.doc-table tr:hover td { background: var(--bg3); }
.badge-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
}
.badge-pill.green { background: rgba(74,184,168,0.12); color: var(--teal); }
.badge-pill.gold  { background: var(--gold-dim); color: var(--gold); }
.badge-pill.dim   { background: var(--bg4); color: var(--tx3); }

/* ══════════════════════════════════════════════════════════
   TEAM CARDS
   ══════════════════════════════════════════════════════════ */
.team-section { padding: 6rem 0; background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.team-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.team-card:hover {
  border-color: var(--gold-bd);
  transform: translateY(-3px);
}
.team-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--bg3);
}
.team-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  position: relative;
  overflow: hidden;
}
.team-avatar-svg { width: 100%; height: 100%; }
.team-card-body { padding: 1.75rem; }
.team-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.team-card-role {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.team-card-body p {
  font-size: 0.875rem;
  color: var(--tx2);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.team-tag {
  padding: 0.2rem 0.6rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--tx3);
}

/* ══════════════════════════════════════════════════════════
   TOKENOMICS CHART
   ══════════════════════════════════════════════════════════ */
.token-pie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}
.pie-legend { display: flex; flex-direction: column; gap: 0.75rem; }
.pie-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.pie-dot { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }
.pie-pct { margin-left: auto; font-family: var(--font-mono); color: var(--gold); font-size: 0.8rem; }

/* ══════════════════════════════════════════════════════════
   ROADMAP
   ══════════════════════════════════════════════════════════ */
.roadmap-phases { display: flex; flex-direction: column; gap: 0; }
.phase {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.phase:last-child { border-bottom: none; }
.phase-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx3);
  padding-top: 0.25rem;
}
.phase-label strong { display: block; font-size: 0.85rem; color: var(--gold); margin-bottom: 0.25rem; }
.phase-content h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.75rem; }
.phase-content ul { padding-left: 1.25rem; }
.phase-content li { font-size: 0.875rem; color: var(--tx2); margin-bottom: 0.35rem; line-height: 1.65; }
.phase-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.phase-badge.live { background: rgba(74,184,168,0.15); color: var(--teal); }
.phase-badge.active { background: var(--gold-dim); color: var(--gold); }
.phase-badge.upcoming { background: var(--bg4); color: var(--tx3); }

/* ══════════════════════════════════════════════════════════
   TECH STACK GRID
   ══════════════════════════════════════════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tech-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s;
}
.tech-card:hover { border-color: var(--gold-bd); }
.tech-card-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.tech-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.tech-card p { font-size: 0.82rem; color: var(--tx2); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.9rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--tx3);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--tx); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--tx3); line-height: 1.6; }
.footer-disclaimer { margin-top: 0.5rem; font-size: 0.75rem; color: var(--tx3); opacity: 0.7; }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fade-up 0.6s ease both; }
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.2s; }
.fade-in-3 { animation-delay: 0.3s; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-sidebar { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .token-pie { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; }
  .top-links { display: none; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .doc-cards { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.4rem; }
  .doc-content { padding: 2rem 1.5rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-bd); }
