/* ==========================================================================
   MaxMindSecurity — page compositions
   Built from the primitives in core.css. Every page shares these blocks;
   pages differ by which blocks they use and in what order, not by having
   their own private styling language.
   ========================================================================== */

/* ====================================================== home hero */
.mm-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(120% 90% at 78% 8%, var(--mm-accent-soft) 0%, transparent 58%),
    radial-gradient(90% 70% at 8% 100%, rgba(255, 211, 111, .08) 0%, transparent 60%),
    var(--mm-bg);
  border-bottom: 1px solid var(--mm-line);
}
.mm-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}
.mm-hero h1 {
  font-size: var(--mm-fs-display);
  font-weight: 700;
  letter-spacing: -.032em;
  line-height: 1.06;
  margin-top: 20px;
  max-width: 17ch;
}
.mm-hero-lead {
  margin-top: 20px;
  font-size: var(--mm-fs-lead);
  line-height: 1.68;
  color: var(--mm-text-2);
  max-width: 54ch;
}
.mm-hero-actions { margin-top: 30px; }
.mm-hero-proof {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--mm-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
}
.mm-hero-proof p { font-size: 13.5px; color: var(--mm-text-3); }

@media (max-width: 980px) {
  .mm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .mm-hero h1 { max-width: 20ch; }
}

/* ---- hero diagram: the request path the services actually protect ---- */
.mm-diagram {
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, .028);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  box-shadow: var(--mm-shadow-3);
  display: grid;
  gap: 12px;
}
.mm-diagram-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mm-line);
}
.mm-diagram-head strong {
  font-family: var(--mm-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mm-text-3);
}
.mm-diagram-head .mm-badge { margin-left: auto; }

.mm-layer {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .028);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-sm);
  transition: border-color .25s ease, background-color .25s ease;
}
.mm-layer:hover { border-color: var(--mm-accent-line); background: var(--mm-accent-soft); }
.mm-layer-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--mm-accent-soft);
  border: 1px solid var(--mm-accent-line);
  color: var(--mm-accent);
}
.mm-layer-ico svg { width: 17px; height: 17px; }
.mm-layer strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--mm-text); }
.mm-layer span { display: block; font-size: 12.5px; color: var(--mm-text-3); line-height: 1.45; margin-top: 2px; }
.mm-layer-tag {
  font-family: var(--mm-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mm-accent);
  white-space: nowrap;
}
.mm-diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 14px;
  color: var(--mm-accent);
  opacity: .5;
}
.mm-diagram-flow svg { width: 12px; height: 12px; }
.mm-diagram-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--mm-line);
}
.mm-diagram-foot span {
  font-family: var(--mm-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mm-text-3);
  padding: 4px 9px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-pill);
}

/* Signal sweep across the diagram — slow, low contrast, decoration only. */
.mm-diagram::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--mm-r-lg);
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(109, 255, 198, .09) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000, #000);
  animation: mm-sweep 7s linear infinite;
  opacity: .8;
}
@keyframes mm-sweep {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .mm-diagram::after { display: none; }
}

/* ====================================================== interior hero */
.mm-phero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 5.5vw, 78px);
  background:
    radial-gradient(110% 90% at 82% 0%, var(--mm-accent-soft) 0%, transparent 60%),
    var(--mm-bg);
  border-bottom: 1px solid var(--mm-line);
}
.mm-phero-inner { position: relative; }
.mm-phero .mm-crumbs { margin-bottom: 22px; }
.mm-phero .mm-eyebrow { margin-bottom: 14px; }
.mm-phero h1 { font-size: var(--mm-fs-h1); font-weight: 700; letter-spacing: -.03em; max-width: 21ch; }
.mm-phero-lead { margin-top: 18px; font-size: var(--mm-fs-lead); line-height: 1.68; color: var(--mm-text-2); max-width: 62ch; }
.mm-phero .mm-actions { margin-top: 28px; }

.mm-phero-facts {
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.mm-phero-facts > div {
  padding: 12px 18px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-sm);
  background: rgba(255, 255, 255, .03);
  min-width: 148px;
}
.mm-phero-facts dt { font-size: 19px; font-weight: 700; color: var(--mm-text); letter-spacing: -.02em; }
.mm-phero-facts dd { margin: 3px 0 0; font-size: 13px; color: var(--mm-text-3); }

/* Wide variant for pages that carry a supporting panel beside the copy. */
.mm-phero-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
@media (max-width: 900px) {
  .mm-phero-split { grid-template-columns: minmax(0, 1fr); }
}

/* ====================================================== single service hero */
.mm-svc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(26px, 3vw, 40px);
  background:
    radial-gradient(ellipse at 92% 25%, rgba(109, 255, 198, .14), transparent 56%),
    radial-gradient(ellipse at 6% 86%, rgba(255, 211, 111, .08), transparent 52%),
    #0a0f20;
  border-bottom: 1px solid var(--mm-line-2);
}
.mm-svc-hero > .mm-wrap { position: relative; }
.mm-svc-hero .mm-crumbs { position: relative; z-index: 2; font-size: 12px; }
.mm-svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(42px, 5vw, 72px) clamp(48px, 5.5vw, 80px);
}
.mm-svc-hero-copy { position: relative; z-index: 2; }
.mm-svc-hero-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffd36f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mm-svc-hero-category svg { width: 19px; height: 19px; }
.mm-svc-hero h1 {
  max-width: 16ch;
  margin-top: 22px;
  font-size: clamp(40px, 4.7vw, 66px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.04;
  text-wrap: balance;
}
.mm-svc-hero .mm-svc-hero-statement {
  max-width: 32ch;
  margin-top: 22px;
  color: #bffff0;
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.4;
  text-wrap: pretty;
}
.mm-svc-hero .mm-svc-hero-lead {
  max-width: 53ch;
  margin-top: 20px;
  color: #b8bfd6;
  font-size: 16px;
  line-height: 1.85;
}
.mm-svc-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.mm-svc-hero-actions .mm-btn { min-height: 54px; padding: 16px 23px; gap: 20px; border-radius: 10px; font-size: 14px; }
.mm-svc-hero-primary { background: #6dffc6; border-color: #6dffc6; color: #07100d; }
.mm-svc-hero-primary:hover { background: #9dffda; border-color: #9dffda; transform: translateY(-2px); box-shadow: 0 8px 28px -12px rgba(52, 211, 153, .66); }
.mm-svc-hero-secondary { background: rgba(10, 15, 32, .55); border-color: rgba(255, 255, 255, .24); color: #f3f4ff; }
.mm-svc-hero-secondary:hover { background: rgba(255, 255, 255, .08); border-color: #6dffc6; }
.mm-svc-hero .mm-svc-hero-note { margin-top: 16px; color: #9ba5c2; font-size: 12px; line-height: 1.6; }
.mm-svc-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
  min-height: 480px;
  padding-top: 270px;
}
.mm-svc-hero-media {
  position: absolute;
  z-index: 0;
  inset: -50px -120px 20px -90px;
  margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 82%, transparent);
}
.mm-svc-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .86; }
.mm-svc-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a0f20, transparent 20%, transparent 55%, #0a0f20 100%);
  pointer-events: none;
}
.mm-svc-hero-focus {
  position: relative;
  width: min(100%, 420px);
  padding: 24px 26px;
  border: 1px solid rgba(109, 255, 198, .24);
  border-radius: 16px;
  background: rgba(14, 21, 42, .94);
  box-shadow: 0 20px 60px -24px rgba(0, 0, 0, .55);
}
.mm-svc-hero-focus-label { color: #ffd36f; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mm-svc-hero-focus ul { display: grid; gap: 16px; list-style: none; padding: 0; margin: 18px 0 0; }
.mm-svc-hero-focus li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; color: #f1f3ff; font-size: 14px; font-weight: 500; line-height: 1.55; }
.mm-svc-hero-focus li svg { width: 20px; height: 20px; margin-top: 1px; color: #6dffc6; }
.mm-svc-hero-assurance {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 28px;
  list-style: none;
  margin: 0;
  padding: 25px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.mm-svc-hero-assurance li { display: flex; align-items: center; gap: 12px; color: #b8bfd6; font-size: 13px; line-height: 1.5; }
.mm-svc-hero-assurance svg { width: 20px; height: 20px; color: #6dffc6; }
@media (max-width: 1000px) {
  .mm-svc-hero-grid { gap: 30px; }
  .mm-svc-hero h1 { font-size: clamp(40px, 5.3vw, 54px); }
  .mm-svc-hero-focus { padding: 22px; }
  .mm-svc-hero-actions { gap: 12px; }
  .mm-svc-hero-actions .mm-btn { padding-inline: 18px; gap: 12px; }
}
@media (max-width: 760px) {
  .mm-svc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 38px 32px; }
  .mm-svc-hero h1 { max-width: 19ch; font-size: clamp(38px, 7vw, 54px); text-wrap: pretty; }
  .mm-svc-hero .mm-svc-hero-statement { max-width: 38ch; font-size: 23px; }
  .mm-svc-hero .mm-svc-hero-lead { max-width: 60ch; }
  .mm-svc-hero-visual { display: block; min-height: 0; padding-top: 0; }
  .mm-svc-hero-media { position: relative; inset: auto; aspect-ratio: 16 / 9; mask-image: none; -webkit-mask-image: none; overflow: hidden; border-radius: 16px 16px 0 0; }
  .mm-svc-hero-media::after { background: linear-gradient(180deg, transparent 65%, #0e152a); }
  .mm-svc-hero-media img { opacity: 1; }
  .mm-svc-hero-focus { width: 100%; border-top: 0; border-radius: 0 0 16px 16px; background: #0e152a; box-shadow: none; }
  .mm-svc-hero-assurance { justify-content: flex-start; gap: 18px 30px; }
}
@media (max-width: 420px) {
  .mm-svc-hero .mm-crumbs { font-size: 11px; gap: 7px; }
  .mm-svc-hero-category { font-size: 10px; letter-spacing: .08em; }
  .mm-svc-hero h1 { margin-top: 18px; font-size: clamp(34px, 10vw, 40px); }
  .mm-svc-hero .mm-svc-hero-statement { font-size: 21px; margin-top: 18px; }
  .mm-svc-hero .mm-svc-hero-lead { font-size: 15px; line-height: 1.8; }
  .mm-svc-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .mm-svc-hero-actions .mm-btn { justify-content: space-between; }
  .mm-svc-hero .mm-svc-hero-note { font-size: 11px; }
  .mm-svc-hero-focus { padding: 22px 20px; }
  .mm-svc-hero-assurance { display: grid; gap: 18px; }
  .mm-svc-hero-assurance li { font-size: 12px; }
}

/* ====================================================== trust strip */
.mm-trust { padding-block: clamp(30px, 3.4vw, 46px); border-bottom: 1px solid var(--mm-line); background: var(--mm-bg); }
.mm-trust-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-bottom: 20px;
}
.mm-trust-head p { font-size: var(--mm-fs-sm); color: var(--mm-text-3); }
.mm-trust-names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.mm-trust-names li {
  padding: 9px 16px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-sm);
  background: var(--mm-surface);
  color: var(--mm-text-2);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: border-color .18s ease, color .18s ease;
}
.mm-trust-names li:hover { border-color: var(--mm-accent-line); color: var(--mm-text); }

/* ====================================================== service lines */
/* Rows rather than equal-height cards: the lines hold very different numbers
   of services, and a grid of cards leaves the short ones mostly empty. */
.mm-lines { display: grid; }
.mm-line-row {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(24px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--mm-line);
}
.mm-lines .mm-line-row:last-child { border-bottom: 1px solid var(--mm-line); }
.mm-line-head { display: grid; gap: 12px; align-content: start; }
.mm-line-head h3 { font-size: 19px; font-weight: 600; }
.mm-line-head p { color: var(--mm-text-2); font-size: 14.5px; line-height: 1.62; }
.mm-line-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  align-items: start;
}
.mm-line-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-sm);
  background: var(--mm-surface);
  color: var(--mm-text);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease;
}
.mm-line-links a svg { color: var(--mm-text-3); transition: color .18s ease, transform .18s ease; }
.mm-line-links a:hover {
  border-color: var(--mm-accent-line);
  background: var(--mm-accent-soft);
  color: var(--mm-accent);
  transform: translateY(-1px);
}
.mm-line-links a:hover svg { color: var(--mm-accent); }
@media (max-width: 820px) {
  .mm-line-row { grid-template-columns: minmax(0, 1fr); }
}

/* ====================================================== split blocks */
.mm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.mm-split-body { display: grid; gap: 22px; align-content: start; }
.mm-split-media {
  margin: 0;
  border-radius: var(--mm-r-lg);
  overflow: hidden;
  border: 1px solid var(--mm-line);
  background: var(--mm-surface);
  box-shadow: var(--mm-shadow-2);
}
.mm-split-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mm-split-media figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--mm-line);
  font-size: 13.5px;
  color: var(--mm-text-3);
}
.mm-split-reverse .mm-split-media { order: -1; }
.mm-split-top { align-items: start; }
/* Picture matches the height of the copy beside it instead of floating in the middle. */
.mm-split-fill { align-items: stretch; }
.mm-split-fill .mm-split-media { position: relative; min-height: 340px; }
.mm-split-fill .mm-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 900px) {
  .mm-split-fill .mm-split-media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .mm-split { grid-template-columns: minmax(0, 1fr); }
  .mm-split-reverse .mm-split-media { order: 0; }
}

/* status strip used over the WordPress imagery */
.mm-status-list { display: grid; gap: 1px; background: var(--mm-line); border: 1px solid var(--mm-line); border-radius: var(--mm-r-sm); overflow: hidden; }
.mm-status-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--mm-surface);
  font-size: 14px;
}
.mm-status-list strong { font-weight: 500; color: var(--mm-text); }
.mm-status-list .mm-badge { margin-left: auto; }

/* feature rows (icon + text) */
.mm-features { display: grid; gap: 18px; }
.mm-feature { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; align-items: start; }
.mm-feature h3 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.mm-feature p { color: var(--mm-text-2); font-size: 14.5px; line-height: 1.65; }

/* ====================================================== stats band */
.mm-stats {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 5vw, 72px);
  background: var(--mm-bg);
  border-block: 1px solid var(--mm-line);
}
.mm-stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}
.mm-stat strong {
  display: block;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--mm-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.mm-stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--mm-text-2); line-height: 1.5; }
@media (max-width: 860px) { .mm-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ====================================================== services index */
html:has(.mm-jump) {
  scroll-padding-top: calc(var(--mm-jump-header-h, var(--mm-header-h)) + var(--mm-jump-h, 66px) + 16px);
}
.mm-jump {
  position: sticky;
  top: var(--mm-jump-header-h, var(--mm-header-h));
  z-index: 40;
  background: color-mix(in srgb, var(--mm-bg) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mm-line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .mm-jump { background: var(--mm-bg); } }
.mm-jump-shell { position: relative; }
.mm-jump-toggle { display: none; }
.mm-jump-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-block: 10px;
}
.mm-jump a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--mm-r-xs);
  color: var(--mm-text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  transition: background-color .16s ease, color .16s ease;
}
.mm-jump a:hover { background: var(--mm-surface-2); color: var(--mm-accent); }
.mm-jump a[aria-current="location"] { background: var(--mm-accent-soft); color: var(--mm-accent); }
/* A disclosure closed without JavaScript can still be reopened after resize. */
@media (min-width: 901px) {
  .mm-jump-menu:not([open]) .mm-jump-toggle { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding-block: 10px; cursor: pointer; }
  .mm-jump-menu:not([open]) .mm-jump-toggle-copy { display: flex; gap: 12px; }
}
@media (max-width: 900px) {
  .mm-jump { background: var(--mm-bg); }
  .mm-jump-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
    padding-block: 10px;
    color: var(--mm-text);
    cursor: pointer;
    list-style: none;
  }
  .mm-jump-toggle::-webkit-details-marker { display: none; }
  .mm-jump-toggle-copy { display: grid; gap: 2px; min-width: 0; }
  .mm-jump-label { color: var(--mm-text-2); font-size: 11px; line-height: 1.5; }
  .mm-jump-current { color: var(--mm-accent); font-size: 14px; font-weight: 700; line-height: 1.5; }
  .mm-jump-toggle > svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    border: 1px solid var(--mm-line-2);
    border-radius: 9px;
    color: var(--mm-accent);
    background: var(--mm-surface-2);
  }
  .mm-jump-menu[open] .mm-jump-toggle > svg { transform: rotate(180deg); }
  .mm-jump-inner {
    position: absolute;
    top: 100%;
    inset-inline: var(--mm-gutter);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-height: calc(100vh - var(--mm-jump-header-h, var(--mm-header-h)) - 90px);
    max-height: calc(100dvh - var(--mm-jump-header-h, var(--mm-header-h)) - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    border: 1px solid var(--mm-line-2);
    border-radius: 0 0 14px 14px;
    background: var(--mm-bg);
    box-shadow: var(--mm-shadow-2);
  }
  .mm-jump a { min-width: 0; min-height: 48px; padding: 12px; font-size: 13px; overflow-wrap: anywhere; }
  .mm-jump a:focus-visible { outline-offset: -3px; }
}

.mm-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
@media (max-width: 1000px) { .mm-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .mm-svc-grid { grid-template-columns: minmax(0, 1fr); } }

.mm-svc-card {
  display: flex;
  flex-direction: column;
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r);
  overflow: hidden;
  box-shadow: var(--mm-hairline);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.mm-svc-card:hover { border-color: var(--mm-accent-line); transform: translateY(-2px); box-shadow: var(--mm-shadow-2), var(--mm-hairline); }
.mm-svc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mm-surface-2); }
.mm-svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.mm-svc-card:hover .mm-svc-media img { transform: scale(1.04); }
.mm-svc-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 20, .12) 0%, rgba(7, 10, 20, .74) 100%);
}
.mm-svc-media .mm-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  background: rgba(7, 10, 20, .74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #bffff0;
  border-color: rgba(109, 255, 198, .38);
}
.mm-svc-body { padding: 20px 22px; display: grid; gap: 11px; align-content: start; flex: 1 1 auto; }
.mm-svc-body h3 { font-size: 18px; font-weight: 600; }
.mm-svc-body > p { color: var(--mm-text-2); font-size: 14.5px; line-height: 1.62; }
.mm-svc-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mm-svc-areas li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--mm-text-3);
  line-height: 1.5;
}
.mm-svc-areas li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 1px;
  background: var(--mm-accent);
}
.mm-svc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid var(--mm-line);
  background: var(--mm-surface-2);
}
.mm-svc-foot a { font-size: 14px; }

/* single-service feature block */
.mm-svc-feature {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
}
.mm-svc-feature-media { margin: 0; border-radius: var(--mm-r); overflow: hidden; border: 1px solid var(--mm-line); }
.mm-svc-feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mm-svc-feature-body { display: grid; gap: 16px; align-content: start; }
@media (max-width: 900px) { .mm-svc-feature { grid-template-columns: minmax(0, 1fr); } }

/* ====================================================== service detail */
.mm-sd-overview {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: start;
}
.mm-sd-overview p { font-size: var(--mm-fs-lead); line-height: 1.72; color: var(--mm-text-2); }
@media (max-width: 900px) { .mm-sd-overview { grid-template-columns: minmax(0, 1fr); } }

.mm-sd-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(26px, 3.5vw, 56px); align-items: stretch; }
.mm-sd-story-copy { display: grid; gap: 16px; align-content: start; }
.mm-sd-story-copy p { color: var(--mm-text-2); line-height: 1.75; }
/* The picture fills the full height of the text column beside it. */
.mm-sd-story .mm-sd-media { position: relative; min-height: 340px; }
.mm-sd-story .mm-sd-media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 900px) {
  .mm-sd-story { grid-template-columns: minmax(0, 1fr); }
  .mm-sd-story .mm-sd-media { min-height: 0; aspect-ratio: 16 / 10; }
}

.mm-sd-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 760px) { .mm-sd-fit { grid-template-columns: minmax(0, 1fr); } }

.mm-sd-reading { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(26px, 3.5vw, 60px); align-items: start; }
.mm-sd-reading-copy { display: grid; gap: 26px; max-width: 74ch; }
.mm-sd-reading-copy h3 { font-size: 18px; font-weight: 600; margin-bottom: 9px; }
.mm-sd-reading-copy p { color: var(--mm-text-2); line-height: 1.75; }
@media (max-width: 900px) { .mm-sd-reading { grid-template-columns: minmax(0, 1fr); } }

.mm-sd-quote { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(26px, 3.5vw, 52px); align-items: start; }
@media (max-width: 900px) { .mm-sd-quote { grid-template-columns: minmax(0, 1fr); } }
.mm-sd-quote-panel { display: grid; gap: 16px; align-content: start; }
.mm-sd-quote-panel h3 { font-size: 19px; }
.mm-sd-quote-panel p { color: var(--mm-text-2); font-size: 15px; line-height: 1.65; }
.mm-sd-quote-panel small { color: var(--mm-text-3); font-size: 13.5px; }
.mm-sd-inputs {
  padding: 16px 18px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-sm);
  background: var(--mm-surface-2);
}
.mm-sd-inputs strong { display: block; font-size: 14px; margin-bottom: 10px; color: var(--mm-text); }

.mm-sd-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
@media (max-width: 1000px) { .mm-sd-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .mm-sd-related { grid-template-columns: minmax(0, 1fr); } }
.mm-sd-related a {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.mm-sd-related a:hover { border-color: var(--mm-accent-line); transform: translateY(-2px); }
.mm-sd-related span {
  font-family: var(--mm-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mm-accent);
}
.mm-sd-related strong { font-size: 16px; font-weight: 600; color: var(--mm-text); }
.mm-sd-related p { font-size: 13.5px; color: var(--mm-text-2); line-height: 1.55; }

.mm-source { margin-top: 18px; font-size: 13.5px; color: var(--mm-text-3); }
.mm-source a { color: var(--mm-accent); }

.mm-sd-media { margin: 0; border-radius: var(--mm-r-lg); overflow: hidden; border: 1px solid var(--mm-line); box-shadow: var(--mm-shadow-2); }
.mm-sd-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ====================================================== form layouts */
.mm-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
@media (max-width: 940px) { .mm-form-layout { grid-template-columns: minmax(0, 1fr); } }
.mm-aside { display: grid; gap: 16px; align-content: start; }
.mm-aside-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r);
}
.mm-aside-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.mm-aside-item p { color: var(--mm-text-2); font-size: 14.5px; line-height: 1.62; }
.mm-aside-item p + p { margin-top: 9px; }
.mm-aside-item a { color: var(--mm-accent); text-decoration: none; }
.mm-aside-item a:hover { text-decoration: underline; }

.mm-next { counter-reset: mm-next; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.mm-next li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.mm-next li::before {
  counter-increment: mm-next;
  content: counter(mm-next);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--mm-accent-line);
  background: var(--mm-accent-soft);
  color: var(--mm-accent);
  font-family: var(--mm-mono);
  font-size: 12px;
}
.mm-next strong { display: block; color: var(--mm-text); font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.mm-next p { color: var(--mm-text-2); font-size: 14.5px; line-height: 1.6; }

/* ====================================================== reading page */
.mm-reading { max-width: var(--mm-wrap-read); }
.mm-reading h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 38px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--mm-line);
}
.mm-reading h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.mm-reading p { color: var(--mm-text-2); line-height: 1.78; margin-bottom: 16px; }
.mm-reading a { color: var(--mm-accent); }
.mm-reading .mm-note {
  padding: 16px 18px;
  border: 1px solid var(--mm-accent-line);
  background: var(--mm-accent-soft);
  border-radius: var(--mm-r-sm);
  color: var(--mm-text);
  font-size: 14.5px;
  line-height: 1.65;
}
.mm-reading-meta { font-size: 13.5px; color: var(--mm-text-3); }

/* ====================================================== confirmation */
.mm-confirm {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.mm-confirm-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1px solid var(--mm-accent-line);
  background: var(--mm-accent-soft);
  color: var(--mm-accent);
}
.mm-confirm-mark svg { width: 28px; height: 28px; }
.mm-confirm p { color: var(--mm-text-2); line-height: 1.72; }
.mm-confirm .mm-actions { justify-content: center; margin-top: 8px; }

/* ====================================================== error page */
.mm-error {
  min-height: 62vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding-block: clamp(60px, 8vw, 110px);
}
.mm-error-code {
  font-family: var(--mm-mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mm-accent);
}
.mm-error p { color: var(--mm-text-2); max-width: 52ch; line-height: 1.7; }
.mm-error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--mm-line);
  width: min(100%, 460px);
}

/* ====================================================== plan cards */
.mm-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.mm-plan { display: grid; gap: 14px; align-content: start; padding: 24px; background: var(--mm-surface); border: 1px solid var(--mm-line); border-radius: var(--mm-r); }
.mm-plan h3 { font-size: 18px; }
.mm-plan > p { color: var(--mm-text-2); font-size: 14.5px; line-height: 1.6; }
.mm-plan-price { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--mm-text); }
.mm-plan-price small { font-size: 14px; font-weight: 500; color: var(--mm-text-3); margin-left: 4px; }
.mm-plan-note { font-size: 13px; color: var(--mm-text-3); }

/* ====================================================== auth screens */
.mm-auth-screen {
  position: relative;
  min-height: calc(100vh - var(--mm-header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(24px, 3.2vw, 42px);
  background:
    radial-gradient(circle at 18% 16%, rgba(109, 255, 198, .16), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(255, 211, 111, .10), transparent 30%),
    linear-gradient(135deg, #040908 0%, #07120f 48%, #0b0d08 100%);
}
.mm-auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .72fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: stretch;
}
.mm-auth-visual,
.mm-auth-card {
  border: 1px solid rgba(109, 255, 198, .18);
  background: rgba(5, 15, 12, .78);
  box-shadow: 0 34px 100px -46px rgba(0, 0, 0, .9);
  backdrop-filter: blur(18px);
}
.mm-auth-visual {
  min-height: 530px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  overflow: hidden;
  border-radius: var(--mm-r-lg);
}
.mm-auth-image {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.mm-auth-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(5, 15, 12, .92) 100%),
    linear-gradient(90deg, rgba(5, 15, 12, .16), transparent 56%);
}
.mm-auth-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.mm-auth-brand {
  display: grid;
  gap: 16px;
  padding: 0 clamp(24px, 3vw, 38px) 26px;
}
.mm-auth-brand p {
  max-width: 58ch;
  color: var(--mm-text-2);
  font-size: 15px;
  line-height: 1.7;
}
.mm-auth-signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(109, 255, 198, .14);
  background: rgba(109, 255, 198, .12);
}
.mm-auth-signal-list > div {
  min-height: 92px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  background: rgba(4, 12, 10, .86);
  color: var(--mm-text-2);
  font-size: 13px;
  line-height: 1.45;
}
.mm-auth-signal-list .mm-icon { color: var(--mm-accent); font-size: 20px; }
.mm-auth-card {
  align-self: center;
  display: grid;
  gap: 15px;
  padding: clamp(22px, 2.2vw, 34px);
  border-radius: var(--mm-r);
}
.mm-auth-card-head {
  display: grid;
  gap: 12px;
}
.mm-auth-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mm-grad);
  color: var(--mm-text-on-fill);
  box-shadow: var(--mm-glow);
}
.mm-auth-icon .mm-icon { font-size: 22px; }
.mm-auth-card h1 {
  max-width: 12ch;
  font-size: clamp(30px, 2.6vw, 40px);
  letter-spacing: -.034em;
}
.mm-auth-card-head p {
  color: var(--mm-text-2);
  font-size: 15px;
  line-height: 1.62;
}
.mm-auth-form { gap: 13px; }
.mm-auth-form .mm-field { gap: 7px; }
.mm-auth-form .mm-field input {
  min-height: 48px;
  padding-block: 12px;
}
.mm-auth-screen .mm-auth-form .mm-field input {
  background: rgba(7, 10, 20, .94);
  border-color: rgba(109, 255, 198, .22);
  color: #f3f4ff;
  caret-color: var(--mm-accent);
}
html[data-theme='light'] .mm-auth-screen .mm-auth-form .mm-field input,
html[data-theme='light'] .mm-auth-screen .mm-auth-form .mm-field input:focus {
  background: rgba(7, 10, 20, .94);
  color: #f3f4ff;
}
.mm-auth-screen .mm-auth-form .mm-field input:focus {
  background: rgba(9, 18, 24, .96);
  border-color: var(--mm-accent);
}
.mm-auth-screen .mm-auth-form .mm-field input::placeholder { color: #8e96b8; }
.mm-auth-screen .mm-auth-form .mm-field input::selection {
  background: var(--mm-accent);
  color: var(--mm-text-on-fill);
}
.mm-auth-screen .mm-auth-form .mm-field input:-webkit-autofill,
.mm-auth-screen .mm-auth-form .mm-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f3f4ff;
  box-shadow: 0 0 0 1000px #070a14 inset, var(--mm-ring);
  caret-color: var(--mm-accent);
  transition: background-color 9999s ease-in-out 0s;
}
.mm-auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
}
.mm-auth-row .mm-check {
  grid-template-columns: 20px auto;
  font-size: 14px;
}
.mm-auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 6px;
  color: var(--mm-text-2);
  font-size: 14px;
}
.mm-auth-links a,
.mm-auth-privacy a { color: var(--mm-accent); font-weight: 700; }
.mm-auth-links span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mm-line-2);
}
.mm-auth-privacy {
  padding-top: 14px;
  border-top: 1px solid var(--mm-line);
  color: var(--mm-text-3);
  font-size: 13px;
  line-height: 1.6;
}
html[data-theme='light'] .mm-auth-screen { color-scheme: dark; }
@media (max-width: 980px) {
  .mm-auth-shell { grid-template-columns: minmax(0, 1fr); }
  .mm-auth-visual { min-height: auto; }
  .mm-auth-card { align-self: stretch; }
}
@media (max-width: 680px) {
  .mm-auth-screen { padding-block: 28px 44px; }
  .mm-auth-shell { gap: 14px; }
  .mm-auth-image,
  .mm-auth-image img { min-height: 210px; }
  .mm-auth-brand { padding: 0 20px 20px; }
  .mm-auth-card { padding: 24px 20px; }
  .mm-auth-card h1 { max-width: 14ch; }
  .mm-auth-signal-list { grid-template-columns: minmax(0, 1fr); }
  .mm-auth-signal-list > div {
    min-height: 0;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    padding: 14px 18px;
  }
}


/* ------------------------------------------------------ motion refresh */
/* Inner page heroes: crumbs, heading, lead and actions rise in sequence. */
.mm-phero-inner > * { animation: mm-rise .75s cubic-bezier(.22, .61, .36, 1) both; }
.mm-phero-inner > :nth-child(2) { animation-delay: .08s; }
.mm-phero-inner > :nth-child(3) { animation-delay: .16s; }
.mm-phero-inner > :nth-child(4) { animation-delay: .24s; }
.mm-phero-inner > :nth-child(5) { animation-delay: .32s; }
.mm-phero-inner > :nth-child(n+6) { animation-delay: .4s; }

/* Steps and numbered cards lift a touch on hover. */
.mm-step-n, .mm-card-num { transition: transform .25s ease, box-shadow .25s ease; }
.mm-steps li:hover .mm-step-n { transform: translateY(-2px) scale(1.04); }


/* ------------------------------------------- service page: embedded quote form */
.mm-sd-quote-panel { scroll-margin-top: calc(var(--mm-header-h) + 20px); }
.mm-sd-quote-panel .mm-quote-fields { margin-top: 4px; }
.mm-quote-compact .mm-form { gap: 14px; }
.mm-quote-compact .mm-form-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.mm-quote-compact textarea { min-height: 104px; }
.mm-quote-compact .mm-form-foot { display: grid; gap: 10px; }
.mm-quote-compact .mm-form-foot .mm-btn { width: 100%; }
.mm-quote-compact .mm-form-foot small { text-align: center; }
.mm-quote-compact .mm-quote-done { padding: 8px 0; }
@media (min-width: 1100px) {
  .mm-quote-compact .mm-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}





/* ------------------------------------------- service page: questions */
.mm-sd-faq-section {
  background: var(--mm-bg-alt);
  border-block: 1px solid var(--mm-line);
}
.mm-sd-faq-wrap {
  max-width: 920px;
}
.mm-sd-q-header {
  max-width: 760px;
  margin-bottom: 24px;
}
.mm-sd-q-label {
  display: block;
  margin-bottom: 10px;
  color: var(--mm-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}
.mm-sd-q-header .mm-h2 {
  max-width: 24ch;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.18;
}
.mm-sd-q-header .mm-lead {
  margin-top: 12px;
  max-width: 66ch;
  font-size: 15.5px;
  line-height: 1.65;
}
.mm-faq.mm-sd-qa {
  gap: 0;
  border-top: 1px solid var(--mm-line-2);
}
.mm-faq.mm-sd-qa details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mm-line-2);
  border-radius: 0;
  box-shadow: none;
}
.mm-faq.mm-sd-qa details:hover,
.mm-faq.mm-sd-qa details[open] {
  border-color: var(--mm-line-2);
  box-shadow: none;
}
.mm-faq.mm-sd-qa summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  min-height: 0;
  padding: 17px 2px;
  color: var(--mm-text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.42;
  cursor: pointer;
}
.mm-faq.mm-sd-qa summary::after { display: none; }
.mm-faq.mm-sd-qa details[open] summary,
.mm-faq.mm-sd-qa summary:hover {
  color: var(--mm-accent);
}
.mm-faq.mm-sd-qa summary:focus-visible {
  outline: 2px solid var(--mm-accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.mm-sd-q-t {
  min-width: 0;
}
.mm-sd-q-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--mm-line-2);
  background: var(--mm-surface);
}
.mm-sd-q-mark::before,
.mm-sd-q-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--mm-accent);
  transition: opacity .2s ease, transform .2s ease;
}
.mm-sd-q-mark::after { transform: rotate(90deg); }
.mm-faq.mm-sd-qa details[open] .mm-sd-q-mark::after {
  opacity: 0;
  transform: none;
}
.mm-sd-q-answer {
  margin: 0;
  padding: 0 42px 18px 2px;
}
.mm-faq.mm-sd-qa .mm-sd-q-answer p {
  padding: 0;
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.68;
}
.mm-sd-q-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: var(--mm-text-2);
  font-size: 15px;
}
@media (max-width: 560px) {
  .mm-sd-q-header { margin-bottom: 18px; }
  .mm-sd-q-header .mm-lead { font-size: 15px; }
  .mm-faq.mm-sd-qa summary {
    grid-template-columns: minmax(0, 1fr) 22px;
    padding-block: 15px;
    font-size: 15.5px;
  }
  .mm-sd-q-answer { padding-right: 34px; }
  .mm-faq.mm-sd-qa .mm-sd-q-answer p { font-size: 14.5px; }
}


/* ------------------------------------------------------------- blog */
.mm-blog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.mm-blog-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.mm-blog-cats a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  color: var(--mm-text-2);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.mm-blog-cats a:hover,
.mm-blog-cats a[aria-current='page'] {
  border-color: var(--mm-accent);
  background: color-mix(in srgb, var(--mm-accent) 12%, transparent);
  color: var(--mm-text);
}
.mm-blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--mm-line);
}
.mm-blog-feature-media,
.mm-blog-card-media,
.mm-blog-article-media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  background: var(--mm-surface);
}
.mm-blog-feature-media img,
.mm-blog-card-media img,
.mm-blog-article-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mm-blog-feature-media { aspect-ratio: 16 / 9; }
.mm-blog-feature-copy span,
.mm-blog-card span,
.mm-blog-meta {
  color: var(--mm-text-3);
  font-size: 13px;
  font-weight: 700;
}
.mm-blog-feature-copy h3 {
  margin: 12px 0;
  max-width: 15ch;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}
.mm-blog-feature-copy h3 a,
.mm-blog-card h3 a {
  color: var(--mm-text);
  text-decoration: none;
}
.mm-blog-feature-copy h3 a:hover,
.mm-blog-card h3 a:hover {
  color: var(--mm-accent);
}
.mm-blog-feature-copy p,
.mm-blog-card p,
.mm-blog-empty p {
  color: var(--mm-text-2);
}
.mm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.mm-blog-card {
  min-width: 0;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  background: var(--mm-surface);
  overflow: hidden;
}
.mm-blog-card-media {
  border: 0;
  border-bottom: 1px solid var(--mm-line);
  border-radius: 0;
  aspect-ratio: 16 / 9;
}
.mm-blog-card > div {
  padding: 18px;
}
.mm-blog-card h3 {
  margin: 9px 0 10px;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0;
}
.mm-blog-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
.mm-blog-empty {
  grid-column: 1 / -1;
  padding: 44px 24px;
  border: 1px dashed var(--mm-line);
  border-radius: 8px;
  text-align: center;
}
.mm-blog-empty h2 {
  margin-bottom: 8px;
  font-size: 24px;
}
.mm-blog-pager {
  margin-top: 28px;
}
.mm-blog-pager .pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--mm-text-3);
}
.mm-blog-pager .pager a {
  color: var(--mm-accent);
  font-weight: 800;
  text-decoration: none;
}
.mm-blog-article-head {
  padding: clamp(58px, 7vw, 96px) 0 clamp(110px, 12vw, 170px);
  background:
    radial-gradient(circle at 72% 15%, rgba(65, 225, 170, .16), transparent 28%),
    linear-gradient(145deg, #07110f 0%, #080c0f 65%, #151407 100%);
}
.mm-blog-article-head h1 {
  max-width: 920px;
  margin: 18px 0;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}
.mm-blog-article-head p {
  max-width: 760px;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}
.mm-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .66);
}
.mm-blog-article-visual {
  position: relative;
  z-index: 1;
  margin-top: clamp(-95px, -8vw, -60px);
}
.mm-blog-article-media {
  margin: 0;
  border: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
}
.mm-blog-article-media img {
  height: auto;
  object-fit: contain;
}
.mm-blog-self-check {
  margin-block: 36px;
  padding-block: 24px;
  border-block: 1px solid var(--mm-line);
}
.mm-blog-self-check > h2 { margin-top: 0; }
.mm-blog-self-check > p { color: var(--mm-text-2); font-size: 15px; }
.mm-blog-self-check details { border-top: 1px solid var(--mm-line); }
.mm-blog-self-check summary {
  padding: 16px 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--mm-text);
}
.mm-blog-self-check summary::marker { color: var(--mm-accent); }
.mm-blog-self-check summary:hover { background: var(--mm-surface); }
.mm-blog-self-check summary:focus-visible { outline: 2px solid var(--mm-accent); outline-offset: 2px; }
.mm-blog-self-check details > div { padding: 0 8px 16px; font-size: 16px; }
.mm-blog-self-check details p { margin-bottom: 12px; }
.mm-blog-self-check details p:last-child { margin-bottom: 0; }
.mm-blog-related {
  padding-block: 44px 52px;
  border-top: 1px solid var(--mm-line);
  background: var(--mm-bg);
}
.mm-blog-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.mm-blog-related-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: 0;
}
.mm-blog-related-head > a,
.mm-blog-related-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mm-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.mm-blog-related-head > a { flex-shrink: 0; }
.mm-blog-related-head svg,
.mm-blog-related-read svg { width: 16px; height: 16px; }
.mm-blog-related-head > a:hover,
.mm-blog-related-read:hover { text-decoration: underline; }
.mm-blog-related-grid {
  display: grid;
  grid-template-columns: repeat(var(--related-columns), minmax(0, 1fr));
  gap: 24px;
}
.mm-blog-related-grid .mm-blog-card {
  display: flex;
  flex-direction: column;
}
.mm-blog-related-grid .mm-blog-related-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 22px;
}
.mm-blog-related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--mm-text-2);
  font-size: 12px;
  line-height: 1.5;
}
.mm-blog-related-meta span { color: var(--mm-accent); font-size: inherit; }
.mm-blog-related-grid h3 { margin: 12px 0; }
.mm-blog-related-grid p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}
.mm-blog-related-read { margin-top: auto; }
.mm-blog-related-single .mm-blog-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
}
.mm-blog-related-single .mm-blog-card-media { border: 0; }
.mm-blog-related-single .mm-blog-related-copy { padding: 28px 32px; }
.mm-blog-related-single h3 { max-width: 30ch; font-size: 24px; }
@media (max-width: 980px) {
  .mm-blog-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-blog-related-single { grid-template-columns: 1fr; }
  .mm-blog-related-single .mm-blog-related-copy { padding: 22px; }
  .mm-blog-related-single h3 { font-size: 21px; }
}
@media (max-width: 640px) {
  .mm-blog-related { padding-block: 32px; }
  .mm-blog-related-head { gap: 12px; margin-bottom: 20px; }
  .mm-blog-related-head h2 { font-size: 22px; }
  .mm-blog-related-grid,
  .mm-blog-related-single .mm-blog-card { grid-template-columns: 1fr; }
}
.mm-blog-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 320px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-block: clamp(46px, 6vw, 82px);
}
.mm-blog-content {
  color: var(--mm-text);
  font-size: 18px;
  line-height: 1.82;
}
.mm-blog-content p {
  margin: 0 0 24px;
}
.mm-blog-content h2,
.mm-blog-content h3 {
  margin: 42px 0 14px;
  color: var(--mm-text);
  line-height: 1.25;
  letter-spacing: 0;
}
.mm-blog-content h2 { font-size: clamp(26px, 2.4vw, 34px); }
.mm-blog-content h3 { font-size: clamp(21px, 1.8vw, 26px); }
.mm-blog-content ul,
.mm-blog-content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding-left: 24px;
}
.mm-blog-content li {
  padding-left: 4px;
}
.mm-blog-content blockquote {
  margin: 34px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--mm-accent);
  background: var(--mm-surface);
  color: var(--mm-text-2);
  border-radius: 0 8px 8px 0;
}
.mm-blog-content a {
  color: var(--mm-accent);
  font-weight: 750;
}
.mm-blog-share {
  display: grid;
  gap: 18px;
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: 24px;
  border-top: 1px solid var(--mm-line);
}
.mm-blog-share h2 {
  margin: 8px 0 0;
  max-width: 26ch;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.22;
  letter-spacing: 0;
}
.mm-blog-share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.mm-blog-share-actions a,
.mm-blog-share-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  background: var(--mm-surface);
  color: var(--mm-text);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.mm-blog-share-actions button {
  border-color: var(--mm-accent-line);
  background: var(--mm-accent-soft);
  color: var(--mm-accent);
}
.mm-blog-share-actions a:hover,
.mm-blog-share-actions button:hover {
  border-color: var(--mm-accent);
  background: var(--mm-accent);
  color: var(--mm-text-on-fill);
  transform: translateY(-1px);
}
.mm-blog-share-actions .mm-blog-share-icon {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border-color: var(--mm-line-2);
  background: var(--mm-surface);
  color: var(--mm-text);
}
.mm-blog-share-actions .mm-blog-share-icon .mm-icon {
  width: 17px;
  height: 17px;
}
.mm-blog-share-actions .mm-blog-share-icon:hover {
  border-color: var(--mm-accent);
  background: var(--mm-text);
  color: var(--mm-bg);
}
.mm-blog-share-actions .mm-blog-copy-link {
  margin-left: 2px;
}
.mm-blog-share-actions a:focus-visible,
.mm-blog-share-actions button:focus-visible {
  outline: 2px solid var(--mm-accent);
  outline-offset: 3px;
}
.mm-blog-share-status {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--mm-text-3);
  font-size: 13px;
  line-height: 1.4;
}
.mm-blog-aside {
  position: sticky;
  top: calc(var(--mm-header-h) + 22px);
}
.mm-blog-aside > div {
  padding: 22px;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  background: var(--mm-surface);
}
.mm-blog-aside h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}
.mm-blog-aside p {
  color: var(--mm-text-2);
  font-size: 14px;
  line-height: 1.65;
}
.mm-blog-category-panel {
  display: grid;
  gap: 14px;
}
.mm-blog-category-panel .mm-eyebrow {
  margin-bottom: -2px;
}
.mm-blog-category-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.mm-blog-category-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  color: var(--mm-text);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.mm-blog-category-list a:hover,
.mm-blog-category-list a[aria-current='page'] {
  border-color: var(--mm-accent-line);
  background: var(--mm-accent-soft);
  color: var(--mm-accent);
}
.mm-blog-category-list span {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.mm-blog-category-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mm-surface-2);
  color: var(--mm-text-2);
  font-size: 12px;
  font-weight: 800;
}
.mm-blog-category-list a:hover strong,
.mm-blog-category-list a[aria-current='page'] strong {
  background: var(--mm-accent);
  color: var(--mm-text-on-fill);
}
@media (max-width: 980px) {
  .mm-blog-head,
  .mm-blog-feature,
  .mm-blog-article-grid {
    grid-template-columns: 1fr;
  }
  .mm-blog-head {
    align-items: start;
    flex-direction: column;
  }
  .mm-blog-cats {
    justify-content: flex-start;
  }
  .mm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mm-blog-aside {
    position: static;
  }
}
@media (max-width: 640px) {
  .mm-blog-grid {
    grid-template-columns: 1fr;
  }
  .mm-blog-feature-copy h3 {
    max-width: none;
  }
  .mm-blog-article-head {
    padding-bottom: 90px;
  }
  .mm-blog-content {
    font-size: 16px;
    line-height: 1.75;
  }
}
