:root {
  --navy: #0D1F2D;
  --navy-light: #152536;
  --amber: #D4920A;
  --amber-dim: rgba(212, 146, 10, 0.15);
  --cream: #F7F4EE;
  --cream-dark: #EDE9DF;
  --text: #1A2B3C;
  --text-mid: #4A5568;
  --text-light: #718096;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 4px;
  --radius-lg: 8px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  border-bottom: 1px solid var(--cream-dark);
  background: var(--cream);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--navy);
  border-radius: 4px;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--amber);
  border-radius: 2px;
}
.brand-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-light);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* --- HERO --- */
.hero {
  padding: 80px 64px 64px;
  background: var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 520px;
}

/* --- VAULT DISPLAY --- */
.vault-display {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-family: var(--font-mono);
  box-shadow: 0 20px 60px rgba(13, 31, 45, 0.2);
}
.vault-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.4);
  margin-bottom: 6px;
}
.vault-value {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--amber);
  margin-bottom: 4px;
}
.vault-meta {
  font-size: 13px;
  color: rgba(247, 244, 238, 0.5);
  margin-bottom: 20px;
}
.vault-divider {
  height: 1px;
  background: rgba(247, 244, 238, 0.1);
  margin-bottom: 16px;
}
.vault-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 10px;
}
.vault-key {
  color: rgba(247, 244, 238, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
}
.vault-val {
  color: rgba(247, 244, 238, 0.85);
  font-weight: 500;
}
.status-ok { color: #6FCF97 !important; }

/* --- HERO STATS --- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--cream-dark);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-light);
  max-width: 200px;
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--cream-dark);
  margin: 0 48px;
}

/* --- FEATURES --- */
.features {
  padding: 80px 64px;
  background: var(--cream-dark);
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(13, 31, 45, 0.06);
}
.feature-icon {
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* --- CHAIN --- */
.chain {
  padding: 80px 64px;
  background: var(--cream);
}
.chain-diagram {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 0;
}
.chain-node {
  flex: 0 0 260px;
  text-align: center;
}
.center-node {
  flex: 0 0 240px;
}
.node-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.node-icon::after {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--amber);
  border-radius: 50%;
}
.center-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center-icon::after {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--amber);
  border-radius: 50%;
}
.chain-node h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.chain-node p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}
.chain-connector {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.connector-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--cream-dark), var(--navy), var(--cream-dark));
}
.chain-manufacturers {
  text-align: center;
  margin-top: 32px;
}
.mf-label {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

/* --- MANIFESTO --- */
.manifesto {
  background: var(--navy);
  padding: 80px 64px;
}
.manifesto-inner {
  max-width: 820px;
  margin: 0 auto;
  border-left: 3px solid var(--amber);
  padding-left: 40px;
}
.manifesto-text {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--cream);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* --- FOOTER --- */
.footer {
  padding: 32px 64px;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.brand-mark-sm {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--navy);
  border-radius: 3px;
  position: relative;
}
.brand-mark-sm::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--amber);
  border-radius: 1.5px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-light);
  margin-left: 8px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .vault-display { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .chain-diagram { flex-direction: column; gap: 24px; }
  .chain-connector { transform: rotate(90deg); }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-sep { display: none; }
}
@media (max-width: 600px) {
  .navbar, .hero, .features, .chain, .manifesto, .footer { padding-left: 24px; padding-right: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 36px; }
}