:root {
  --ink: #12213b;
  --muted: #526176;
  --canvas: #f7f9fc;
  --surface: #ffffff;
  --line: #dce4ef;
  --brand: #155eef;
  --brand-dark: #0f3d99;
  --mint: #d9f7ed;
  --amber: #fff1cc;
  --focus: #9a3d00;
  --shadow: 0 18px 45px rgba(18, 33, 59, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: var(--brand-dark); }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  background: var(--ink);
  color: #fff;
  left: 1rem;
  padding: .7rem 1rem;
  position: absolute;
  top: -5rem;
  z-index: 5;
}
.skip-link:focus { top: 1rem; }
.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 3;
}
.nav-shell, .container { margin: 0 auto; max-width: 1160px; padding-left: 1.25rem; padding-right: 1.25rem; }
.nav-shell { align-items: center; display: flex; gap: 1rem; min-height: 4.5rem; }
.brand { color: var(--ink); font-size: 1.17rem; font-weight: 850; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--brand); }
.site-nav { display: flex; flex: 1; flex-wrap: wrap; gap: .75rem 1rem; justify-content: flex-end; }
.site-nav a { font-size: .93rem; font-weight: 650; text-decoration: none; }
.hero { background: linear-gradient(135deg, #112a60 0%, #155eef 58%, #4b8cff 100%); color: #fff; overflow: hidden; padding: 4.8rem 0 4rem; position: relative; }
.hero::after { background: rgba(255,255,255,.09); border-radius: 50%; content: ""; height: 30rem; position: absolute; right: -12rem; top: -13rem; width: 30rem; }
.hero-grid { display: grid; gap: 2rem; grid-template-columns: 1.35fr .8fr; position: relative; z-index: 1; }
.eyebrow { color: #b9d5ff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; margin: 0 0 .8rem; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.45rem, 6vw, 4.8rem); letter-spacing: -.055em; margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.hero-copy { font-size: 1.13rem; margin: 0; max-width: 43rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button {
  align-items: center; background: var(--brand); border: 2px solid var(--brand); border-radius: .55rem; color: #fff; display: inline-flex; font-weight: 800; justify-content: center; min-height: 2.8rem; padding: .6rem 1rem; text-decoration: none;
}
.button:hover { background: #0c49c7; border-color: #0c49c7; color: #fff; }
.button.secondary { background: transparent; border-color: currentColor; color: inherit; }
.hero .button.secondary { color: #fff; }
.hero-panel { align-self: end; background: #fff; border-radius: .9rem; box-shadow: var(--shadow); color: var(--ink); padding: 1.35rem; }
.hero-panel p { color: var(--muted); margin-bottom: 0; }
.section { padding: 4.5rem 0; }
.section.compact { padding: 2.8rem 0; }
.section-heading { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.7rem; }
.section-heading p { color: var(--muted); margin: 0; max-width: 42rem; }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .finder-form, .notice, .resource-item { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; box-shadow: 0 4px 16px rgba(18,33,59,.04); padding: 1.3rem; }
.card p, .resource-item p { color: var(--muted); margin: 0 0 1rem; }
.card a { font-weight: 750; }
.department-card { min-height: 13rem; }
.icon-chip { align-items: center; background: var(--mint); border-radius: .55rem; color: #08724b; display: inline-flex; font-size: .78rem; font-weight: 850; margin-bottom: 1rem; padding: .35rem .55rem; text-transform: uppercase; }
.feature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.feature-card { background: var(--ink); border-radius: 1rem; color: #fff; padding: 1.8rem; }
.feature-card p { color: #d8e3fb; }
.feature-card .button { background: #fff; border-color: #fff; color: var(--brand-dark); }
.finder-prompt { background: var(--amber); border: 1px solid #f3d992; border-radius: .9rem; padding: 1.5rem; }
.finder-prompt p { max-width: 43rem; }
.trust-list { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.trust-list li { border-left: 3px solid var(--brand); padding-left: .85rem; }
.trust-list strong { display: block; }
.disclosure { background: #edf3ff; border-left: 4px solid var(--brand); color: #2c4264; font-size: .92rem; padding: 1rem 1.15rem; }
.site-footer { background: var(--ink); color: #d8e3fb; padding: 2.3rem 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.site-footer a { color: #fff; }
.site-footer p { margin: .2rem 0; }
.page-intro { background: #eaf1ff; padding: 3.5rem 0 2.8rem; }
.page-intro p { color: var(--muted); font-size: 1.08rem; max-width: 48rem; }
.finder-form { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 750; }
.field select { background: #fff; border: 1px solid #aebccc; border-radius: .45rem; color: var(--ink); font: inherit; min-height: 2.75rem; padding: .55rem; }
.field.full, .form-actions, .finder-results { grid-column: 1 / -1; }
.finder-results { margin-top: .6rem; }
.finder-results[hidden] { display: none; }
.result-layout { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.result-list { margin: .4rem 0 0; padding-left: 1.1rem; }
.result-list li { margin-bottom: .65rem; }
.muted { color: var(--muted); }
.status { color: #08724b; font-size: .82rem; font-weight: 800; }
.resource-list { display: grid; gap: 1rem; }
.resource-item { scroll-margin-top: 5.5rem; }
.department-detail { max-width: 760px; }
.department-detail .notice { background: #fff8e7; border-color: #f0d287; }
.department-detail ul { padding-left: 1.2rem; }
.visually-hidden { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

@media (max-width: 760px) {
  .nav-shell { align-items: flex-start; flex-direction: column; padding-bottom: .8rem; padding-top: .8rem; }
  .site-nav { justify-content: flex-start; }
  .hero { padding-top: 3.5rem; }
  .hero-grid, .feature-grid, .card-grid, .trust-list, .finder-form, .result-layout { grid-template-columns: 1fr; }
  .section { padding: 3.25rem 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}
