:root {
    --mp-burdeo: #8b000f;
    --mp-burdeo-dark: #64000b;
    --mp-background: #f7f3ec;
    --mp-white: #ffffff;
    --mp-ink: #202020;
    --mp-muted: #706b67;
    --mp-border: #e5ddd3;
    --mp-radius: 18px;
    --mp-shadow:
        0 14px 34px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--mp-background);
    color: var(--mp-ink);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

.mp-shell {
    width: min(
        760px,
        calc(100% - 32px)
    );

    margin: 0 auto;
}

.mp-header {
    background: var(--mp-burdeo);
}

.mp-header__inner {
    min-height: 76px;

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

.mp-brand {
    height: 34px;
    width: auto;
}

.mp-main {
    padding: 50px 0 36px;
}

.mp-access {
    text-align: center;
}

.mp-eyebrow {
    margin: 0 0 10px;

    color: var(--mp-burdeo);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.mp-access h1 {
    margin: 0 0 12px;

    font-size: 40px;
    line-height: 1.08;
}

.mp-lead {
    max-width: 590px;

    margin: 0 auto 28px;

    color: var(--mp-muted);

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

.mp-card {
    width: min(430px, 100%);

    margin: 0 auto;

    padding: 30px;

    background: var(--mp-white);

    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);

    box-shadow: var(--mp-shadow);
}

.mp-qr-box {
    width: min(260px, 90%);
    aspect-ratio: 1;

    margin: 0 auto 22px;

    display: flex;
    flex-direction: column;

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

    gap: 16px;

    border: 2px dashed var(--mp-border);
    border-radius: 18px;

    background: #fbfaf8;
}

.mp-qr-image {
    display: block;

    width: 220px;
    height: 220px;

    max-width: 90%;

    object-fit: contain;

    background: #ffffff;
}

.mp-qr-preparing {
    color: var(--mp-muted);

    font-size: 13px;
    font-weight: 700;
}

.mp-challenge-hint {
    margin-bottom: 10px;

    color: var(--mp-muted);

    font-family: monospace;
    font-size: 13px;
}

.mp-status {
    min-height: 24px;

    color: var(--mp-ink);

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

    line-height: 1.5;
}

.mp-secondary-button {
    min-height: 44px;

    margin-top: 18px;
    padding: 0 18px;

    border: 1px solid var(--mp-burdeo);
    border-radius: 12px;

    background: #fff;

    color: var(--mp-burdeo);

    cursor: pointer;

    font-size: 14px;
    font-weight: 800;
}

.mp-security {
    max-width: 480px;

    margin: 24px auto 0;

    color: var(--mp-muted);

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

.mp-footer {
    padding: 0 0 32px;

    color: var(--mp-muted);

    text-align: center;
    font-size: 13px;
}

@media (max-width: 520px) {

    .mp-main {
        padding-top: 34px;
    }

    .mp-access h1 {
        font-size: 31px;
    }

    .mp-lead {
        font-size: 16px;
    }

    .mp-card {
        padding: 22px;
    }

    .mp-brand {
        height: 30px;
    }

}
