.age-gate {
    min-height: min(72vh, 680px);
    display: grid;
    place-items: center;
    padding-top: 56px;
    padding-bottom: 72px;
}

.age-gate__card {
    width: min(100%, 620px);
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 247, .96);
    box-shadow: var(--shadow);
}

.age-gate__card h1 {
    margin: 8px 0 14px;
    font-size: clamp(2rem, 6vw, 3.3rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.age-gate__card > p {
    margin: 0 0 14px;
}

.age-gate__note {
    color: var(--muted);
    font-size: .95rem;
}

.age-gate form {
    margin-top: 24px;
}

.age-gate__confirm {
    width: 100%;
    min-height: 52px;
    border: 0;
    cursor: pointer;
}

.age-gate__back {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
}

.age-gate__back:hover,
.age-gate__back:focus-visible {
    text-decoration: underline;
}

.age-gate__confirm:focus-visible,
.age-gate__back:focus-visible {
    outline: 3px solid rgba(49, 95, 82, .24);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .age-gate {
        min-height: auto;
        place-items: start stretch;
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .age-gate__card {
        border-radius: 18px;
    }
}
