/* ============================================================
   legal.css — Altaz
   Styles for Privacy Policy and Terms of Service pages.
   Requires shared.css to be loaded first.

   Each page sets --page-hero-gradient in a small inline
   <style> block to control its unique hero colour direction.
   ============================================================ */

/* ── Body override: legal pages use looser line-height ───── */
body {
    line-height: 1.8;
}

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
    padding: 10rem 2rem 4rem;
    background: var(--page-hero-gradient);
    text-align: center;
}

.page-hero .label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(107, 123, 158, 0.12);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--neutral-950);
    margin-bottom: 1rem;
}

.page-hero .meta {
    color: var(--neutral-700);
    font-size: 0.95rem;
}

/* ── Content Wrapper ─────────────────────────────────────── */
.content-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* ── Table of Contents ───────────────────────────────────── */
.toc {
    background: var(--neutral-100);
    border: 1px solid var(--neutral-200);
    border-left: 4px solid var(--primary-blue);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
}

.toc h3 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.toc ol {
    padding-left: 1.2rem;
}

.toc li {
    margin: 0.3rem 0;
}

.toc a {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.toc a:hover {
    color: var(--primary-blue);
}

/* ── Summary Card (replaces highlight-box; mirrors focus-card) ─────────── */
/* ── Summary Card — identical visual treatment to focus-card ─────────────── */
.summary-card {
    background: linear-gradient(135deg, var(--accent-peach-light) 0%, var(--background-light) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid var(--accent-peach);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
    position: relative;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-lavender);
}

.summary-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.summary-card p {
    margin-bottom: 1.5rem;
    color: var(--neutral-700);
}

.summary-card ul {
    list-style: none;
    padding-left: 0;
}

.summary-card li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--neutral-700);
}

.summary-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-peach);
    font-weight: bold;
}

/* ── Content Sections ────────────────────────────────────── */
.section {
    margin-bottom: 2.5rem;
}

.section h2 {
    font-size: 1.3rem;
    color: var(--neutral-950);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--neutral-200);
    margin-bottom: 1rem;
}

.section h2 span {
    color: var(--primary-dark);
    margin-right: 0.5rem;
    font-size: 1rem;
}

.section p {
    margin-bottom: 0.9rem;
    color: var(--neutral-700);
    font-size: 0.97rem;
}

.section ul {
    padding-left: 1.4rem;
    margin-bottom: 0.9rem;
}

.section ul li {
    color: var(--neutral-700);
    font-size: 0.97rem;
    margin-bottom: 0.4rem;
}

.section strong {
    color: var(--neutral-900);
}

/* ── Contact Card ────────────────────────────────────────── */
.contact-card {
    background: linear-gradient(135deg, var(--accent-lavender-light) 0%, var(--accent-mint) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.contact-card h3 {
    color: var(--neutral-950);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--neutral-900);
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--neutral-950);
    text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem 1.5rem 4rem;
    }

    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }
}
