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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

main {
  overflow: clip;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-navy-900);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: var(--space-6);
  font-size: var(--font-size-hero);
}

h2 {
  margin-bottom: var(--space-5);
  font-size: var(--font-size-2xl);
}

h3 {
  margin-bottom: var(--space-3);
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--space-5);
}

a {
  color: inherit;
  text-underline-offset: .18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

img {
  height: auto;
}

ul[role="list"],
ol[role="list"] {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-blue-500);
  outline-offset: 3px;
}

::selection {
  background: var(--color-orange-500);
  color: var(--color-navy-950);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-navy-900);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container,
.container-wide {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, var(--container-wide));
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--surface {
  background: var(--color-surface);
}

.section--navy {
  background: var(--color-navy-950);
  color: rgb(255 255 255 / 74%);
}

.section--navy h2,
.section--navy h3 {
  color: var(--color-white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: var(--space-5);
  color: var(--color-blue-600);
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  content: "";
}

.section--navy .eyebrow {
  color: var(--color-orange-500);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading p {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-lg);
}

.section--navy .section-heading p {
  color: rgb(255 255 255 / 68%);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-blue-600);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: var(--color-orange-700);
}

.icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

@media (min-width: 48rem) {
  .container,
  .container-wide {
    width: min(100% - 4rem, var(--container));
  }

  .container-wide {
    width: min(100% - 4rem, var(--container-wide));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
