/* Homepage V3.6 — new copy, typography and mobile text → CTA → mockup.
   Loaded after v3, v32, v33 and v35. */

.ml-hero__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: 0;
}

.ml-hero__title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-weight: 800;
  font-size: clamp(42px, 3.8vw, 60px);
  line-height: 1.11;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.ml-hero__details .ml-hero__description {
  margin: 20px 0 0;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.58;
}

.ml-hero__content > .ml-hero__actions {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 10px;
  margin-top: 22px;
}

.ml-hero__container {
  grid-template-areas: "content" "visual";
}

.ml-hero__visual {
  min-width: 0;
  max-width: 100%;
}

/* Small screens: titles retain the larger V3.1 scale.
   DOM and visual order: eyebrow + H1 + description, actions, mockup. */
@media (max-width: 1023px) {
  .ml-hero__container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "content" "visual";
    gap: 22px;
  }

  .ml-hero__content {
    grid-area: content;
    order: 1;
  }

  .ml-hero__visual {
    grid-area: visual;
    order: 2;
    min-height: 0;
  }

  .ml-hero__content > .ml-hero__actions {
    flex-direction: column;
    margin-top: 18px;
    gap: 9px;
  }

  .ml-hero__content > .ml-hero__actions .ml-hero__button {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 659px) {
  .ml-hero {
    padding-block: 15px 36px;
  }

  .ml-hero__container {
    gap: 18px;
  }

  .ml-hero__eyebrow {
    margin-bottom: 10px;
  }

  .ml-hero__title {
    font-size: clamp(38px, 10vw, 44px);
    line-height: 1.12;
    letter-spacing: -.055em;
  }

  .ml-hero__details .ml-hero__description {
    margin-top: 13px;
    font-size: clamp(16px, 4.15vw, 18px);
    line-height: 1.48;
  }

  .ml-hero__content > .ml-hero__actions {
    margin-top: 18px;
  }
}

@media (min-width: 660px) and (max-width: 1023px) {
  .ml-hero__title {
    font-size: clamp(42px, 5.9vw, 56px);
  }
  .ml-hero__details .ml-hero__description {
    font-size: 17px;
    line-height: 1.55;
  }
}

@media (min-width: 1024px) {
  .ml-hero__container {
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    grid-template-areas: "content visual";
    align-items: center;
  }
  .ml-hero__content {
    grid-area: content;
    align-self: center;
  }
  .ml-hero__visual {
    grid-area: visual;
    align-self: center;
  }
}

/* Blog Phase 23.1 — global navigation logo protection + mobile magazine. */
.site-header .brand,.site-header__brand,.site-header .brand-logo,.mobile-drawer .brand,.ml-footer .brand{
  display:inline-flex!important;align-items:baseline!important;flex-shrink:0!important;
  white-space:nowrap!important;flex-wrap:nowrap!important;width:max-content;min-width:max-content;
}
.site-header .brand span,.mobile-drawer .brand span,.ml-footer .brand span{display:inline!important;flex-shrink:0;white-space:nowrap}
@media(max-width:659px){
  .site-header__inner{min-width:0}
  .site-header .brand{font-size:clamp(20px,5.5vw,24px)}
}

/* V5.0.3 — shared announcement typography; allow wrapping on very narrow phones. */
.announcement .announcement__inner{box-sizing:border-box;min-height:0;padding:10px 16px}
.announcement .announcement__text{font-size:13px;font-weight:500;letter-spacing:.01em;line-height:1.5}
.announcement .announcement__text strong{font-weight:600;white-space:nowrap}
@media(max-width:659px){.announcement .announcement__text{font-size:12px;line-height:1.4}}
