
:root {
    --pink: #f06b9a;
    --pink-dark: #df4d82;
    --pink-soft: #fff0f6;
    --text: #383042;
    --muted: #827888;
    --border: #f1e4eb;
    --background: #fffafc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Nunito", sans-serif;
    line-height: 1.75;
}

a {
    color: var(--pink-dark);
}

a:hover {
    color: #b92d64;
}

.legal-header {
    min-height: 100px;
    padding: 15px max(24px, calc((100vw - 1100px) / 2));
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.legal-header img {
    display: block;
    width: 125px;
    max-height: 75px;
    object-fit: contain;
}

.back {
    text-decoration: none;
    font-weight: 900;
    color: var(--pink-dark);
}

.legal-container {
    width: min(100% - 36px, 920px);
    margin: 0 auto;
    padding: 50px 0 80px;
}

.legal-intro {
    text-align: center;
    padding: 30px 15px 42px;
}

.eyebrow {
    display: inline-block;
    color: var(--pink-dark);
    background: var(--pink-soft);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.legal-intro h1 {
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.2;
    margin: 20px 0 12px;
    font-weight: 900;
}

.legal-intro > p {
    margin: 8px auto;
    max-width: 650px;
    color: var(--muted);
}

.legal-date {
    font-size: 13px;
}

.legal-content {
    background: #fff;
    padding: clamp(25px, 5vw, 65px);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: 0 14px 45px rgba(80, 40, 60, 0.055);
}

.legal-content h2 {
    font-size: clamp(19px, 3vw, 24px);
    line-height: 1.35;
    margin: 42px 0 14px;
    color: #493248;
    font-weight: 900;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 11px 0;
    overflow-wrap: anywhere;
}

.legal-content ul,
.legal-content ol {
    padding-left: 25px;
    margin: 12px 0 22px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    font-weight: 900;
}

.form-template {
    background: #fff8fb;
    border: 1px dashed #edb2c8;
    padding: 25px;
    border-radius: 20px;
    margin: 22px 0;
    overflow-wrap: anywhere;
}

.form-template p {
    margin-bottom: 20px;
}

.legal-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 35px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.legal-footer a {
    font-weight: 800;
    text-decoration: none;
}

.legal-footer p {
    width: 100%;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 600px) {
    .legal-header {
        min-height: 82px;
        padding: 12px 18px;
    }

    .legal-header img {
        width: 92px;
    }

    .back {
        font-size: 13px;
    }

    .legal-container {
        width: min(100% - 20px, 920px);
        padding-top: 20px;
        padding-bottom: 35px;
    }

    .legal-intro {
        padding: 25px 10px;
    }

    .legal-content {
        border-radius: 20px;
        padding: 24px 20px;
        font-size: 14px;
    }

    .legal-content h2 {
        margin-top: 32px;
    }

    .form-template {
        padding: 16px;
        font-size: 13px;
    }

    .legal-footer {
        gap: 12px 20px;
        font-size: 13px;
    }
}
