@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  --navy: #011759;
  --sky: #11bfee;
  --aqua: #17dfd4;
  --black: #0b0c0c;
  --white: #ffffff;
  --blue: #1d70b8;
  --blue-dark: #003078;
  --blue-pale: #eaf4f8;
  --visited: #4c2c92;
  --grey-1: #505a5f;
  --grey-2: #b1b4b6;
  --grey-3: #dddddd;
  --grey-4: #f3f2f1;
  --grey-band: #f7f7f7;
  --yellow: #ffdd00;
  --green: #00703c;
  --red: #d4351c;
  --content: 1100px;
  --reading: 720px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Roboto, Arial, sans-serif;
  font-size: 1.1875rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration-thickness: max(1px, 0.0625rem);
  text-underline-offset: 0.15em;
}

a:visited {
  color: var(--visited);
}

a:hover {
  color: var(--blue-dark);
  text-decoration-thickness: 3px;
}

button {
  font: inherit;
}

:focus {
  outline: 3px solid transparent;
}

:focus-visible {
  color: var(--black);
  background: var(--yellow);
  outline: 3px solid var(--yellow);
  outline-offset: 0;
  box-shadow: 0 4px 0 var(--black);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: 30px;
}

/* Skip link */

.skip-link {
  position: absolute;
  z-index: 1000;
  top: -100px;
  left: 20px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 700;
}

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

/* Header */

.site-header {
  position: relative;
  z-index: 20;
  color: var(--white);
  background: var(--navy);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand:visited,
.brand:hover {
  color: var(--white);
}

.brand-mark {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.15;
}

.brand-text small {
  font-size: 0.85rem;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  padding: 6px 4px;
  border: 0;
  color: var(--white);
  background: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.primary-nav {
  width: 100%;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.primary-nav a:visited {
  color: var(--white);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  border-bottom-color: var(--white);
  color: var(--white);
}

.primary-nav a:focus-visible {
  color: var(--black);
}

@media (min-width: 769px) {
  .primary-nav .nav-home {
    display: none;
  }
}

.header-rule {
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--aqua));
}

/* Phase banner and breadcrumbs */

.grey-band {
  border-top: 2px solid var(--grey-3);
  background: var(--grey-band);
}

.phase-banner {
  margin: 0;
  padding: 20px 0 10px;
  font-size: 1rem;
}

.phase-banner:last-child {
  padding-bottom: 20px;
}

.tag {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px 3px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 0 20px;
  list-style: none;
  font-size: 1rem;
}

.breadcrumbs li + li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 10px 2px 8px;
  border: solid var(--grey-1);
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  content: "";
}

.breadcrumbs a,
.breadcrumbs a:visited {
  color: var(--black);
}

/* Page meta and title */

.page-meta {
  margin: 30px 0 48px;
  padding: 12px 0;
  border-top: 2px solid var(--grey-3);
  border-bottom: 2px solid var(--grey-3);
  font-size: 1rem;
}

.page-meta p {
  margin: 4px 0;
}

.page-hero {
  padding: 0 0 30px;
}

.eyebrow,
.page-caption {
  margin: 0 0 8px;
  color: var(--grey-1);
  font-size: 1.1875rem;
}

.page-hero h1,
.document-content > h1 {
  max-width: 900px;
  margin: 0 0 30px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  text-wrap: balance;
}

.page-hero h1 + p,
.lead {
  max-width: var(--reading);
  margin: 0 0 30px;
  font-size: 1.5rem;
  line-height: 1.35;
}

.page-hero h1 + p {
  margin-bottom: 0;
}

/* Layout */

.content-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding-bottom: 60px;
}

.contents-column {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.on-this-page h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.1875rem;
  line-height: 1.25;
}

.on-this-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.on-this-page li {
  margin: 0;
  border-left: 4px solid var(--grey-3);
}

.on-this-page li.is-active {
  border-left-color: var(--navy);
}

.on-this-page a,
.on-this-page a:visited {
  display: block;
  padding: 6px 0 6px 14px;
  color: var(--black);
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
}

.on-this-page .toc-level-3 a {
  padding-left: 28px;
  font-size: 0.9375rem;
}

.on-this-page a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.on-this-page li.is-active > a {
  font-weight: 700;
}

/* Document content */

.document-content {
  min-width: 0;
}

.document-content > h2,
.document-content > h3,
.document-content > h4,
.document-content > h5,
.footnotes h2 {
  scroll-margin-top: 24px;
  color: var(--navy);
  text-wrap: balance;
}

.document-content > h2 {
  max-width: 820px;
  margin: 48px 0 16px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.25;
}

.document-content > h2:first-child {
  margin-top: 0;
}

.document-content > h3 {
  max-width: 820px;
  margin: 36px 0 12px;
  font-size: 1.375rem;
  line-height: 1.3;
}

.document-content > h4 {
  max-width: 790px;
  margin: 28px 0 10px;
  font-size: 1.1875rem;
  line-height: 1.3;
}

.document-content > h5 {
  max-width: 760px;
  margin: 24px 0 10px;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.document-content > p,
.document-content > ul,
.document-content > ol,
.document-content > blockquote {
  max-width: var(--reading);
}

.document-content p {
  margin: 0 0 20px;
}

.document-content > ul,
.document-content > ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.document-content li {
  margin-bottom: 6px;
}

.document-content strong {
  font-weight: 700;
}

.document-emphasis,
.inset-text,
.page-summary,
.draft-note,
.nav-jump,
.stage-intro,
.decision-box {
  max-width: var(--reading);
  margin: 24px 0 30px;
  padding: 16px 20px;
  border-left: 10px solid var(--grey-2);
}

.inset-text p:last-child {
  margin-bottom: 0;
}

.document-content blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 10px solid var(--grey-2);
  font-size: 1.1875rem;
  font-weight: 700;
}

.footnote-ref {
  margin-left: 2px;
  font-size: 0.72em;
}

/* Tables */

.table-wrap {
  width: 100%;
  margin: 24px 0 40px;
  overflow-x: auto;
  border: 2px solid var(--grey-3);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.table-wrap:focus-visible {
  outline-offset: 3px;
}

.source-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.42;
}

.source-table-wide {
  min-width: 1120px;
  font-size: 0.875rem;
}

.source-table th,
.source-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--grey-3);
  vertical-align: top;
  text-align: left;
}

.source-table tr:last-child td {
  border-bottom: 0;
}

.source-table thead th {
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
  background: var(--grey-band);
  font-weight: 700;
}

.source-table .table-cell-paragraph {
  margin: 0 0 8px;
}

.source-table .table-cell-paragraph:last-child {
  margin-bottom: 0;
}

.source-table h2,
.source-table h3,
.source-table h4,
.source-table h5 {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.table-list {
  margin: 0;
  padding-left: 20px;
}

.table-list li {
  margin-bottom: 6px;
}


/* Tabs and section navigation */

.tab-shell {
  position: sticky;
  top: 0;
  z-index: 15;
  border-top: 1px solid var(--grey-3);
  border-bottom: 1px solid var(--grey-3);
  background: var(--grey-band);
}

.tab-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-bar {
  display: flex;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tab-btn,
a.tab-btn,
a.tab-btn:visited {
  display: block;
  padding: 14px 18px 10px;
  border: 0;
  border-bottom: 4px solid transparent;
  color: var(--black);
  background: transparent;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.tab-btn:hover,
a.tab-btn:hover {
  color: var(--blue);
  text-decoration: underline;
}

.tab-btn.active,
a.tab-btn[aria-current="page"] {
  border-bottom-color: var(--navy);
  color: var(--navy);
  font-weight: 700;
}

.tab-btn:focus-visible {
  color: var(--black);
  background: var(--yellow);
  box-shadow: none;
}

.section-nav {
  position: static;
  border-top: 0;
}

@media (min-width: 769px) {
  .tab-bar {
    flex-wrap: wrap;
    width: auto;
  }
}

/* Tab panel content (toolkit and checklist) */

.tab-panel > h2 {
  max-width: 820px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.25;
}

.tab-panel h3 {
  margin: 36px 0 12px;
  color: var(--navy);
  font-size: 1.375rem;
  line-height: 1.3;
}

.tab-panel h4 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 1.1875rem;
}

.tab-panel > p,
.tab-panel > ul,
.tab-panel > ol {
  max-width: var(--reading);
}

.tab-panel p {
  margin: 0 0 20px;
}

.tab-panel ul,
.tab-panel ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.tab-panel li {
  margin-bottom: 6px;
}

.tab-panel details {
  max-width: var(--reading);
  margin: 0 0 16px;
  border: 2px solid var(--grey-3);
}

.tab-panel details summary {
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.tab-panel details[open] summary {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--grey-3);
}

.tab-panel details > :not(summary) {
  margin-right: 16px;
  margin-left: 16px;
}

/* Generic tables inside a scroll wrapper */

.table-wrap > table:not(.source-table) {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.42;
}

.table-wrap > table:not(.source-table) th,
.table-wrap > table:not(.source-table) td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--grey-3);
  vertical-align: top;
  text-align: left;
}

.table-wrap > table:not(.source-table) thead th {
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
  background: var(--grey-band);
}

/* Labels */

.theme-pill {
  display: inline-block;
  padding: 2px 10px 3px;
  color: var(--navy);
  background: #d2e2f1;
  font-size: 0.875rem;
  font-weight: 700;
}

.themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 30px;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 24px 0 30px;
}

.card-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 700;
}

.card p:last-child {
  margin-bottom: 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 2px solid var(--grey-3);
  background: var(--white);
}

.card:has(a:hover) {
  background: var(--grey-band);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1875rem;
}

.card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.card p {
  margin: 0 0 12px;
  font-size: 1rem;
}

.card .audience {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--grey-1);
  font-size: 0.9375rem;
}

.card.is-planned {
  background: var(--grey-band);
}

.status {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 1px 8px 2px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.status.draft {
  color: var(--navy);
  background: #d2e2f1;
}

.status.planned {
  color: #383f43;
  background: #e5e6e7;
}

/* Accordion */

.accordion {
  max-width: var(--reading);
  margin: 24px 0;
}

.accordion details {
  margin-bottom: 16px;
  border: 2px solid var(--grey-3);
}

.accordion summary {
  position: relative;
  padding: 16px 56px 16px 16px;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 1.75rem;
  font-weight: 400;
  content: "+";
}

.accordion details[open] summary::after {
  content: "\2212";
}

.accordion-body {
  padding: 0 16px 8px;
}

/* Footnotes */

.footnotes {
  max-width: var(--reading);
  margin-top: 64px;
  padding-top: 22px;
  border-top: 2px solid var(--grey-3);
  font-size: 1rem;
}

.footnotes h2 {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.footnotes p {
  display: inline;
}

/* Previous and next links */

.page-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 52px;
  border-top: 2px solid var(--grey-3);
}

.pager-link {
  position: relative;
  display: block;
  padding-left: 32px;
  font-size: 1.1875rem;
  font-weight: 700;
}

.pager-link::before {
  position: absolute;
  top: 18px;
  left: 3px;
  color: var(--navy);
  font-size: 1.75rem;
  content: "‹";
}

.pager-link span {
  display: block;
  color: var(--grey-1);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
}

.pager-next {
  padding-right: 32px;
  padding-left: 0;
  text-align: right;
}

.pager-next::before {
  right: 3px;
  left: auto;
  content: "›";
}

/* Footer */

.site-footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--grey-2);
  color: var(--black);
  background: var(--grey-4);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.site-footer p {
  max-width: 620px;
  margin: 0 0 8px;
}

.site-footer a,
.site-footer a:visited {
  color: var(--black);
}

.footer-title {
  font-size: 1.1875rem;
  font-weight: 700;
}

.site-footer .footer-grid,
.site-footer .footer-bottom {
  padding-inline: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-2);
  color: var(--grey-1);
  font-size: 0.875rem;
}

/* Responsive */

@media (max-width: 1000px) {
  .content-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contents-column {
    position: static;
    max-height: none;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    display: none;
    width: 100%;
    padding-bottom: 8px;
  }

  .primary-nav[data-open="true"] {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
  }

  .primary-nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .primary-nav a {
    display: block;
    padding: 12px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding-inline: 16px;
  }

  .brand-text small {
    display: none;
  }

  .lead,
  .page-hero h1 + p {
    font-size: 1.1875rem;
  }

  .card-grid,
  .page-pager,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pager-next {
    grid-column: 1;
  }
}

@media print {
  .skip-link,
  .grey-band,
  .site-header,
  .contents-column,
  .page-pager,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 10.5pt;
  }

  .content-layout {
    display: block;
    padding: 0;
  }

  .document-content > h2,
  .document-content > h3,
  .document-content > h4,
  .document-content > h5 {
    break-after: avoid;
  }

  .table-wrap {
    overflow: visible;
    border-color: #777;
    break-inside: avoid;
  }

  .source-table,
  .source-table-wide {
    min-width: 0;
    font-size: 7.5pt;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.nav-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.draft-note p,
.page-summary p:last-child,
.stage-intro p:last-child,
.decision-box p:last-child {
  margin-bottom: 0;
}
