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

:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-alt: #1c2128;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #f59e0b;
  --accent-dim: #b45309;
  --blue: #58a6ff;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid var(--border);
}

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

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
}

.hero-stat-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === STATS === */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  padding: 0 2.5rem;
}

.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

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

/* === FEATURES === */
.features {
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--border);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text);
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 2.25rem;
}

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

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

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

/* === HOW === */
.how {
  padding: 6rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how-steps {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.step {
  flex: 1;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.75rem;
}

.step-content h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  color: var(--border);
  flex-shrink: 0;
}

/* === MANIFESTO === */
.manifesto {
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.manifesto-quote {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}

.quote-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  font-style: italic;
}

.manifesto-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.manifesto-body p:last-child { margin-bottom: 0; }

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

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

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.3rem;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-inner { flex-direction: column; gap: 1.5rem; }
  .stat-item { padding: 0; }
  .stat-divider { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-tagline { display: none; }
  .closing { padding: 5rem 2rem; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .features, .how, .manifesto { padding: 4rem 1.25rem; }
  .stat-value { font-size: 1.6rem; }
  .stat-number { font-size: 3rem; }
}