/* MMM funnel. Mobile first. */

@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --teal: #3D5C62;       /* MMM teal */
  --teal-ink: #263C3E;   /* headline ink, darker teal */
  --teal-deep: #22363A;  /* booked page background */
  --tan: #C2BAA3;        /* MMM tan */
  --tan-soft: #E9E5DA;   /* highlight + chips */
  --gray: #9DA5A7;       /* MMM gray */
  --line: #D5DBDC;
  --paper: #F5F4EF;      /* card background */
  --white: #fff;
  --error: #A3261D;
  --radius: 10px;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Poppins", "Lato", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.45; color: var(--teal-ink); background: var(--white); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--solid { fill: currentColor; stroke: none; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.topbar__logo { height: 40px; width: auto; display: block; }
.progress { flex: 1; display: flex; align-items: center; gap: 12px; }
.progress__track { flex: 1; height: 6px; background: #E3E8E9; border-radius: 3px; overflow: hidden; }
.progress__fill { height: 100%; background: var(--teal); transition: width .35s ease; }
.progress__label { font-weight: 700; font-size: 14px; min-width: 2.6em; text-align: right; }
body[data-step="booked"] .topbar { display: none; }

.test-badge { background: #FFE9A8; color: #4A3900; font-weight: 700; font-size: 13px; text-align: center; padding: 6px 10px; }

/* ---------- layout ---------- */
main { max-width: 560px; margin: 0 auto; padding: 26px 18px 40px; }
.step { animation: rise .25s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } .progress__fill { transition: none; } }

/* ---------- type ---------- */
.hero { text-align: center; margin-bottom: 22px; }
.tag { display: inline-block; background: var(--tan); color: var(--teal-ink); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 6px; margin-bottom: 14px; }
.headline { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 8.6vw, 44px); line-height: 1.16; letter-spacing: -.01em; color: var(--teal-ink); text-wrap: balance; }
.headline--left { text-align: left; margin-bottom: 16px; }
.headline--sm { font-size: clamp(24px, 6.6vw, 32px); text-align: center; margin-bottom: 20px; }
.hl { background: var(--tan-soft); border-radius: 4px; padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--line { display: inline-block; }
.sub { margin-top: 12px; font-size: 18px; color: #3B4F52; text-wrap: pretty; }
.sub--left { margin: 0 0 18px; }
.eyebrow { font-weight: 700; font-size: 12.500px; letter-spacing: .2em; text-transform: uppercase; color: #46595C; }
.eyebrow--light { color: #fff; }
.kicker { text-align: center; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #46595C; margin: 34px 0 6px; }
.kicker::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tan); margin-right: 8px; vertical-align: middle; }

/* ---------- card + options ---------- */
.card { background: var(--paper); border: 1.500px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: 0 1px 2px rgba(38,60,62,.06); }
.card--center { text-align: center; padding: 34px 20px; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card__meta--bare { margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--tan-soft); color: #46595C; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.question { font-family: var(--body); font-weight: 700; font-size: 24px; line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.hint { color: #5C6C6F; font-size: 16px; margin-top: 8px; }
.options { display: grid; gap: 12px; margin-top: 16px; }
.option { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; text-align: left; background: var(--white); border: 1.500px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 18px; transition: border-color .12s, box-shadow .12s, transform .06s; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .option:hover { border-color: var(--teal); } }
.option:active { transform: scale(.99); border-color: var(--teal); box-shadow: 0 0 0 3px var(--tan-soft); }
.option__key { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--teal); color: #fff; border-radius: 4px; font-size: 15px; }
.option--no .option__key { background: #F3DEDC; color: var(--error); }
.option__label { flex: 1; }
.option__chev { color: var(--gray); font-size: 22px; line-height: 1; }

.assure { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border: 1.500px solid var(--line); border-radius: 8px; font-weight: 700; font-size: 15px; }
.assure .ico { font-size: 22px; margin-top: 1px; }
.assure--tan { background: var(--tan-soft); border-color: var(--tan); font-weight: 400; }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 7px; }
.req { color: var(--error); }
.field input { width: 100%; height: 54px; padding: 0 14px; background: var(--white); border: 1.500px solid var(--line); border-radius: 6px; font-size: 18px; }
.field input::placeholder { color: var(--gray); }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(61,92,98,.18); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: 15px; font-weight: 700; margin-top: 6px; }
.form__error-summary { background: #FBECEA; border: 1.500px solid var(--error); color: var(--error); border-radius: 6px; padding: 10px 12px; font-weight: 700; font-size: 15px; }
.phone { display: flex; gap: 8px; }
.phone__cc { flex: none; display: grid; place-items: center; height: 54px; padding: 0 12px; background: var(--white); border: 1.500px solid var(--line); border-radius: 6px; font-size: 17px; white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn { display: block; width: 100%; min-height: 58px; padding: 14px 18px; background: var(--teal); color: #fff; border: 0; border-radius: 6px; font-weight: 700; font-size: 19px; text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: #34504F; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn--tan { background: var(--tan); color: var(--teal-ink); box-shadow: 0 6px 22px rgba(0,0,0,.25); }
.btn--tan:hover { background: #CFC8B4; }

/* ---------- calendar ---------- */
.calendly { min-height: 640px; border: 1.500px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.calendly iframe { display: block; width: 100%; min-height: 640px; border: 0; }
.calendly__loading { padding: 40px 18px; text-align: center; color: #5C6C6F; }

/* ---------- captured ---------- */
.tick { width: 62px; height: 62px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); font-size: 28px; }
.tick--light { border-color: var(--tan); color: #fff; }
.card--center .headline { font-size: clamp(26px, 7vw, 34px); }

/* ---------- booked ---------- */
body[data-step="booked"] main { max-width: none; padding: 0; }
.booked { background: radial-gradient(120% 60% at 50% 0%, #46666B 0%, var(--teal-deep) 70%); color: #E6ECEC; text-align: center; padding: 26px 20px 34px; }
.booked > * { max-width: 520px; margin-left: auto; margin-right: auto; }
.booked__logo { height: 48px; width: auto; margin-bottom: 20px; }
.booked__title { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 9vw, 44px); line-height: 1.12; color: #fff; }
.booked__lead { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3; color: #fff; margin-top: 12px; margin-bottom: 26px; text-wrap: balance; }
.booked__body { margin-top: 8px; margin-bottom: 16px; }
.booked__body strong, .booked__small strong { color: #fff; }
.booked__body--lg { font-size: 19px; margin-top: 22px; }
.booked__small { font-size: 14px; margin-top: 14px; }
.booked__msg { border: 1px dashed rgba(255,255,255,.35); border-radius: 6px; padding: 10px 14px; margin-top: 8px; font-size: 14.500px; color: #fff; }
.callcard { border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.14); border-radius: var(--radius); padding: 20px 16px; margin-top: 8px; }
.callcard__time { font-weight: 700; font-size: 22px; color: #fff; margin: 8px 0 4px; }
.callcard__meta { font-size: 14px; }
.callcard__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.pill { border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 9px 13px; font-weight: 700; font-size: 14px; color: #fff; text-decoration: none; }
.watch { display: flex; align-items: center; gap: 14px; text-align: left; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 12px 14px; margin-top: 14px; }
.watch small { color: #C9D3D4; }
.watch__play { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--tan); color: var(--teal-ink); border-radius: 50%; }

.after { max-width: 560px; margin: 0 auto; padding: 26px 18px 10px; background: #FBFAF7; }
body[data-step="booked"] { background: #FBFAF7; }
.videocard { border: 1.500px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.videocard__title { padding: 12px 14px; font-size: 15px; }
.videocard__title span { color: #5C6C6F; font-size: 13px; margin-left: 6px; }
video { display: block; width: 100%; height: auto; background: #111; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; margin-left: 40px; background: var(--white); border: 1.500px solid var(--line); border-radius: var(--radius); padding: 16px; }
.steps li::before { content: counter(step); position: absolute; left: -40px; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--teal-ink); color: #fff; border-radius: 50%; font-weight: 700; font-size: 14px; }
.steps li::after { content: ""; position: absolute; left: -27px; top: 48px; bottom: -32px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h4 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 15.500px; color: #3B4F52; margin-bottom: 12px; }
.steps .chip { text-transform: none; letter-spacing: 0; font-size: 13.500px; color: var(--teal-ink); }

.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq { margin: 0; border: 1.500px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq figcaption { font-family: var(--display); font-weight: 700; font-size: 14px; padding: 10px 12px; }

.oncall { background: var(--teal-deep); color: #D9E1E2; text-align: center; border-radius: var(--radius); padding: 26px 18px; margin-top: 30px; }
.oncall h3 { font-family: var(--display); font-weight: 800; font-size: 23px; color: #fff; margin: 8px 0 10px; text-wrap: balance; }
.oncall p:last-child { font-size: 15.500px; }

/* ---------- footer ---------- */
.footer { max-width: 560px; margin: 0 auto; padding: 8px 18px 40px; text-align: center; font-size: 12px; line-height: 1.5; color: #6B797B; }
.footer p + p { margin-top: 6px; }
body:not([data-step="booked"]):not([data-step="captured"]) .footer { padding-top: 0; }
.noscript { max-width: 560px; margin: 0 auto 30px; padding: 12px 18px; background: #FBECEA; color: var(--error); font-weight: 700; text-align: center; }

@media (min-width: 720px) {
  main { padding-top: 44px; }
  .topbar { padding: 14px 32px; }
}

/* ---------- stopped overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(30,36,37,.72); }
.overlay__card { width: 100%; max-width: 520px; background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.overlay__card img { height: 36px; width: auto; margin-bottom: 14px; }
.overlay__card h2 { font-weight: 700; font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
.overlay__flag { color: var(--error); }
.overlay__card p { color: #3B4F52; margin-bottom: 12px; }
.overlay__card .btn { margin-top: 6px; }
