/* The approved homepage navigation and footer, shared by every page. */
@font-face {
  font-family: "MST Geist";
  src: url("/assets/refresh-20260909/fonts/geist-98bbbccb.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:is(.mst-sitewide-header, .mst-sitewide-footer, .mst-sitewide-menu, .mst-media-dialog) {
  --mst-shell-font: "MST Geist", Arial, sans-serif;
  --mst-ink: #173a55;
  --mst-blue: #375d79;
  --mst-line: #d5e0e8;
  --mst-muted: #597081;
  --mst-orange: #f17c51;
  font-family: var(--mst-shell-font);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: normal;
}

:is(.mst-sitewide-header, .mst-sitewide-footer, .mst-sitewide-menu,
    .mst-media-dialog, .mst-sitewide-header *, .mst-sitewide-footer *,
    .mst-sitewide-menu *, .mst-media-dialog *) {
  box-sizing: border-box;
}

:is(.mst-sitewide-header, .mst-sitewide-footer, .mst-sitewide-menu) a {
  color: inherit;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
}

:is(.mst-sitewide-header, .mst-sitewide-footer, .mst-sitewide-menu) :is(a, button, summary):focus-visible {
  outline: 3px solid var(--mst-orange);
  outline-offset: 4px;
}

:is(.mst-sitewide-header, .mst-sitewide-footer, .mst-sitewide-menu) :is(h2, p, ul) {
  margin: 0;
}

:is(.mst-sitewide-header, .mst-sitewide-footer, .mst-sitewide-menu) img {
  display: block;
  max-width: 100%;
}

.mst-release-shell:has(> .mst-sitewide-header),
.mst-release-shell:has(> .mst-sitewide-footer) {
  display: contents;
}

/* Course templates put the header in a wrapper separate from the main content. */
body.mst-sitewide-inner > .mst-page:has(> .mst-sitewide-header):not(:has(> main)) {
  display: contents;
}

.mst-utility:has(+ .mst-release-shell > .mst-sitewide-header),
.mst-utility:has(+ .mst-sitewide-header) {
  display: none;
}

.mst-sitewide-skip {
  position: fixed;
  z-index: 32;
  top: .5rem;
  left: .5rem;
  transform: translateY(-200%);
  padding: .625rem 1rem;
  border-radius: 6px;
  background: #fff;
  color: #173a55;
  font: 600 1rem/1.5 "MST Geist", Arial, sans-serif;
}

.mst-sitewide-skip:focus { transform: none; }

/* Desktop navigation */
header.mst-sitewide-header {
  position: sticky;
  z-index: 25;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--mst-ink);
  background: #fffffffa;
  border: 0;
  border-bottom: 1px solid var(--mst-line);
  box-shadow: 0 1px 6px #1024370a;
  backdrop-filter: blur(12px);
}

.mst-sitewide-header > .mst-wrap {
  width: min(1220px, calc(100% - 56px));
  max-width: none;
  min-height: 80px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 0;
}

.mst-sitewide-header .mst-brand { display: block; flex: none; margin: 0; padding: 0; }
.mst-sitewide-header .mst-brand img { width: 152px; height: auto; }
.mst-sitewide-header .mst-mobile-nav { display: none; }

.mst-sitewide-header .mst-nav {
  position: static;
  display: block;
  flex: 0 1 auto;
  order: 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: none;
}

.mst-sitewide-header .mst-nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: auto;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mst-sitewide-header .mst-nav-list > li {
  position: static;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mst-sitewide-header .mst-nav-disclosure { position: static; margin: 0; padding: 0; border: 0; }

.mst-sitewide-header .mst-nav-toggle,
.mst-sitewide-header .mst-nav-list > li > .mst-nav-direct {
  display: flex;
  align-items: center;
  inline-size: auto;
  min-height: 44px;
  padding: 0;
  color: var(--mst-ink);
  background: none;
  font: 500 .875rem/1.65 var(--mst-shell-font);
  list-style: none;
  white-space: nowrap;
}

.mst-sitewide-header .mst-nav-list > li > .mst-nav-direct { padding-inline: 10px; font-weight: 550; }
.mst-sitewide-header .mst-nav-toggle { gap: 5px; cursor: pointer; }
.mst-sitewide-header .mst-nav-toggle::-webkit-details-marker { display: none; }
.mst-sitewide-header .mst-nav-toggle::marker { content: ""; }
.mst-sitewide-header .mst-nav-toggle svg { width: 12px; height: 12px; margin-inline-start: 4px; }
.mst-sitewide-header .mst-nav-disclosure[open] > .mst-nav-toggle { color: #a44120; }
.mst-sitewide-header .mst-nav-disclosure[open] > .mst-nav-toggle svg { transform: rotate(180deg); }
.mst-sitewide-header .mst-nav-list > li > .mst-nav-direct:hover { color: #a44120; }

.mst-sitewide-header > .mst-wrap > .mst-button {
  display: inline-flex;
  flex: none;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #213b51;
  color: #fff;
  font: 600 .875rem/1.4 var(--mst-shell-font);
  white-space: nowrap;
}

.mst-sitewide-header > .mst-wrap > .mst-button:hover { background: #32566e; }
.mst-sitewide-header > .mst-wrap > .mst-button svg { display: none; }

.mst-sitewide-header .mst-live-menu {
  position: absolute;
  z-index: 1;
  inset: calc(100% - 1px) auto auto 50%;
  isolation: isolate;
  transform: translateX(-50%);
  width: min(1040px, calc(100vw - 56px));
  height: auto;
  max-height: calc(100dvh - 110px);
  margin: 0;
  padding: 28px;
  overflow: auto;
  color: var(--mst-ink);
  background: #fff;
  border: 1px solid var(--mst-line);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 22px 48px #10203026;
  font-family: var(--mst-shell-font);
  line-height: 1.5;
}

.mst-sitewide-header .compact-training-menu { padding: 24px 28px; }
.mst-sitewide-header .mst-nav-disclosure:not([open]) > .mst-live-menu { display: none; }
.mst-sitewide-header .mst-live-menu a { white-space: normal; }
.mst-sitewide-header .mst-live-menu [data-slot="navigation-menu-link"] {
  color: var(--mst-ink);
  border-radius: 5px;
}

.mst-sitewide-header .mst-live-menu [data-slot="navigation-menu-link"]:focus-visible { outline-offset: -3px; }
.mst-sitewide-header .mst-live-menu :is(a, span) > :is(.lucide-arrow-right, .lucide-arrow-up-right),
.mst-sitewide-header .mst-live-menu .compact-link-arrow { display: none; }

.mst-sitewide-header .mst-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
}

.mst-sitewide-header .mst-menu-heading > span {
  color: var(--mst-muted);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .04em;
}

.mst-sitewide-header .mst-menu-heading > a,
.mst-sitewide-header .mst-menu-bottom > a {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding-block: 14px;
  font-size: .875rem;
  font-weight: 600;
}

.mst-sitewide-header .mst-menu-heading > a:hover,
.mst-sitewide-header .mst-menu-bottom > a:hover { color: #a44120; }

.mst-sitewide-header .mst-menu-heading .mst-academy-menu-cta,
.mst-sitewide-header .mst-menu-heading .mst-academy-menu-cta:hover {
  padding: 10px 14px;
  color: #fff;
  background: var(--mst-ink);
}

.mst-sitewide-header .mst-menu-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mst-sitewide-header .mst-menu-cards .mst-menu-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 17px;
  border: 1px solid var(--mst-line);
  background: #f8fafb;
}

.mst-sitewide-header .mst-menu-cards .mst-menu-card:is(:hover, :focus-visible) {
  background: #eaf1f6;
  border-color: #8da6b9;
}

.mst-sitewide-header .mst-menu-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 110px;
  min-height: 110px;
  margin-bottom: 5px;
  padding: 10px;
  background: #fff;
}

.mst-sitewide-header .mst-menu-image img { width: 100%; height: 90px; object-fit: contain; }
.mst-sitewide-header .mst-menu-card strong { font-size: 1.025rem; font-weight: 650; line-height: 1.25; letter-spacing: -.02em; }
.mst-sitewide-header .mst-menu-card p { color: var(--mst-muted); font-size: .875rem; line-height: 1.6; }
.mst-sitewide-header .mst-menu-card > span { margin-top: auto; padding-top: 7px; font-size: .875rem; font-weight: 600; }

.mst-sitewide-header .mst-menu-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--mst-line);
}

.mst-sitewide-header .mst-menu-bottom > span { margin-right: auto; color: var(--mst-muted); font-size: .8125rem; }
.mst-sitewide-header .mst-resource-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mst-sitewide-header .mst-resource-links > a { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.mst-sitewide-header .mst-resource-links > a:hover { background-color: #edf3f7; }
.mst-sitewide-header .mst-resource-links > .mst-resource-book { align-items: center; justify-content: flex-start; }
.mst-sitewide-header .mst-resource-links strong { font-size: .9375rem; font-weight: 600; }
.mst-sitewide-header .mst-resource-links p { margin-top: 5px; color: var(--mst-muted); font-size: .875rem; line-height: 1.65; }
.mst-sitewide-header .mst-bootcamp-nav-group { display: contents; }
.mst-sitewide-header .compact-program-grid { row-gap: 3px; }
.mst-sitewide-header .compact-program-grid .compact-program-card { grid-row: 1; border-radius: 8px; }
.mst-sitewide-header a.compact-workshop-row { grid-template-columns: 76px minmax(0, 1fr); }
.mst-sitewide-header .mst-bootcamp-nav-group .mst-bootcamp-followup-link { grid-area: 2 / 1; justify-self: start; }

.mst-sitewide-header .mst-bootcamp-followup-link,
.mst-sitewide-menu details .mst-bootcamp-followup-link {
  padding: 8px 12px;
  color: #375d79;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile navigation and shared image lightbox */
.mst-sitewide-header .mst-hamburger {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #c7d4de;
  border-radius: 5px;
  background: #fff;
  color: var(--mst-ink);
  font: 600 .875rem/1.65 var(--mst-shell-font);
  cursor: pointer;
}

.mst-sitewide-header .mst-hamburger svg { display: block; width: 25px; height: 25px; }

dialog.mst-sitewide-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 420px);
  max-width: none;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 28px 24px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--mst-ink);
}

:is(.mst-sitewide-menu, .mst-media-dialog):not([open]) { display: none; }
:is(.mst-sitewide-menu, .mst-media-dialog)::backdrop { background: #102030b3; }

:is(.mst-sitewide-menu, .mst-media-dialog) .mst-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

:is(.mst-sitewide-menu, .mst-media-dialog) .mst-mobile-top h2 {
  margin: 0;
  color: inherit;
  font: 650 1.25rem/1.3 var(--mst-shell-font);
  letter-spacing: -.025em;
}

:is(.mst-sitewide-menu, .mst-media-dialog) :is(.mst-mobile-close, .mst-media-close) {
  flex: none;
  padding: 8px 13px;
  border: 1px solid #b7c8d5;
  border-radius: 5px;
  background: #fff;
  color: var(--mst-ink);
  font: 600 .875rem/1.5 var(--mst-shell-font);
  cursor: pointer;
}

.mst-sitewide-menu > nav {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
}

.mst-sitewide-menu details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--mst-line); }
.mst-sitewide-menu details summary { cursor: pointer; padding: 18px 0; font-size: 1rem; font-weight: 600; }
.mst-sitewide-menu details:not([open]) > :not(summary) { display: none; }
.mst-sitewide-menu details > a { display: flex; align-items: center; gap: 12px; padding: 13px 10px; border-bottom: 1px solid #dce5eb; background: #f2f6f9; font-size: .9375rem; }
.mst-sitewide-menu details > a > img { width: 75px; height: 45px; object-fit: contain; }
.mst-sitewide-menu nav > a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #dce5eb; font-size: 1rem; }
.mst-sitewide-menu nav a:hover { color: #a23e1b; }
.mst-sitewide-menu nav a svg { width: 17px; height: 17px; }

dialog.mst-media-dialog {
  position: fixed;
  width: min(1000px, calc(100vw - 32px));
  max-width: 1000px;
  max-height: 92dvh;
  margin: auto;
  padding: 20px;
  overflow: auto;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--mst-ink);
}

.mst-media-dialog img { display: block; width: auto; height: auto; max-width: 100%; max-height: 74dvh; margin-inline: auto; object-fit: contain; }
.mst-media-dialog iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.mst-media-dialog > a { display: inline-block; margin-top: 15px; color: var(--mst-blue); font-size: .875rem; }

/* Footer */
footer.mst-sitewide-footer {
  display: block;
  width: 100%;
  margin: 0;
  padding: 45px 0 19px;
  border: 0;
  background: #132331;
  color: #d4e2ec;
}

.mst-sitewide-footer .mst-sitewide-footer-shell { width: min(1220px, calc(100% - 56px)); max-width: none; margin-inline: auto; padding: 0; }
.mst-sitewide-footer .mst-sitewide-footer-grid { display: grid; grid-template-columns: 1.28fr repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 36px); }
.mst-sitewide-footer .mst-sitewide-footer-grid > div { display: block; min-width: 0; }

.mst-sitewide-footer .mst-sitewide-footer-heading {
  margin: 0 0 12px;
  color: #fff;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
}

.mst-sitewide-footer :is(ul, address) { display: block; margin: 0; padding: 0; font: inherit; list-style: none; }
.mst-sitewide-footer li { margin: 0; padding: 0; font: inherit; list-style: none; }
.mst-sitewide-footer li + li { margin-top: 7px; }
.mst-sitewide-footer :is(a, p, strong) { font-size: .875rem; line-height: 1.55; }
.mst-sitewide-footer p { margin: 0; }
.mst-sitewide-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.mst-sitewide-footer .mst-sitewide-footer-logo { display: inline-block; margin: 0; }
.mst-sitewide-footer .mst-sitewide-footer-logo img { width: 140px; height: auto; margin: -12px 0 0 -9px; }
.mst-sitewide-footer .mst-sitewide-footer-social { display: flex; gap: 5px; margin-block: 12px; }
.mst-sitewide-footer .mst-sitewide-footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #526b7e; border-radius: 8px; }
.mst-sitewide-footer .mst-sitewide-footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.mst-sitewide-footer .mst-sitewide-footer-contact a { display: block; font-style: normal; overflow-wrap: anywhere; }
.mst-sitewide-footer .mst-sitewide-footer-contact span {
  display: inline;
  margin: 0 7px 0 0;
  padding: 0;
  color: #f2b397;
  font-size: inherit;
  font-weight: 640;
  line-height: inherit;
}
.mst-sitewide-footer .mst-sitewide-footer-outliers-link { color: #f6c0a7; font-weight: 650; }
.mst-sitewide-footer .mst-sitewide-footer-outliers p { margin-block: 8px; }

.mst-sitewide-footer .mst-sitewide-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  margin: 31px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid #526b7e;
  color: #d4e2ec;
}

.mst-sitewide-footer .mst-sitewide-footer-bottom nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  width: auto;
  max-width: none;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  background: none;
}

@media (max-width: 1100px) {
  .mst-sitewide-header .mst-nav-list { gap: 12px; }
  .mst-sitewide-header .mst-nav-list > li > .mst-nav-direct { padding-inline: 8px; }
}

@media (max-width: 1000px) {
  .mst-sitewide-header > .mst-wrap { min-height: 72px; gap: 20px; padding-block: 8px; }
  .mst-sitewide-header .mst-brand img { width: 135px; height: 57px; object-fit: contain; }
  .mst-sitewide-header .mst-nav { display: none; }
  .mst-sitewide-header .mst-mobile-nav { display: block; order: 3; margin-left: auto; }
  .mst-sitewide-header > .mst-wrap > .mst-button { order: 2; margin-left: auto; }
  .mst-sitewide-footer .mst-sitewide-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; }
  .mst-sitewide-footer .mst-sitewide-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .mst-sitewide-header > .mst-wrap { min-height: 66px; }
  .mst-sitewide-header .mst-brand img { width: 123px; height: 49px; }
  footer.mst-sitewide-footer { padding-top: 33px; }
  .mst-sitewide-footer .mst-sitewide-footer-shell { width: calc(100% - 40px); }
  .mst-sitewide-footer .mst-sitewide-footer-grid { gap: 23px 18px; }
}

@media (max-width: 600px) {
  .mst-sitewide-header > .mst-wrap { width: calc(100% - 32px); gap: 12px; }
  .mst-sitewide-header > .mst-wrap > .mst-button { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.mst-sitewide-header, .mst-sitewide-footer, .mst-sitewide-menu) * { transition: none; }
}
