:root {
    color-scheme: light;
    --navy: #111c2e;
    --navy-light: #24334b;
    --gold: #d6ad65;
    --text: #202b3b;
    --muted: #778196;
    --border: #e4e8ef;
    --background: #f3f5f9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse at 15% 10%, #34445f 0, transparent 38%),
        linear-gradient(135deg, #101a2b, #1b2940 65%, #111b2c);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 18px;
}

.card {
    width: 100%;
    max-width: 490px;
    padding: 38px 42px 28px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 22px;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
}

.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: linear-gradient(145deg, #f2dba9, var(--gold));
    border-radius: 12px;
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: bold;
}

.brand-name,
.brand-subtitle {
    display: block;
}

.brand-name {
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.brand-subtitle {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.gift {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 30px 0 18px;
    color: #916a2f;
    background: #fbf3e5;
    border-radius: 16px;
    font-size: 29px;
}

.eyebrow {
    margin: 0 0 9px;
    color: #98743d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(28px, 6vw, 36px);
    letter-spacing: -1.3px;
    line-height: 1.15;
}

.intro {
    margin: 14px 0 27px;
    color: #697487;
    font-size: 14px;
    line-height: 1.7;
}

form {
    display: flex;
    flex-direction: column;
}

form > label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
}

form > input {
    width: 100%;
    min-height: 50px;
    margin-bottom: 20px;
    padding: 0 14px;
    border: 1px solid #dce2eb;
    border-radius: 10px;
    outline: none;
    background: #fcfdff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

form > input:focus {
    border-color: #b18a4d;
    box-shadow: 0 0 0 3px rgba(214,173,101,.18);
}

form > input::placeholder {
    color: #a2aaba;
}

.privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 23px;
}

.privacy input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: var(--navy);
}

.privacy label {
    color: #697487;
    font-size: 12px;
    line-height: 1.6;
}

button {
    min-height: 52px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: var(--navy);
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

button:hover {
    background: var(--navy-light);
}

button:active {
    transform: translateY(1px);
}

button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.disclaimer {
    margin: 19px 0 25px;
    color: #8b94a4;
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 19px;
    border-top: 1px solid var(--border);
    color: #8b94a4;
    font-size: 10px;
}

.notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.notice p {
    margin: 6px 0 0;
}

.success {
    color: #17613d;
    background: #edf8f1;
    border: 1px solid #cbe9d5;
}

.error {
    color: #9e2d2d;
    background: #fff1f0;
    border: 1px solid #f1d0cc;
}

.page-note {
    max-width: 490px;
    margin: 17px 0 0;
    color: #c1c9d6;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 480px) {
    .page {
        padding: 18px 12px;
    }

    .card {
        padding: 27px 22px 23px;
        border-radius: 18px;
    }

    footer {
        flex-direction: column;
        gap: 7px;
    }
}