: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);
}

* {
    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%;
    }

    .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;
    }

    .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 ---------- */
.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 ---------- */
.page-title {
    position: relative;
    z-index: 1;
    padding: 32px 64px 0;
}

    .page-title h1 {
        display: inline-block;
        font-family: "Quicksand", sans-serif;
        font-weight: 700;
        font-size: 46px;
        color: var(--purple-deep);
        margin: 0;
        padding-bottom: 14px;
        border-bottom: 4px solid var(--purple-mid);
    }

/* ---------- Content ---------- */
.content-wrap {
    position: relative;
    z-index: 1;
    padding: 44px 64px 90px;
    flex: 1;
}

.policy-body {
    max-width: 760px;
}

    .policy-body h2 {
        font-family: "Quicksand", sans-serif;
        font-weight: 700;
        font-size: 21px;
        color: var(--purple-mid);
        margin: 0 0 14px;
    }

    .policy-body section + section {
        margin-top: 34px;
    }

    .policy-body p {
        font-size: 17px;
        line-height: 1.8;
        color: oklch(0.36 0.03 210);
        margin: 0;
    }

.updated-note {
    margin-top: 44px;
    font-size: 14px;
    color: oklch(0.5 0.02 210);
}

#btnBack {
    all: unset;
    cursor: pointer;
    display: inline-block;
    margin-top: 40px;
    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, .content-wrap, .site-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}
