/* ==========================================================================
   base.css  —  reset, typography, layout primitives
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: var(--r-1); }

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Headlines — tight tracking, large weight gradient, no headline-rainbow */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-56); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-32); }
h3 { font-size: var(--fs-20); }
h4 { font-size: var(--fs-18); font-weight: 600; }
@media (max-width: 720px) {
  h1 { font-size: 38px; }
  h2 { font-size: 26px; }
}

p { color: var(--ink-soft); }

code, .mono { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: 0; }

.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 600;
}

/* Layout shells */
.container { width: 100%; max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gap-5); }
.band { padding: var(--gap-9) 0; border-top: 1px solid var(--border); }
.band:first-of-type { border-top: 0; }

/* Stacking utilities */
.stack > * + * { margin-top: var(--gap-3); }
.stack-lg > * + * { margin-top: var(--gap-5); }
