/* Reset + typographic base + shared layout primitives */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-24);
}

.section { padding: var(--section-gap) 0; }
.section--tint { background: var(--surface-soft); }

/* Small uppercase label above a section heading */
.eyebrow {
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.section-title {
  font-size: var(--text-heading);
  line-height: var(--leading-heading);
  font-weight: var(--weight-bold);
  color: var(--blue-900);
  margin-top: var(--spacing-12);
}

.section-lead { color: var(--ink-500); margin-top: var(--spacing-16); max-width: 58ch; }

.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* Utilities */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Scroll reveal — progressive enhancement, disabled without JS */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 720px) {
  .section { padding: var(--spacing-48) 0; }
  .section-title { font-size: var(--text-heading-sm); }
}
