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

:root {
  --bg: #0f0e0c;
  --bg-alt: #1a1916;
  --surface: #242220;
  --fg: #f2ede4;
  --fg-muted: #8a8073;
  --accent: #d4763a;
  --accent-warm: #e89c5c;
  --steel: #4a9eff;
  --border: #2e2c28;
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

.wordmark {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.wordmark .accent { color: var(--accent); }

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(15, 14, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { width: 100%; max-width: 1200px; margin: 0 auto; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem clamp(1.5rem, 7vw, 7rem) 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(212, 118, 58, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(74, 158, 255, 0.05) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.015) 79px,
      rgba(255,255,255,0.015) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.015) 79px,
      rgba(255,255,255,0.015) 80px
    );
  background-color: var(--bg);
}

.hero-content {
  position: relative;
  max-width: 880px;
  z-index: 2;
}

.hero-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
}

.hero-rod {
  position: absolute;
  right: clamp(2rem, 8vw, 8rem);
  bottom: 15%;
  width: 3px;
  height: 35%;
  background: linear-gradient(to bottom, var(--accent), transparent);
  z-index: 1;
}

/* === STATS === */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 4rem clamp(1.5rem, 7vw, 7rem);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.stat { padding: 0 2rem; }

.stat-num {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 7rem clamp(1.5rem, 7vw, 7rem);
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  max-width: 620px;
  margin-bottom: 4rem;
}

.features-header h2 { margin-bottom: 1rem; }
.features-header p { color: var(--fg-muted); font-size: 1.1rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 2rem;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--bg-alt); }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 7rem clamp(1.5rem, 7vw, 7rem);
}

.manifesto-inner { max-width: 900px; margin: 0 auto; }

blockquote {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
  margin-bottom: 2rem;
  font-style: normal;
}

.manifesto-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 660px;
  padding-left: 2rem;
  line-height: 1.7;
}

/* === CLOSING === */
.closing {
  padding: 8rem clamp(1.5rem, 7vw, 7rem);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 { margin-bottom: 1.5rem; }
.closing p {
  color: var(--fg-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem clamp(1.5rem, 7vw, 7rem) 2rem;
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .wordmark { font-size: 1.4rem; display: block; margin-bottom: 0.75rem; }
.footer-brand p { color: var(--fg-muted); font-size: 0.9rem; max-width: 300px; }

.footer-tagline {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--fg-muted);
  text-align: right;
  line-height: 1.4;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .footer-inner { flex-direction: column; }
  .footer-tagline { text-align: left; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 6rem; padding-bottom: 4rem; }
  .hero-rod { display: none; }
}