/* === RELAY THEME === */

:root {
  --bg: #faf9f7;
  --surface: #f0ede8;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --accent: #c4522a;
  --accent-warm: #e8845f;
  --ink: #2d2a26;
  --border: rgba(26, 26, 26, 0.1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */
.nav {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

/* --- HERO --- */
.hero {
  padding: 80px 48px 64px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
}

/* Network Visualization */
.network-viz {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.viz-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.connection-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.connection-row.mt { margin-top: 20px; }
.connection-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}
.connection-dot.hot { background: var(--accent); }
.connection-dot.warm { background: var(--accent-warm); opacity: 0.6; }
.connection-dot.cold { background: #d4cfc8; }

.viz-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.hot { background: var(--accent); }
.dot.warm { background: var(--accent-warm); }
.dot.cold { background: #d4cfc8; }

.viz-status {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.status-label {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}
.status-arrow {
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
}

/* --- NETWORK STATUS --- */
.network-status {
  background: var(--surface);
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ns-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ns-header {
  margin-bottom: 56px;
}
.ns-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.ns-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}
.ns-grid {
  display: flex;
  gap: 0;
  align-items: flex-start;
}
.ns-stat {
  flex: 1;
  padding: 0 48px;
}
.ns-stat:first-child { padding-left: 0; }
.ns-stat:last-child { padding-right: 0; }
.ns-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.ns-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.ns-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* --- HOW IT WORKS --- */
.howitworks {
  padding: 80px 48px;
}
.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hiw-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hiw-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 56px;
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.hiw-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -0.04em;
}
.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.step-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- MANIFESTO --- */
.manifesto {
  background: var(--ink);
  color: #faf9f7;
  padding: 96px 48px;
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  color: #faf9f7;
  font-style: normal;
}
.manifesto-body {
  font-size: 16px;
  color: rgba(250, 249, 247, 0.65);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

/* --- CLOSING --- */
.closing {
  padding: 96px 48px;
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 56px 24px 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-body { max-width: 100%; }
  .network-status { padding: 56px 24px; }
  .ns-grid { flex-direction: column; gap: 32px; }
  .ns-stat { padding: 0; }
  .ns-divider { display: none; }
  .howitworks { padding: 56px 24px; }
  .hiw-steps { grid-template-columns: 1fr; gap: 40px; }
  .manifesto { padding: 64px 24px; }
  .closing { padding: 64px 24px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}