/* Shared styles for the legal subpages (privacy / terms / disclaimer). */
:root {
    --ink: #1a1a2e;
    --ink-muted: #4a4a5e;
    --gold: #c9a227;
    --gold-text: #8a6d10;
    --cream: #faf8f4;
    --ivory: #fffef9;
    --line: #e5e0d5;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-text); }
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--gold-text);
    outline-offset: 3px;
}

.skip-link {
    position: absolute; top: 0; left: 0; z-index: 100;
    padding: 0.875rem 1.5rem;
    background: var(--ink); color: #fff;
    font-size: 0.875rem; font-weight: 600; text-decoration: none;
    transform: translateY(-120%);
    transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

.legal-header {
    border-bottom: 1px solid var(--line);
    background: var(--cream);
}
.legal-header-inner {
    max-width: 820px; margin: 0 auto;
    padding: 1.5rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    flex-wrap: wrap;
}
.legal-logo { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.legal-logo .name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.legal-logo .tag {
    font-size: 0.625rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold-text);
}
.legal-back { font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }

main { max-width: 820px; margin: 0 auto; padding: 3.5rem 1.5rem 4rem; }

h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 500; line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.updated { color: var(--ink-muted); font-size: 0.875rem; margin-bottom: 2.5rem; }

h2 {
    font-family: var(--font-display);
    font-size: 1.375rem; font-weight: 500;
    margin: 2.5rem 0 0.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
h2:first-of-type { border-top: 0; padding-top: 0; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }

p, li { color: var(--ink-muted); }
p { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.4rem; }
strong { color: var(--ink); }

.callout {
    background: var(--cream);
    border-left: 3px solid var(--gold);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.urgent { border-left-color: #8B0000; }

table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9375rem; }
th, td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }
td { color: var(--ink-muted); }
.table-wrap { overflow-x: auto; }

footer {
    border-top: 1px solid var(--line);
    background: var(--cream);
    padding: 2rem 1.5rem;
}
.legal-footer-inner {
    max-width: 820px; margin: 0 auto;
    display: flex; justify-content: space-between; gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem; color: var(--ink-muted);
}
.legal-footer-inner nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
