/* Landing / Welcome (redesign/index.html) — mirrors design isWelcome */

.mn-landing-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 90% at 78% -10%, var(--navy-1) 0%, var(--navy-2) 40%, var(--navy-4) 100%);
    padding: clamp(30px, 3.6vw, 52px) clamp(20px, 5vw, 72px) clamp(38px, 4vw, 60px);
}
.mn-landing-hero-inner {
    position: relative; z-index: 2; max-width: 1240px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 56px);
}
.mn-landing-copy {
    flex: 1 1 420px;
    min-width: 0;
}
.mn-landing-copy h1 {
    font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.02em;
    color: #fffdf8; margin: 18px 0 0;
}
.mn-landing-copy h1 em { font-style: italic; color: var(--accent); }
.mn-landing-copy p.mn-lead {
    margin: 18px 0 0; color: rgba(255, 253, 248, .74); font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.55; max-width: 520px; text-wrap: pretty;
}
/* The "N+ free summaries made" proof: a bold count line over a quieter reach line, each balanced so no language leaves a lone word on the last row. */
.mn-landing-freenote { margin: 14px 0 0; max-width: 520px; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: rgba(255, 253, 248, .86); }
/* Three short promises, each kept whole: on a narrow phone they wrap as whole phrases, never mid-phrase. */
.mn-landing-freenote span { display: inline-block; margin: 0 14px 2px 0; }
.mn-landing-freenote span::before { content: "\2713"; color: var(--accent); font-weight: 800; margin-right: 6px; }
.mn-landing-proof { margin: 14px 0 0; max-width: 520px; }
.mn-landing-proof-main { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.4; color: var(--accent); text-wrap: balance; }
.mn-landing-proof-reach { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; line-height: 1.45; color: rgba(255, 253, 248, .66); text-wrap: balance; }
.mn-landing-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.mn-trust-line {
    display: flex; align-items: center; gap: 9px; margin-top: 20px;
    color: rgba(255, 253, 248, .5); font-size: 13.5px; font-weight: 600;
}

.mn-landing-visual {
    flex: 1 1 380px;
    min-width: 0;
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
}
.mn-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(246, 179, 63, .22); animation: mnRing 26s linear infinite; }
.mn-ring-outer { width: min(420px, 80%); aspect-ratio: 1; }
.mn-ring-inner { width: min(320px, 62%); aspect-ratio: 1; border-color: rgba(255, 255, 255, .1); animation: mnRing 20s linear infinite reverse; }
.mn-preview-card {
    position: relative;
    z-index: 2;
    width: min(340px, 86%);
    box-sizing: border-box;
    padding: 26px;
    border-radius: 26px;
    background: rgba(255, 253, 248, .97);
    box-shadow: 0 40px 80px rgba(4, 12, 40, .45);
    animation: mnFloat 7s ease-in-out infinite;
}
.mn-preview-card .mn-eyebrow { font-size: 11.5px; letter-spacing: .1em; }
.mn-preview-card h3 { font-size: 30px; line-height: 1.05; color: var(--navy-3); margin: 8px 0 12px; }
.mn-preview-divider { margin-top: 18px; height: 1px; background: var(--divider); }

/* Rotating Career Fit / Money Style / Ideal Environment / Personal Cues preview --
   one real snippet at a time, auto-advancing (see landing-preview.js). Fixed min-height
   keeps the card from jumping size as slide text lengths vary. */
.mn-preview-rotator { position: relative; min-height: 96px; margin-top: 14px; }
.mn-preview-slide {
    position: absolute; inset: 0; opacity: 0; transform: translateY(6px) scale(.98);
    transition: opacity .5s ease, transform .5s ease; pointer-events: none;
    display: flex; align-items: flex-start; gap: 14px;
}
.mn-preview-slide.is-active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.mn-preview-slide-icon {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px;
    display: grid; place-items: center; color: #fffdf8;
    box-shadow: 0 10px 22px rgba(4, 12, 40, .18);
}
.mn-preview-icon-career { background: linear-gradient(135deg, #3b5bdb, #1c2f7a); }
.mn-preview-icon-money { background: linear-gradient(135deg, #4caf82, #276749); }
.mn-preview-icon-environment { background: linear-gradient(135deg, #ffb43f, #c97a10); }
.mn-preview-icon-cues { background: linear-gradient(135deg, #b06ae0, #6b2fa3); }
.mn-preview-slide-text { flex: 1 1 auto; min-width: 0; }
.mn-preview-slide-label {
    display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
    color: var(--accent); text-transform: uppercase; margin-bottom: 6px;
}
.mn-preview-slide-value { font-size: 15.5px; line-height: 1.45; color: var(--navy-3); margin: 0; }
.mn-preview-dots { display: flex; gap: 7px; margin-top: 16px; }
.mn-preview-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--divider); transition: background .3s ease, transform .3s ease; }
.mn-preview-dot.is-active { background: var(--accent); transform: scale(1.2); }

/* Floating tag, desktop only -- same slot/animation the old static "Confidence" badge
   used, but now swaps its word in sync with the rotator (see landing-preview.js) instead
   of sitting frozen on one value. */
.mn-preview-tag {
    position: absolute; bottom: -18px; left: -18px; z-index: 3; padding: 13px 17px; border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-3), var(--navy-4)); color: #fffdf8;
    box-shadow: 0 20px 44px rgba(4, 12, 40, .5); animation: mnFloat2 6s ease-in-out infinite .4s;
}
.mn-preview-tag span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffe3a4; }
.mn-preview-tag-word {
    display: none; font-size: 16px; font-weight: 800; letter-spacing: .02em;
    animation: mnTagPop .4s ease;
}
.mn-preview-tag-word.is-active { display: block; }
@keyframes mnTagPop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }

/* Compact duplicate shown only on mobile (see max-width:650px block below), placed
   right after the hero CTAs so there's a small animated element above the fold --
   the full-size card further down the page is hidden at that width to avoid showing
   the same rotator twice. */
.mn-mobile-preview { display: none; width: 100%; box-sizing: border-box; margin-top: 18px; animation: none; }

.mn-how-section {
    width: 100%;
    max-width: 1240px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: clamp(56px, 7vw, 110px) clamp(20px, 5vw, 72px);
}
.mn-how-heading { text-align: center; max-width: 680px; margin: 0 auto; }
.mn-how-heading h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.01em; color: var(--navy-3); margin-top: 12px; }
.mn-how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; margin-top: clamp(36px, 4vw, 60px); }
.mn-how-card { padding: 32px; border-radius: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.mn-how-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(9, 43, 130, .1); }
.mn-how-num {
    width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-3), var(--navy-4));
    color: var(--accent); font-family: var(--font-display); font-size: 24px; display: grid; place-items: center;
}
.mn-how-card h3 { font-weight: 500; font-size: 24px; color: var(--ink); margin: 20px 0 8px; }
.mn-how-card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.mn-closing-section {
    width: 100%;
    max-width: 1240px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 100px);
}
.mn-closing-band {
    position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 5vw, 72px);
    background: radial-gradient(120% 120% at 20% 0%, var(--navy-1), var(--navy-4)); text-align: center;
}
.mn-closing-band h2 { position: relative; z-index: 2; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; color: #fffdf8; margin: 0 auto; max-width: 620px; }
.mn-closing-band .mn-btn { position: relative; z-index: 2; margin-top: 30px; height: 58px; padding: 0 32px; }

.mn-disclaimer-toggle {
    background: none; border: none; padding: 0; color: var(--sage); font-weight: 700; font-size: 12.5px;
    text-decoration: underline; cursor: pointer; margin-top: 8px;
}
.mn-disclaimer-panel { display: none; margin-top: 10px; }
.mn-disclaimer-panel.open { display: block; }

@media screen and (max-width: 760px) {
    .mn-landing-hero {
        padding: 28px 20px 44px;
    }

    .mn-landing-hero-inner {
        gap: 32px;
    }

    .mn-landing-copy,
    .mn-landing-visual {
        flex-basis: 100%;
    }

    .mn-landing-visual {
        display: none;
    }

    .mn-mobile-preview {
        display: block;
    }

    .mn-closing-band {
        box-sizing: border-box;
        padding: 38px 22px;
    }
}

@media screen and (max-width: 430px) {
    .mn-landing-copy h1 { font-size: 32px; }
    .mn-landing-actions { flex-direction: column; align-items: stretch; }
    .mn-landing-actions .mn-btn { width: 100%; }
    .mn-preview-card { padding: 20px; border-radius: 22px; }
    .mn-how-card { padding: 24px 20px; }
    .mn-how-card h3 { font-size: 21px; }
    .mn-closing-band h2 { font-size: 26px; }
}

/* Logged-in visitor: a quiet welcome, one button home, and a small way out if it is somebody else's phone. */
.mn-landing-welcome { margin: 22px 0 0; font-size: 17px; font-weight: 700; color: var(--accent); text-wrap: balance; }
.mn-landing-welcome + .mn-landing-actions { margin-top: 12px; }
.mn-landing-notyou { margin: 12px 0 0; }
.mn-landing-notyou button { background: none; border: none; padding: 4px 0; font: inherit; font-size: 13.5px; font-weight: 600; color: rgba(255, 253, 248, .72); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Festive-season offer pill sits between the lead text and the main button, inside the first screen on a phone. */
.mn-landing-festive { margin: 22px 0 0; }
.mn-landing-festive + .mn-landing-actions { margin-top: 14px; }
/* Price line under the trust line while the festive offer is on: both prices with their struck-through price. */
.mn-landing-offerline { font-size: 15px; line-height: 1.55; margin-top: 12px; color: #fffdf8; }
.mn-landing-offerline b { font-size: 17px; color: #ffd27a; }
.mn-landing-offerline s { opacity: .6; }
.mn-landing-offerline-dot { margin: 0 6px; opacity: .6; }
/* On a phone each price sits on its own line (report first, family second) instead of wrapping in the middle of a phrase. */
@media (max-width: 520px) { .mn-landing-offerline-item { display: block; } .mn-landing-offerline-dot { display: none; } }
