/* MedAchievers public site (Home, Audiences, Capabilities, Quality, About, Contact, Privacy, Join).
   Built from "MedAchievers Site.pdf". Every class is prefixed `ma-` so the header and footer can
   also sit inside the older public layout (register, unsubscribe) without style collisions. */

:root {
  --ma-ink: #122b26;          /* headings */
  --ma-text: #5e6b67;         /* body copy */
  --ma-text-strong: #2d3a36;
  --ma-green: #0f7a66;        /* primary action */
  --ma-green-deep: #0b5f50;   /* hover */
  --ma-green-text: #0c6a58;   /* small green text */
  --ma-mint: #e6f2ee;         /* CTA band, soft panels */
  --ma-mint-line: #c8e2d9;
  --ma-cream: #f5f1e8;        /* alternate sections */
  --ma-cream-line: #e4dfd3;
  --ma-line: #e5e5e2;         /* borders on white */
  --ma-footer: #112a27;
  --ma-footer-text: #aec3be;
  --ma-white: #ffffff;
  --ma-radius: 18px;
  --ma-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ma-wrap: 1180px;
  --ma-gutter: 34px;
}

.ma-site, .ma-site * { box-sizing: border-box; }
.ma-site {
  min-height: 100vh; display: flex; flex-direction: column;
  margin: 0; background: var(--ma-white); color: var(--ma-text);
  font-family: var(--ma-font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:where(.ma-site) img { max-width: 100%; height: auto; display: block; }
:where(.ma-site) a { color: inherit; text-decoration: none; }
/* resets carry zero specificity (:where) so any component class can set its own margins */
:where(.ma-site) :where(h1, h2, h3, h4, p, ul, ol) { margin: 0; padding: 0; }
:where(.ma-site) :where(ul, ol) { list-style: none; }

.ma-wrap { width: 100%; max-width: calc(var(--ma-wrap) + var(--ma-gutter) * 2); margin: 0 auto; padding: 0 var(--ma-gutter); }

/* ---------- type ---------- */
.ma-h1, .ma-h2, .ma-h3 { color: var(--ma-ink); font-family: var(--ma-font); font-weight: 800; letter-spacing: -0.035em; }
.ma-h1 { font-size: 48px; line-height: 1.04; letter-spacing: -0.04em; }
.ma-h2 { font-size: 38px; line-height: 1.07; letter-spacing: -0.035em; }
.ma-h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
.ma-accent { color: var(--ma-green); }
.ma-eyebrow {
  display: block; color: var(--ma-green); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.ma-lead { font-size: 18px; line-height: 1.58; color: var(--ma-text); }
.ma-body p + p { margin-top: 16px; }
.ma-body p { font-size: 16px; line-height: 1.6; }
.ma-body strong { color: var(--ma-ink); font-weight: 700; }
.ma-rule { width: 100%; height: 2px; background: var(--ma-ink); border: 0; margin: 0 0 30px; }

/* ---------- buttons ---------- */
.ma-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 21px; border-radius: 6px; border: 1.5px solid transparent;
  font-family: var(--ma-font); font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap;
}
.ma-btn-primary { background: var(--ma-green); border-color: var(--ma-green); color: #fff !important; }
.ma-btn-primary:hover { background: var(--ma-green-deep); border-color: var(--ma-green-deep); }
.ma-btn-outline { background: #fff; border-color: #d3e3de; color: var(--ma-green) !important; }
.ma-btn-outline:hover { border-color: var(--ma-green); }
.ma-btn-block { width: 100%; }
.ma-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.ma-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ma-line); font-family: var(--ma-font); }
.ma-header-inner { height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ma-logo { font-family: var(--ma-font); font-size: 20px; font-weight: 800; letter-spacing: -0.025em; color: var(--ma-ink) !important; line-height: 1; text-decoration: none !important; }
.ma-logo span { color: var(--ma-green); }
.ma-nav { display: flex; align-items: center; gap: 26px; }
.ma-nav-links { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.ma-nav-links a { font-size: 15.5px; color: #5e6b67 !important; text-decoration: none !important; transition: color .15s; }
.ma-nav-links a:hover, .ma-nav-links a.is-active { color: var(--ma-ink) !important; }
.ma-nav .ma-btn { height: 41px; }
.ma-menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ma-ink); }
.ma-menu-btn svg { width: 24px; height: 24px; }

/* ---------- sections ---------- */
.ma-section { padding: 88px 0; }
.ma-section-cream { background: var(--ma-cream); }
.ma-section-mint { background: var(--ma-mint); }
.ma-page-hero { padding: 72px 0 50px; }
.ma-page-hero .ma-h1 { max-width: 700px; }
.ma-page-hero .ma-lead { margin-top: 20px; max-width: 660px; }
.ma-section-head { max-width: 720px; margin-bottom: 40px; }
.ma-section-head .ma-lead { font-size: 17px; }
.ma-section-head .ma-lead { margin-top: 16px; }

/* ---------- home hero ---------- */
.ma-hero { padding: 64px 0 68px; }
.ma-hero-grid { display: grid; grid-template-columns: 1fr 503px; gap: 64px; align-items: center; }
.ma-hero .ma-lead { margin: 24px 0 32px; max-width: 500px; }
.ma-hero-media { position: relative; }
.ma-hero-photo { width: 100%; aspect-ratio: 503 / 469; object-fit: cover; border-radius: var(--ma-radius); }
.ma-verify-card {
  position: absolute; left: -25px; top: 63%; width: 184px; padding: 15px 18px 16px;
  background: #fff; border: 1px solid var(--ma-line); border-radius: 12px;
  box-shadow: 0 14px 34px -14px rgba(18, 43, 38, .28);
}
.ma-verify-card b { display: block; color: var(--ma-ink); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.ma-check-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ma-text); line-height: 1.3; }
.ma-check-list li + li { margin-top: 9px; }
.ma-check { flex: none; width: 15px; height: 15px; border-radius: 50%; background: var(--ma-mint); color: var(--ma-green); display: inline-grid; place-items: center; }
.ma-check svg { width: 9px; height: 9px; }

/* ---------- stats band ---------- */
.ma-band { background: var(--ma-footer); }
.ma-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ma-band-item { padding: 26px 34px 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.ma-band-item:first-child { border-left: 0; padding-left: 34px; }
.ma-band-item h3 { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.ma-band-item h3 span { color: #2fa98c; }
.ma-band-item p { color: var(--ma-footer-text); font-size: 14px; line-height: 1.45; }

/* ---------- two column intro (who we are) ---------- */
.ma-split { display: grid; grid-template-columns: 434fr 555fr; gap: 64px; align-items: start; }
.ma-split .ma-h2 { margin-bottom: 18px; }
.ma-split-aside .ma-lead { font-size: 17px; line-height: 1.6; }

/* ---------- media + numbered list ---------- */
.ma-section-head + .ma-media-list { margin-top: 64px; }
.ma-media-list { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ma-photo { width: 100%; object-fit: cover; border-radius: var(--ma-radius); }
.ma-numbered li { display: grid; grid-template-columns: 40px 1fr; padding: 15px 0 16px; border-bottom: 1px solid var(--ma-cream-line); }
.ma-numbered li:first-child { padding-top: 0; }
.ma-numbered .ma-num { color: var(--ma-green); font-size: 13.5px; font-weight: 700; padding-top: 3px; }
.ma-numbered h3 { color: var(--ma-ink); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.ma-numbered p { font-size: 14px; line-height: 1.55; }

/* ---------- bordered feature card ---------- */
.ma-card-outline { border: 1.5px solid var(--ma-line); border-radius: 22px; padding: 47px; background: #fff; }
.ma-proof { display: grid; grid-template-columns: 1fr 438px; gap: 60px; align-items: center; }
.ma-proof .ma-lead { font-size: 16px; margin: 16px 0 24px; }

/* ---------- step list (green circles) ---------- */
.ma-steps li { display: grid; grid-template-columns: 40px 1fr; padding: 12px 0 13px; border-top: 1px solid var(--ma-line); }
.ma-steps li:last-child { border-bottom: 1px solid var(--ma-line); }
.ma-steps.ma-steps-open li:last-child { border-bottom: 0; }
.ma-step-num {
  width: 25px; height: 25px; border-radius: 50%; background: var(--ma-green); color: #fff;
  font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; margin-top: 1px;
}
.ma-steps h3 { color: var(--ma-ink); font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.ma-steps p { font-size: 13.5px; line-height: 1.5; margin-top: 2px; }
.ma-steps + .ma-btn { margin-top: 32px; }

/* ---------- CTA band ---------- */
.ma-cta { background: var(--ma-mint); padding: 138px 0; }
.ma-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ma-cta .ma-h2 { font-size: 38px; max-width: 560px; }

/* ---------- footer ---------- */
.ma-footer { background: var(--ma-footer); color: var(--ma-footer-text); font-family: var(--ma-font); padding: 64px 0 32px; }
.ma-footer-grid { display: grid; grid-template-columns: 1.75fr 1fr 1fr 1.05fr; gap: 32px; }
.ma-footer .ma-logo { color: #fff !important; font-size: 19px; }
.ma-footer .ma-logo span { color: #158a71; }
.ma-footer-tag { margin-top: 30px; max-width: 280px; font-size: 14.5px; line-height: 1.55; }
.ma-footer h4 { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.ma-footer li + li { margin-top: 9px; }
.ma-footer li a { color: var(--ma-footer-text) !important; font-size: 15px; text-decoration: none !important; }
.ma-footer li a:hover { color: #fff !important; }
.ma-footer-bottom {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px;
}

/* ---------- audiences ---------- */
.ma-role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ma-role { background: var(--ma-cream); border-radius: var(--ma-radius); overflow: hidden; }
.ma-role img { width: 100%; aspect-ratio: 446 / 309; object-fit: cover; }
.ma-role-body { padding: 15px 14px 20px; }
.ma-role h3 { color: var(--ma-ink); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.ma-role p { font-size: 13px; line-height: 1.5; }
.ma-specialty-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 34px; }
.ma-specialty { display: flex; align-items: center; gap: 12px; min-height: 49px; padding: 10px 0; border-bottom: 1px solid var(--ma-cream-line); font-size: 14.5px; color: var(--ma-text-strong); line-height: 1.35; }
.ma-specialty svg { flex: none; width: 15px; height: 15px; color: var(--ma-green); stroke-width: 1.6; opacity: .85; }

/* ---------- capabilities ---------- */
.ma-cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ma-cap-card { border-radius: 22px; padding: 43px 32px 36px; }
.ma-cap-card.is-mint { background: var(--ma-mint); }
.ma-cap-card.is-outline { background: #fff; border: 1.5px solid var(--ma-line); }
.ma-cap-card h3 { color: var(--ma-ink); font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.ma-cap-card .ma-cap-sub { margin-top: 8px; font-size: 13.5px; font-weight: 500; }
.ma-cap-card.is-mint .ma-cap-sub { color: var(--ma-green-text); }
.ma-pairs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; margin-top: 40px; }
.ma-pairs li { display: flex; align-items: center; gap: 10px; padding: 12px 0 13px; border-bottom: 1px solid var(--ma-mint-line); color: var(--ma-ink); font-size: 15px; font-weight: 500; }
.ma-cap-card.is-outline .ma-pairs li { border-bottom-color: var(--ma-line); }
.ma-pairs .ma-pair-n { color: var(--ma-green); font-size: 12.5px; font-weight: 700; }
.ma-pairs .ma-plus { color: var(--ma-green); font-size: 16px; font-weight: 700; line-height: 1; }
.ma-cap-note { margin-top: 26px; font-size: 13.5px; line-height: 1.55; }
.ma-tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ma-tile-grid.is-two { grid-template-columns: 1fr 1fr; }
.ma-tile { background: #fff; border: 1.5px solid #ece9e2; border-radius: 16px; padding: 26px 24px 24px; }
.ma-section:not(.ma-section-cream) .ma-tile { border-color: var(--ma-line); }
.ma-tile h3 { color: var(--ma-ink); font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.ma-tile p { font-size: 13.5px; line-height: 1.55; }
.ma-process { display: grid; grid-template-columns: 1fr 438px; gap: 60px; align-items: center; }
.ma-process .ma-h2 { margin-bottom: 26px; }
.ma-process .ma-photo { aspect-ratio: 438 / 518; }

/* ---------- quality ---------- */
.ma-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; margin-top: 8px; }
.ma-timeline::before { content: ""; position: absolute; left: 14px; right: 14%; top: 13px; height: 1.5px; background: var(--ma-line); }
.ma-timeline li { position: relative; }
.ma-timeline .ma-step-num { width: 27px; height: 27px; position: relative; z-index: 1; margin-bottom: 18px; }
.ma-timeline h3 { color: var(--ma-ink); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ma-timeline p { font-size: 14px; line-height: 1.5; }
.ma-note { margin-top: 44px; max-width: 760px; font-size: 14.5px; line-height: 1.55; }

/* ---------- contact ---------- */
.ma-contact-grid { display: grid; grid-template-columns: 472fr 520fr; gap: 62px; align-items: start; }
.ma-callout { background: var(--ma-mint); border-radius: 14px; padding: 22px 22px 24px; }
.ma-callout b { display: block; color: var(--ma-ink); font-size: 15.5px; font-weight: 700; }
.ma-callout span { display: block; margin-top: 4px; color: var(--ma-green-text); font-size: 14.5px; }
.ma-include-title { margin-top: 38px; color: var(--ma-ink); font-size: 16px; }
.ma-include { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 8px; }
.ma-include li { padding: 14px 0; border-bottom: 1px solid var(--ma-line); font-size: 15px; color: var(--ma-text); }
.ma-prefer { margin-top: 24px; color: var(--ma-text); font-size: 15px; }
.ma-email-pill { display: inline-block; margin-top: 12px; padding: 11px 20px; border: 1.5px solid #d3e3de; border-radius: 8px; color: var(--ma-green) !important; font-size: 14.5px; font-weight: 600; }
.ma-form { border: 1.5px solid var(--ma-line); border-radius: 22px; padding: 30px 30px 32px; background: #fff; }
.ma-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.ma-field { display: flex; flex-direction: column; }
.ma-field.is-full { grid-column: 1 / -1; }
.ma-field label { color: #5a6864; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.ma-field input, .ma-field select, .ma-field textarea {
  width: 100%; border: 1.5px solid var(--ma-line); border-radius: 8px; padding: 11px 13px; font-family: var(--ma-font);
  padding-top: 14px; padding-bottom: 14px; font-size: 15px; color: var(--ma-ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.ma-field textarea { min-height: 112px; resize: vertical; }
.ma-field input:focus, .ma-field select:focus, .ma-field textarea:focus { border-color: var(--ma-green); box-shadow: 0 0 0 3px rgba(15, 122, 102, .12); }
.ma-field .ma-err { display: none; margin-top: 6px; color: #b42318; font-size: 12.5px; }
.ma-field.has-error input, .ma-field.has-error select, .ma-field.has-error textarea { border-color: #d92d20; }
.ma-field.has-error .ma-err { display: block; }
.ma-form .ma-btn { margin-top: 22px; height: 40px; }
.ma-form-note { margin-top: 14px; font-size: 13px; line-height: 1.5; }
.ma-form-note a { color: var(--ma-green) !important; text-decoration: underline !important; }
.ma-form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.ma-form-status.is-ok { display: block; background: var(--ma-mint); color: var(--ma-green-text); }
.ma-form-status.is-error { display: block; background: #fef3f2; color: #b42318; }
.ma-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- legal (privacy, terms, cookies) ---------- */
.ma-legal-meta { margin-top: 18px; font-size: 14px; color: var(--ma-text); }
.ma-legal-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; padding: 26px 0 28px; border-top: 1px solid var(--ma-line); }
.ma-legal-row h2 { color: var(--ma-ink); font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.ma-legal-row p { font-size: 15.5px; line-height: 1.6; }
.ma-legal-row p + p { margin-top: 16px; }
.ma-legal-row a { color: var(--ma-text) !important; text-decoration: underline !important; }
.ma-legal-doc { border-top: 1px solid var(--ma-line); padding-top: 34px; max-width: 820px; color: var(--ma-text); font-size: 16px; line-height: 1.65; }
.ma-legal-doc h1, .ma-legal-doc h2, .ma-legal-doc h3, .ma-legal-doc h4 { color: var(--ma-ink); font-family: var(--ma-font); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 30px 0 12px; }
.ma-legal-doc h2 { font-size: 22px; } .ma-legal-doc h3 { font-size: 18px; } .ma-legal-doc h4 { font-size: 16px; }
.ma-legal-doc p, .ma-legal-doc ul, .ma-legal-doc ol { margin: 0 0 14px; }
.ma-legal-doc ul { list-style: disc; padding-left: 22px; } .ma-legal-doc ol { list-style: decimal; padding-left: 22px; }
.ma-legal-doc a { color: var(--ma-green) !important; text-decoration: underline !important; }
.ma-legal-doc .wedge, .ma-legal-doc .section-end { display: none; }

/* ---------- join ---------- */
.ma-join-note { margin-top: 26px; max-width: 497px; background: var(--ma-mint); border-radius: 14px; padding: 18px 20px; color: var(--ma-green-text); font-size: 14.5px; line-height: 1.55; }
.ma-who-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 34px; }
.ma-who-grid li { padding: 14px 0; border-bottom: 1px solid var(--ma-cream-line); font-size: 15.5px; color: var(--ma-text-strong); }
.ma-data { margin-top: 52px; }
.ma-data-cols { column-count: 2; column-gap: 64px; font-size: 16.5px; line-height: 1.62; }
.ma-join-cta .ma-lead { font-size: 16px; margin-top: 18px; max-width: 700px; }
.ma-join-cta .ma-btn-row { margin-top: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ma-hero-grid { grid-template-columns: 1fr 420px; gap: 44px; }
  .ma-specialty-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --ma-gutter: 22px; }
  .ma-h1 { font-size: 40px; }
  .ma-h2, .ma-cta .ma-h2 { font-size: 31px; }
  .ma-section { padding: 72px 0; }
  .ma-cta { padding: 84px 0; }
  .ma-menu-btn { display: inline-flex; }
  .ma-nav { display: none; position: absolute; top: 77px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--ma-line); flex-direction: column; align-items: stretch; padding: 10px var(--ma-gutter) 22px; gap: 4px; }
  .ma-header.is-open .ma-nav { display: flex; }
  .ma-nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .ma-nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--ma-line); font-size: 16px; }
  .ma-nav .ma-btn { margin-top: 12px; }
  .ma-hero-grid, .ma-split, .ma-media-list, .ma-proof, .ma-process, .ma-contact-grid, .ma-cap-grid, .ma-legal-row { grid-template-columns: 1fr; gap: 36px; }
  .ma-hero-media { max-width: 560px; }
  .ma-verify-card { left: 14px; top: auto; bottom: 14px; }
  .ma-band-grid { grid-template-columns: 1fr 1fr; }
  .ma-band-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding: 26px 22px; }
  .ma-band-item:first-child, .ma-band-item:nth-child(2) { border-top: 0; }
  .ma-band-item:first-child { padding-left: 22px; }
  .ma-role-grid, .ma-tile-grid, .ma-specialty-grid, .ma-who-grid { grid-template-columns: 1fr 1fr; }
  .ma-timeline { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .ma-timeline::before { display: none; }
  .ma-footer-grid { grid-template-columns: 1fr 1fr; }
  .ma-card-outline { padding: 30px 24px; }
  .ma-data-cols { column-count: 1; }
  .ma-legal-row { gap: 12px; }
}
@media (max-width: 560px) {
  .ma-h1 { font-size: 34px; }
  .ma-h2, .ma-cta .ma-h2 { font-size: 27px; }
  .ma-band-grid, .ma-role-grid, .ma-tile-grid, .ma-tile-grid.is-two, .ma-specialty-grid, .ma-who-grid, .ma-timeline,
  .ma-footer-grid, .ma-form-grid, .ma-pairs, .ma-include { grid-template-columns: 1fr; }
  .ma-band-item:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .ma-cap-card { padding: 30px 22px; }
}

/* Header/footer are also dropped into the older public layout (register, unsubscribe), which has
   no .ma-site body class and its own element styles, so they carry their own resets. */
.ma-header *, .ma-footer * { box-sizing: border-box; }
.ma-header ul, .ma-footer ul { list-style: none; margin: 0; padding: 0; }
.ma-header li, .ma-footer li { margin: 0; padding: 0; }
.ma-footer h4 { margin: 0 0 18px; line-height: 1.3; font-family: var(--ma-font); }
:where(.ma-footer) p { margin: 0; }
.ma-footer { line-height: 1.6; }
.ma-header .ma-btn, .ma-header a, .ma-footer a { font-family: var(--ma-font); }

/* ---------- auth pages (login, forgot / reset password) ---------- */
.ma-auth { padding: 72px 0 96px; }
.ma-auth-grid { display: grid; grid-template-columns: 1fr 470px; gap: 72px; align-items: start; }
.ma-auth-intro .ma-h1 { font-size: 44px; }
.ma-auth-intro .ma-lead { margin-top: 18px; max-width: 470px; }
.ma-auth-intro .ma-check-list { margin-top: 30px; }
.ma-auth-intro .ma-check-list li { font-size: 15.5px; color: var(--ma-text-strong); }
.ma-auth-intro .ma-check-list li + li { margin-top: 14px; }
.ma-auth-intro .ma-check { width: 20px; height: 20px; }
.ma-auth-intro .ma-check svg { width: 11px; height: 11px; }
.ma-auth-intro .ma-callout { margin-top: 36px; max-width: 470px; }
.ma-auth-intro .ma-callout a { color: var(--ma-green) !important; font-weight: 700; }
.ma-auth-card { border: 1.5px solid var(--ma-line); border-radius: 22px; padding: 34px 32px 30px; background: #fff; box-shadow: 0 18px 44px -32px rgba(18, 43, 38, .35); }
.ma-auth-card h2 { color: var(--ma-ink); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.ma-auth-card .ma-auth-sub { margin-top: 6px; font-size: 14.5px; }
.ma-auth-card form { margin-top: 24px; }
.ma-auth-card .ma-field + .ma-field { margin-top: 18px; }
.ma-input-wrap { position: relative; }
.ma-input-wrap input { padding-right: 64px; }
.ma-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px 8px; cursor: pointer;
  color: var(--ma-green); font-family: var(--ma-font); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ma-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; }
.ma-checkbox { display: inline-flex; align-items: center; gap: 9px; color: var(--ma-text); cursor: pointer; }
.ma-checkbox input { width: 17px; height: 17px; accent-color: var(--ma-green); margin: 0; }
.ma-link { color: var(--ma-green) !important; font-weight: 600; }
.ma-link:hover { text-decoration: underline !important; }
.ma-auth-card .ma-btn-block { margin-top: 22px; height: 46px; font-size: 15.5px; }
.ma-auth-card .ma-btn:disabled { opacity: .45; cursor: not-allowed; }
.ma-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; color: #9aa6a1; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ma-divider::before, .ma-divider::after { content: ""; flex: 1; height: 1px; background: var(--ma-line); }
.ma-auth-alt { text-align: center; font-size: 14.5px; color: var(--ma-text); }
.ma-auth-meta { margin-top: 18px; text-align: center; font-size: 12.5px; color: #8a9692; }
.ma-alert { margin-top: 18px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.ma-alert-error { background: #fef3f2; color: #b42318; }
.ma-alert-ok { background: var(--ma-mint); color: var(--ma-green-text); }
.ma-field .ma-hint { margin-top: 6px; font-size: 12.5px; color: #8a9692; }
.ma-field .ma-field-error { margin-top: 6px; font-size: 12.5px; color: #b42318; }
/* password strength (reset page) */
.ma-strength { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.ma-strength .strength-bar { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.ma-strength .strength-seg { height: 5px; border-radius: 3px; background: var(--ma-line); transition: background .2s; }
.ma-strength .strength-bar[data-level="1"] .strength-seg:nth-child(-n+1) { background: #d92d20; }
.ma-strength .strength-bar[data-level="2"] .strength-seg:nth-child(-n+2) { background: #f79009; }
.ma-strength .strength-bar[data-level="3"] .strength-seg:nth-child(-n+3) { background: #2fa98c; }
.ma-strength .strength-bar[data-level="4"] .strength-seg { background: var(--ma-green); }
.ma-strength .strength-label { font-size: 12.5px; color: #8a9692; min-width: 96px; text-align: right; }
.ma-strength .strength-label .val { color: var(--ma-ink); font-weight: 700; margin-left: 4px; }
.ma-req-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 12px; }
.ma-req-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8a9692; }
.ma-req-list .check { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ma-line); display: inline-grid; place-items: center; color: transparent; flex: none; }
.ma-req-list .check svg { width: 8px; height: 8px; }
.ma-req-list li.met { color: var(--ma-green-text); }
.ma-req-list li.met .check { background: var(--ma-green); border-color: var(--ma-green); color: #fff; }
.ma-match { display: none; align-items: center; gap: 7px; margin-top: 8px; font-size: 12.5px; }
.ma-match.show { display: flex; }
.ma-match .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ma-match.ok { color: var(--ma-green-text); }
.ma-match.bad { color: #b42318; }
@media (max-width: 900px) {
  .ma-auth { padding: 44px 0 72px; }
  .ma-auth-grid { grid-template-columns: 1fr; gap: 34px; }
  .ma-auth-intro .ma-h1 { font-size: 34px; }
  .ma-auth-intro .ma-check-list, .ma-auth-intro .ma-callout { display: none; }
}
@media (max-width: 560px) {
  .ma-auth-card { padding: 26px 20px 24px; }
  .ma-req-list { grid-template-columns: 1fr; }
}

/* keep the footer at the bottom on short pages */
.ma-site > main { flex: 1 0 auto; }
