css
/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    min-height: 100svh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: #f5f7fb;
    background: #10233f;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   PAGE
========================================================= */

.page {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        max(24px, env(safe-area-inset-top))
        max(20px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom))
        max(20px, env(safe-area-inset-left));

    overflow: hidden;
}


/* =========================================================
   MAIN CARD
========================================================= */

.card {
    width: min(460px, 100%);

    padding: 38px 32px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.20);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    animation:
        cardIn 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cardIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   INTRO
========================================================= */

.eyebrow {
    display: block;

    margin-bottom: 12px;

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.04em;

    color: rgba(255, 255, 255, 0.52);
}

h1 {
    font-size: clamp(32px, 8vw, 43px);
    line-height: 1.08;

    letter-spacing: -0.035em;

    font-weight: 650;

    color: #ffffff;
}


/* =========================================================
   MESSAGE
========================================================= */

.message {
    margin-top: 30px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 16px;
    line-height: 1.65;
}

.message p + p {
    margin-top: 17px;
}

.message .aside {
    padding-left: 14px;

    border-left: 2px solid rgba(255, 255, 255, 0.15);

    color: rgba(255, 255, 255, 0.50);

    font-size: 14px;
    line-height: 1.55;
}


/* =========================================================
   QUESTION
========================================================= */

.question {
    margin-top: 31px;

    font-size: 21px;
    line-height: 1.35;

    font-weight: 600;

    color: #ffffff;
}


/* =========================================================
   BUTTONS
========================================================= */

.buttons {
    display: flex;

    gap: 10px;

    margin-top: 24px;
}

.button {
    flex: 1;

    min-height: 52px;

    padding: 0 18px;

    border: 0;
    border-radius: 15px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;

    transition:
        transform 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.button:active {
    transform: scale(0.97);
}

.button-primary {
    color: #10233f;

    background: #f4f7ff;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.15);
}

.button-primary:hover {
    background: #ffffff;

    transform: translateY(-2px);
}

.button-secondary {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.10);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.13);

    transform: translateY(-2px);
}


/* =========================================================
   MODAL OVERLAY
========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        max(24px, env(safe-area-inset-top))
        max(20px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom))
        max(20px, env(safe-area-inset-left));

    background: rgba(5, 12, 25, 0.58);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   MODAL
========================================================= */

.modal {
    position: relative;

    width: min(390px, 100%);

    padding: 36px 28px 29px;

    text-align: center;

    border-radius: 24px;

    background: #162b4a;

    border: 1px solid rgba(255, 255, 255, 0.13);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.38);

    transform: translateY(12px) scale(0.97);

    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.visible .modal {
    transform: translateY(0) scale(1);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.close-button {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: rgba(255, 255, 255, 0.42);

    font-size: 25px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background-color 140ms ease,
        color 140ms ease;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.07);

    color: rgba(255, 255, 255, 0.85);
}


/* =========================================================
   MODAL CONTENT
========================================================= */

.modal-icon {
    width: 56px;
    height: 56px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.10);

    font-size: 24px;

    animation: iconAppear 350ms ease;
}

@keyframes iconAppear {

    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal h2 {
    margin-bottom: 14px;

    font-size: clamp(27px, 7vw, 34px);

    line-height: 1.15;

    letter-spacing: -0.03em;
}

.modal p {
    color: rgba(255, 255, 255, 0.68);

    font-size: 16px;

    line-height: 1.65;
}


/* =========================================================
   MODAL BUTTON
========================================================= */

.modal-button {
    width: 100%;

    min-height: 48px;

    margin-top: 25px;

    border: 0;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.09);

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 150ms ease,
        transform 150ms ease;
}

.modal-button:hover {
    background: rgba(255, 255, 255, 0.14);

    transform: translateY(-1px);
}

.modal-button:active {
    transform: scale(0.98);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .page {
        align-items: center;
    }

    .card {
        padding: 31px 23px 27px;

        border-radius: 21px;
    }

    h1 {
        font-size: 34px;
    }

    .message {
        margin-top: 26px;

        font-size: 15px;
    }

    .message p + p {
        margin-top: 15px;
    }

    .question {
        margin-top: 27px;

        font-size: 20px;
    }

    .buttons {
        margin-top: 21px;

        flex-direction: column;
    }

    .button {
        width: 100%;

        min-height: 50px;
    }

    .modal {
        padding:
            34px
            22px
            25px;
    }
}


/* =========================================================
   SMALL HEIGHT DEVICES
========================================================= */

@media (max-height: 700px) {

    .card {
        padding-top: 25px;
        padding-bottom: 23px;
    }

    .message {
        margin-top: 21px;
    }

    .message p + p {
        margin-top: 11px;
    }

    .question {
        margin-top: 20px;
    }

    .buttons {
        margin-top: 17px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 1ms !important;
    }
}

