/* SEO Pulse free test — landing-page tool + benefits section. Uses the tokens from pulse.css. */
.mmft-root { background: transparent; border-radius: 0; overflow: visible; font-size: 16px; max-width: 1100px; margin: 0 auto; padding: 0 max(16px, 3vw); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.mmft-root > *, .mmft-result > *, .mmft-benefits > *, .mmft-benefits section > * { min-width: 0; }
.mmft-root[dir="rtl"], .mmft-benefits[dir="rtl"] { text-align: right; font-family: 'Cairo', var(--mmp-body, system-ui), sans-serif; }
.mmft-root[dir="rtl"] h1, .mmft-root[dir="rtl"] h2, .mmft-root[dir="rtl"] h3, .mmft-benefits[dir="rtl"] h2, .mmft-benefits[dir="rtl"] h3 { font-family: 'Cairo', 'Heebo', sans-serif; }

.mmft-hero { background: #0b0b0b; color: #fff; border-radius: 18px; padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px); display: grid; gap: 14px; position: relative; overflow: hidden; }
.mmft-hero::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(239, 91, 43, .35), transparent); pointer-events: none; }
.mmft-root[dir="rtl"] .mmft-hero::after { inset: auto auto -60% -10%; }
.mmft-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); font-weight: 600; margin: 0; line-height: 1.1; max-width: 18ch; }
.mmft-eyebrow { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #ef5b2b; font-weight: 600; }
.mmft-root[dir="rtl"] .mmft-eyebrow { letter-spacing: 0; }
.mmft-lead { margin: 0; color: #d9d4cf; font-size: 18px; max-width: 62ch; line-height: 1.6; }
.mmft-form { display: grid; gap: 8px; margin-top: 8px; position: relative; z-index: 1; max-width: 720px; }
.mmft-label { font-size: 14px; color: #c9c3bd; font-weight: 600; }
.mmft-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mmft-row input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 10px; border: 1px solid #3a3633; background: #fff; color: #0b0b0b; }
.mmft-btn { font: inherit; font-weight: 600; font-size: 16px; padding: 14px 22px; border-radius: 10px; border: 0; background: #ef5b2b; color: #fff; cursor: pointer; white-space: nowrap; }
.mmft-btn:hover { background: #d94c1f; } .mmft-btn:disabled { opacity: .7; cursor: progress; }
.mmft-btn:focus-visible, .mmft-root input:focus-visible, .mmft-root textarea:focus-visible { outline: 3px solid #ef5b2b; outline-offset: 2px; }
.mmft-btn.ghost { background: transparent; color: #0b0b0b; border: 1px solid #d5cec8; }
.mmft-note { margin: 0; font-size: 13px; color: #a8a19a; }
.mmft-err { margin: 0; min-height: 1.2em; color: #ffb4a0; font-weight: 600; font-size: 14px; }
.mmft-card .mmft-err { color: #b3261e; }
.mmft-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mmft-captcha:empty { display: none; }

.mmft-result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.mmft-result:empty { display: none; }
.mmft-card { background: #fff; border: 1px solid #e7e2dd; border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.mmft-h2 { font-size: 22px; margin: 8px 0 0; }
.mmft-muted { color: #7a746e; margin: 0; font-size: 14px; }
.mmft-steps { margin: 0; padding-inline-start: 20px; display: grid; gap: 10px; color: #7a746e; }
.mmft-steps li.on { color: #0b0b0b; font-weight: 600; } .mmft-steps li.done { color: #1f7a4d; }
.mmft-steps li.done::marker { content: "✓  "; }

.mmft-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 4vw, 40px); align-items: start; }
.mmft-summary h2 { margin: 4px 0; font-size: 26px; }
.mmft-summary h3 { margin: 18px 0 8px; font-size: 14px; color: #7a746e; text-transform: uppercase; letter-spacing: .06em; }
.mmft-ring { --c: #b3261e; width: 150px; height: 150px; aspect-ratio: 1; flex: none; justify-self: center; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #fff 79%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--v) * 1%), #efe9e4 0); }
.mmft-ring.good { --c: #1f7a4d; } .mmft-ring.fair { --c: #c27a00; }
.mmft-ring b { font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; } .mmft-ring span { font-size: 13px; color: #7a746e; }
.mmft-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mmft-cats li { display: grid; grid-template-columns: minmax(0, 11rem) 1fr 2.5rem; gap: 10px; align-items: center; font-size: 14px; }
.mmft-cats .bar { display: block; height: 8px; border-radius: 99px; background: #efe9e4; overflow: hidden; }
.mmft-cats .bar i { display: block; height: 100%; border-radius: 99px; background: #b3261e; } .mmft-cats .bar i.good { background: #1f7a4d; } .mmft-cats .bar i.fair { background: #c27a00; }
.mmft-cats b { font-variant-numeric: tabular-nums; text-align: end; }

.mmft-issues { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.mmft-issue { background: #fff; border: 1px solid #e7e2dd; border-top: 4px solid #b3261e; border-radius: 14px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.mmft-issue.warn { border-top-color: #c27a00; }
.mmft-issue h3 { margin: 0; font-size: 17px; } .mmft-issue p { margin: 0; font-size: 14px; line-height: 1.55; }
.mmft-tag { font-size: 12px !important; color: #7a746e; text-transform: uppercase; letter-spacing: .06em; }

.mmft-locked { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #e7e2dd; background: #fff; }
.mmft-locked-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; padding: 18px; filter: blur(3px); opacity: .7; }
.mmft-ghost { border: 1px solid #eee7e1; border-radius: 10px; padding: 12px; display: grid; gap: 6px; }
.mmft-ghost span { font-size: 12px; color: #7a746e; } .mmft-ghost i { display: block; height: 10px; border-radius: 4px; background: #e9e2dc; } .mmft-ghost i.short { width: 60%; }
.mmft-locked-msg { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; padding: 16px; background: linear-gradient(transparent, rgba(255, 255, 255, .92) 35%); }
.mmft-locked-msg b { font-size: 20px; } .mmft-locked-msg p { margin: 0; color: #4b4743; max-width: 46ch; }

.mmft-cta { border: 2px solid #ef5b2b; display: grid; gap: 10px; }
.mmft-cta h2 { margin: 0; font-size: 24px; } .mmft-cta > p { margin: 0; color: #4b4743; max-width: 70ch; }
.mmft-leadform { display: grid; gap: 12px; margin-top: 6px; }
.mmft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.mmft-leadform label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: #0b0b0b; }
.mmft-leadform input, .mmft-leadform textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #d5cec8; border-radius: 8px; background: #fff; color: #0b0b0b; width: 100%; box-sizing: border-box; }
.mmft-leadform .mmft-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.mmft-leadform .mmft-check input { width: auto; margin-top: 4px; }
.mmft-leadform .mmft-btn { justify-self: start; }

/* ---------------- benefits (page content below the tool) */
.mmft-benefits { max-width: 1100px; margin: 64px auto 0; padding: 0 max(16px, 3vw); display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; overflow-wrap: anywhere; color: #0b0b0b; line-height: 1.6; }
.mmft-benefits h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; line-height: 1.2; }
.mmft-benefits h3 { font-size: 18px; margin: 0 0 6px; }
.mmft-benefits p { margin: 0; color: #4b4743; }
.mmft-benefits .lead { font-size: 18px; max-width: 65ch; }
.mmft-bgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 22px; }
.mmft-bgrid > div { background: #fff; border: 1px solid #e7e2dd; border-radius: 14px; padding: 22px; }
.mmft-bgrid > div::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: #ef5b2b; margin-bottom: 14px; }
.mmft-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 20px; }
.mmft-areas > div { border-inline-start: 3px solid #ef5b2b; padding: 4px 14px; }
.mmft-areas ul { margin: 6px 0 0; padding-inline-start: 18px; color: #4b4743; font-size: 14px; }
.mmft-compare { overflow-x: auto; margin-top: 20px; }
.mmft-compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.mmft-compare th, .mmft-compare td { padding: 12px 14px; border-bottom: 1px solid #e7e2dd; text-align: start; vertical-align: top; }
.mmft-compare thead th { font-size: 14px; color: #7a746e; } .mmft-compare thead th:last-child { color: #ef5b2b; }
.mmft-compare td.y { color: #1f7a4d; font-weight: 600; } .mmft-compare td.n { color: #b9b2ab; }
.mmft-steps3 { list-style: none; counter-reset: s; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.mmft-steps3 li { counter-increment: s; background: #f7f5f2; border-radius: 14px; padding: 22px; }
.mmft-steps3 li::before { content: counter(s); display: grid; place-content: center; width: 36px; height: 36px; border-radius: 50%; background: #0b0b0b; color: #fff; font-weight: 700; margin-bottom: 12px; }
.mmft-faq details { border-bottom: 1px solid #e7e2dd; padding: 14px 0; }
.mmft-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.mmft-faq details p { margin-top: 8px; }
.mmft-final { background: #0b0b0b; color: #fff; border-radius: 18px; padding: clamp(28px, 5vw, 48px); display: grid; gap: 12px; justify-items: start; }
.mmft-final h2 { color: #fff; } .mmft-final p { color: #d9d4cf; }
.mmft-final a { background: #ef5b2b; color: #fff; text-decoration: none; padding: 14px 22px; border-radius: 10px; font-weight: 600; }

@media (max-width: 640px) {
  .mmft-summary { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .mmft-summary > div:not(.mmft-ring) { width: 100%; text-align: start; }
  .mmft-cats li { grid-template-columns: minmax(0, 8rem) 1fr 2rem; }
  .mmft-btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { .mmft-issue, .mmft-summary { animation: mmft-in .4s ease-out both; } @keyframes mmft-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } } }

/* Theme guards: block themes and Astra constrain post content and style headings globally. */
.entry-content .mmft-root, .entry-content .mmft-benefits { max-width: 1100px !important; width: 100%; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.mmft-root.mmp-root h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; }
.mmft-root.mmp-root h2 { font-size: 24px; line-height: 1.25; margin: 0; }
.mmft-root.mmp-root .mmft-summary h2 { font-size: 26px; }
.mmft-root.mmp-root h3 { font-size: 17px; line-height: 1.3; }
.mmft-root.mmp-root .mmft-summary h3 { font-size: 13px; }
.mmft-benefits h2 { font-size: clamp(26px, 3.4vw, 36px) !important; }
.mmft-benefits h3 { font-size: 18px !important; }
.entry-content .mmft-root > *, .entry-content .mmft-result > *, .entry-content .mmft-benefits > * { width: 100% !important; max-width: none !important; justify-self: stretch; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
