/* ============================================================
 * MARTYN'S LAW — page styling (design system v2)
 * OnSite product page → leads with the violet identity colour
 * (#614DBA) per the colour-ownership rule. Shared full-photo
 * hero · key-facts split · violet capability band · FAQ
 * accordion · violet final board. Loads after home-v2.css.
 * ============================================================ */

/* ---------- hero ---------- */
/* plain navy hero with a ghost hexagon top-right (no photo) — matches the
   product-page hero treatment (Rebecca, 23 Jul). Photo/scrim hidden, not
   deleted, so it's reversible. */
.hero2--ml .hero2__frame {
  min-height: var(--hero-h);
  /* same 1360px wide-screen content cap as the product pages and the shared
     cutout hero, so this page lines up with them on a monitor (Rebecca, 28 Jul:
     all pages bar the home page follow the product layout). Without it this
     hero's copy started 78px in at 1920px while every other page started at
     358px. */
  padding-inline: var(--hero-inset);
}
.hero2--ml .hero2__photo,
.hero2--ml .hero2__scrim { display: none; }
.hero2__copy--ml { max-width: 64rem; padding-bottom: clamp(56px, 7.5vh, 80px); } /* trimmed so the hero matches the shared site height (Rebecca 23 Jul) */
/* shallower proof-tile straddle so this hero is the same height as the rest,
   while the key-fact tiles still hang off the hero base (Rebecca, 23 Jul) */
.band--mlfacts .proofrow { margin-top: -40px; }
.ml-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ge-violet-4, #614DBA);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ml-eyebrow img { height: 16px; width: auto; }
/* the headline highlight is the site-signature pill, not the page's violet
   (Rebecca, 4 Aug — every highlight pill matches the home hero's). The rest
   of this page still leads violet; only the pill is standardised. */
.hero2__copy--ml h1 .mark { background: var(--ge-blue-3, #D9F4FF); color: var(--ge-blue, #1B367E); }
.ml-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- key facts band (white, receives hanging tiles) ---------- */
.band--mlfacts { background: #fff; padding-bottom: clamp(64px, 8vw, 110px); }
.proof__icon--ml { background: var(--ge-violet-1, #F6F4FF); color: var(--ge-violet-4, #614DBA); }

/* what-is-it split */
.ml-what {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
  margin-top: clamp(56px, 7vw, 96px);
}
.ml-what__copy h2 { margin: 0 0 16px; color: var(--ge-navy, #0F1438); }
.ml-what__lead {
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ge-navy, #0F1438);
  margin: 0 0 16px;
}
.ml-what__copy p:not(.ml-what__lead) { margin: 0 0 16px; font-size: 16.5px; line-height: 1.65; color: #2A3352; max-width: 60ch; }

/* Home Office quote — violet card */
.ml-quote {
  margin: clamp(24px, 3vw, 40px) 0 0;
  background: var(--ge-violet-4, #614DBA);
  color: #fff;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
}
.ml-quote blockquote {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
}
.ml-quote figcaption { margin-top: 12px; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); }

/* key-facts card */
.ml-facts {
  position: sticky;
  top: 100px;
  background: var(--ge-violet-1, #F6F4FF);
  border: 1px solid var(--ge-violet-2, #E8E4F9);
  border-radius: 24px;
  padding: clamp(24px, 2.5vw, 36px);
}
.ml-facts h3 { margin: 0 0 16px; font-size: 19px; color: var(--ge-navy, #0F1438); }
.ml-facts dl { margin: 0; }
.ml-facts dl > div {
  display: grid;
  grid-template-columns: minmax(110px, 40%) 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--ge-violet-2, #E8E4F9);
}
.ml-facts dl > div:first-child { border-top: none; padding-top: 0; }
.ml-facts dt { font-size: 13.5px; font-weight: 700; color: var(--ge-violet-4, #614DBA); }
.ml-facts dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: #2A3352; }

/* ---------- capability band (violet colour-block) ---------- */
.band--mlviolet {
  background: var(--ge-violet-4, #614DBA);
  color: #fff;
  padding: clamp(80px, 9vw, 140px) 0;
}
.band--mlviolet .bandhead { padding-top: 0; }
.band--mlviolet .bandhead h2 { color: #fff; }
.band--mlviolet .bandhead p { color: rgba(255, 255, 255, 0.85); }
.ml-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(32px, 3.5vw, 52px);
}
.ml-cap {
  background: #fff;
  border-radius: 24px;
  padding: clamp(22px, 2.2vw, 32px);
  transition: transform 220ms var(--hv2-ease), box-shadow 220ms var(--hv2-ease);
}
.ml-cap:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(15, 20, 56, 0.28); }
.ml-cap__ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--ge-violet-1, #F6F4FF);
  color: var(--ge-violet-4, #614DBA);
  margin-bottom: 14px;
}
.ml-cap__ico svg { width: 21px; height: 21px; }
.ml-cap h3 { margin: 0 0 8px; font-size: 17.5px; color: var(--ge-navy, #0F1438); }
.ml-cap p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #4A5876; }
.ml-honest {
  margin: clamp(28px, 3vw, 44px) auto 0;
  max-width: 72ch;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- FAQ ---------- */
.ml-faqs { background: var(--ge-bg-light, #F3F7FA); padding: clamp(80px, 9vw, 140px) 0 clamp(56px, 7vw, 96px); }
.ml-faqs .bandhead { padding-top: 0; }
.ml-faqlist { max-width: 860px; }
.ml-faq {
  background: #fff;
  /* stroke -> soft shadow, 4 Aug brand review (one tile treatment sitewide) */
  box-shadow: var(--tile-shadow);
  border-radius: var(--tile-radius);   /* was 18px */
  margin-bottom: 12px;
  overflow: hidden;
}
.ml-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ge-navy, #0F1438);
  cursor: pointer;
  list-style: none;
}
.ml-faq summary::-webkit-details-marker { display: none; }
.ml-faq summary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(47, 183, 241, 0.45); border-radius: var(--tile-radius); }
.ml-faq__chev {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: var(--ge-violet-1, #F6F4FF);
  color: var(--ge-violet-4, #614DBA);
  transition: transform 220ms var(--hv2-ease);
}
.ml-faq__chev svg { width: 15px; height: 15px; }
.ml-faq[open] .ml-faq__chev { transform: rotate(180deg); }
.ml-faq__body { padding: 0 22px 20px; }
.ml-faq__body p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; color: #2A3352; max-width: 72ch; }
.ml-faq__body p:last-child { margin-bottom: 0; }
.ml-resources { margin: clamp(24px, 3vw, 36px) 0 0; font-size: 14.5px; color: #4A5876; }
.ml-resources a {
  color: var(--ge-blue, #1B367E);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.ml-resources a:hover { color: var(--ge-navy, #0F1438); }
/* The site's standard "→" on every underlined link — Rebecca's call, 28 Jul
   ("use the arrow i wanted"), overriding my suggestion of an outward "↗" for
   these outbound links. inline-block keeps the underline from running beneath
   the arrow and stops it breaking onto its own line. */
.ml-resources a::after {
  content: "\2192";
  display: inline-block;
  margin-left: 3px;
  font-size: 0.86em;
  transition: transform 200ms var(--hv2-ease);
}
.ml-resources a:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .ml-resources a::after { transition: none; }
}
.ml-disclaimer { margin: 10px 0 0; font-size: 13px; color: #6B7689; }

/* ---------- final CTA — violet board ---------- */
.ml-final {
  background: #fff;
  padding: clamp(48px, 6vw, 88px) 0 clamp(280px, 22vw, 380px); /* room for the footer contact card */
}
.ml-final__board {
  position: relative;
  overflow: hidden;
  background: var(--ge-violet-4, #614DBA);
  border-radius: clamp(20px, 2.5vw, 34px);
  padding: clamp(40px, 6vw, 90px) clamp(28px, 4vw, 72px);
  text-align: center;
  color: #fff;
}
.ml-final__board h2 { margin: 0 0 14px; color: #fff; }
.ml-final__board > p { margin: 0 auto; max-width: 54ch; color: rgba(255, 255, 255, 0.88); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.ml-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(28px, 3vw, 40px); }
.ml-final__wm {
  position: absolute;
  right: -4%;
  bottom: -30%;
  width: 30%;
  opacity: 0.08;
  pointer-events: none;
}
.ml-final__wm img { width: 100%; height: auto; }
.ml-final__board > *:not(.ml-final__wm) { position: relative; z-index: 1; }

/* ---------- responsive ---------- */
@media (max-width: 980px) { .ml-caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .ml-what { grid-template-columns: 1fr; }
  .ml-facts { position: static; }
}
@media (max-width: 560px) { .ml-caps { grid-template-columns: 1fr; } }
