/* The 2-Minute Miracle sales page (/2-minute-miracle). Colours are the app's LIGHT Refaced palette
   (refaced-theme.css, its light palette: purple ink, one pink for buttons), which the page links
   itself and applies to its own wrapper, never to <body>. Layout and motion follow the /9mm page's
   polish (Melodie 2026-10-01): glass cards, a soft drifting aura, rise-in hero, scroll reveals, a
   phrase ribbon, a sheen across the buy buttons. Every rule starts with .mm-page so nothing reaches
   the app chrome; test_two_minute_miracle_page.py checks that. */

/* No background of its own: the light theme wrapper is transparent on purpose, so the classic page's
   soft gradient shows through, exactly as it does behind the light Dashboard. */
.mm-page {
    --mm-ink: var(--rf-text);
    --mm-muted: var(--rf-text-muted);
    --mm-purple: var(--rf-glow);          /* #5B52E0: the accent as text, 5.6:1 on white */
    --mm-violet: var(--rf-graphic);       /* #6C63FF: the accent as a shape */
    --mm-pink: var(--rf-action);          /* #D81F8F: buttons, and LARGE bold text only (4.4:1 on the page) */
    /* The Kajabi page's energy (Melodie 2026-10-01: "bring the vibrant energy back"): Allison's
       neon lime and a highlighter yellow. Lime is a SHAPE colour only (1.3:1 on white as text);
       anything written on it is --mm-ink, 15:1. */
    --mm-lime: #B6F23F;
    --mm-lime-deep: #8FD11A;
    --mm-sun: #FFE45C;
    --mm-glass: rgba(255, 255, 255, .62);
    --mm-glass-line: rgba(255, 255, 255, .85);
    --mm-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 50px -24px rgba(60, 40, 120, .28);
    --mm-ease: cubic-bezier(.2, .8, .2, 1);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: clip;
    position: relative;
}
.mm-page *, .mm-page *::before, .mm-page *::after { box-sizing: border-box; }
.mm-page img { max-width: 100%; height: auto; display: block; }
.mm-page p, .mm-page li, .mm-page h1, .mm-page h2, .mm-page h3, .mm-page figure, .mm-page blockquote { margin: 0; }
.mm-page ul, .mm-page ol { list-style: none; margin: 0; padding: 0; }
.mm-page a:not(.rf-btn-primary):not(.mm-ghost) { color: var(--mm-purple); }

/* ── Layout ── */
.mm-page .mm-wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.mm-page .mm-narrow { max-width: 760px; }
.mm-page .mm-bay { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.mm-page .mm-panel { background: linear-gradient(180deg, rgba(108, 99, 255, .05), rgba(216, 31, 143, .035)); }
.mm-page .mm-center { text-align: center; }
.mm-page .mm-stack > * + * { margin-top: 14px; }
.mm-page .mm-split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 880px) { .mm-page .mm-split { grid-template-columns: 1.05fr .95fr; } }

/* ── Type ── */
.mm-page .mm-h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.015em; }
.mm-page .mm-line { display: block; padding-bottom: .04em; }
.mm-page .mm-h1__em { font-style: italic; color: var(--mm-purple); }
.mm-page .mm-h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; margin-bottom: 22px; text-wrap: balance; }
.mm-page .mm-stack > .mm-h2 { margin-bottom: 0; }
.mm-page .mm-big { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 600; line-height: 1.2; text-wrap: balance; }
.mm-page .mm-lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.55; }
.mm-page .mm-accent { color: var(--mm-purple); }
.mm-page .mm-strong { font-weight: 700; }
.mm-page .mm-eyebrow {
    font-family: var(--font-sans); font-size: .75rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--mm-purple);
}
.mm-page .mm-note { color: var(--mm-muted); font-size: .95rem; }

/* ── Glass ── */
.mm-page .mm-glass {
    background: var(--mm-glass);
    border: 1px solid var(--mm-glass-line);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: var(--mm-shadow);
}
.mm-page .mm-card { border-radius: 26px; padding: clamp(22px, 3vw, 32px); }
.mm-page .mm-icon { width: 24px; height: 24px; flex: none; }

/* ── Buttons: the Refaced pill, with a sheen ── */
.mm-page .rf-btn-primary.mm-btn { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: 14px; line-height: 1.25; transition: transform .25s var(--mm-ease), box-shadow .25s ease; }
.mm-page .rf-btn-primary.mm-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px var(--mm-pink); }
.mm-page .rf-btn-primary.mm-btn:focus-visible { outline: 3px solid var(--mm-violet); outline-offset: 3px; }
.mm-page .rf-btn-primary.mm-btn::after {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; pointer-events: none; z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: translateX(-120%) skewX(-20deg);
}
/* The sheen plays once when she points at the button, never on a timer: on the 9MM page a 5.5s looping
   sweep beside frosted layers made the browser drop those layers for a frame, a visible flash
   (Melodie's screen recording, 2026-10-01). Same fix here before this page goes live. */
.mm-page .rf-btn-primary.mm-btn:hover::after,
.mm-page .rf-btn-primary.mm-btn:focus-visible::after { animation: mm-sheen 1.1s ease-out 1; }
.mm-page .mm-btn--glow { background: linear-gradient(135deg, #E23C9E, var(--mm-pink) 55%, #B8177A); }
.mm-page .mm-btn--block { display: flex; width: 100%; }
.mm-page .mm-ghost {
    display: inline-flex; align-items: center; min-height: 56px; padding: 0 22px; border-radius: 999px;
    color: var(--mm-ink); font-weight: 700; text-decoration: none;
    background: rgba(255, 255, 255, .55); border: 1px solid rgba(16, 16, 24, .1);
    transition: background .2s ease, transform .25s var(--mm-ease);
}
.mm-page .mm-ghost:hover { background: #fff; transform: translateY(-2px); }
.mm-page .mm-ghost:focus-visible { outline: 3px solid var(--mm-violet); outline-offset: 3px; }
.mm-page .mm-cta { margin-top: 28px; display: grid; justify-items: center; gap: 10px; }
.mm-page .mm-cta--left { justify-items: start; }

/* ── Hero ── */
.mm-page .mm-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.mm-page .mm-aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* The glows hold still (2026-10-01): moving blurred layers under the frosted header and bubbles are the
   pattern that made the 9MM hero flash. */
.mm-page .mm-aura span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.mm-page .mm-aura span:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -140px; background: #CFC9FF; }
.mm-page .mm-aura span:nth-child(2) { width: 420px; height: 420px; right: -120px; top: 40px; background: #FFC7E6; }
.mm-page .mm-aura span:nth-child(3) { width: 420px; height: 420px; left: 34%; bottom: -200px; background: #DDF9A8; opacity: .7; }
.mm-page .mm-aura span:nth-child(4) { width: 300px; height: 300px; right: 18%; bottom: -120px; background: #FFF0A0; opacity: .75; }
.mm-page .mm-hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .mm-page .mm-hero__grid { grid-template-columns: 1.25fr .75fr; } }
.mm-page .mm-chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
    font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mm-purple);
    background: rgba(255, 255, 255, .7); border: 1px solid rgba(108, 99, 255, .18); margin-bottom: 22px;
}
.mm-page .mm-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--mm-pink); box-shadow: 0 0 0 4px rgba(216, 31, 143, .15); }
.mm-page .mm-hero .mm-lead { margin-top: 22px; max-width: 34rem; }
.mm-page .mm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mm-page .mm-hero .mm-note { margin-top: 14px; }
.mm-page .mm-hero__media { position: relative; justify-self: center; width: min(320px, 78vw); }
.mm-page .mm-phone {
    position: relative; border-radius: 40px; padding: 10px; aspect-ratio: 9 / 16;
    /* A nod to the black-and-white stripes behind Allison in every video. */
    background: repeating-linear-gradient(90deg, var(--mm-ink) 0 5px, #fff 5px 10px);
    border: 2px solid var(--mm-ink);
    box-shadow: 0 40px 90px -40px rgba(60, 40, 120, .55), 0 0 0 1px rgba(108, 99, 255, .08);
    /* No float: a moving layer holding a playing video, with frosted bubbles over it, is the flash pattern. */
}
.mm-page .mm-phone__video { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; background: #E9E6F5; display: block; }
.mm-page .mm-float {
    position: absolute; padding: 10px 16px; border-radius: 16px; font-size: .9rem; line-height: 1.3; white-space: nowrap;
    background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px -18px rgba(60, 40, 120, .45);
}
.mm-page .mm-float b { color: var(--mm-purple); }
.mm-page .mm-float--a { top: 12%; left: -16%; }
.mm-page .mm-float--b { top: 52%; right: -10%; white-space: normal; width: 150px; }
.mm-page .mm-float--c { bottom: 8%; left: -14%; }

/* ── Ribbon ── */
.mm-page .mm-ribbon { overflow: hidden; padding: 16px 0; background: var(--mm-lime); color: var(--mm-ink); border-block: 2px solid var(--mm-ink); }
.mm-page .mm-ribbon__track { display: flex; align-items: center; width: max-content; animation: mm-marquee 40s linear infinite; }
.mm-page .mm-ribbon span { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; white-space: nowrap; padding: 0 22px; }
.mm-page .mm-ribbon i { width: 8px; height: 8px; border-radius: 50%; background: var(--mm-pink); flex: none; }

/* ── Pitch ── */
.mm-page .mm-nos { display: grid; gap: 12px; }
.mm-page .mm-nos li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; font-weight: 600; }
.mm-page .mm-nos .mm-icon { color: var(--mm-pink); width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(216, 31, 143, .1); box-sizing: content-box; }
.mm-page .mm-nos span { position: relative; }
/* The strike draws across each "No ..." line as it reveals. */
.mm-page .mm-nos span::after {
    content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 2px; border-radius: 2px;
    background: rgba(216, 31, 143, .55); transform: scaleX(0); transform-origin: left;
    transition: transform .7s var(--mm-ease); transition-delay: calc(var(--d, 0s) + .35s);
}
.mm-page .mm-nos .is-in span::after, .mm-page:not(.mm-js) .mm-nos span::after { transform: scaleX(1); }
.mm-page .mm-pitch-close { margin-top: clamp(48px, 7vw, 80px); }
.mm-page .mm-chat { display: flex; align-items: flex-end; gap: 14px; max-width: 620px; margin: clamp(40px, 6vw, 64px) auto 0; }
.mm-page .mm-chat__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 10px 24px -10px rgba(60, 40, 120, .5); }
.mm-page .mm-chat__bubble {
    position: relative; padding: 16px 20px; border-radius: 22px 22px 22px 6px; font-size: 1.02rem; line-height: 1.5;
    background: #fff; box-shadow: 0 14px 34px -18px rgba(60, 40, 120, .4); border: 1px solid rgba(16, 16, 24, .06);
}

/* ── Proof ── */
.mm-page .mm-stats { display: grid; gap: 16px; }
@media (min-width: 760px) { .mm-page .mm-stats { grid-template-columns: repeat(3, 1fr); } }
.mm-page .mm-stats li { border-radius: 24px; padding: 24px; display: grid; gap: 8px; }
.mm-page .mm-stat__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; color: var(--mm-ink); font-variant-numeric: lining-nums tabular-nums; }
.mm-page .mm-stat__n > span { padding: 0 .12em; background: linear-gradient(transparent 58%, var(--mm-lime) 58%, var(--mm-lime) 92%, transparent 92%); }
.mm-page .mm-stat__n small { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-left: .5em; color: var(--mm-muted); }
.mm-page .mm-stat__t { font-weight: 600; font-size: 1.05rem; }
.mm-page .mm-proof-lead { margin: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 44px); }
.mm-page .mm-gallery { display: grid; gap: 22px; }
@media (min-width: 760px) { .mm-page .mm-gallery { grid-template-columns: 1fr 1fr; } .mm-page .mm-ba--wide { grid-column: 1 / -1; } }
.mm-page .mm-ba figure { border-radius: 26px; padding: 18px 12px 12px; height: 100%; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--mm-ease), box-shadow .35s ease; }
.mm-page .mm-ba figure:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #fff inset, 0 26px 60px -26px rgba(60, 40, 120, .45); }
.mm-page .mm-ba__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; overflow: hidden; }
.mm-page .mm-ba__open img { width: 100%; transition: transform .6s var(--mm-ease); }
.mm-page .mm-ba__open:hover img { transform: scale(1.03); }
.mm-page .mm-ba__open:focus-visible { outline: 3px solid var(--mm-violet); outline-offset: 3px; }
.mm-page .mm-ba__zoom {
    position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .85); color: var(--mm-ink); font-size: 1.3rem; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
}
.mm-page .mm-ba figcaption { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1.25; text-align: center; padding-inline: 8px; }
.mm-page .mm-ba figcaption b { color: var(--mm-purple); }
.mm-page .mm-lightbox {
    position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 64px 16px 32px;
    background: rgba(20, 16, 36, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .3s ease;
}
.mm-page .mm-lightbox[hidden] { display: none; }
.mm-page .mm-lightbox.is-open { opacity: 1; }
.mm-page .mm-lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.mm-page .mm-lightbox__fig img { max-height: 78vh; width: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.95); transition: transform .45s var(--mm-ease); }
.mm-page .mm-lightbox.is-open img { transform: none; }
.mm-page .mm-lightbox__fig figcaption { color: #fff; font-family: var(--font-display); font-size: 1.25rem; text-align: center; }
.mm-page .mm-lightbox__close {
    position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .18); color: #fff; font-size: 1.8rem; line-height: 1;
}
.mm-page .mm-lightbox__close:hover, .mm-page .mm-lightbox__close:focus-visible { background: rgba(255, 255, 255, .34); outline: none; }

/* ── Step one ── */
.mm-page .mm-gives .mm-eyebrow { margin-bottom: 18px; }
.mm-page .mm-ticks { display: grid; gap: 14px; }
.mm-page .mm-ticks li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.1rem; }
.mm-page .mm-ticks .mm-icon { color: var(--mm-ink); width: 20px; height: 20px; padding: 7px; border-radius: 50%; box-sizing: content-box; background: var(--mm-lime); box-shadow: 0 6px 14px -6px var(--mm-lime-deep); }
.mm-page .mm-ticks--big li { font-size: clamp(1.1rem, 2vw, 1.3rem); }

/* ── Recalibration ── */
.mm-page .mm-diff-label { margin-top: 32px !important; }
.mm-page .mm-versus { display: grid; gap: 14px; align-items: stretch; margin-top: 22px; }
@media (min-width: 820px) { .mm-page .mm-versus { grid-template-columns: 1fr auto 1fr; } }
.mm-page .mm-versus__card { display: grid; place-items: center; text-align: center; min-height: 140px; }
.mm-page .mm-versus__card--deep { background: linear-gradient(150deg, rgba(108, 99, 255, .12), rgba(216, 31, 143, .08)), var(--mm-glass); }
.mm-page .mm-versus__and { align-self: center; justify-self: center; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--mm-muted); }
.mm-page .mm-after-versus { margin-top: clamp(36px, 5vw, 56px); }
.mm-page .mm-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 8px 18px !important; }
.mm-page .mm-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 600; background: #fff; border: 1px solid rgba(108, 99, 255, .18); box-shadow: 0 8px 20px -14px rgba(60, 40, 120, .45); }
.mm-page .mm-pills .mm-icon { color: var(--mm-ink); width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--mm-lime); box-sizing: content-box; }

/* ── What's inside + price ── */
.mm-page .mm-inside-grid { display: grid; gap: 22px; align-items: stretch; margin-top: 12px; }
@media (min-width: 960px) { .mm-page .mm-inside-grid { grid-template-columns: 1.55fr 1fr; } }
.mm-page .mm-inside { display: grid; gap: 16px; }
@media (min-width: 620px) { .mm-page .mm-inside { grid-template-columns: 1fr 1fr; } }
.mm-page .mm-inside li { transition: transform .35s var(--mm-ease), box-shadow .35s ease; }
.mm-page .mm-inside li:hover, .mm-page.mm-js .mm-inside li.mm-reveal.is-in:hover { transform: translateY(-4px); }
/* While hovered, a card's own quick timing. Not on .is-in itself: that would replace the reveal's
   opacity fade and stagger the moment the card appears. */
.mm-page.mm-js .mm-inside li.mm-reveal.is-in:hover { transition: transform .35s var(--mm-ease), box-shadow .35s ease; transition-delay: 0s; }
.mm-page .mm-inside .mm-icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; box-sizing: border-box; color: var(--mm-purple); background: rgba(108, 99, 255, .1); margin-bottom: 14px; }
.mm-page .mm-inside h3 { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; margin-bottom: 6px; }
.mm-page .mm-inside p { color: var(--mm-muted); font-size: .98rem; }
.mm-page .mm-pricecard {
    position: relative; border-radius: 30px; padding: clamp(28px, 4vw, 40px); text-align: center; display: grid; gap: 12px; align-content: center;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, var(--mm-violet), var(--mm-pink)) border-box;
    border: 2px solid transparent; box-shadow: 0 30px 70px -34px rgba(91, 82, 224, .6);
}
.mm-page .mm-pricecard__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 9vw, 5.6rem); line-height: .9; color: var(--mm-ink); font-variant-numeric: lining-nums; }
.mm-page .mm-pricecard__line { font-size: 1.35rem; font-weight: 600; }
.mm-page .mm-pricecard__note { color: var(--mm-muted); font-size: .95rem; }

/* ── Ages ── */
.mm-page .mm-ages { display: grid; gap: 18px; margin: 40px 0 clamp(48px, 7vw, 72px); }
@media (min-width: 880px) { .mm-page .mm-ages { grid-template-columns: repeat(3, 1fr); } }
.mm-page .mm-age { position: relative; overflow: hidden; }
.mm-page .mm-age > * + * { margin-top: 12px; }
.mm-page .mm-age__n {
    position: absolute; right: -6px; top: -18px; font-family: var(--font-display); font-weight: 700; font-size: 6.5rem; line-height: 1;
    background: linear-gradient(140deg, rgba(108, 99, 255, .22), rgba(216, 31, 143, .14)); -webkit-background-clip: text; background-clip: text; color: transparent;
    pointer-events: none;
}
.mm-page .mm-age h3 { position: relative; font-family: var(--font-display); font-size: 1.65rem; line-height: 1.2; color: var(--mm-purple); margin-top: 52px; }
.mm-page .mm-age p { position: relative; }
.mm-page .mm-quote { font-size: clamp(2rem, 4.6vw, 3.2rem); font-style: italic; line-height: 1.15; }
.mm-page .mm-wait { max-width: 640px; margin-inline: auto; }

/* ── Days away ── */
.mm-page .mm-daysaway { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(32px, 5vw, 56px); }
.mm-page .mm-daysaway .mm-ticks { display: inline-grid; text-align: left; margin: 6px 0 22px; }

/* ── Timeline ── */
.mm-page .mm-timeline { position: relative; display: grid; gap: 22px; margin: 34px auto 34px; max-width: 980px; counter-reset: none; }
.mm-page .mm-timeline::before {
    content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
    background: linear-gradient(var(--mm-lime-deep), var(--mm-pink)); transform-origin: top; transform: scaleY(var(--mm-line, 1));
    transition: transform 1.4s var(--mm-ease);
}
.mm-page.mm-js .mm-timeline:not(.is-drawn)::before { --mm-line: 0; }
.mm-page .mm-timeline li { position: relative; display: flex; align-items: center; gap: 18px; }
.mm-page .mm-timeline p { font-weight: 600; font-size: 1.08rem; padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px -20px rgba(60, 40, 120, .45); flex: 1; }
.mm-page .mm-timeline__n {
    position: relative; z-index: 1; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
    background: var(--mm-lime); color: var(--mm-ink); box-shadow: 0 0 0 6px rgba(255, 255, 255, .9), 0 10px 22px -10px var(--mm-lime-deep);
}
@media (min-width: 900px) {
    .mm-page .mm-timeline { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .mm-page .mm-timeline::before { left: 12%; right: 12%; top: 27px; bottom: auto; width: auto; height: 2px; transform-origin: left; transform: scaleX(var(--mm-line, 1)); }
    .mm-page .mm-timeline li { flex-direction: column; text-align: center; }
    .mm-page .mm-timeline p { width: 100%; }
}

/* ── Guarantee ── */
.mm-page .mm-guarantee { display: grid; gap: 26px; max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 52px); }
@media (min-width: 760px) { .mm-page .mm-guarantee { grid-template-columns: auto 1fr; align-items: center; gap: 44px; } }
.mm-page .mm-seal { position: relative; width: 140px; justify-self: center; display: grid; justify-items: center; gap: 6px; }
.mm-page .mm-seal svg { width: 120px; height: 120px; filter: drop-shadow(0 18px 30px rgba(91, 82, 224, .35)); }
.mm-page .mm-seal span { font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mm-purple); }
.mm-page .mm-seal__tick { stroke-dasharray: 60; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--mm-ease) .3s; }
.mm-page.mm-js .mm-seal:not(.is-in) .mm-seal__tick { stroke-dashoffset: 60; }

/* ── FAQ ── */
.mm-page .mm-faq-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .mm-page .mm-faq-grid { grid-template-columns: 1fr 1fr; } }
.mm-page .mm-faq { border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 26px -20px rgba(60, 40, 120, .45); margin-top: 12px; transition: background .2s ease; }
.mm-page .mm-faq[open] { background: #fff; }
.mm-page .mm-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font-weight: 700; font-size: 1.08rem; }
.mm-page .mm-faq summary::-webkit-details-marker { display: none; }
.mm-page .mm-faq summary::after {
    content: "+"; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.3rem; line-height: 1; color: var(--mm-purple); background: rgba(108, 99, 255, .1);
    transition: transform .25s var(--mm-ease);
}
.mm-page .mm-faq[open] summary::after { transform: rotate(45deg); }
.mm-page .mm-faq summary:focus-visible { outline: 3px solid var(--mm-violet); outline-offset: 2px; border-radius: 18px; }
.mm-page .mm-faq__body { padding: 0 20px 18px; color: var(--mm-muted); }
.mm-page .mm-faq__body p + p { margin-top: 10px; }

/* ── Praise + close ── */
.mm-page .mm-praise { columns: 1; column-gap: 18px; max-width: 980px; margin: 32px auto 0; }
@media (min-width: 760px) { .mm-page .mm-praise { columns: 2; } }
.mm-page .mm-praise img { break-inside: avoid; margin: 0 auto 18px; border-radius: 18px; padding: 8px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 16px 40px -26px rgba(60, 40, 120, .5); }
.mm-page .mm-close { padding: 0 0 clamp(64px, 9vw, 112px); }
.mm-page .mm-close__card {
    position: relative; overflow: hidden; text-align: center; border-radius: 34px; padding: clamp(40px, 7vw, 72px) 24px;
    background: radial-gradient(circle at 15% 10%, rgba(108, 99, 255, .25), transparent 45%), radial-gradient(circle at 90% 90%, rgba(216, 31, 143, .2), transparent 45%), rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--mm-shadow);
}
.mm-page .mm-close__title { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.08; font-weight: 600; margin-top: 10px; }
.mm-page .mm-close .mm-note { margin-top: 12px; }

/* ── Motion ──
   Hero copy rises in on load. Below the fold, two_minute_miracle.js tags blocks with .mm-reveal and
   adds .is-in as each scrolls into view. Nothing is hidden unless the script has put .mm-js on the
   page, so a visitor without JavaScript never sees a blank section. */
.mm-page .mm-rise { display: inline-block; animation: mm-rise .95s var(--mm-ease) both; animation-delay: var(--d, 0s); }
.mm-page p.mm-rise, .mm-page div.mm-rise { display: block; }
.mm-page .mm-hero__actions.mm-rise { display: flex; }
.mm-page p.mm-chip.mm-rise { display: inline-flex; }
.mm-page.mm-js .mm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--mm-ease), transform .85s var(--mm-ease); transition-delay: var(--d, 0s); }
.mm-page.mm-js .mm-reveal.is-in { opacity: 1; transform: none; }
.mm-page.mm-js .mm-reveal--zoom { transform: scale(.96); }
.mm-page.mm-js .mm-reveal--zoom.is-in { transform: none; }

@keyframes mm-rise { from { opacity: 0; transform: translateY(.6em); } to { opacity: 1; transform: none; } }
@keyframes mm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mm-sheen { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }

/* ── Phone ── */
@media (max-width: 899px) {
    .mm-page .mm-hero__copy { text-align: center; }
    .mm-page .mm-hero .mm-lead { margin-inline: auto; }
    .mm-page .mm-hero__actions { justify-content: center; }
    .mm-page .mm-float--a { left: -10%; }
    .mm-page .mm-float--b { right: -12%; width: 150px; }
    .mm-page .mm-float--c { left: -8%; }
}
@media (max-width: 520px) {
    .mm-page .mm-hero__actions > * { flex: 1 1 100%; justify-content: center; }
    .mm-page .mm-hero__media { width: min(250px, 66vw); }
    .mm-page .mm-h1 { font-size: 2.15rem; }
    .mm-page .mm-chip { letter-spacing: .08em; font-size: .68rem; padding: 7px 12px; }
    .mm-page .mm-float { font-size: .8rem; padding: 8px 12px; }
    .mm-page .mm-float--a { left: -22%; }
    .mm-page .mm-float--b { right: -24%; width: 128px; }
    .mm-page .mm-float--c { left: -20%; }
    .mm-page .mm-ribbon span { font-size: 1.15rem; padding: 0 16px; }
    .mm-page .mm-punch b { display: block; }
    .mm-page .mm-punch b + b { margin-left: 0; }
    .mm-page .mm-age__n { font-size: 5rem; }
}
@media (hover: none) {
    .mm-page .mm-ba figure:hover, .mm-page .mm-inside li:hover, .mm-page.mm-js .mm-inside li.mm-reveal.is-in:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mm-page *, .mm-page *::before, .mm-page *::after { animation: none !important; transition: none !important; }
    .mm-page.mm-js .mm-reveal { opacity: 1; transform: none; }
    .mm-page.mm-js .mm-timeline::before { --mm-line: 1; }
    .mm-page.mm-js .mm-seal .mm-seal__tick { stroke-dashoffset: 0; }
    .mm-page .mm-nos span::after { transform: scaleX(1); }
}

/* ── Energy (Melodie 2026-10-01) ── */
/* Highlighter: a yellow marker swipe behind key phrases. It sweeps in when its block reveals; with no
   script (or reduced motion) it is simply there. */
.mm-page .mm-hl {
    color: inherit; padding: 0 .12em; border-radius: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
    background: linear-gradient(100deg, rgba(255, 228, 92, .2), var(--mm-sun) 8%, var(--mm-sun) 92%, rgba(255, 228, 92, .35)) no-repeat 0 62% / 100% 70%;
    transition: background-size .9s var(--mm-ease) .35s;
}
.mm-page.mm-js .mm-reveal:not(.is-in) .mm-hl { background-size: 0% 70%; }
.mm-page .mm-hl--hero { animation: mm-swipe 1s var(--mm-ease) .9s both; }
@keyframes mm-swipe { from { background-size: 0% 70%; } to { background-size: 100% 70%; } }
.mm-page .mm-h1__em .mm-hl { color: var(--mm-ink); }

/* Punch lines: heavy uppercase sans to break up the serif. */
.mm-page .mm-punch { font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.25; }
.mm-page .mm-punch b { font-weight: 800; }
.mm-page .mm-punch b + b { margin-left: .5em; }
.mm-page .mm-punch--pink { color: var(--mm-pink); }

/* Stickers: tilted, lime, dark ink. */
.mm-page .mm-sticker {
    display: inline-block; background: var(--mm-lime); color: var(--mm-ink); font-family: var(--font-sans); font-weight: 800;
    border: 2px solid var(--mm-ink); box-shadow: 4px 4px 0 var(--mm-ink);
}
/* On the AFTER half: every composite is before on the left, after on the right (Melodie 2026-10-01). */
.mm-page .mm-sticker--day {
    position: absolute; top: 12px; right: 12px; padding: 6px 12px; border-radius: 10px; font-size: .85rem;
    letter-spacing: .06em; text-transform: uppercase; transform: rotate(6deg);
}
.mm-page .mm-sticker--price { padding: .08em .3em .12em; border-radius: 22px; transform: rotate(-4deg); font-family: var(--font-display); font-weight: 700; }

/* Step one: her reading order in the DOM, the list beside the copy on a wide screen. */
.mm-page .mm-stepone { display: grid; gap: 24px clamp(32px, 5vw, 72px); align-items: center; }
.mm-page .mm-stepone__b { margin-top: 0; }
@media (min-width: 880px) {
    .mm-page .mm-stepone { grid-template-columns: 1.05fr .95fr; grid-template-areas: "a card" "b card"; }
    .mm-page .mm-stepone__a { grid-area: a; align-self: end; }
    .mm-page .mm-stepone__b { grid-area: b; align-self: start; }
    .mm-page .mm-gives { grid-area: card; }
}
@media (prefers-reduced-motion: reduce) {
    .mm-page .mm-hl, .mm-page.mm-js .mm-reveal:not(.is-in) .mm-hl { background-size: 100% 70%; }
}

/* ── The order form in the price card (shared _review_offer_form.html, 2026-10-01) ── */
/* The shared form is display:flex, which beats the browser's own [hidden] rule (the 9MM page hit this):
   without this the options stay on screen above Stripe's checkout. */
.mm-page [hidden] { display: none !important; }
.mm-page .mm-pricecard .review-form-block { text-align: left; }
/* The sticker already shows the price; the form's own plain price line would say it twice. */
.mm-page .mm-pricecard .review-price { display: none; }
.mm-page .mm-pricecard .review-form { gap: 10px; margin-top: 4px; }
.mm-page .mm-pricecard .price-option { border-radius: 16px; background: #fff; }
.mm-page .mm-pricecard .price-option-price { font-family: var(--font-display); font-size: 1.6rem; }
.mm-page .mm-pricecard .marketing-notice, .mm-page .mm-pricecard .review-optout-row span { color: var(--mm-muted); }
.mm-page .mm-pricecard .review-continue {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 6px;
    border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: 700 1rem/1.25 var(--font-sans);
    background: linear-gradient(135deg, #E23C9E, var(--mm-pink) 55%, #B8177A);
    box-shadow: 0 16px 36px -14px var(--mm-pink); transition: transform .25s var(--mm-ease);
}
.mm-page .mm-pricecard .review-continue:hover { transform: translateY(-2px); }
.mm-page .mm-pricecard .review-continue:focus-visible { outline: 3px solid var(--mm-violet); outline-offset: 3px; }
.mm-page .mm-pricecard .review-continue:disabled { opacity: .7; cursor: progress; transform: none; }
.mm-page .mm-pricecard .review-note { margin-top: 10px; text-align: center; color: var(--mm-muted); font-size: .85rem; }
.mm-page .mm-pricecard.is-paying .review-note { display: none; }
.mm-page .mm-stripe { text-align: left; min-height: 120px; }
/* Every buy button jumps here; leave room for the sticky site header above the card. */
.mm-page #checkout { scroll-margin-top: 96px; }
.mm-page .mm-checkout-back, .mm-page .mm-terms { font-size: .85rem; color: var(--mm-muted); }
/* Paying: Stripe's checkout wants room, so the card takes the full row, ahead of the "What's inside" cards. */
.mm-page .mm-pricecard.is-paying { grid-column: 1 / -1; order: -1; max-width: 640px; width: 100%; justify-self: center; }

/* Allison's "secret deal" note, directly above the order button (2026-10-02). */
.mm-page .mm-secret { margin: 6px 0 16px; padding: 16px 18px; border-radius: 14px; border: 1.5px dashed currentColor; text-align: left; }
.mm-page .mm-secret p { font-size: 0.98rem; line-height: 1.55; }
.mm-page .mm-secret .mm-secret__head { font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }

/* ── The focused checkout page (two_minute_miracle_checkout.html, 2026-10-03) ── */
.mm-page.mm-checkout .mm-co-top { padding: clamp(36px, 6vw, 64px) 0 clamp(20px, 3vw, 32px); }
.mm-page.mm-checkout .mm-co-top .mm-eyebrow { margin-bottom: 8px; }
.mm-page.mm-checkout .mm-co-body { padding-bottom: clamp(48px, 7vw, 88px); }
.mm-page.mm-checkout .mm-co-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 4vw, 56px);
    align-items: start;
}
.mm-page.mm-checkout .mm-co-order { grid-column: 2; grid-row: 1; position: sticky; top: 96px; text-align: left; align-content: start; }
.mm-page.mm-checkout .mm-co-skip { display: none; }
.mm-page.mm-checkout .mm-co-proof { grid-column: 1; grid-row: 1; }
.mm-page.mm-checkout .mm-co-nowrap { white-space: nowrap; }
@media (max-width: 860px) {
    .mm-page.mm-checkout .mm-co-grid { grid-template-columns: 1fr; }
    .mm-page.mm-checkout .mm-co-order { grid-column: 1; grid-row: auto; position: static; }
    .mm-page.mm-checkout .mm-co-proof { grid-column: 1; grid-row: auto; }
    /* Phones (Allison 2026-10-06): testimonials come first, so a way past them. */
    .mm-page.mm-checkout .mm-co-skip { display: block; text-align: center; font-weight: 600; margin-bottom: 8px; }
    .mm-page.mm-checkout .mm-co-skip a { color: #B8177A; text-decoration: underline; text-underline-offset: 3px; }
}
/* On the sales page the sticker shows the price, so the form's own price line is hidden there; here it IS the price. */
.mm-page.mm-checkout .mm-pricecard .review-price { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--mm-ink); margin-bottom: 6px; }
.mm-page.mm-checkout .mm-co-meta { color: var(--mm-muted); font-size: .95rem; }
.mm-page.mm-checkout .mm-co-next { text-align: center; font-weight: 600; font-size: 1.02rem; color: var(--mm-ink); }
.mm-page.mm-checkout .mm-co-guarantee { padding: 12px 14px; border-radius: 14px; background: rgba(108, 99, 255, .08); font-size: .92rem; line-height: 1.5; }
.mm-page.mm-checkout .mm-co-secure { text-align: center; font-size: .8rem; letter-spacing: .04em; color: var(--mm-muted); }
/* Paying: keep the card in its column here (the sales page's rule spreads it across the row). */
.mm-page.mm-checkout .mm-pricecard.is-paying { grid-column: 2; order: 0; max-width: none; }
@media (max-width: 860px) { .mm-page.mm-checkout .mm-pricecard.is-paying { grid-column: 1; } }
.mm-page.mm-checkout .mm-co-ast { text-decoration: none; margin-left: 1px; }
.mm-page.mm-checkout .mm-co-note { font-size: .8rem; line-height: 1.5; color: var(--mm-muted); }
/* Paying, the card is taller than the screen: let it scroll with the page so Stripe's pay button is reachable. */
.mm-page.mm-checkout .mm-pricecard.is-paying { position: static; }
/* The checkout's highlighted testimonial stacks (2026-10-03). */
.mm-page.mm-checkout .mm-co-stack { margin-top: 26px; }
.mm-page.mm-checkout .mm-co-stack__head { font-size: 1.6rem; line-height: 1.2; margin-bottom: 10px; }
.mm-page.mm-checkout .mm-co-stack__img { width: 100%; height: auto; }
.mm-page .mm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
