@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --teal: #00c9b1;
  --teal-dim: rgba(0,201,177,.18);
  --teal-glow: rgba(0,201,177,.35);
  --teal-dark: #009e8c;
  --ink: #0d0d0d;
  --ink1: #111418;
  --ink2: #161b22;
  --ink3: #1c2330;
  --surface: rgba(255,255,255,.042);
  --surface2: rgba(255,255,255,.07);
  --text: #eef2f7;
  --text2: #8a96a6;
  --text3: rgba(255,255,255,.38);
  --line: rgba(255,255,255,.07);
  --line2: rgba(0,201,177,.2);
  --shadow-lg: 0 24px 80px rgba(0,0,0,.65);
  --shadow-teal: 0 0 40px rgba(0,201,177,.18);
  --r: 20px;
  --r2: 14px;
  --r3: 10px;
  --max: 1180px;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Menlo, monospace;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --display: 'Syne', var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}

/* Ambient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 10% 5%, rgba(0,201,177,.12) 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 90% 80%, rgba(0,201,177,.07) 0%, transparent 55%),
    radial-gradient(ellipse 500px 400px at 55% 40%, rgba(0,150,140,.06) 0%, transparent 60%),
    linear-gradient(180deg, #0d0d0d 0%, #0f1419 40%, #0d1117 100%);
  z-index: -2;
  pointer-events: none;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
}

a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text2); }
.small { font-size: 12.5px; color: var(--text2); }
.hr { height: 1px; background: var(--line); margin: 24px 0; }

/* ─── NAV ─────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(0,201,177,.35), 0 4px 14px rgba(0,201,177,.22);
  flex-shrink: 0;
}
.brand-mark svg { width: 16px; height: 16px; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active {
  color: var(--teal);
  background: var(--teal-dim);
  border-color: var(--line2);
}

.nav-ctas { display: flex; gap: 8px; align-items: center; }

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--surface2);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #060e0d;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,201,177,.25);
}
.btn-primary:hover {
  background: #00ddc5;
  border-color: #00ddc5;
  box-shadow: 0 6px 28px rgba(0,201,177,.38);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.1);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,.18);
}

/* ─── PILL / LABEL ────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: var(--teal-dim);
}
.pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; box-shadow: 0 0 8px var(--teal); }
  50% { opacity: .6; box-shadow: 0 0 14px var(--teal), 0 0 28px rgba(0,201,177,.35); }
}

/* ─── HERO ────────────────────────────────────── */
.hero { padding: 60px 0 24px; }

.hero-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.018) 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,177,.12), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  padding: 40px;
  align-items: center;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.0;
  letter-spacing: -.04em;
  margin: 14px 0 12px;
  color: var(--text);
}
h1 .accent { color: var(--teal); }

.sub {
  color: var(--text2);
  font-size: 16px;
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 0 20px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── SECTIONS ────────────────────────────────── */
.section { padding: 40px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -.03em;
  margin: 0;
}
.lead {
  margin: 8px 0 0;
  color: var(--text2);
  max-width: 72ch;
  font-size: 15px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── CARDS ────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.044), rgba(255,255,255,.016));
  border-radius: var(--r);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 70% 20%, rgba(0,201,177,.06), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line2);
  box-shadow: 0 16px 50px rgba(0,0,0,.5), var(--shadow-teal);
}
.card:hover::after { opacity: 1; }

.card h3 { font-family: var(--display); font-weight: 600; font-size: 15px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--text2); font-size: 13.5px; line-height: 1.6; }

.icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line2);
  background: var(--teal-dim);
  margin-bottom: 14px;
  font-size: 18px;
}

/* ─── DIAGRAM ──────────────────────────────────── */
.diagram {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,.3);
}
.diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 250px at 80% 15%, rgba(0,201,177,.14), transparent 55%),
    radial-gradient(ellipse 400px 250px at 10% 85%, rgba(0,201,177,.08), transparent 55%);
  pointer-events: none;
}

.diagram-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text3);
  margin: 0 0 14px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: center;
  position: relative;
  padding: 6px 0;
}

.flow-line {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,201,177,.3) 20%, rgba(0,201,177,.3) 80%, transparent);
  z-index: 0;
}
.flow-line::after {
  content: '';
  position: absolute; top: -2.5px; left: -12%;
  width: 16%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  filter: blur(2px) drop-shadow(0 0 8px var(--teal));
  animation: pulseLine 3.8s linear infinite;
}
@keyframes pulseLine { 0% { left: -16%; } 100% { left: 100%; } }

.flow-dot {
  position: absolute; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal), 0 0 24px rgba(0,201,177,.5);
  transform: translateY(-50%);
  z-index: 2;
  animation: dotMove 4.8s linear infinite;
}
.flow-dot.d2 { animation-delay: 1.6s; opacity: .75; }
.flow-dot.d3 { animation-delay: 3.2s; opacity: .55; }
@keyframes dotMove { 0% { left: -2%; } 100% { left: 102%; } }

.stage {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r2);
  padding: 12px 8px;
  text-align: center;
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  position: relative;
  z-index: 1;
  transition: border-color .3s;
}
.stage strong { display: block; color: var(--text); font-weight: 600; font-size: 12px; margin-bottom: 2px; }
.stage.trust {
  border-color: rgba(0,201,177,.45);
  background: linear-gradient(180deg, rgba(0,201,177,.12), rgba(0,201,177,.04));
  box-shadow: 0 0 0 1px rgba(0,201,177,.12), 0 0 28px rgba(0,201,177,.15), inset 0 1px 0 rgba(0,201,177,.2);
}

.trace-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-top: 12px;
}

/* ─── BADGE ────────────────────────────────────── */
.badge {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--text2);
  white-space: nowrap;
}
.badge.trust {
  border-color: var(--line2);
  background: var(--teal-dim);
  color: var(--teal);
}

/* ─── GOVERNANCE ───────────────────────────────── */
.governance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  position: relative;
}

.guard-rail {
  position: absolute; left: 50%; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent,
    rgba(0,201,177,.6) 25%,
    rgba(0,201,177,.6) 75%,
    transparent);
  transform: translateX(-50%);
  pointer-events: none;
}
.guard-rail::after {
  content: '';
  position: absolute; left: -4px; top: 0; bottom: 0;
  width: 9px;
  background: radial-gradient(circle at 50% 50%, rgba(0,201,177,.25), transparent 60%);
  animation: railPulse 2.8s ease-in-out infinite;
}
@keyframes railPulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

.gov-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.016));
  border-radius: var(--r);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.gov-card.allow { border-color: rgba(0,201,177,.2); }
.gov-card.allow::before {
  content: '';
  position: absolute; inset: -60px -60px auto auto;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,177,.14), transparent 60%);
  pointer-events: none;
}
.gov-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
}
.gov-title h3 { font-family: var(--display); font-weight: 600; margin: 0; font-size: 15px; }
.gov-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text2);
}
.gov-tag.allow { border-color: var(--line2); background: var(--teal-dim); color: var(--teal); }
.gov-tag.block { border-color: rgba(255,100,100,.2); background: rgba(255,100,100,.06); color: rgba(255,130,130,.8); }

.gov-list { margin: 0; padding-left: 18px; color: var(--text2); font-size: 13.5px; line-height: 1.6; }
.gov-list li { margin: 8px 0; }
.gov-divider { height: 1px; background: var(--line); margin: 16px 0; }

/* ─── LINEAGE ──────────────────────────────────── */
.lineage {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  background: rgba(0,0,0,.3);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.lineage::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 250px at 18% 30%, rgba(0,201,177,.12), transparent 55%),
    radial-gradient(ellipse 400px 250px at 82% 70%, rgba(0,201,177,.08), transparent 55%);
  pointer-events: none;
}
.lineage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
  position: relative;
  padding: 8px 0 0;
}
.lnode {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  border-radius: var(--r2);
  padding: 12px 10px;
  text-align: center;
  font-size: 12.5px;
  position: relative;
  z-index: 1;
}
.lnode.glow {
  border-color: rgba(0,201,177,.4);
  box-shadow: 0 0 0 1px rgba(0,201,177,.12), 0 0 28px rgba(0,201,177,.18);
}
.lnode.ok {
  border-color: rgba(0,201,177,.4);
  background: linear-gradient(180deg, rgba(0,201,177,.1), rgba(0,201,177,.04));
  box-shadow: 0 0 24px rgba(0,201,177,.15);
}
.linkline {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,201,177,.25) 20%, rgba(0,201,177,.25) 80%, transparent);
}
.linkline::after {
  content: '';
  position: absolute; top: -2.5px; left: -16%;
  width: 12%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  filter: blur(2px);
  animation: lineageFlow 4.2s linear infinite;
}
@keyframes lineageFlow { 0% { left: -18%; } 100% { left: 102%; } }

/* ─── SCROLL ARCHITECTURE ──────────────────────── */
.scroll-arch { display: grid; gap: 10px; }
.scroll-step {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px;
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.6);
  transition: all .4s ease;
  opacity: .4;
  transform: translateX(-8px);
}
.scroll-step.active {
  opacity: 1;
  transform: none;
  border-color: var(--line2);
  box-shadow: 0 4px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(0,201,177,.1);
  color: var(--text);
}

/* ─── BUILDER ──────────────────────────────────── */
.builder {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  background: rgba(0,0,0,.25);
  padding: 20px;
}
.builder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.builder-controls { display: grid; gap: 8px; }

.toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.toggle:hover { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.toggle .label { display: flex; flex-direction: column; gap: 2px; }
.toggle .label strong { font-size: 13.5px; font-weight: 500; }
.toggle .label span { font-size: 12px; color: var(--text2); }

.switch {
  width: 42px; height: 24px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  position: relative; flex: 0 0 auto;
}
.switch::after {
  content: '';
  position: absolute; top: 50%; left: 3px;
  width: 17px; height: 17px; border-radius: 50%;
  background: rgba(255,255,255,.6);
  transform: translateY(-50%);
  transition: left .2s ease, background .2s, box-shadow .2s;
}
.toggle.on .switch {
  background: rgba(0,201,177,.18);
  border-color: rgba(0,201,177,.4);
}
.toggle.on .switch::after {
  left: 21px;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(0,201,177,.55);
}

.builder-preview {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r2);
  padding: 16px;
  background: rgba(0,0,0,.35);
}
.preview-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px;
}
.preview-title strong { font-size: 13.5px; font-weight: 500; }

.code {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.75);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r3);
  padding: 14px;
  white-space: pre-wrap;
  line-height: 1.7;
}

/* ─── STATS ROW ────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.stat-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border-radius: var(--r);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: .6;
}
.stat-num {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--teal);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat-label { color: var(--text2); font-size: 13.5px; }

/* ─── TRUST BADGE SECTION ──────────────────────── */
.trust-strip {
  border: 1px solid var(--line2);
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(0,201,177,.08), rgba(0,201,177,.03));
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.trust-strip::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,177,.15), transparent 60%);
}
.trust-strip-text h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}
.trust-strip-text p { color: var(--text2); margin: 0; font-size: 14px; }
.trust-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── FOOTER ───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  margin-top: 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
}
.footer-tagline { color: var(--text2); font-size: 13px; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text3);
  margin: 0 0 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text2); font-size: 13.5px; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text3);
  font-size: 12.5px;
}

/* ─── REVEAL ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ─── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .governance { grid-template-columns: 1fr; }
  .lineage-grid { grid-template-columns: 1fr 1fr; }
  .builder-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .lineage-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero-grid { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .guard-rail { display: none; }
  .governance { gap: 10px; }
}
