/* Homepage mockup. The original page and navigation remain the foundation. */
.mst-page {
  --mst-ink: #193146;
  --mst-blue: #375d79;
  --mst-muted: #485e70;
  --mst-line: #d9e3eb;
  --mst-light: #edf3f7;
  --mockup-night: #142331;
  --mockup-copper: #f3a585;
  --mockup-coral: #eb916c;
  --mockup-radius: 14px;
  --mockup-shadow: 0 8px 26px #16304a0d;
}

.mst-header {
  background: #fffffffa;
  box-shadow: 0 1px 6px #1024370a;
}

.mst-header > .mst-wrap { min-height: 80px; }
.mst-header .mst-brand img { width: 152px; }
.mst-header .mst-button,
.mst-page main .mst-button { border-radius: 8px; }
.mst-header .mst-button { background: #213b51; }
.mst-header .mst-button:hover { background: #32566e; }
.mst-header .mst-live-menu { border-radius: 0 0 var(--mockup-radius) var(--mockup-radius); }
.mst-header .mst-nav-toggle { min-height: 44px; }
.mst-header .mst-button svg,
.mst-page main .mst-button svg,
.mst-page main .mst-text-link svg { display: none; }

.mst-bootcamp-nav-group { display: contents; }
.mst-header .compact-program-grid { row-gap: 3px; }
.mst-header .compact-program-grid .compact-program-card { grid-row: 1; border-radius: 8px; }
.mst-bootcamp-nav-group .mst-bootcamp-followup-link { grid-area: 2 / 1; justify-self: start; }
.mst-header .mst-live-menu :is(a, .mst-text-link) > svg.lucide-arrow-right,
.mst-header .mst-live-menu :is(a, .mst-text-link) > svg.lucide-arrow-up-right,
.mst-header .mst-live-menu .compact-link-arrow { display: none; }
.mst-header a.compact-workshop-row { grid-template-columns: 76px minmax(0, 1fr); }
.mst-header .mst-bootcamp-followup-link,
.mst-mobile-sheet details .mst-bootcamp-followup-link {
  padding: 8px 12px;
  color: #375d79;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mst-page section[id], .mst-page #main { scroll-margin-top: 96px; }
.mst-page h2 { font-weight: 620; }
.mst-page .mst-section { padding-block: clamp(54px, 6.2vw, 88px); }
.mst-page .mst-section-heading { margin-bottom: clamp(25px, 3vw, 38px); }
.mst-page .mst-eyebrow { font-size: .8125rem; letter-spacing: .095em; }
.mst-page main :is(a, summary, [tabindex="0"]):focus-visible {
  outline: 3px solid #dc8058;
  outline-offset: 4px;
}

/* Hero and customer story */
.mst-hero {
  background: radial-gradient(ellipse at 85% 17%, #294358 0, #1a2e3e 28%, transparent 66%), var(--mockup-night);
  padding-top: clamp(46px, 4.7vw, 76px);
}

.mst-hero-grid {
  grid-template-columns: 1.07fr 1fr;
  gap: clamp(30px, 4.3vw, 68px);
}

.mst-hero h1 {
  font-size: clamp(3rem, 5.3vw, 4.65rem);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: 1.01;
}

.mst-hero h1 span, .mst-hero .mst-eyebrow { color: var(--mockup-copper); }
.mst-hero .mst-lede { color: #d3e1eb; line-height: 1.67; margin-block: 23px !important; }
.mst-hero .mst-actions { gap: 12px; }
.mst-page main .mst-button-orange { background: var(--mockup-coral); color: #172532 !important; }
.mst-page main .mst-button-orange:hover { background: #ffad89; }
.mst-hero .mst-actions > .mst-text-link {
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #9ab0c16b;
  border-radius: 8px;
  color: #f4f8fa !important;
  font-size: .9375rem;
}

.mst-hero .mst-actions > .mst-text-link:hover { background: #f4f8fa15; }
.mst-hero .mst-hero-note { margin-top: 17px !important; color: #c0d1de; font-size: .875rem; }
.mst-hero-visual {
  background: #203b50;
  border: 1px solid #87a2b66e;
  border-radius: var(--mockup-radius);
  box-shadow: 0 18px 62px #060d1763;
}

.mst-hero-visual > img { aspect-ratio: 1.61; object-position: 50% 44%; }
.mst-hero-visual figcaption { padding: 17px 22px; }
.mst-hero-visual figcaption > div { display: grid; gap: 2px; }
.mst-hero-visual figcaption strong { font-size: 1.0625rem; font-weight: 630; }
.mst-hero-visual figcaption span { color: #c7d8e6; font-size: .875rem; letter-spacing: 0; }
.mst-hero-visual figcaption a {
  align-content: center;
  min-height: 42px;
  color: #fae2d5;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mst-trust {
  grid-template-columns: minmax(220px, .52fr) 1fr;
  gap: 25px;
  margin-top: clamp(28px, 3.8vw, 52px);
  border-color: #b4cada3b;
  padding-block: 24px;
}

.mst-trust > div { flex-direction: row; align-items: center; }
.mst-trust strong { color: var(--mockup-copper); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 650; }
.mst-trust span { color: #d0dee8; font-size: .875rem; }
.mst-trust > p { max-width: none; color: #d0dee8; line-height: 1.5; }
.mst-lead-proof { background: #eaf1f6; padding-block: clamp(34px, 4.2vw, 56px); }
.mst-lead-proof > .mst-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.65fr); gap: clamp(24px, 4vw, 55px); }
.mst-proof-benchmark h2 { font-size: clamp(1.85rem, 3.1vw, 2.65rem) !important; }
.mst-lead-proof figure { border-color: #b1c6d5; }
.mst-lead-proof figure > svg { color: #a96143; }
.mst-lead-proof blockquote { margin-bottom: 17px; font-size: 1.0625rem; line-height: 1.65; }
.mst-lead-proof figcaption > a { font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }

/* Training paths, outcomes, and program cards */
.mst-path-grid { gap: 18px; overflow: visible; border: 0; }
.mst-path-grid > a, .mst-path-grid > a + a {
  padding: clamp(21px, 3vw, 32px);
  border: 1px solid var(--mst-line);
  border-radius: var(--mockup-radius);
  background: #f8fafc;
  box-shadow: var(--mockup-shadow);
  transition: border-color .18s, background .18s, box-shadow .18s;
}

.mst-path-grid > a:hover, .mst-path-grid > a:focus-visible {
  background: #edf4fa;
  border-color: #93aec3;
  box-shadow: 0 8px 26px #16304a19;
}

.mst-path-grid > a > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 19px;
  padding: 10px;
  background: #e2edf5;
  border-radius: 10px;
  color: #244d6b;
  stroke-width: 1.7;
}

.mst-path-grid .mst-eyebrow { margin-bottom: 9px !important; }
.mst-path-grid p { margin: 12px 0 21px !important; }
.mst-path-grid .mst-text-link,
.mst-course-card .mst-text-link { font-size: .9375rem; text-decoration: underline; text-underline-offset: 4px; }
.mst-outcomes { background: #1b3a52; }
.mst-outcomes .mst-eyebrow { color: #f4b295; }
.mst-outcome-grid article { background: #244760; border-color: #65859c65; border-radius: var(--mockup-radius); }
.mst-outcome-grid article > .mst-outcome-copy { padding: clamp(18px, 2.3vw, 28px); }
.mst-outcome-number { justify-content: start; margin-bottom: 13px; color: #ffc1a3; }
.mst-outcome-copy > p { font-size: 1rem; line-height: 1.63; margin: 12px 0 21px; }
.mst-outcome-copy > strong { font-size: .875rem; }
.mst-book-teaser { line-height: 1.55; }
.mst-live { background: #f0f5f8; }
.mst-program-grid > article {
  border-top: 3px solid #7b9fb7;
  border-radius: var(--mockup-radius);
  box-shadow: var(--mockup-shadow);
}

.mst-program-grid > article:nth-child(2) { border-top-color: #486e8b; }
.mst-program-grid > article:nth-child(3) { border-top-color: #b97455; }
.mst-program-grid h3 { min-height: 0; }
.mst-tier-label, .mst-program-format { font-size: .8125rem; letter-spacing: .035em; }
.mst-tier-label > span + span { color: #506679; }
.mst-program-fit { font-size: .875rem !important; }
.mst-program-grid article > p:not(.mst-program-fit) { font-size: 1rem; line-height: 1.6; }
.mst-program-grid ul { color: var(--mst-muted); }
.mst-program-grid li svg { color: #3b6d64; }
.mst-program-grid .mst-button { margin-top: auto; min-height: 48px; }
.mst-live [data-slot="table-container"] {
  max-width: 100%;
  border: 1px solid var(--mst-line);
  border-radius: 9px;
  background: #fff;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.mst-live [data-slot="table"] { margin: 0; }
.mst-live [data-slot="table"] :is(th, td) { padding: 12px 15px; }
.mst-live [data-slot="table"] tbody tr:nth-child(even) { background: #f4f8fb; }
.mst-live [data-slot="table"] tbody th { min-width: 120px; }
.mst-live [data-slot="table"] caption { padding: 8px 14px 14px; }
.mst-comparison-hint { display: none; }
.mst-specialist { border-radius: var(--mockup-radius); }

@media (min-width: 801px) {
  .mst-program-grid { row-gap: 0; }
  .mst-program-grid > article {
    display: grid;
    grid-row: span 8;
    grid-template-rows: subgrid;
  }
  .mst-program-grid .mst-program-logo { height: 114px; margin-block: 12px 20px; padding-bottom: 10px; }
  .mst-program-grid .mst-program-logo img { height: 92px; }
  .mst-program-grid .mst-button { justify-self: start; align-self: end; }
}

/* Courses, evidence, and contact */
.mst-academy-intro figure img, .mst-derek-grid > figure > img { border-radius: var(--mockup-radius); }
.mst-academy-intro figcaption { color: var(--mst-muted); font-size: .875rem; }
.mst-course-card { border-radius: var(--mockup-radius); box-shadow: var(--mockup-shadow); }
.mst-course-card p:not(.mst-eyebrow) { font-size: 1rem; line-height: 1.6; }
.mst-course-logo { background: #f3f6f9; }
.mst-outliers { background: var(--mockup-night); }
.mst-membership-grid article, .mst-membership-grid article:nth-child(2) { border-radius: var(--mockup-radius); }
.mst-membership-grid article > small { color: #c5d6e4; font-size: .875rem; }
.mst-review { background: #f8fafc; border-radius: var(--mockup-radius); }
.mst-review-program { color: #4b6376; font-size: .875rem; }
.mst-review blockquote { line-height: 1.65; }
.mst-review figcaption > span, .mst-review figcaption .mst-text-link { font-size: .875rem; }
.mst-review figcaption .mst-text-link { text-decoration: underline; text-underline-offset: 4px; }
.mst-result-46 { border-radius: var(--mockup-radius); }
.mst-result-46 strong { color: #f9b99d; }
.mst-message-grid [data-media-link] { border-radius: 10px; }
.mst-derek { background: #f1f6f9; }
.mst-recognition { border-radius: var(--mockup-radius); }
.mst-questions .mst-accordion { border: 1px solid var(--mst-line); border-radius: var(--mockup-radius); padding-inline: clamp(16px, 2.5vw, 28px); }
.mst-release .mst-questions details:last-child { border-bottom: 0; }
.mst-release .mst-questions details > summary::after, .mst-release .mst-live details > summary::after { color: #375d79; }
.mst-release .mst-questions details > summary:hover, .mst-release .mst-live details > summary:hover { color: #295778; }
.mst-questions details > div { color: var(--mst-muted); }
.mst-contact { background: #25455d; }
.mst-contact .mst-eyebrow { color: #f8bc9f; }
.mst-contact > div > div > p:not(.mst-eyebrow) { color: #d2e0eb; }
.mst-contact .mst-text-link { text-decoration: underline; text-underline-offset: 4px; }

.mst-polish-footer { background: #132331; color: #d4e2ec; padding: 45px 0 19px; }
.mst-polish-footer .mst-footer-shell { width: min(1220px, calc(100% - 56px)); margin-inline: auto; }
.mst-polish-footer .mst-footer-grid { display: grid; grid-template-columns: 1.28fr repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 36px); }
.mst-polish-footer .mst-footer-heading { color: #fff; font-size: .9375rem; font-weight: 650; line-height: 1.4; letter-spacing: 0; margin-bottom: 12px; }
.mst-polish-footer :is(ul, address) { padding: 0; margin: 0; list-style: none; }
.mst-polish-footer li + li { margin-top: 7px; }
.mst-polish-footer :is(a, p, strong) { font-size: .875rem; line-height: 1.55; }
.mst-polish-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.mst-polish-footer .mst-footer-logo { display: inline-block; }
.mst-polish-footer .mst-footer-logo img { width: 140px; height: auto; margin: -12px 0 0 -9px; }
.mst-polish-footer .mst-footer-social { display: flex; gap: 5px; margin-block: 12px; }
.mst-polish-footer .mst-footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #526b7e; border-radius: 8px; }
.mst-polish-footer .mst-footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.mst-polish-footer .mst-footer-contact a { display: block; font-style: normal; overflow-wrap: anywhere; }
.mst-polish-footer .mst-footer-contact span { margin-right: 7px; color: #f2b397; font-weight: 640; }
.mst-polish-footer .mst-footer-outliers-link { color: #f6c0a7; font-weight: 650; }
.mst-polish-footer .mst-footer-outliers p { margin-block: 8px; }
.mst-polish-footer .mst-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 31px; border-top: 1px solid #526b7e; padding-top: 17px; }
.mst-polish-footer .mst-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 1000px) {
  .mst-header > .mst-wrap { min-height: 72px; }
  .mst-header .mst-brand img { width: 135px; height: 57px; }
  .mst-hero h1 { font-size: clamp(2.55rem, 5.5vw, 3.8rem); }
  .mst-hero .mst-actions > .mst-text-link, .mst-hero .mst-actions > .mst-button { padding-inline: 15px; }
  .mst-polish-footer .mst-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; }
  .mst-polish-footer .mst-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .mst-accordion .mst-comparison-hint { display: block; margin: 0 0 8px; color: var(--mst-muted); font-size: .875rem; }
}

@media (max-width: 680px) {
  .mst-header > .mst-wrap { min-height: 66px; }
  .mst-header .mst-brand img { width: 123px; height: 49px; }
  .mst-page section[id], .mst-page #main { scroll-margin-top: 79px; }
  .mst-hero { padding-top: 40px; }
  .mst-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .mst-hero h1 { font-size: clamp(2.35rem, 10.8vw, 3.8rem); }
  .mst-hero .mst-lede { margin-block: 18px !important; }
  .mst-hero .mst-actions > .mst-text-link, .mst-hero .mst-actions > .mst-button { min-height: 46px; padding: 9px 12px; font-size: .875rem; }
  .mst-hero-visual figcaption { padding: 10px 15px; }
  .mst-trust { grid-template-columns: 1fr; gap: 5px; margin-top: 22px; padding-block: 15px 20px; }
  .mst-lead-proof > .mst-wrap { grid-template-columns: 1fr; gap: 16px; }
  .mst-lead-proof figure { padding-top: 16px; }
  .mst-lead-proof blockquote { font-size: 1rem; }
  .mst-live [data-slot="table-container"] { border-inline-end: 3px solid #8ba7bb; }
  .mst-program-grid .mst-button { margin-top: 6px; }
  .mst-polish-footer { padding-top: 33px; }
  .mst-polish-footer .mst-footer-shell { width: calc(100% - 40px); }
  .mst-polish-footer .mst-footer-grid { gap: 23px 18px; }
}
