/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f8f4ef;
  --bg-dark: #0f2317;
  --fg: #1a1a1a;
  --fg-inv: #f8f4ef;
  --accent: #e8923a;
  --accent-dim: rgba(232, 146, 58, 0.12);
  --accent-border: rgba(232, 146, 58, 0.25);
  --text-muted: rgba(26,26,26,0.55);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --section-pad: clamp(64px, 10vw, 120px);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

/* === TYPOGRAPHY === */
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 56px;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 244, 239, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,26,26,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.nav-logo-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--accent-border);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(100px, 15vw, 160px) 32px clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(232,146,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 440px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-network {
  width: 100%;
  max-width: 420px;
  height: auto;
  animation: slowSpin 40s linear infinite;
}

@keyframes slowSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-status {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 8px 14px;
  border-radius: 100px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollFade 2s ease-in-out infinite;
}

@keyframes scrollFade {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-dark);
  padding: var(--section-pad) 32px;
}

.manifesto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,244,239,0.4);
  margin-bottom: 28px;
}

.manifesto-statement {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  color: var(--fg-inv);
  margin-bottom: 40px;
  max-width: 800px;
}

.strike {
  text-decoration: line-through;
  text-decoration-color: rgba(232,146,58,0.5);
  text-decoration-thickness: 2px;
  opacity: 0.5;
}

.manifesto-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(248,244,239,0.55);
  max-width: 600px;
  margin-bottom: 16px;
}

/* === HOW === */
.how {
  padding: var(--section-pad) 32px;
  background: var(--bg);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.how-step {
  padding: 40px 40px 40px 0;
  border-bottom: 1px solid rgba(26,26,26,0.08);
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.how-step:nth-child(even) {
  padding-right: 0;
  padding-left: 40px;
  border-left: 1px solid rgba(26,26,26,0.08);
}

.how-step:nth-last-child(-n+2) {
  border-bottom: none;
}

.step-number {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* === FEATURES === */
.features {
  padding: var(--section-pad) 32px;
  background: var(--bg);
  border-top: 1px solid rgba(26,26,26,0.06);
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(26,26,26,0.06);
}

.feature-card {
  background: var(--bg);
  padding: 36px 32px;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* === RESULTS === */
.results {
  padding: var(--section-pad) 32px;
  background: var(--bg-dark);
}

.results-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.results-header {
  margin-bottom: 48px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.result-item {
  padding: 36px 28px;
  border: 1px solid rgba(248,244,239,0.08);
  text-align: center;
}

.result-number {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.result-number span {
  font-size: 0.5em;
}

.result-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-inv);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.result-note {
  font-size: 11px;
  color: rgba(248,244,239,0.35);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: var(--section-pad) 32px;
  background: var(--accent-dim);
  border-top: 1px solid var(--accent-border);
}

.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 24px;
  font-style: italic;
}

.closing-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  padding: 48px 32px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(248,244,239,0.06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--fg-inv);
  font-weight: 600;
  font-size: 18px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(248,244,239,0.5);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(248,244,239,0.25);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-network {
    max-width: 280px;
  }
  .how-steps {
    grid-template-columns: 1fr;
  }
  .how-step {
    padding-right: 0;
    border-bottom: 1px solid rgba(26,26,26,0.08);
  }
  .how-step:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
  .how-step:last-child {
    border-bottom: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }
  .nav-inner {
    padding: 14px 20px;
  }
  .hero {
    padding: 100px 20px 80px;
  }
  .manifesto, .how, .features, .results, .closing {
    padding-left: 20px;
    padding-right: 20px;
  }
}