/* Content styling for the text-heavy pages (privacy/, terms/, csae/, delete-account/):
   a title, a stack of bordered <section>s and a contact box. Sits on top of
   style.css, which provides the tokens, header and footer; scoped under
   .legal so the generic selectors below can't leak into them. */

/* Layout */
.legal { font-size: 16px; line-height: 1.7; }
.legal .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* Page title */
.legal .page-title {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 3.5rem);
    text-transform: uppercase;
    line-height: 1;
    color: #0e0e0d;
    margin-bottom: 8px;
}
.legal .page-title .highlight {
    background: var(--yellow);
    padding: 0 8px;
    display: inline;
}
.legal .page-meta {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 48px;
}

/* Sections */
.legal section {
    border: 4px solid var(--black);
    background: #fff;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.legal section h2 {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--black);
    color: #fff;
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 16px;
}

.legal section p {
    color: #333;
    margin-bottom: 12px;
}
.legal section p:last-child { margin-bottom: 0; }

.legal section ul, .legal section ol {
    padding-left: 0;
    list-style: none;
    color: #333;
    margin-bottom: 12px;
}
.legal section ol { counter-reset: ol-counter; }

.legal section ul li, .legal section ol li {
    padding: 5px 0 5px 24px;
    position: relative;
    border-bottom: 1px solid #f0ece8;
}
.legal section ul li:last-child, .legal section ol li:last-child { border-bottom: none; }

.legal section ul li::before {
    content: '▸';
    color: var(--black);
    position: absolute;
    left: 0;
    font-size: 12px;
    top: 7px;
    font-weight: 900;
}
.legal section ol li {
    counter-increment: ol-counter;
}
.legal section ol li::before {
    content: counter(ol-counter) '.';
    color: var(--black);
    position: absolute;
    left: 0;
    font-family: var(--font-headline);
    font-size: 12px;
    font-weight: 900;
    top: 7px;
}

.legal section a {
    color: var(--black);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-underline-offset: 3px;
}
.legal section a:hover { background: var(--yellow); }

.legal strong { font-weight: 700; }

/* Contact box */
.legal .contact-box {
    background: var(--yellow);
    border: 3px solid var(--black);
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
    margin-top: 16px;
}
.legal .contact-box p {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 13px;
    color: var(--black);
    margin-bottom: 6px;
}
.legal .contact-box p:last-child { margin-bottom: 0; }
.legal .contact-box a { color: var(--black); }
