
:root {
    --pink-bg: #FFE3F7;
    --pink: #E83D8E;
    --text: #696969;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
}

body {
    background: var(--pink-bg);
}

.page {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
}

.content {
    background: transparent;
    width: min(100%, 610px);
    padding: clamp(25px, 6vw, 56px) 24px;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
}

.brand {
    display: block;
    max-width: min(100%, 320px);
    max-height: 320px;
    object-fit: contain;
    margin: 0 auto 25px;
}

.brand.fallback {
    font-family: Georgia, serif;
    font-size: clamp(42px, 8vw, 62px);
    color: var(--pink);
}

.strap {
    font-size: 18px;
    line-height: 1.5;
    margin: 8px 0;
    color: var(--pink);
}

h1 {
    font-family: Georgia, serif;
    font-size: clamp(36px, 7vw, 56px);
    line-height: 1.12;
    color: var(--pink);
    margin: 10px 0 18px;
}

.sub {
    font-size: 18px;
    color: #999999;
    line-height: 1.6;
    margin: 0 0 28px;
}

.signup {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.signup input {
    min-width: 0;
    flex: 1 1 230px;
    padding: 15px 17px;
    border: 1px solid #d7b4ca;
    border-radius: 100px;
    font-size: 16px;
    color: var(--text);
    background: #fff;
}

.signup input:focus-visible,
button:focus-visible {
    outline: 3px solid #9c3c73;
    outline-offset: 3px;
}

button {
    border: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.signup button,
.consent-accept {
    border-radius: 100px;
    background: var(--pink);
    color: #fff;
    padding: 15px 27px;
}

.message {
    width: 100%;
    min-height: 1.5em;
    margin: 20px 0 0;
    font-size: 20px;
    color: #fff;
}

.message.error {
    color: #b00020;
}

.message.success {
    color: #27643e;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.consent-overlay[hidden] {
    display: none;
}

.consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 23, 35, 0.55);
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 100;
}

.consent-dialog {
    width: min(100%, 460px);
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.consent-dialog h2 {
    font-size: 22px;
    color: var(--pink);
    margin: 0 0 14px;
}

.consent-dialog p {
    line-height: 1.6;
}

.consent-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.consent-cancel {
    background: #f4edf1;
    color: var(--text);
    padding: 14px 24px;
    border-radius: 100px;
}

@media (max-width: 460px) {
    .signup button {
        width: 100%;
    }

    .content {
        border-radius: 0;
    }
}
