@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Patrick+Hand&display=swap");

.msnt2-page {
    --blue: #159bb7;
    --blue-dark: #08768f;
    --navy: #102f3e;
    --navy-dark: #092432;
    --yellow: #f4b92d;
    --pink: #ed819b;
    --green: #68aa88;
    --cream: #fdfbf5;
    --white: #ffffff;
    --soft-blue: #e8f6f8;
    --soft-yellow: #fff4cf;
    --soft-pink: #fde9ef;
    --soft-green: #e8f4ed;
    --text: #506874;
    --muted: #748891;
    --line: rgba(16, 47, 62, 0.13);

    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    color: var(--text);
    background: var(--cream);
    font-family: "Nunito", Arial, sans-serif;
}

.msnt2-page,
.msnt2-page *,
.msnt2-page *::before,
.msnt2-page *::after {
    box-sizing: border-box;
}

.msnt2-page h1,
.msnt2-page h2,
.msnt2-page h3,
.msnt2-page p {
    margin-top: 0;
}

.msnt2-page h1,
.msnt2-page h2,
.msnt2-page h3 {
    color: var(--navy);
    font-family: "Patrick Hand", "Comic Sans MS", cursive;
    font-weight: 400;
}

.msnt2-page a {
    text-decoration: none;
}

.msnt2-wrap {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

.msnt2-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.msnt2-label::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--blue);
    transform: rotate(-5deg);
}

/* Intro */
.msnt2-intro {
    position: relative;
    padding: clamp(64px, 8vw, 104px) 0 clamp(58px, 8vw, 94px);
    background:
        radial-gradient(circle at 91% 9%, rgba(21, 155, 183, 0.14), transparent 28%),
        radial-gradient(circle at 5% 94%, rgba(237, 129, 155, 0.08), transparent 24%),
        var(--cream);
}

.msnt2-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
    align-items: center;
    gap: clamp(45px, 8vw, 90px);
}

.msnt2-intro__copy {
    position: relative;
}

.msnt2-intro h1 {
    max-width: 760px;
    margin: 15px 0 24px;
    font-size: clamp(65px, 8vw, 102px);
    line-height: 0.88;
}

.msnt2-intro h1 span {
    position: relative;
    display: block;
    color: var(--blue-dark);
}

.msnt2-intro h1 span::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: -8px;
    width: 70%;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--blue) 0 80%, var(--yellow) 80% 100%);
    transform: rotate(-1.5deg);
}

.msnt2-intro__lead {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--navy);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.65;
}

.msnt2-stickers {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.msnt2-stickers span {
    padding: 8px 13px;
    border: 2px dashed rgba(16, 47, 62, 0.14);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-family: "Patrick Hand", cursive;
    font-size: 17px;
    line-height: 1;
    box-shadow: 3px 4px 0 rgba(16, 47, 62, 0.05);
}

.msnt2-stickers span:nth-child(2) {
    background: var(--soft-yellow);
    transform: rotate(1deg);
}

.msnt2-stickers span:nth-child(3) {
    background: var(--soft-pink);
    transform: rotate(-1deg);
}

.msnt2-stickers span:nth-child(4) {
    background: var(--soft-green);
    transform: rotate(1deg);
}

.msnt2-note {
    position: relative;
    padding: 45px 34px 34px;
    border: 2px dashed rgba(16, 47, 62, 0.15);
    border-radius: 24px 36px 23px 32px;
    background: var(--soft-yellow);
    box-shadow: 7px 9px 0 rgba(16, 47, 62, 0.055);
    transform: rotate(0.8deg);
}

.msnt2-note__tape {
    position: absolute;
    top: -14px;
    left: 50%;
    width: 105px;
    height: 29px;
    background: rgba(255, 255, 255, 0.78);
    transform: translateX(-50%) rotate(-3deg);
}

.msnt2-note small,
.msnt2-note strong {
    display: block;
}

.msnt2-note small {
    margin-bottom: 8px;
    color: #8a6714;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.msnt2-note strong {
    color: var(--blue-dark);
    font-family: "Patrick Hand", cursive;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.02;
}

.msnt2-note p {
    margin: 17px 0 13px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.msnt2-note a {
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    border-bottom: 2px solid var(--blue);
}

.msnt2-note__doodle {
    position: absolute;
    right: 18px;
    bottom: -29px;
    color: var(--pink);
    font-family: "Patrick Hand", cursive;
    font-size: 49px;
    transform: rotate(9deg);
}

/* Test */
.msnt2-test-section {
    position: relative;
    padding: clamp(65px, 8vw, 100px) 0 clamp(85px, 10vw, 125px);
    background: var(--soft-blue);
}

.msnt2-test-section::before {
    content: "〰〰";
    position: absolute;
    top: 24px;
    left: 5%;
    color: var(--pink);
    font-family: "Patrick Hand", cursive;
    font-size: 44px;
    transform: rotate(-8deg);
}

.msnt2-card {
    position: relative;
    max-width: 920px;
    margin-inline: auto;
    padding: clamp(28px, 5vw, 52px);
    border: 2px dashed rgba(16, 47, 62, 0.14);
    border-radius: 24px 36px 24px 31px;
    background: var(--white);
    box-shadow: 9px 12px 0 rgba(16, 47, 62, 0.055);
}

.msnt2-card::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 105px;
    height: 27px;
    background: rgba(255, 236, 120, 0.85);
    transform: translateX(-50%) rotate(-3deg);
}

.msnt2-loading {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.msnt2-loading__icon {
    width: 88px;
    height: 82px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 49% 51% 44% 56% / 55% 45% 55% 45%;
    background: var(--soft-yellow);
    color: var(--blue-dark);
    font-family: "Patrick Hand", cursive;
    font-size: 38px;
    animation: msnt2-float 1.2s ease-in-out infinite alternate;
}

@keyframes msnt2-float {
    from { transform: translateY(0) rotate(-3deg); }
    to { transform: translateY(-7px) rotate(2deg); }
}

.msnt2-loading h2 {
    margin: 0 0 8px;
    font-size: 42px;
}

.msnt2-loading p {
    margin-bottom: 18px;
    color: var(--muted);
}

.msnt2-progress-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.msnt2-stage {
    display: block;
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.msnt2-progress-head strong {
    display: block;
    margin-top: 4px;
    color: var(--navy);
    font-size: 18px;
}

.msnt2-progress-hint {
    max-width: 260px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
    text-align: right;
}

.msnt2-progress {
    height: 11px;
    margin: 16px 0 36px;
    overflow: hidden;
    border-radius: 99px;
    background: #dcecee;
}

.msnt2-progress span {
    display: block;
    width: 5%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--yellow));
    transition: width 0.25s ease;
}

.msnt2-question-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.msnt2-question-form legend {
    width: 100%;
    margin-bottom: 26px;
    color: var(--navy);
    font-family: "Patrick Hand", cursive;
    font-size: clamp(32px, 5vw, 45px);
    line-height: 1.15;
}

.msnt2-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.msnt2-option {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 67px;
    padding: 13px 15px;
    border: 2px solid rgba(16, 47, 62, 0.12);
    border-radius: 13px 19px 14px 17px;
    background: var(--cream);
    cursor: pointer;
    transition: 0.18s ease;
}

.msnt2-option:hover,
.msnt2-option.is-selected {
    border-color: var(--blue);
    background: var(--soft-blue);
    transform: translateY(-2px);
}

.msnt2-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.msnt2-option__letter {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue-dark);
    font-family: "Patrick Hand", cursive;
    font-size: 21px;
    box-shadow: 2px 3px 0 rgba(16, 47, 62, 0.05);
}

.msnt2-option.is-selected .msnt2-option__letter {
    background: var(--blue);
    color: var(--white);
}

.msnt2-option__text {
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.msnt2-question-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 31px;
}

.msnt2-answer-note {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.msnt2-primary,
.msnt2-secondary {
    min-height: 54px;
    padding: 11px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    cursor: pointer;
    font-family: "Patrick Hand", cursive;
    font-size: 23px;
    line-height: 1;
    transition: 0.18s ease;
}

.msnt2-primary {
    border: 2px solid #27aec9;
    border-radius: 13px 20px 13px 18px;
    background: var(--blue);
    color: var(--white) !important;
    box-shadow: 5px 7px 0 rgba(8, 118, 143, 0.16);
}

.msnt2-primary:hover {
    background: var(--blue-dark);
    transform: translateY(2px);
    box-shadow: 2px 3px 0 rgba(8, 118, 143, 0.14);
}

.msnt2-secondary {
    border: 2px dashed rgba(16, 47, 62, 0.2);
    border-radius: 13px 18px 13px 17px;
    background: var(--cream);
    color: var(--navy);
}

.msnt2-primary:disabled,
.msnt2-secondary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* Result */
.msnt2-result {
    position: relative;
    text-align: center;
}

.msnt2-result__spark {
    position: absolute;
    top: -25px;
    right: 5px;
    color: var(--pink);
    font-family: "Patrick Hand", cursive;
    font-size: 58px;
    transform: rotate(9deg);
}

.msnt2-result__level {
    width: 150px;
    height: 140px;
    margin: 20px auto 18px;
    display: grid;
    place-items: center;
    border: 3px dashed rgba(16, 47, 62, 0.16);
    border-radius: 49% 51% 44% 56% / 55% 45% 55% 45%;
    background: var(--soft-yellow);
    color: var(--blue-dark);
    font-family: "Patrick Hand", cursive;
    font-size: 73px;
    transform: rotate(-3deg);
}

.msnt2-result h2 {
    margin-bottom: 10px;
    font-size: clamp(40px, 6vw, 58px);
    line-height: 1;
}

.msnt2-result > p {
    max-width: 690px;
    margin: 0 auto 27px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.msnt2-score-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin: 28px 0;
}

.msnt2-score-grid article {
    padding: 18px;
    border: 2px dashed var(--line);
    border-radius: 14px 21px 15px 18px;
    background: var(--cream);
}

.msnt2-score-grid small,
.msnt2-score-grid strong {
    display: block;
}

.msnt2-score-grid small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.msnt2-score-grid strong {
    margin-top: 5px;
    color: var(--navy);
    font-size: 21px;
}

.msnt2-disclaimer {
    max-width: 720px;
    margin: 0 auto;
    padding: 14px 17px;
    border: 2px dashed rgba(244, 185, 45, 0.55);
    border-radius: 13px 19px 14px 17px;
    background: var(--soft-yellow);
    color: #6f6542;
    font-size: 12px;
    line-height: 1.6;
}

.msnt2-email-choice {
    margin-top: 34px;
    padding: 28px;
    border: 2px dashed var(--line);
    border-radius: 20px 29px 21px 26px;
    background: var(--soft-blue);
    text-align: left;
}

.msnt2-email-choice h3 {
    margin: 0 0 7px;
    font-size: 33px;
}

.msnt2-email-choice > p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.msnt2-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.msnt2-choice-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 2px dashed var(--line);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
}

.msnt2-choice-row input,
.msnt2-consent input {
    accent-color: var(--blue);
}

.msnt2-choice-row span {
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.msnt2-email-form {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 2px dashed rgba(16, 47, 62, 0.1);
}

.msnt2-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.msnt2-field-row label {
    display: grid;
    gap: 7px;
}

.msnt2-field-row label > span {
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.msnt2-field-row input {
    width: 100%;
    min-height: 50px;
    padding: 10px 13px;
    border: 2px solid rgba(16, 47, 62, 0.13);
    border-radius: 11px 16px 12px 14px;
    background: var(--white);
    color: var(--navy);
    font: inherit;
}

.msnt2-field-row input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(21, 155, 183, 0.11);
}

.msnt2-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 11px;
    margin: 18px 0;
    cursor: pointer;
}

.msnt2-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.msnt2-consent span {
    color: var(--navy);
    font-size: 13px;
    line-height: 1.6;
}

.msnt2-email-status {
    margin-top: 13px;
    font-size: 13px;
    font-weight: 800;
}

.msnt2-email-status.is-success {
    color: #347655;
}

.msnt2-email-status.is-error {
    color: #a84d56;
}

.msnt2-result__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 25px;
}

.msnt2-message {
    max-width: 920px;
    margin: 22px auto 0;
    padding: 16px 18px;
    border: 2px dashed;
    border-radius: 13px 20px 14px 18px;
    font-size: 13px;
    font-weight: 800;
}

.msnt2-message--error {
    border-color: rgba(201, 95, 104, 0.45);
    background: #fce9eb;
    color: #913f48;
}

.msnt2-message--success {
    border-color: rgba(104, 170, 136, 0.48);
    background: var(--soft-green);
    color: #347655;
}

.msnt2-page [hidden] {
    display: none !important;
}

.msnt2-page button:focus-visible,
.msnt2-page a:focus-visible,
.msnt2-page input:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .msnt2-intro__grid {
        grid-template-columns: 1fr;
    }

    .msnt2-note {
        max-width: 620px;
    }
}

@media (max-width: 650px) {
    .msnt2-wrap {
        width: 100%;
        padding-inline: 20px;
    }

    .msnt2-intro {
        padding-top: 58px;
        padding-bottom: 68px;
    }

    .msnt2-intro h1 {
        font-size: clamp(60px, 19vw, 82px);
    }

    .msnt2-intro__lead {
        font-size: 17px;
    }

    .msnt2-note {
        padding: 42px 25px 31px;
    }

    .msnt2-card {
        padding: 29px 20px;
        border-radius: 20px 28px 20px 25px;
    }

    .msnt2-progress-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .msnt2-progress-hint {
        text-align: left;
    }

    .msnt2-options {
        grid-template-columns: 1fr;
    }

    .msnt2-question-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .msnt2-primary,
    .msnt2-secondary {
        width: 100%;
    }

    .msnt2-score-grid {
        grid-template-columns: 1fr;
    }

    .msnt2-field-row {
        grid-template-columns: 1fr;
    }

    .msnt2-email-choice {
        padding: 22px 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .msnt2-page *,
    .msnt2-page *::before,
    .msnt2-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
