:root {
  color-scheme: light;
  --ink: #17313b;
  --muted: #60747c;
  --paper: #f4f7f6;
  --surface: #ffffff;
  --line: #d6e0e2;
  --blue: #0f75a8;
  --blue-dark: #095f8b;
  --mint: #18cba5;
  --navy: #101823;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(23, 49, 59, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% -10%, rgba(24, 203, 165, 0.16), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(214, 224, 226, 0.86);
  background: rgba(244, 247, 246, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell,
.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav .nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(23, 49, 59, 0.14);
}

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

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover {
  background: #eaf1f2;
  color: var(--ink);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: inherit;
}

.hero {
  padding: clamp(56px, 8vw, 96px) 0 52px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(40px, 7vw, 72px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-lede {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.answer-box {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  margin-bottom: 72px;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.answer-box p,
.section-lede,
.card p,
.content-section p,
.content-section li,
.faq p {
  color: var(--muted);
}

.site-route-page {
  padding-top: 34px;
  padding-bottom: 72px;
}

.site-route-hero {
  padding-top: 18px;
}

.site-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.site-facts div {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
}

.site-facts span,
.site-link-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-facts strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.site-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.site-link-card {
  display: block;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.site-link-card:hover {
  border-color: var(--blue);
  color: var(--ink);
  transform: translateY(-1px);
}

.site-link-card span { margin-top: 3px; }

.source-links {
  display: grid;
  gap: 7px;
  padding-left: 20px;
}

.site-directory-region {
  padding-bottom: 42px;
}

.site-directory-region h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.answer-box p {
  margin: 0;
  font-size: 18px;
}

.content-section {
  padding: 24px 0 72px;
}

.content-section > h2,
.content-section > .section-lede {
  max-width: 760px;
}

.section-lede {
  margin: -4px 0 28px;
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.card .number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #dff7f1;
  color: #0b745f;
  font-size: 13px;
  font-weight: 800;
}

.card p:last-child,
.content-section p:last-child {
  margin-bottom: 0;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 15px 15px 15px 46px;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  position: absolute;
  top: 16px;
  left: 14px;
  color: #0b745f;
  content: "✓";
  font-weight: 900;
}

.note {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--mint);
  border-radius: 0 12px 12px 0;
  background: #e8f8f4;
}

.note strong {
  color: var(--ink);
}

.faq {
  max-width: 860px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 20px 34px 20px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  cursor: pointer;
}

.faq p {
  max-width: 760px;
  margin: -8px 0 22px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 24px;
  margin: 16px 0 88px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
}

.cta-panel h2 {
  margin-bottom: 8px;
}

.cta-panel p {
  margin: 0;
  color: #b7c9cf;
}

.cta-panel .button {
  background: var(--mint);
  color: #071f1a;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 34px 0 44px;
}

.footer-shell p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 13px;
}

@media (max-width: 820px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .answer-box,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.two-up {
    grid-template-columns: 1fr;
  }

  .site-facts,
  .site-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .nav-shell,
  .page-shell {
    width: min(100% - 22px, 1120px);
  }

  .nav-shell {
    gap: 10px;
  }

  .brand span {
    font-size: 14px;
  }

  .site-nav .nav-cta {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(37px, 12vw, 54px);
  }

  .checklist,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-facts,
  .site-link-grid {
    grid-template-columns: 1fr;
  }
}

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