/* ══════════════════════════════════════════════════════════════════════
   Moonshot Growth — Base Styles
   Reset, typography, and layout primitives.
   Requires: tokens.css loaded first.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Reset ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; }

/* ── Layout Helpers ───────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
}
.section     { padding: 100px 0; }
.section-sm  { padding: 64px 0; }

/* ── Eyebrow Label ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--scarlet);
}

/* ── Section Header ───────────────────────────────────────────────── */
.section-header {
  max-width: 580px;
}
.section-header.center {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.section-header.center .eyebrow { justify-content: center; }

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: inherit;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: inherit;
  opacity: 0.65;
}

/* ── JS-gated pre-hide (prevents flash before animation) ──────── */
.js .feat-card,
.js .step,
.js .metric-card,
.js .testi-card { opacity: 0; }

/* ── Responsive — Base ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
}
