/* ==========================================================================
   RESET + BASE ELEMENTS
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--charcoal-700);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

/* ---- Layout primitives ---- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section-bg-soft { background: var(--bg-soft); }
.section-bg-warm { background: var(--bg-warm); }

/* ---- Section heading kit (label + headline + lede), shared across sections ---- */

.section-head {
  max-width: 720px;
  margin: 0 0 3.25rem;
}

.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.section-head p {
  font-size: var(--fs-lead);
  color: var(--charcoal-500);
  line-height: 1.6;
}

.section-head p + p { margin-top: 0.6rem; }

/* ---- Centered CTA row under a section ---- */

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* ---- Utility text ---- */

.text-muted { color: var(--charcoal-500); }
.text-accent { color: var(--accent-500); }

/* ---- Visually hidden (a11y) ---- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
