:root {
  --navy: #14243a;
  --navy-deep: #0d1929;
  --blue: #315c87;
  --blue-soft: #eaf0f5;
  --cream: #f6f3ed;
  --paper: #fffefd;
  --ink: #182230;
  --muted: #647080;
  --line: #dce2e7;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(17, 37, 58, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: rgba(13, 25, 41, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner { min-height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border-radius: 10px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: #d7e1ea;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible { color: var(--white); }

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 16%, rgba(111, 153, 192, .2), transparent 28%),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
  border-bottom: 1px solid #253c58;
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 72px;
  padding-block: 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #537da5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #9db8d1; }

h1, h2, h3, p { overflow-wrap: break-word; }

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: .98;
  letter-spacing: -.055em;
}

.lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: #cbd7e2;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: var(--navy-deep);
  background: var(--white);
}

.button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
}

.button-secondary:hover { background: rgba(255, 255, 255, .07); }

.summary {
  padding: 30px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .16);
}

.summary h2 {
  margin: 17px 0 8px;
  font-size: 26px;
  letter-spacing: -.03em;
}

.summary > p {
  margin: 0;
  color: #c6d3df;
  font-size: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #bad3ea;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status span {
  width: 8px;
  height: 8px;
  background: #77c89c;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(119, 200, 156, .1);
}

.summary dl { margin: 24px 0 0; }

.summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid rgba(255, 255, 255, .11);
}

.summary dt { color: #9eb0c0; }
.summary dd { margin: 0; font-weight: 700; }

.section { padding: 88px 0; }
.section-muted { background: var(--cream); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 440px);
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading h2,
.about h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  position: relative;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b9c8d5;
  box-shadow: var(--shadow);
}

.card-featured {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.card-index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #9aa6b2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.card-featured .card-index { color: #91a7bb; }

.card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--navy);
  background: var(--blue-soft);
  border-radius: 13px;
  font-weight: 850;
}

.card-featured .card-icon {
  color: var(--navy);
  background: var(--white);
}

.card h3 {
  margin: 24px 0 8px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.card-featured p { color: #bfcedc; }

.card-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

.card-link span { margin-left: 5px; }
.card-featured .card-link { color: var(--white); }

.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.link-row .card-link { margin-top: 0; }

.minor-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.resource-block {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.resource-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.resource-icon {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}

.resource-title h3 { margin: 0; font-size: 21px; }
.resource-title p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.resource-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.resource-list li { border-bottom: 1px solid var(--line); }

.resource-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.resource-list a:hover { color: var(--blue); }
.resource-list span { color: var(--muted); font-weight: 500; }

.about {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.about > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  color: #aab8c5;
  background: var(--navy-deep);
}

.footer-inner { min-height: 90px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #dce6ee; text-underline-offset: 4px; }

:focus-visible {
  outline: 3px solid #76a8d2;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .summary { max-width: 560px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading, .about { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 64px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 12px; }
  .main-nav a:last-child { display: none; }
  .hero-grid { min-height: auto; padding-block: 64px; }
  h1 { font-size: clamp(44px, 15vw, 68px); }
  .section { padding: 64px 0; }
  .card-grid, .resource-grid { grid-template-columns: 1fr; }
  .card { min-height: 280px; }
  .resource-list a { align-items: flex-start; flex-direction: column; gap: 2px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

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