/*
 * Mente Mirror — Modern Refinement Layer
 * Phase 1.70 — Final UI/UX Polish
 *
 * Purpose:
 *   A deliberately subtle visual-system pass on top of mm-site.css.
 *   It preserves existing content, page structure, navigation behaviour,
 *   responsive rules and accessibility while adding a more contemporary
 *   health-tech / premium-care finish.
 *
 * Revert:
 *   Remove this stylesheet from _layouts/mm-default.html.
 */

/* -------------------------------------------------------------------------- */
/* 1. Refined design tokens                                                   */
/* -------------------------------------------------------------------------- */

:root {
  --mm-bg: #fbfafc;
  --mm-surface: #ffffff;
  --mm-soft: #f7f5f8;
  --mm-border: #e7e2e8;
  --mm-border-strong: #d9d1db;

  --mm-surface-tint: #fff8fb;
  --mm-surface-lilac: #faf7fc;
  --mm-surface-warm: #fdf9f6;

  --mm-shadow-soft: 0 6px 22px rgba(35, 28, 40, 0.045);
  --mm-shadow-card: 0 10px 30px rgba(35, 28, 40, 0.065);
  --mm-shadow-card-hover: 0 16px 38px rgba(35, 28, 40, 0.09);
  --mm-shadow-header: 0 10px 34px rgba(35, 28, 40, 0.075);

  --mm-radius-sm: 9px;
  --mm-radius-md: 14px;
  --mm-radius-lg: 20px;
}

/* -------------------------------------------------------------------------- */
/* 2. Typography and page canvas                                              */
/* -------------------------------------------------------------------------- */

html {
  background: var(--mm-bg);
}

body.mm-body {
  background: var(--mm-bg);
  font-family: "Source Sans 3", "Open Sans", Arial, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.002em;
}

.mm-body h1,
.mm-body h2,
.mm-body h3,
.mm-body h4 {
  text-wrap: balance;
}

.mm-body p,
.mm-prose,
.mm-story-copy {
  text-wrap: pretty;
}

.mm-section-heading > p,
.mm-page-hero__content > p {
  line-height: 1.65;
}

/* -------------------------------------------------------------------------- */
/* 3. Header: quiet by default, lightly floating after scroll                 */
/* -------------------------------------------------------------------------- */

.mm-header {
  background: rgba(255, 255, 255, 0.985);
  border-bottom-color: rgba(231, 226, 232, 0.82);
  box-shadow: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mm-header .mm-utility,
.mm-header .mm-nav-shell {
  background: transparent;
}

.mm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.925);
  border-bottom-color: rgba(217, 209, 219, 0.8);
  box-shadow: var(--mm-shadow-header);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
}

.mm-header.menu-open {
  background: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Keep navigation crisp while making active / interactive states feel calmer. */
.mm-nav-link,
.mm-submenu__link {
  text-underline-offset: 4px;
}

.mm-nav-link,
.mm-utility__link,
.mm-submenu__link {
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

/* -------------------------------------------------------------------------- */
/* 4. Hero surfaces: replace hard decorative geometry with soft depth         */
/* -------------------------------------------------------------------------- */

.mm-hero {
  background:
    radial-gradient(circle at 83% 14%, rgba(139, 79, 166, 0.085), transparent 26rem),
    radial-gradient(circle at 67% 92%, rgba(235, 63, 122, 0.055), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #fcfafc 100%);
}

.mm-hero::before {
  width: 34rem;
  height: 24rem;
  top: -11rem;
  right: -10rem;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(235, 63, 122, 0.10) 0%,
      rgba(139, 79, 166, 0.055) 34%,
      rgba(255, 255, 255, 0) 70%
    );
  filter: blur(10px);
  transform: none;
  opacity: 1;
  pointer-events: none;
}

.mm-page-hero {
  background:
    radial-gradient(circle at 88% 14%, rgba(139, 79, 166, 0.07), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #fcfafc 100%);
}

.mm-page-hero::after {
  width: 22rem;
  height: 15rem;
  top: -6rem;
  right: -7rem;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(235, 63, 122, 0.085) 0%,
      rgba(139, 79, 166, 0.04) 38%,
      rgba(255, 255, 255, 0) 72%
    );
  transform: none;
  opacity: 1;
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* 5. Section rhythm: depth through surfaces, not extra whitespace            */
/* -------------------------------------------------------------------------- */

.mm-section--soft {
  background: var(--mm-soft);
}

.mm-section--choice-guide,
.mm-section--assessment-choice {
  background:
    radial-gradient(circle at 12% 18%, rgba(235, 63, 122, 0.04), transparent 18rem),
    linear-gradient(180deg, var(--mm-surface-tint), #ffffff);
}

.mm-section--fees-summary {
  background: var(--mm-surface-warm);
}

/* -------------------------------------------------------------------------- */
/* 6. Card system: flatter information cards, slightly stronger destinations  */
/* -------------------------------------------------------------------------- */

.mm-card,
.mm-support-card,
.mm-program-card,
.mm-audience-decision,
.mm-choice-card,
.mm-assessment-route,
.mm-disclosure,
.mm-privacy-glance article,
.mm-onboarding > li,
.mm-next-steps,
.mm-testimonial-card,
.mm-story-video-wrap {
  border-color: var(--mm-border);
  border-radius: var(--mm-radius-md);
}

.mm-card:not(.mm-card--dark),
.mm-support-card,
.mm-program-card,
.mm-audience-decision,
.mm-disclosure,
.mm-privacy-glance article,
.mm-onboarding > li,
.mm-next-steps,
.mm-testimonial-card {
  box-shadow: var(--mm-shadow-soft);
}

/* Destination / decision elements receive a touch more affordance. */
a.mm-card:not(.mm-card--dark),
.mm-choice-card,
.mm-assessment-route,
.mm-testimonial-card--link {
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease,
    background-color 170ms ease;
}

a.mm-card:not(.mm-card--dark):hover,
.mm-choice-card:hover,
.mm-assessment-route:hover,
.mm-testimonial-card--link:hover {
  transform: translateY(-2px);
  border-color: var(--mm-border-strong);
  box-shadow: var(--mm-shadow-card-hover);
}

.mm-card__icon,
.mm-choice-card__icon,
.mm-assessment-route__icon,
.mm-onboarding__icon,
.mm-support-card__icon,
.mm-program-card__icon {
  background:
    linear-gradient(145deg, rgba(255, 248, 251, 0.96), rgba(250, 247, 252, 0.96));
  border-color: rgba(139, 79, 166, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

/* -------------------------------------------------------------------------- */
/* 7. Buttons: same brand, more controlled finish                             */
/* -------------------------------------------------------------------------- */

.mm-btn,
.mm-appointment {
  border-radius: 10px;
}

.mm-btn--primary,
.mm-appointment {
  box-shadow: 0 8px 20px rgba(177, 17, 101, 0.14);
}

.mm-btn--primary:hover,
.mm-appointment:hover {
  box-shadow: 0 10px 24px rgba(177, 17, 101, 0.19);
}

/* -------------------------------------------------------------------------- */
/* 8. Disclosures: make progressive disclosure feel intentional               */
/* -------------------------------------------------------------------------- */

.mm-disclosure {
  background: #ffffff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.mm-disclosure:hover {
  border-color: var(--mm-border-strong);
  box-shadow: var(--mm-shadow-soft);
}

.mm-disclosure summary {
  border-radius: calc(var(--mm-radius-md) - 1px);
}

.mm-disclosure[open] {
  box-shadow: var(--mm-shadow-card);
}

.mm-disclosure[open] summary {
  background: var(--mm-surface-tint);
}

/* -------------------------------------------------------------------------- */
/* 9. Tables: editorial rather than spreadsheet-like                          */
/* -------------------------------------------------------------------------- */

.mm-assessment-table-wrap,
.mm-testing-table-wrap,
.mm-wells-table-wrap,
.mm-fees-table-wrap {
  overflow: hidden;
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius-md);
  box-shadow: var(--mm-shadow-soft);
  background: #ffffff;
}

.mm-assessment-table thead th,
.mm-testing-table thead th,
.mm-wells-table thead th,
.mm-fees-table thead th {
  letter-spacing: 0.01em;
  text-transform: none;
}

.mm-assessment-table tbody tr:nth-child(even),
.mm-testing-table tbody tr:nth-child(even),
.mm-wells-table tbody tr:nth-child(even),
.mm-fees-table tbody tr:nth-child(even) {
  background: #fdfcfd;
}

.mm-assessment-table tbody tr,
.mm-testing-table tbody tr,
.mm-wells-table tbody tr,
.mm-fees-table tbody tr {
  transition: background-color 140ms ease;
}

.mm-assessment-table tbody tr:hover,
.mm-testing-table tbody tr:hover,
.mm-wells-table tbody tr:hover,
.mm-fees-table tbody tr:hover {
  background: #fff8fb;
}

/* -------------------------------------------------------------------------- */
/* 10. Testimonials: editorial emphasis without changing content or order     */
/* -------------------------------------------------------------------------- */

.mm-testimonial-card--featured {
  background:
    radial-gradient(circle at 95% 0%, rgba(139, 79, 166, 0.055), transparent 13rem),
    linear-gradient(145deg, #ffffff 0%, #fff9fb 100%);
  border-color: var(--mm-border-strong);
  box-shadow: var(--mm-shadow-card);
}

.mm-testimonial-card__type {
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.mm-testimonial-card__photo {
  box-shadow:
    0 0 0 1px rgba(217, 209, 219, 0.9),
    0 7px 18px rgba(35, 28, 40, 0.07);
}

/* -------------------------------------------------------------------------- */
/* 11. Our Story: a quieter editorial presentation                           */
/* -------------------------------------------------------------------------- */

.mm-our-story-page .mm-story-copy {
  max-width: 58rem;
  line-height: 1.76;
}

.mm-our-story-page .mm-story-copy p {
  text-align: left;
}

.mm-our-story-page .mm-story-video-wrap {
  padding: 7px;
  background: #ffffff;
  box-shadow: var(--mm-shadow-card);
}

.mm-our-story-page .mm-story-video {
  border-radius: 10px;
}

.mm-our-story-page .mm-story-mission {
  background:
    radial-gradient(circle at 94% 10%, rgba(139, 79, 166, 0.055), transparent 16rem),
    linear-gradient(180deg, #fff9fb, #ffffff);
}

/* -------------------------------------------------------------------------- */
/* 12. Privacy / trust surfaces                                               */
/* -------------------------------------------------------------------------- */

.mm-privacy-glance article {
  background: rgba(255, 255, 255, 0.94);
}

.mm-trust-note,
.mm-privacy-note,
.mm-boundary-note {
  border-radius: var(--mm-radius-md);
}

/* -------------------------------------------------------------------------- */
/* 13. Fine interaction polish                                                */
/* -------------------------------------------------------------------------- */

.mm-card__arrow,
.mm-choice-card__arrow,
.mm-assessment-route__arrow,
.mm-submenu__arrow {
  transition: transform 160ms ease;
}

a.mm-card:hover .mm-card__arrow,
.mm-choice-card:hover .mm-choice-card__arrow,
.mm-assessment-route:hover .mm-assessment-route__arrow {
  transform: translateX(3px);
}

/* Keep keyboard focus more visible than hover styling. */
.mm-body :focus-visible {
  outline-offset: 4px;
}

/* -------------------------------------------------------------------------- */
/* 14. Responsive safeguards                                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .mm-header.is-scrolled {
    background: rgba(255, 255, 255, 0.965);
    -webkit-backdrop-filter: blur(10px) saturate(1.05);
    backdrop-filter: blur(10px) saturate(1.05);
  }

  /* Existing mobile table rules may intentionally remove the scroll wrapper.
     Do not force desktop clipping/radii where the base stylesheet changes mode. */
  .mm-assessment-table-wrap,
  .mm-testing-table-wrap,
  .mm-wells-table-wrap,
  .mm-fees-table-wrap {
    border-radius: 12px;
  }

  .mm-hero::before,
  .mm-page-hero::after {
    opacity: 0.68;
  }
}

/* -------------------------------------------------------------------------- */
/* 15. Accessibility                                                          */
/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .mm-header,
  a.mm-card:not(.mm-card--dark),
  .mm-choice-card,
  .mm-assessment-route,
  .mm-testimonial-card--link,
  .mm-disclosure,
  .mm-card__arrow,
  .mm-choice-card__arrow,
  .mm-assessment-route__arrow,
  .mm-submenu__arrow {
    transition: none !important;
  }
}
/* ========================================================================== */
/* 16. Final UI/UX polish                                                     */
/*     1) compact header on scroll                                            */
/*     2) Mjuzi mini mega-menu                                                */
/*     3) lighter homepage need-selector                                      */
/*     4) testimonial filters                                                 */
/*     5) connected five-step journey                                         */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 16.1 Compact header after scroll                                           */
/* -------------------------------------------------------------------------- */

/*
 * The logo currently lives inside .mm-utility, so the row is deliberately
 * compressed rather than removed. Secondary utility content disappears while
 * the brand and appointment path remain available.
 */
@media (min-width: 921px) {
  .mm-header .mm-utility__inner {
    transition:
      min-height 180ms ease,
      padding 180ms ease;
  }

  .mm-header .mm-brand__logo {
    transition:
      max-height 180ms ease,
      max-width 180ms ease;
  }

  .mm-header .mm-utility__message,
  .mm-header .mm-phone {
    transition:
      opacity 130ms ease,
      visibility 130ms ease,
      transform 180ms ease;
  }

  .mm-header.is-scrolled .mm-utility__inner {
    min-height: 54px;
  }

  .mm-header.is-scrolled .mm-brand__logo {
    max-height: 49px;
    max-width: 205px;
  }

  .mm-header.is-scrolled .mm-utility__message,
  .mm-header.is-scrolled .mm-phone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    width: 0;
    margin: 0;
    overflow: hidden;
  }

  .mm-header.is-scrolled .mm-utility__right {
    gap: 8px;
  }

  .mm-header.is-scrolled .mm-appointment {
    min-height: 36px;
    padding-inline: 14px;
    font-size: .75rem;
  }

  .mm-header.is-scrolled .mm-header__inner {
    min-height: 52px;
  }

  .mm-header.is-scrolled .mm-nav__item > a {
    padding-top: 15px;
    padding-bottom: 14px;
  }
}

/* -------------------------------------------------------------------------- */
/* 16.2 Mjuzi: desktop two-column mini mega-menu                              */
/* -------------------------------------------------------------------------- */

@media (min-width: 921px) {
  .mm-nav__item--mjuzi-mega {
    position: relative;
  }

  .mm-nav__item--mjuzi-mega > .mm-submenu {
    width: min(570px, calc(100vw - 48px));
    min-width: 570px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 9px;
    padding: 11px;
    border-top-width: 3px;
    border-radius: 0 0 15px 15px;
  }

  .mm-nav__item--mjuzi-mega:hover > .mm-submenu,
  .mm-nav__item--mjuzi-mega:focus-within > .mm-submenu,
  .mm-nav__item--mjuzi-mega.submenu-open > .mm-submenu {
    display: grid;
  }

  .mm-nav__item--mjuzi-mega > .mm-submenu > .mm-submenu__item {
    min-width: 0;
  }

  .mm-nav__item--mjuzi-mega > .mm-submenu > .mm-submenu__item > a {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  /*
   * Wearable signals become an inline grouped row inside the mega-menu instead
   * of opening another floating panel over the second column.
   */
  .mm-nav__item--mjuzi-mega > .mm-submenu > .mm-submenu__item.has-children {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 3px 0;
    padding: 3px;
    border: 1px solid #eee8ef;
    border-radius: 11px;
    background: #fcfafc;
  }

  .mm-nav__item--mjuzi-mega > .mm-submenu > .mm-submenu__item.has-children > a {
    min-height: 36px;
    padding: 7px 10px 6px;
    font-weight: 700;
  }

  .mm-nav__item--mjuzi-mega > .mm-submenu > .mm-submenu__item.has-children >
  .mm-submenu-toggle--nested {
    display: none;
  }

  .mm-nav__item--mjuzi-mega > .mm-submenu > .mm-submenu__item.has-children >
  .mm-submenu--nested {
    position: static;
    display: grid !important;
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 6px 5px 5px;
    border: 0;
    border-top: 1px solid #eee8ef;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .mm-nav__item--mjuzi-mega .mm-submenu--nested .mm-submenu__item {
    display: block;
    min-width: 0;
  }

  .mm-nav__item--mjuzi-mega .mm-submenu--nested a {
    min-height: 0;
    padding: 7px 5px;
    text-align: center;
    font-size: .75rem;
    white-space: normal;
  }
}

/* -------------------------------------------------------------------------- */
/* 16.3 Homepage: lighter "choose by what you need" selector                  */
/* -------------------------------------------------------------------------- */

.mm-section--choice-guide {
  padding-top: 38px;
  padding-bottom: 42px;
  background: #fbfafc;
  border-top: 1px solid #f0ecf1;
  border-bottom: 1px solid #f0ecf1;
}

.mm-section--choice-guide .mm-section-heading {
  margin-bottom: 23px;
}

.mm-section--choice-guide .mm-section-heading h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.mm-section--choice-guide .mm-section-heading p {
  max-width: 720px;
  font-size: .94rem;
}

.mm-section--choice-guide .mm-choice-grid {
  gap: 10px;
}

.mm-section--choice-guide .mm-choice-card {
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  gap: 10px;
  padding: 14px 15px;
  border-color: #ece7ed;
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  box-shadow: none;
}

.mm-section--choice-guide .mm-choice-card:hover {
  transform: translateY(-1px);
  border-color: #d9cbd3;
  background: #ffffff;
  box-shadow: 0 7px 17px rgba(53, 38, 56, .055);
}

.mm-section--choice-guide .mm-choice-card > span {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #fff5f8;
}

.mm-section--choice-guide .mm-choice-card svg {
  width: 17px;
  height: 17px;
}

.mm-section--choice-guide .mm-choice-card strong {
  font-size: .9rem;
}

.mm-section--choice-guide .mm-choice-card small {
  margin-top: 2px;
  font-size: .78rem;
  line-height: 1.4;
}

.mm-section--choice-guide .mm-choice-card > b {
  align-self: center;
  font-size: .98rem;
}

.mm-section--choice-guide .mm-choice-guide__start {
  margin-top: 15px;
}

/* -------------------------------------------------------------------------- */
/* 16.4 Testimonial filters                                                   */
/* -------------------------------------------------------------------------- */

.mm-testimonial-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 26px 0 4px;
}

.mm-testimonial-filters__label {
  margin-right: 3px;
  color: #716975;
  font-size: .78rem;
  font-weight: 600;
}

.mm-testimonial-filter {
  appearance: none;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #e2dce4;
  border-radius: 999px;
  background: #ffffff;
  color: #5b535e;
  font-family: "Source Sans 3", "Open Sans", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    color 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.mm-testimonial-filter:hover {
  border-color: #cbbdc6;
  color: var(--mm-primary-deep);
}

.mm-testimonial-filter[aria-pressed="true"] {
  border-color: rgba(177, 17, 101, .23);
  background: #fff0f5;
  color: #9e1559;
  box-shadow: inset 0 0 0 1px rgba(177, 17, 101, .035);
}

.mm-testimonial-filter:focus-visible {
  outline: 2px solid var(--mm-primary);
  outline-offset: 3px;
}

.mm-testimonial-card[hidden] {
  display: none !important;
}

/* Avoid a large visual jump between filters and the existing grid. */
.mm-testimonial-filters + .mm-testimonial-grid {
  margin-top: 22px;
}

/* -------------------------------------------------------------------------- */
/* 16.5 Five-step journey: one connected path                                 */
/* -------------------------------------------------------------------------- */

@media (min-width: 921px) {
  .mm-journey li {
    z-index: 0;
  }

  .mm-journey li:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    top: 24px;
    left: calc(50% + 31px);
    right: calc(-50% + 31px);
    height: 1px;
    background:
      linear-gradient(
        90deg,
        rgba(235, 63, 122, .34),
        rgba(139, 79, 166, .28)
      );
  }

  .mm-journey__number {
    position: relative;
    z-index: 1;
    border-radius: 50%;
    box-shadow: 0 0 0 7px var(--mm-bg);
  }

  .mm-section--soft .mm-journey__number {
    box-shadow: 0 0 0 7px var(--mm-soft);
  }
}

/* -------------------------------------------------------------------------- */
/* 16.6 Responsive safeguards for the final polish                            */
/* -------------------------------------------------------------------------- */

@media (max-width: 920px) {
  /* Mobile keeps the proven accordion navigation instead of mega-menu rules. */
  .mm-nav__item--mjuzi-mega > .mm-submenu {
    width: auto;
    min-width: 0;
  }

  .mm-section--choice-guide {
    padding-top: 34px;
    padding-bottom: 37px;
  }
}

@media (max-width: 640px) {
  .mm-testimonial-filters {
    gap: 7px;
    margin-top: 22px;
  }

  .mm-testimonial-filters__label {
    flex-basis: 100%;
    margin-bottom: 1px;
  }

  .mm-testimonial-filter {
    min-height: 32px;
    padding-inline: 10px;
    font-size: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-header .mm-utility__inner,
  .mm-header .mm-brand__logo,
  .mm-header .mm-utility__message,
  .mm-header .mm-phone,
  .mm-testimonial-filter {
    transition: none !important;
  }
}

/* ========================================================================== */
/* 17. Homepage hero composition refinement                                   */
/*     Stable 3-line headline + compact, independently spaced right-side copy  */
/* ========================================================================== */

@media (min-width: 921px) {
  .mm-home .mm-hero {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .mm-home .mm-hero__copy {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "title intro"
      "actions tertiary";
    column-gap: clamp(30px, 3.5vw, 44px);
    row-gap: 8px;
    align-items: start;
  }

  .mm-home .mm-hero__copy > .mm-eyebrow {
    grid-area: eyebrow;
    margin-bottom: 8px;
    letter-spacing: .12em;
  }

  .mm-home .mm-hero__copy > h1 {
    grid-area: title;
    width: 100%;
    max-width: none;
    margin: 3px 0 2px;
    font-size: clamp(2.7rem, 3.55vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: -.035em;
  }

  .mm-home .mm-hero__headline-line {
    display: block;
    white-space: nowrap;
  }

  .mm-home .mm-hero__intro {
    grid-area: intro;
    align-self: start;
    max-width: 35rem;
    padding-top: 2px;
  }

  .mm-home .mm-hero__lead {
    position: relative;
    margin: 0;
    padding-left: 18px;
    max-width: 35rem;
    font-size: clamp(1.03rem, 1.28vw, 1.16rem);
    line-height: 1.42;
    font-weight: 600;
    color: var(--mm-heading);
  }

  .mm-home .mm-hero__lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 2px;
    height: calc(100% - .35em);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--mm-primary), var(--mm-purple));
    opacity: .72;
  }

  .mm-home .mm-hero__support {
    max-width: 35rem;
    margin: 22px 0 0;
    font-size: .9rem;
    line-height: 1.5;
  }

  .mm-home .mm-actions--hero {
    grid-area: actions;
    gap: 10px;
    margin-top: 16px;
    align-self: start;
  }

  .mm-home .mm-actions--hero .mm-btn {
    min-height: 44px;
    padding: 11px 19px;
  }

  .mm-home .mm-hero__tertiary-row {
    grid-area: tertiary;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    min-height: 44px;
    margin-top: 16px;
    align-items: center;
    justify-content: flex-start;
  }

  .mm-home .mm-hero__tertiary,
  .mm-home .mm-hero__start-link {
    margin-top: 0;
    font-size: .9rem;
    line-height: 1.35;
  }

  .mm-home .mm-hero__start-link {
    text-underline-offset: 4px;
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  .mm-home .mm-hero__copy {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    column-gap: 28px;
  }

  .mm-home .mm-hero__copy > h1 {
    font-size: clamp(2.55rem, 4vw, 3rem);
  }

  .mm-home .mm-actions--hero .mm-btn {
    padding-inline: 15px;
  }
}

@media (max-width: 920px) {
  .mm-home .mm-hero__headline-line {
    display: inline;
    white-space: normal;
  }

  .mm-home .mm-hero__intro {
    display: contents;
  }

  .mm-home .mm-hero__lead {
    padding-left: 0;
  }

  .mm-home .mm-hero__lead::before {
    display: none;
  }
}
