:root {
  --forest: #173d35;
  --forest-deep: #102c26;
  --bg: #f7f7f2;
  --sage: #e8eee7;
  --text: #252c29;
  --muted: #3e524c;
  --line: rgba(23, 61, 53, 0.16);
  --white: #ffffff;
  --error: #7a2e2e;
  --hero-blue: #35608d;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-height: 72px;
  --radius: 6px;
  --section-space: clamp(72px, 9vw, 112px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--forest);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.7rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  max-width: 16em;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.015em;
}

p {
  max-width: 62ch;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
}

.section-sage {
  background: var(--sage);
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lede {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--forest);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--forest-deep);
}

.btn-secondary {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-secondary:hover {
  background: var(--sage);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--forest);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

#site-header {
  min-height: var(--header-height);
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

@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;
  }
}
