:root {
    --alabaster: #F5F3ED;
    --mocha: #5C4A3D;
    --espresso: #2A2621;
    --text-dark: #2A2621;
    --text-muted: #6B655C;
    --taupe: #B5A89D;
    --bronze: #A67C52;

    --font-heading: 'Cormorant Garamond', 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--alabaster);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.65;
}

.privacy-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem;
}

.privacy-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.overline {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

h1,
h2 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--espresso);
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    margin-bottom: 0.8rem;
}

.updated-date {
    color: var(--mocha);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.intro {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

.privacy-content {
    display: grid;
    gap: 1.5rem;
}

.policy-card {
    border: 1px solid rgba(42, 38, 33, 0.1);
    background: rgba(255, 255, 255, 0.55);
    padding: 2rem;
    border-radius: 18px;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin-bottom: 0.9rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

ul {
    margin-left: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: var(--mocha);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

a:hover {
    border-color: var(--bronze);
}

.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 1.8rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
}

.footer-content p,
.footer-content a {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.83rem;
    color: var(--text-muted);
}

.footer-home-link {
    justify-self: end;
}

@media (max-width: 700px) {
    .policy-card {
        padding: 1.4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-home-link {
        justify-self: center;
    }
}

/* --- LEGAL PAGES (Privacy & TOS) --- */

.legal-content-wrapper {
    /* The golden ratio for reading comfort */
    margin: 4rem auto 8rem auto; /* Deep vertical breathing room */
    padding: 0 2rem;
}

.legal-content-wrapper .intro {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* 1. Target the sections and remove any card styling */
.legal-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    margin-bottom: 4rem; /* Uses negative space to separate ideas instead of boxes */
}

/* 2. Style the Headers with a delicate grounding line */
.legal-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--espresso);
    /* The delicate editorial line */
    border-bottom: 1px solid rgba(42, 38, 33, 0.15);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* 3. Apply the Lora serif font for the body */
.legal-section p,
.legal-section ul li {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark); /* Keeps it soft espresso */
    margin-bottom: 1.5rem;
}

/* Style the metadata header nicely */
.legal-header-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--taupe);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
}
