:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #566178;
  --line: #dbe2ef;
  --surface: #f5f8fc;
  --blue: #175cd3;
  --blue-dark: #0f429d;
  --white: #ffffff;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

main {
  flex: 1;
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-dark);
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 10;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border: 2px solid currentColor;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-200%);
}

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

.shell {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.nav-links a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 650;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}

.lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.status {
  max-width: 44rem;
  margin: 28px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--blue);
  color: var(--blue-dark);
  background: var(--surface);
}

.section {
  padding: 56px 0;
}

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

.section h2,
.legal h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
}

.section-copy,
.legal p,
.legal li {
  color: var(--muted);
}

.section-copy {
  max-width: 44rem;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.contact-box p {
  margin: 4px 0 0;
  color: var(--muted);
}

.button {
  display: inline-block;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.button:hover {
  color: var(--white);
  background: var(--blue-dark);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.legal {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal h2 {
  margin-top: 38px;
  font-size: 1.3rem;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .nav,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .contact-box {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .section {
    padding: 44px 0;
  }
}

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