/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: #7dd3fc; }
code, pre { font-family: var(--font-mono); }
img { max-width: 100%; display: block; }

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === Section Defaults === */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--border-subtle); }
.section-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 600;
  letter-spacing: -1.2px; line-height: 1.2;
  margin-bottom: 12px;
}
.section .lead {
  font-size: 18px; color: var(--text-secondary); font-weight: 300;
  max-width: 600px; line-height: 1.7; margin-bottom: 32px;
}

/* === Animations === */
.fade-in {
  opacity: 0; transform: translateY(16px);
  transition: all 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero { padding: 60px 0 48px; }
  .hero h1 { letter-spacing: -1.6px; }
  .hero p { font-size: 17px; }
  .section { padding: 48px 0; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { letter-spacing: -1.2px; }
  .hero { padding: 60px 0 48px; }
  .hero-stats { gap: 16px; }
}
