:root {
  --ink: #0f1f2e;
  --ink-soft: #3d4f61;
  --muted: #6b7c8d;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --line: #e2e7ec;
  --brand: #0e4a6e;
  --brand-dark: #0a3651;
  --accent: #f2a33a;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 17px; font-weight: 800;
}
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); background: #e8f1f7; }
.nav a.nav-cta { background: var(--brand); color: #fff; }
.nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0a3651 0%, #0e4a6e 55%, #146a96 100%);
  color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,163,58,0.28), rgba(242,163,58,0) 70%);
}
.hero .eyebrow { color: #ffd59a; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 12px 0 20px; letter-spacing: -0.03em; max-width: 780px; }
.hero p.lead { font-size: 20px; color: #d6e6f2; max-width: 680px; margin: 0 0 32px; }

.page-hero { background: var(--bg-alt); padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 8px 0 12px; letter-spacing: -0.02em; line-height: 1.15; }
.page-hero p { color: var(--ink-soft); max-width: 720px; margin: 0; font-size: 19px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
}

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 14px 24px; border-radius: 10px; transition: transform .1s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1c1203; }
.btn-primary:hover { background: #f7b357; color: #1c1203; }
.btn-ghost { border: 2px solid rgba(255,255,255,0.5); color: #fff; margin-left: 10px; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-dark); color: #fff; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 8px 0 12px; letter-spacing: -0.02em; line-height: 1.2; }
.section-head p { color: var(--ink-soft); margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin: 16px 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.icon {
  width: 46px; height: 46px; border-radius: 11px; background: #e8f1f7; color: var(--brand);
  display: grid; place-items: center;
}
.icon svg { width: 24px; height: 24px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.stat { border-left: 3px solid var(--accent); padding-left: 16px; }
.stat strong { display: block; font-size: 20px; color: #fff; }
.stat span { color: #c3d8e8; font-size: 15px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: #e5f4ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7f43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist li strong { color: var(--ink); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.panel h3 { margin-top: 0; }

.cta-band { background: var(--ink); color: #fff; padding: 64px 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.02em; }
.cta-band p { margin: 0; color: #b9c7d4; }

/* Prose (policy pages) */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .callout {
  background: #fff8ec; border: 1px solid #f6d9a8; border-left: 4px solid var(--accent);
  padding: 18px 22px; border-radius: 8px; margin: 20px 0;
}
.prose .callout p { margin: 0; color: var(--ink); }
.toc { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 26px; margin: 8px 0 12px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.meta { color: var(--muted); font-size: 15px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: block; }
.contact-list .value { font-size: 17px; color: var(--ink); }

table.details { width: 100%; border-collapse: collapse; font-size: 16px; }
table.details th, table.details td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.details th { width: 42%; color: var(--muted); font-weight: 600; }

/* Footer */
.site-footer { background: #0b1824; color: #9fb0c0; padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfdbe6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #1e3142; margin-top: 40px; padding-top: 22px; font-size: 13px; color: #7f93a6; }
.footer-bottom p { margin: 4px 0; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 14px 0; min-height: 0; gap: 10px; }
  .nav a { padding: 6px 10px; font-size: 14px; }
  .grid-3, .grid-2, .steps, .stats { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .btn-ghost { margin: 12px 0 0; }
  section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}

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