/* OCELLUS LABS — policy pages. Plain reading layout: one narrow column,
   large text, high contrast, nothing moving. Matches the homepage tokens. */
:root {
    --bg: #000;
    --ink: #eee9df;
    --body: rgba(238, 233, 223, 0.86);
    --muted: rgba(238, 233, 223, 0.6);
    --line: rgba(238, 233, 223, 0.12);
    --gold: rgb(161, 110, 38);
    color-scheme: dark;
}
:root[data-theme="light"] {
    --bg: #fcefe8;
    --ink: #1c1a17;
    --body: rgba(28, 26, 23, 0.86);
    --muted: rgba(28, 26, 23, 0.64);
    --line: rgba(28, 26, 23, 0.14);
    --gold: rgb(128, 96, 40);
    color-scheme: light;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: var(--bg);
    color: var(--body);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.legal-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(32px, 7vw, 80px) 20px 64px;
}
.legal-back {
    display: inline-block;
    margin-bottom: clamp(36px, 6vw, 60px);
    padding: 8px 0;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--muted);
}
.legal-back:hover { color: var(--gold); }
.legal-page h1 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    line-height: 1.1;
    color: var(--ink);
}
.legal-updated { margin: 10px 0 28px; font-size: 0.9rem; color: var(--muted); }
.legal-page > p { max-width: 75ch; }
/* Sections sit side by side on wide screens: the page uses its width and
   short policies fit without much scrolling. Each block stays a readable width. */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: 8px 64px;
    margin-top: 8px;
}
.legal-block { padding-top: 6px; }
.legal-page h2 {
    margin: 1.6em 0 0.5em;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink);
}
.legal-page p, .legal-page li { margin-bottom: 1em; }
.legal-page ul, .legal-page ol { padding-left: 1.3em; }
.legal-page strong { color: var(--ink); font-weight: 500; }

footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 40px;
    border-top: 1px solid var(--line);
    font-size: 1.05rem;
    color: var(--muted);
}
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.footer-mark { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; letter-spacing: 0.2em; color: var(--ink); }
.footer-brand p { margin-top: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.copyright { display: flex; flex-direction: column; gap: 4px; }
