:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef6ff;
  --ink: #102033;
  --muted: #58677a;
  --line: #dbe5f0;
  --brand: #0f4c81;
  --brand-2: #0f766e;
  --accent: #c56f30;
  --shadow: 0 18px 48px rgba(15, 32, 51, 0.08);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f5fbff 0%, #f8fafc 42%, #fff 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover { color: #08375f; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: #fff;
  color: var(--brand);
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-weight: 700;
}

.site-nav {
  display: none;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 0.75rem;
}

.site-nav.is-open { display: grid; }

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--brand);
}

main { min-height: 60vh; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

.section { padding: 3.2rem 0; }

.hero {
  padding: 3.4rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 750;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(2.1rem, 7vw, 4.3rem);
  max-width: 840px;
}

h2 { font-size: clamp(1.65rem, 4.5vw, 2.7rem); }

h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: var(--muted);
  max-width: 760px;
}

.hero-media {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.btn.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.btn:hover { transform: translateY(-1px); }

.note-box {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 32, 51, 0.05);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card,
.resource-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 32, 51, 0.055);
}

.card h3,
.resource-card h3 { margin-bottom: 0.45rem; }

.card p:last-child,
.resource-card p:last-child,
.note-box p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.image-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.kicker-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.kicker-list li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: #f1f7ff;
  color: #163a5f;
  font-size: 0.94rem;
}

tr:last-child td { border-bottom: 0; }

.breadcrumb {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumb a { color: var(--muted); }

.page-header {
  padding: 2.2rem 0 1.2rem;
}

.page-header .lead { max-width: 820px; }

.faq-list {
  display: grid;
  gap: 0.9rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 0.9rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.callout {
  border-radius: 26px;
  padding: 1.4rem;
  background: linear-gradient(135deg, #0f4c81 0%, #0f766e 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.callout p { color: rgba(255, 255, 255, 0.86); }

.callout a { color: #fff; }

.source-list {
  padding-left: 1.2rem;
  color: var(--muted);
}

.source-list li { margin-bottom: 0.5rem; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--brand); }

@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    gap: 0.15rem;
  }
  .site-nav a { padding: 0.55rem 0.7rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
