*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.05; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.3rem, 4.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

:focus-visible { outline: 0; box-shadow: var(--shadow-focus); }

.skip-link {
  position: fixed;
  z-index: 100;
  inset: var(--space-3) auto auto var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-white);
  color: var(--color-forest);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  color: var(--color-eyebrow);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-shell {
  width: min(calc(100% - 2rem), var(--content-max));
  margin-inline: auto;
}

.section { padding-block: clamp(var(--space-7), 7vw, var(--space-9)); }
.section-heading { max-width: 46rem; margin-bottom: clamp(var(--space-6), 5vw, var(--space-8)); }
.section-heading p { max-width: 40rem; color: var(--color-muted); }
.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--color-brand);
  background: var(--color-brand);
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
}
.button-link:hover { background: var(--color-forest); border-color: var(--color-forest); }

@media (min-width: 48rem) {
  .content-shell { width: min(calc(100% - 4rem), var(--content-max)); }
}

@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; }
}
