/* Shared by the three legal pages. These are plain static files rather than
   React routes: Meta's reviewer and its crawler must get real HTML on a cold
   request, and the SPA cannot promise that. nginx serves them straight out of
   public/, and deploy/Caddyfile maps /privacy, /terms and /data-deletion here. */

/* Light only, deliberately. logo-light.svg draws the "Talemo" wordmark with a
   hardcoded fill="#000000" and only the tile in brand indigo, so on a dark
   ground the name vanishes and the mark floats alone. There is no dark variant
   of the file. A legal page that must survive a reviewer's screenshot is the
   wrong place to gamble on that, and single-look legal pages are unremarkable.
   color-scheme pins scrollbars and controls to light too. */
:root {
    color-scheme: light;
    --accent: #7571f3;
    --fg: #16161a;
    --fg-muted: #55555f;
    --bg: #ffffff;
    --bg-soft: #f7f7fa;
    --rule: #e4e4ec;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

header.site {
    border-bottom: 1px solid var(--rule);
    padding: 18px 24px;
}

header.site a { display: inline-flex; align-items: center; }
header.site img { height: 30px; width: auto; }

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 72px;
}

h1 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

h1 + .updated {
    color: var(--fg-muted);
    font-size: 14px;
    margin: 0 0 40px;
}

h2 {
    font-size: 22px;
    letter-spacing: -0.01em;
    margin: 44px 0 12px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
}

h3 {
    font-size: 16px;
    margin: 26px 0 6px;
}

p, li { color: var(--fg); }
ul { padding-left: 22px; }
li { margin: 6px 0; }

a { color: var(--accent); }

strong { font-weight: 600; }

.note {
    background: var(--bg-soft);
    border-left: 3px solid var(--accent);
    padding: 14px 18px;
    margin: 22px 0;
    border-radius: 0 6px 6px 0;
}

.note p { margin: 0; }

dl.entity {
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 18px 20px;
    margin: 22px 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 20px;
}

dl.entity dt { color: var(--fg-muted); font-size: 14px; }
dl.entity dd { margin: 0; }

footer.site {
    border-top: 1px solid var(--rule);
    padding: 28px 24px 48px;
    color: var(--fg-muted);
    font-size: 14px;
}

footer.site div { max-width: 760px; margin: 0 auto; }
footer.site nav { margin-top: 10px; display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 560px) {
    h1 { font-size: 28px; }
    dl.entity { grid-template-columns: 1fr; gap: 2px; }
    dl.entity dt { margin-top: 10px; }
}
