:root {
  color-scheme: light;
  --navy-950: #071c34;
  --navy-800: #173a59;
  --teal-800: #0d6577;
  --teal-700: #127f97;
  --teal-100: #dff4f5;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --paper: #ffffff;
  --amber-100: #fff6d9;
  --amber-700: #6e4d00;
  --shadow: 0 16px 44px rgb(7 28 52 / 10%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f7fafc;
  color: var(--navy-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--teal-800); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, [tabindex="-1"]:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgb(18 127 151 / 30%);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: var(--shadow);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - 960px) / 2));
  border-bottom: 1px solid var(--slate-300);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-950);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 22px;
  height: 29px;
  border: 2px solid var(--navy-950);
  border-radius: 2px;
}

.brand-mark::before {
  position: absolute;
  top: -2px;
  right: -2px;
  border-style: solid;
  border-width: 0 0 9px 9px;
  border-color: transparent transparent var(--navy-950) transparent;
  content: "";
}

.brand-mark span, .brand-mark span::before, .brand-mark span::after {
  position: absolute;
  left: 4px;
  width: 11px;
  height: 2px;
  background: var(--navy-950);
  content: "";
}

.brand-mark span { top: 12px; }
.brand-mark span::before { left: 0; top: 5px; }
.brand-mark span::after { left: 0; top: 10px; width: 7px; }

.header-link { font-size: 14px; font-weight: 700; }

main {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  padding: 68px 0 44px;
}

.hero { max-width: 760px; margin-bottom: 40px; }
.eyebrow, .step-number, .card-label {
  margin: 0 0 8px;
  color: var(--teal-800);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.18; letter-spacing: -.025em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(38px, 7vw, 64px); }
h2 { margin: 0 0 14px; font-size: clamp(25px, 4vw, 34px); }
.hero-copy { max-width: 720px; margin: 22px 0 0; color: var(--slate-600); font-size: 20px; }

article > section, .page-nav {
  margin: 28px 0;
  padding: 32px;
  border: 1px solid var(--slate-300);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 5px 18px rgb(7 28 52 / 5%);
}

.urgent-card {
  border-color: #e5c875;
  border-left: 6px solid #d6a400;
  background: var(--amber-100);
  color: var(--amber-700);
}

.urgent-card h2, .urgent-card p { color: inherit; }
.urgent-card .card-label { color: inherit; }
.official-link { display: inline-block; margin-top: 6px; font-weight: 750; }

.page-nav { background: var(--navy-950); color: var(--paper); }
.page-nav h2 { font-size: 20px; }
.page-nav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 30px; margin: 0; padding-left: 22px; }
.page-nav a { color: #c4f1f4; }

section p:last-child, aside p:last-child { margin-bottom: 0; }
ul { padding-left: 24px; }
li + li { margin-top: 7px; }

.privacy-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal-700);
  background: var(--teal-100);
  color: var(--navy-800);
}

.privacy-note p { margin: 4px 0 0; }
.resource-list { margin-bottom: 0; }
.resource-list a { font-weight: 700; }

.tool-card {
  border: 0;
  background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
  color: var(--paper);
  box-shadow: var(--shadow);
}

.tool-card h2, .tool-card p { color: inherit; }
.tool-card .card-label { color: #9de1e8; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-weight: 780;
  text-align: center;
  text-decoration: none;
}

.button-primary { background: #7ce0e5; color: var(--navy-950); }
.button-secondary { border-color: #7ce0e5; color: #d9fbfd; }
.support-note { color: #d6e3ed !important; font-size: 14px; }

.site-footer {
  padding: 28px max(20px, calc((100vw - 880px) / 2));
  border-top: 1px solid var(--slate-300);
  background: var(--paper);
  color: var(--slate-600);
  font-size: 13px;
}

.site-footer p { margin: 0; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; gap: 12px; }
  .header-link { max-width: 130px; text-align: right; }
  main { width: min(100% - 24px, 880px); padding-top: 42px; }
  article > section, .page-nav { padding: 24px 20px; }
  .page-nav ol { grid-template-columns: 1fr; }
  .cta-row { display: grid; }
}

@media print {
  body { background: var(--paper); }
  .skip-link, .site-header, .cta-row { display: none !important; }
  main { width: 100%; padding: 0; }
  article > section, .page-nav { break-inside: avoid; box-shadow: none; }
}
