:root {
  --navy: #0b2d5c;
  --navy-deep: #072244;
  --blue: #005fcc;
  --blue-dark: #004a9f;
  --ink: #1d2733;
  --muted: #4f5f70;
  --line: #cfd9e4;
  --soft-blue: #eaf2fb;
  --soft-sage: #edf4ef;
  --soft-gold: #f8e9cf;
  --gold-ink: #5d3600;
  --offwhite: #f8fafc;
  --white: #ffffff;
  --focus: #ffbf47;
  --shadow: 0 0.5rem 1.5rem rgba(7, 34, 68, 0.08);
  --radius: 0.75rem;
  --max: 74rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--navy-deep); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
  border-radius: 0.18rem;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: 0.7rem 1rem;
  color: var(--navy-deep);
  background: var(--focus);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 1 19.5rem; }
.brand img { width: 100%; max-width: 19.5rem; display: block; }
.primary-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: inline-block;
  padding: 0.58rem 0.4rem;
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 0.16rem solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--blue-dark); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  color: var(--navy-deep);
  background: var(--white);
  border: 0.13rem solid var(--navy-deep);
  border-radius: 0.45rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.menu-toggle[hidden] { display: none !important; }
.menu-icon {
  width: 1.35rem;
  display: grid;
  gap: 0.24rem;
}
.menu-icon span {
  display: block;
  height: 0.13rem;
  border-radius: 999px;
  background: currentColor;
}
.primary-nav[hidden] { display: none !important; }

.deadline-band { background: var(--navy-deep); color: var(--white); }
.deadline-inner { padding-block: 1.15rem; }
.deadline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(10rem, 0.8fr));
  gap: 1rem;
  align-items: center;
}
.deadline-band h2 { margin: 0 0 0.25rem; font-size: 1.15rem; color: var(--white); }
.deadline-band p { margin: 0; }
.deadline-band a { color: var(--white); }
.deadline-date {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 0.55rem;
  padding: 0.75rem 0.9rem;
}
.deadline-date strong { display: block; font-size: 1.18rem; color: var(--white); }
.deadline-date span { display: block; font-size: 0.92rem; }

.hero { background: linear-gradient(135deg, var(--offwhite), var(--soft-blue)); border-bottom: 1px solid var(--line); }
.hero-inner { padding-block: clamp(3rem, 7vw, 5.5rem); max-width: 62rem; }
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--navy-deep); line-height: 1.18; }
h1 { margin: 0 0 1rem; font-size: clamp(2.15rem, 5vw, 4rem); max-width: 18ch; }
h2 { margin: 0 0 0.9rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { margin: 0 0 0.55rem; font-size: 1.25rem; }
.lead { max-width: 52rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: #33465a; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.55rem; }
.button {
  display: inline-block;
  padding: 0.78rem 1.15rem;
  border: 0.13rem solid var(--blue-dark);
  border-radius: 0.45rem;
  font-weight: 800;
  text-decoration: none;
}
.button-primary { color: var(--white); background: var(--blue-dark); }
.button-primary:hover { color: var(--white); background: var(--navy-deep); }
.button-secondary { color: var(--navy-deep); background: var(--white); }
.button-secondary:hover { background: var(--soft-blue); }

.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-soft { background: var(--offwhite); }
.section-sage { background: var(--soft-sage); }
.section-heading { max-width: 52rem; margin-bottom: 1.7rem; }
.section-heading p { margin-bottom: 0; color: var(--muted); }
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .kicker { color: var(--blue-dark); font-weight: 800; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; }
.list-check { padding-left: 1.2rem; }
.list-check li { margin-bottom: 0.55rem; }
.feature-panel {
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.feature-panel h2, .feature-panel h3 { color: var(--white); }
.feature-panel a { color: var(--white); }
.note {
  border-left: 0.3rem solid var(--blue-dark);
  background: var(--soft-blue);
  padding: 1rem 1.1rem;
  border-radius: 0 0.45rem 0.45rem 0;
}
.fact-box {
  border: 1px solid #d8c39b;
  background: var(--soft-gold);
  color: var(--gold-ink);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.fact-box h2, .fact-box h3 { color: var(--gold-ink); }

.page-hero { background: var(--offwhite); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 22ch; }
.breadcrumbs { font-size: 0.95rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumbs a { color: var(--blue-dark); }

.process { counter-reset: step; }
.process .card { position: relative; padding-top: 3.3rem; }
.process .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
}

.contact-card address { font-style: normal; }
.contact-card p { margin: 0.35rem 0; }
.contact-card a { font-weight: 700; }

.cta { background: var(--navy-deep); color: var(--white); }
.cta .container { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.cta h2 { color: var(--white); }
.cta p { max-width: 50rem; }
.cta .button-secondary { border-color: var(--white); }

.site-footer { background: #061a35; color: #e8eef5; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-block: 2.5rem;
}
.site-footer h2 { color: var(--white); font-size: 1.08rem; }
.site-footer a { color: #ffffff; }
.site-footer p { margin: 0.35rem 0; }
.footer-nav ul { flex-direction: column; gap: 0.35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.22); padding-block: 1rem 1.5rem; font-size: 0.92rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 58rem) {
  .header-inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem 0.9rem;
    padding-block: 0.55rem;
  }
  .brand {
    flex: 0 1 auto;
    width: min(14rem, calc(100% - 6.25rem));
  }
  .brand img { max-width: 14rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .primary-nav {
    flex: 0 0 100%;
    width: 100%;
    padding: 0.35rem 0 0.6rem;
    border-top: 1px solid var(--line);
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav li + li { border-top: 1px solid #e4eaf0; }
  .primary-nav a {
    display: block;
    padding: 0.7rem 0.15rem;
    border-bottom-width: 0;
  }
  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] {
    border-bottom-color: transparent;
    text-decoration: underline;
    text-decoration-thickness: 0.14rem;
    text-underline-offset: 0.28rem;
  }
  .deadline-grid { grid-template-columns: 1fr 1fr; }
  .deadline-copy { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 38rem) {
  .container { width: min(100% - 1.25rem, var(--max)); }
  .brand { width: min(12.5rem, calc(100% - 5.75rem)); }
  .brand img { max-width: 12.5rem; }
  .menu-toggle { min-height: 2.7rem; padding: 0.5rem 0.65rem; }
  .deadline-grid,
  .grid-2,
  .grid-4,
  .footer-grid { grid-template-columns: 1fr; }
  .deadline-copy { grid-column: auto; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .skip-link, .primary-nav, .actions, .cta { display: none !important; }
  .site-header, .site-footer { border: 0; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
