:root {
    --wine: #7d1f35;
    --wine-dark: #5f1428;
    --cream: #f8f3ef;
    --paper: #ffffff;
    --text: #2c1c1e;
    --muted: #725f62;
    --border: #ead9dc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: Arial, "Noto Sans Devanagari", sans-serif;
    line-height: 1.75;
}

a {
    color: var(--wine);
}

.legal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px max(20px, calc((100% - 1120px) / 2));
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    text-decoration: none;
}

.legal-brand strong,
.legal-brand small {
    display: block;
}

.legal-brand small {
    margin-top: 1px;
    color: var(--muted);
    font-size: 0.75rem;
}

.legal-logo {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--wine);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.4rem;
}

.back-link {
    flex: 0 0 auto;
    font-weight: 700;
    text-decoration: none;
}

.legal-main {
    width: min(920px, calc(100% - 32px));
    margin: 48px auto;
}

.legal-card {
    padding: clamp(26px, 5vw, 60px);
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(76, 27, 39, 0.08);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--wine);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

h1,
h2 {
    line-height: 1.3;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 6vw, 3.6rem);
}

.updated {
    margin: 8px 0 26px;
    color: var(--muted);
    font-size: 0.9rem;
}

.intro {
    margin: 0 0 34px;
    padding: 18px 20px;
    background: #fbf5f6;
    border-left: 4px solid var(--wine);
    border-radius: 0 12px 12px 0;
    font-size: 1.05rem;
}

.legal-card section {
    padding: 22px 0;
    border-top: 1px solid var(--border);
}

.legal-card section:last-child {
    padding-bottom: 0;
}

h2 {
    margin: 0 0 10px;
    color: var(--wine-dark);
    font-size: clamp(1.15rem, 3vw, 1.4rem);
}

p,
ul {
    margin-top: 0;
}

ul {
    padding-left: 22px;
}

.contact-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--wine);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.contact-button:hover,
.contact-button:focus-visible {
    background: var(--wine-dark);
}

.legal-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px 20px;
    background: #2c1c1e;
    color: #f8f3ef;
    text-align: center;
}

.legal-footer p {
    margin: 0;
}

.legal-footer a {
    color: #fff;
}

@media (max-width: 640px) {
    .legal-header {
        padding: 11px 14px;
    }

    .legal-brand small {
        display: none;
    }

    .legal-brand strong {
        max-width: 170px;
        font-size: 0.9rem;
    }

    .legal-logo {
        width: 36px;
        height: 36px;
    }

    .back-link {
        font-size: 0.85rem;
    }

    .legal-main {
        width: min(100% - 20px, 920px);
        margin: 20px auto;
    }

    .legal-card {
        border-radius: 18px;
    }

    .legal-footer {
        flex-direction: column;
        gap: 4px;
    }
}
