/* ==========================================================================
   Base reset & typography
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-ink);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-sm);
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-4xl); font-weight: 800; }
h2 { font-size: var(--fs-2xl); font-weight: 800; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
h4 { font-size: var(--fs-md); font-weight: 700; }

p { margin: 0 0 var(--space-sm); color: var(--color-muted); }

a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-primary); }

address { font-style: normal; }

ul, ol { padding-left: 1.2em; color: var(--color-muted); }

button { font-family: inherit; cursor: pointer; }

svg[data-icon] { fill: none; stroke: currentColor; flex-shrink: 0; }

::selection { background: var(--color-secondary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-2xl);
}

.section--tight { padding-block: var(--space-xl); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-link);
  margin-bottom: var(--space-xs);
}

.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.eyebrow .dot:nth-child(1) { background: var(--color-primary); }
.eyebrow .dot:nth-child(2) { background: var(--color-secondary); }
.eyebrow .dot:nth-child(3) { background: var(--color-secondary-tip); }

.section-head { max-width: 660px; margin-bottom: var(--space-lg); }
.section-head--center { margin-inline: auto; text-align: center; }

.text-muted { color: var(--color-muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
