:root {
  --ultramarine: #00188c;
  --ultramarine-80: #3346a3;
  --ultramarine-20: #ccd1e8;
  --ultramarine-10: #e5e8f3;
  --ultramarine-5: #f2f3f9;
  --bluebell: #005eff;
  --bluebell-20: #ccdfff;
  --spring: #00e95d;
  --spring-20: #ccfbdf;
  --midnight: #0f0054;
  --text: #1c1d21;
  --muted: #4a4c55;
  --line: #d9dbe3;
  --white: #ffffff;

  --font-head: "Ubuntu", "Trebuchet MS", sans-serif;
  --font-body: "Cabin", Arial, Helvetica, sans-serif;

  --wrap: 72rem;
  --measure: 42rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-btn: 999px;
  --radius-card: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.58;
}

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

a { color: var(--bluebell); font-weight: 700; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ultramarine); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--bluebell); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ultramarine); color: var(--white); padding: 0.75rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Masthead */
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 5.5rem; padding-block: 0.75rem; }
.masthead__brand { flex: none; }
.masthead__brand img { width: clamp(130px, 18vw, 180px); }
.masthead__nav { display: flex; gap: clamp(0.75rem, 2.5vw, 2rem); margin-left: auto; font-family: var(--font-head); font-weight: 500; }
.masthead__nav a { color: var(--ultramarine); text-decoration: none; padding-block: 0.4rem; border-bottom: 3px solid transparent; font-weight: 500; }
.masthead__nav a:hover, .masthead__nav a[aria-current="page"] { border-bottom-color: var(--spring); }
.masthead__partner { flex: none; width: 64px; }

/* Title band */
.band { background: var(--ultramarine); color: var(--white); padding-block: clamp(2rem, 5vw, 3rem); }
.band--home { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(5rem, 10vw, 7rem); }
.band__kicker { margin: 0 0 0.5rem; font-family: var(--font-head); font-weight: 500; color: var(--spring); }
.band__title {
  margin: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.05; max-width: 18ch;
}
.band__title--page { font-size: clamp(1.9rem, 4.5vw, 3rem); max-width: 24ch; }
.band__lead { margin: 1.25rem 0 0; font-size: clamp(1.15rem, 2vw, 1.3125rem); line-height: 1.7; max-width: 36rem; color: var(--ultramarine-10); }
.band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.6rem; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-weight: 700; font-size: 1.1875rem; line-height: 1.2;
  text-decoration: none; border: 3px solid transparent;
}
.btn--primary { background: var(--bluebell); color: var(--white); }
.btn--primary:hover { background: var(--ultramarine); color: var(--white); }
.btn--on-dark { background: var(--spring); color: var(--midnight); }
.btn--on-dark:hover { background: var(--white); color: var(--ultramarine); }
.band .btn:focus-visible { outline-color: var(--spring); }

/* Route: the four-step journey */
.route { background: var(--ultramarine-5); border-bottom: 1px solid var(--ultramarine-10); }
.route__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: none; padding-block: 1.25rem; }
.route__step { position: relative; }
.route__step::before {
  content: ""; position: absolute; top: 1.25rem; left: 1.25rem; width: 100%; height: 3px;
  background: var(--ultramarine-20); transform: translateY(-50%);
}
.route__step:last-child::before { display: none; }
.route__step--done::before { background: var(--spring); }
.route__step a { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding-right: 1rem; text-decoration: none; color: var(--ultramarine); }
.route__node {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--white); border: 3px solid var(--ultramarine-20);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ultramarine);
}
.route__node .icon { width: 1.2rem; height: 1.2rem; stroke-width: 3; }
.route__step--done .route__node { background: var(--spring); border-color: var(--spring); color: var(--midnight); }
.route__step--current .route__node { background: var(--ultramarine); border-color: var(--ultramarine); color: var(--white); box-shadow: 0 0 0 5px var(--spring-20); }
.route__name { font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1.3; }
.route__step--current .route__name { font-weight: 700; }
.route__step a:hover .route__name { text-decoration: underline; text-underline-offset: 0.2em; }

.route--home { background: transparent; border: 0; margin-top: clamp(-5rem, -8vw, -3.5rem); }
.route--home .route__list {
  background: var(--white); border-radius: var(--radius-card); padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 1px 0 var(--ultramarine-10), 0 18px 40px -24px rgba(0, 24, 140, 0.45);
  gap: 0; max-width: calc(var(--wrap) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
}
.route__text { display: flex; flex-direction: column; gap: 0.25rem; }
.route--home .route__step a { gap: 0.9rem; }
.route--home .route__name { font-size: 1.15rem; font-weight: 700; }
.route--home .route__summary { font-size: 1rem; line-height: 1.45; color: var(--muted); font-weight: 400; max-width: 15rem; }

/* Page body */
.page {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  gap: 3rem;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem);
}
.page__main { min-width: 0; }

.help {
  align-self: start; position: sticky; top: 1.5rem;
  border-top: 5px solid var(--spring); background: var(--ultramarine-5);
  padding: 1.25rem 1.5rem 1.5rem; border-radius: 0 0 var(--radius-card) var(--radius-card); font-size: 1.0625rem;
}
.help__title { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ultramarine); margin: 0 0 0.5rem; }
.help p { margin: 0 0 0.75rem; }
.help__row { display: flex; flex-direction: column; }
.help__label { font-size: 0.95rem; color: var(--muted); }
.help__row a { font-size: 1rem; overflow-wrap: break-word; }
.help__more { margin-top: 1rem !important; }
.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 1.25rem; }
.prose h2 {
  font-family: var(--font-head); font-weight: 700; color: var(--ultramarine);
  font-size: clamp(1.5rem, 3vw, 1.85rem); line-height: 1.2; margin: 2.75rem 0 1rem;
}
.prose h3 { font-family: var(--font-head); font-weight: 500; color: var(--ultramarine); font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--ultramarine-80); }
.prose strong { font-weight: 700; }

.callout {
  border-left: 5px solid var(--spring); background: var(--ultramarine-5);
  padding: 1rem 1.25rem; margin: 1.75rem 0; border-radius: 0 8px 8px 0;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 0.75rem; }

.download {
  display: inline-flex; align-items: center; gap: 1rem; padding: 0.85rem 1.25rem 0.85rem 0.85rem;
  border: 1px solid var(--line); border-radius: var(--radius-card); text-decoration: none; color: var(--text);
  max-width: 100%;
}
.download:hover { border-color: var(--bluebell); background: var(--ultramarine-5); color: var(--text); }
.download__icon {
  flex: none; display: grid; place-items: center; width: 3rem; height: 3.5rem; border-radius: 4px 12px 4px 4px;
  background: var(--ultramarine); color: var(--white); font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
}
.download__text { display: flex; flex-direction: column; }
.download__label { color: var(--bluebell); font-weight: 700; }
.download:hover .download__label { text-decoration: underline; }
.download__meta { font-size: 0.95rem; color: var(--muted); font-weight: 400; }

.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.75rem; border-radius: var(--radius-card); overflow: hidden; background: var(--midnight); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prose table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-head); font-weight: 500; color: var(--ultramarine); border-bottom: 2px solid var(--ultramarine); }
.prose td:last-child, .prose th:last-child { text-align: right; white-space: nowrap; }

.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type, h2 + .faq { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1rem 2.5rem 1rem 0; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--ultramarine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.5rem; top: 50%; width: 0.7rem; height: 0.7rem;
  border-right: 3px solid var(--bluebell); border-bottom: 3px solid var(--bluebell);
  transform: translateY(-75%) rotate(45deg); transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--bluebell); }
.faq__answer { padding: 0 0 1rem; }
.faq__answer > :last-child { margin-bottom: 0; }

.contact-card {
  font-style: normal; display: block; padding: 1.25rem 1.5rem; margin: 0 0 1.5rem;
  background: var(--ultramarine-5); border-radius: var(--radius-card);
}
.contact-card__row { display: block; margin-top: 0.5rem; }
.contact-card__label { display: inline-block; min-width: 6rem; color: var(--muted); }

.sitemap { line-height: 2; }

/* Pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: var(--measure); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pager__link {
  display: flex; flex-direction: column; gap: 0.25rem; text-decoration: none;
  padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-card);
}
.pager__link:hover { border-color: var(--bluebell); background: var(--ultramarine-5); }
.pager__link--next { grid-column: 2; }
.pager__dir { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.pager__link--prev .pager__dir::before { content: "‹ "; }
.pager__link--next .pager__dir::after { content: " ›"; }
.pager__title { font-family: var(--font-head); font-weight: 500; color: var(--ultramarine); line-height: 1.35; text-wrap: balance; }
.pager__link:hover .pager__title { text-decoration: underline; }

/* Footer */
.footer { background: var(--midnight); color: var(--ultramarine-10); font-size: 1rem; }
.footer a { color: var(--white); font-weight: 400; }
.footer a:hover { color: var(--spring); }
.footer :focus-visible { outline-color: var(--spring); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-block: 3rem 2rem; }
.footer__brand img { width: 160px; margin-bottom: 1rem; }
.footer__brand p { max-width: 26rem; margin: 0; }
.footer__heading { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin: 0 0 0.75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-block: 1.25rem 2rem; font-size: 0.9rem; }
.footer__legal p { margin: 0; }

/* Small screens */
@media (max-width: 60rem) {
  .page { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .help { position: static; }
}

@media (max-width: 52rem) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 44rem) {
  body { font-size: 1.125rem; }
  .masthead__inner { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .masthead__nav { order: 3; width: 100%; margin-left: 0; font-size: 1rem; }
  .masthead__partner { margin-left: auto; width: 52px; }

  .route__list { grid-template-columns: 1fr; gap: 0; padding-block: 1rem; }
  .route__step::before { top: 1.25rem; left: 1.25rem; width: 3px; height: 100%; transform: translateX(-50%); }
  .route__step a { flex-direction: row; align-items: center; gap: 1rem; padding-block: 0.4rem; }
  .route__node { flex: none; }
  .route--home .route__list { padding: 1rem 1.25rem; }
  .route--home .route__step a { align-items: flex-start; }
  .route--home .route__text { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 0.35rem; }

  .pager { grid-template-columns: 1fr; }
  .pager__link--next { grid-column: 1; }

  .prose td:last-child, .prose th:last-child { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
