 :root {
  --mha-footer-bg: var(--brand, #111827);
  --mha-footer-bg-alt: var(--brand-2, #1f2937);
  --mha-footer-text: #cbd5e1;
  --mha-footer-heading: #ffffff;
  --mha-footer-accent: var(--accent, #e11d48);
  --mha-footer-accent-hover: var(--accent-hover, #be123c);
  --mha-footer-border: rgba(255,255,255,.10);
  --mha-footer-muted: #94a3b8;
}

.mha-footer * { box-sizing: border-box; }
.mha-footer {
  background: var(--mha-footer-bg);
  color: var(--mha-footer-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}
.mha-footer a { color: var(--mha-footer-text); text-decoration: none; transition: color .15s ease; }
.mha-footer a:hover { color: var(--mha-footer-accent-hover); }
.mha-footer a:focus-visible { outline: 2px solid var(--mha-footer-accent); outline-offset: 2px; border-radius: 2px; }

.mha-footer__cta { background: var(--mha-footer-bg-alt); border-bottom: 1px solid var(--mha-footer-border); }
.mha-footer__cta-inner { width: min(var(--container-max, 1200px), calc(100% - var(--container-gutter-total, 48px))); max-width: none; margin: 0 auto; padding: 36px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.mha-footer__cta h3 { margin: 0 0 4px; color: var(--mha-footer-heading); font-size: 18px; font-weight: 600; }
.mha-footer__cta p { margin: 0; color: var(--mha-footer-muted); font-size: 14px; }
.mha-footer__notice { margin-top: 7px !important; color: #b7f5e7 !important; }
.mha-footer__notice--error { color: #ffd0d0 !important; }
.mha-footer__form { display: flex; gap: 8px; flex-wrap: wrap; }
.mha-footer__form input[type="email"] { background: rgba(255,255,255,.06); border: 1px solid var(--mha-footer-border); border-radius: 6px; padding: 10px 14px; color: var(--mha-footer-heading); font-size: 14px; min-width: 220px; }
.mha-footer__form input[type="email"]::placeholder { color: var(--mha-footer-muted); }
.mha-footer__form button { background: var(--mha-footer-accent); color: #fff; border: none; border-radius: 6px; padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s ease; }
.mha-footer__form button:hover { background: var(--mha-footer-accent-hover); }
.mha-footer__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.mha-footer__main { width: min(var(--container-max, 1200px), calc(100% - var(--container-gutter-total, 48px))); max-width: none; margin: 0 auto; padding: 48px 0 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.mha-footer__brand p { color: var(--mha-footer-muted); font-size: 14px; max-width: 280px; margin: 10px 0 20px; }
.mha-footer__brand-name { color: var(--mha-footer-heading); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mha-footer__social { display: flex; gap: 10px; }
.mha-footer__social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; }
.mha-footer__social a:hover { background: var(--mha-footer-accent); }
.mha-footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.mha-footer__col h4 { color: var(--mha-footer-heading); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; }
.mha-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mha-footer__col ul li a { font-size: 14px; }
.mha-footer__bottom { border-top: 1px solid var(--mha-footer-border); }
.mha-footer__bottom-inner { width: min(var(--container-max, 1200px), calc(100% - var(--container-gutter-total, 48px))); max-width: none; margin: 0 auto; padding: 18px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mha-footer-muted); }
.mha-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.mha-footer__legal a { color: var(--mha-footer-muted); font-size: 13px; }
.mha-footer__legal a:hover { color: var(--mha-footer-text); }

.mha-content-page { padding-top: 46px; padding-bottom: 70px; }
.mha-content-page__container { width:min(var(--container-max,1200px),calc(100% - var(--container-gutter-total,48px))); max-width:980px; margin-inline:auto; }
.mha-content-page__hero { background: var(--surface,#fff); border: 1px solid var(--line,#dfe4ea); border-radius: 20px; padding: 38px 42px; margin-bottom: 22px; }
.mha-content-page__eyebrow { color: var(--accent,#e11d48); font-size: 13px; font-weight: 800; letter-spacing: .08em; margin-bottom: 10px; }
.mha-content-page__hero h1 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; }
.mha-content-page__intro { margin: 0; color: var(--muted,#64748b); font-size: 18px; line-height: 1.65; max-width: 820px; }
.mha-content-page__updated { margin-top: 16px; color: var(--muted,#64748b); font-size: 13px; }
.mha-content-page__body { background: var(--surface,#fff); border: 1px solid var(--line,#dfe4ea); border-radius: 20px; padding: 18px 42px 40px; }
.mha-content-page__section { padding: 25px 0; border-bottom: 1px solid var(--line,#dfe4ea); }
.mha-content-page__section:last-of-type { border-bottom: 0; }
.mha-content-page__section h2 { margin: 0 0 12px; font-size: 22px; }
.mha-content-page__section p { margin: 0 0 12px; color: var(--muted,#64748b); line-height: 1.75; }
.mha-content-page__section p:last-child { margin-bottom: 0; }
.mha-content-page__section ul { margin: 10px 0 0; padding-left: 22px; color: var(--muted,#64748b); }
.mha-content-page__section li { margin: 8px 0; line-height: 1.65; }
.mha-content-page__cta { padding-top: 26px; }

@media (max-width: 800px) {
  .mha-footer__main { grid-template-columns: 1fr 1fr; }
  .mha-footer__cta-inner { flex-direction: column; align-items: flex-start; }
  .mha-content-page__hero, .mha-content-page__body { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 640px) {
  .mha-footer__cta-inner, .mha-footer__main, .mha-footer__bottom-inner { width:calc(100% - 24px); }
}
@media (max-width: 500px) {
  .mha-footer__main { grid-template-columns: 1fr; }
  .mha-footer__form { width: 100%; }
  .mha-footer__form input[type="email"] { flex: 1 1 100%; min-width: 0; }
  .mha-footer__form button { width: 100%; }
  .mha-content-page { padding-top: 24px; }
  .mha-content-page__hero, .mha-content-page__body { border-radius: 14px; padding-left: 18px; padding-right: 18px; }
}
