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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-slate);
  background-color: var(--color-white);
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

html.is-nav-open,
body.is-nav-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

a:hover {
  color: var(--color-primary-700);
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

p {
  font-size: var(--fs-body);
  color: var(--color-slate);
  max-width: 65ch;
}

.text-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.text-small {
  font-size: var(--fs-small);
  line-height: 1.5;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.eyebrow-light {
  color: var(--color-sky);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.section {
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: var(--space-8);
  position: relative;
  scroll-margin-top: 0;
}

@media (min-width: 768px) {
  .section {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: var(--space-9);
  }
}

@media (min-width: 1024px) {
  .section:not(.section-hero) {
    padding-top: 144px;
    padding-bottom: 80px;
  }
}

.section-header {
  margin-bottom: var(--space-7);
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 12px 20px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

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

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

.text-center {
  text-align: center;
}

.text-navy {
  color: var(--color-navy) !important;
}

.text-white {
  color: var(--color-white) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-muted {
  color: var(--color-slate-400) !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

