:root {
    --bg: oklch(0.97 0.008 280);
    --text: oklch(0.3 0.05 210);
    --purple-dark: oklch(0.38 0.09 320);
    --purple-mid: oklch(0.43 0.10 320);
    --purple-deep: oklch(0.33 0.08 320);
    --footer-bg: oklch(0.3 0.06 320);
    --gold: oklch(0.78 0.13 85);
    --lavender-1: oklch(0.88 0.03 300);
    --lavender-2: oklch(0.8 0.045 305);
    --lavender-3: oklch(0.7 0.06 310);
    --card-shadow: oklch(0.3 0.05 210 / 0.18) 0px 24px 60px -24px;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Mulish';
    src: url('/fonts/Mulish-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/fonts/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: "Mulish", sans-serif;
    color: var(--text);
    background: var(--bg);
}

.page {
    width: 100%;
    max-width: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ---------- Decorative corner motif ---------- */
.corner-motif {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 480px;
    height: 480px;
    pointer-events: none;
    z-index: 0;
}

    .corner-motif .blob {
        position: absolute;
        border-radius: 50%;
    }

    /* large soft base circles */
    .corner-motif .b1 {
        width: 340px;
        height: 340px;
        top: 40px;
        right: 20px;
        background: var(--lavender-1);
    }

    .corner-motif .b2 {
        width: 220px;
        height: 220px;
        top: 190px;
        right: 250px;
        background: var(--lavender-2);
    }

    .corner-motif .b3 {
        width: 150px;
        height: 150px;
        top: 300px;
        right: 40px;
        background: var(--purple-mid);
        opacity: 0.85;
    }

    /* petal shapes (rotated teardrop via asymmetric border-radius) */
    .corner-motif .petal {
        position: absolute;
        border-radius: 0% 50% 50% 50%;
    }

    .corner-motif .p1 {
        width: 130px;
        height: 130px;
        top: 20px;
        right: 210px;
        background: var(--purple-dark);
        transform: rotate(-25deg);
        opacity: 0.9;
    }

    .corner-motif .p2 {
        width: 90px;
        height: 90px;
        top: 130px;
        right: 100px;
        background: var(--purple-mid);
        transform: rotate(140deg);
        opacity: 0.75;
    }

    .corner-motif .p3 {
        width: 70px;
        height: 70px;
        top: 250px;
        right: 180px;
        background: var(--lavender-3);
        transform: rotate(60deg);
        opacity: 0.8;
    }

    .corner-motif .dot {
        position: absolute;
        border-radius: 50%;
        background: var(--gold);
    }

    .corner-motif .dt1 {
        width: 20px;
        height: 20px;
        top: 10px;
        right: 330px;
    }

    .corner-motif .dt2 {
        width: 14px;
        height: 14px;
        top: 360px;
        right: 60px;
    }

    .corner-motif .dt3 {
        width: 26px;
        height: 26px;
        top: 210px;
        right: 30px;
        opacity: 0.9;
    }

    .corner-motif .ring {
        position: absolute;
        border-radius: 50%;
        border: 2.5px solid var(--purple-mid);
        opacity: 0.5;
    }

    .corner-motif .r1 {
        width: 60px;
        height: 60px;
        top: 60px;
        right: 60px;
    }

/* ---------- Header / page title ---------- */
.topbar {
    position: relative;
    z-index: 1;
    padding: 40px 64px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2.5px solid var(--purple-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .brand-mark svg {
        width: 19px;
        height: 19px;
    }

.brand-name {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--purple-deep);
}

.page-title {
    position: relative;
    z-index: 1;
    padding: 30px 64px 0;
    display: flex;
    justify-content: center;
}

    .page-title h1 {
        font-family: "Quicksand", sans-serif;
        font-weight: 700;
        font-size: 46px;
        color: var(--purple-deep);
        margin: 0;
    }

/* ---------- Card ---------- */
.card-wrap {
    position: relative;
    z-index: 1;
    padding: 48px 64px 80px;
    display: flex;
    flex: 1;
    justify-content: center;
    margin-bottom: 50px;
}

.reset-card {
    background: white;
    border-radius: 24px;
    padding: 44px 44px 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid oklch(0.3 0.05 210 / 0.08);
    width: 100%;
    max-width: 480px;
}

    .reset-card h2 {
        font-family: "Quicksand", sans-serif;
        font-weight: 700;
        font-size: 27px;
        color: var(--purple-deep);
        margin: 0 0 18px;
    }

    .reset-card p.intro {
        font-size: 16px;
        line-height: 1.7;
        color: oklch(0.4 0.03 210);
        margin: 0 0 30px;
    }

.field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: oklch(0.42 0.02 210);
    margin-bottom: 8px;
}

.text-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid oklch(0.87 0.02 280);
    border-radius: 14px;
    font-size: 16px;
    font-family: inherit;
    color: oklch(0.28 0.03 210);
    margin-bottom: 24px;
}

    .text-input::placeholder {
        color: oklch(0.62 0.02 280);
    }

    .text-input:focus {
        outline: none;
        border-color: var(--purple-mid);
        box-shadow: 0 0 0 3px oklch(0.43 0.10 320 / 0.15);
    }

.send-btn {
    width: 100%;
    height: 54px;
    background: var(--purple-mid);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 24px;
}

    .send-btn:hover {
        background: var(--purple-dark);
    }

.back-link {
    display: block;
    text-align: center;
    color: var(--purple-mid);
    font-weight: 700;
    font-size: 15px;
    text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--footer-bg);
    padding: 24px 64px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 20px;
}

    .site-footer a {
        color: oklch(0.90 0.03 320);
        text-decoration: underline;
        font-weight: 600;
        font-size: 14px;
    }

    .site-footer p {
        color: oklch(0.90 0.03 320);
        font-weight: 600;
        font-size: 14px;
    }

@media (max-width: 720px) {
    .corner-motif {
        width: 300px;
        height: 300px;
        top: -30px;
        right: -60px;
    }

    .page-title h1 {
        font-size: 32px;
    }

    .topbar, .page-title, .card-wrap, .site-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}
