/* Legal pages: plain static documents that share OwlAI's palette (light and dark). */
:root {
  --ground: #f1f3f5; --surface: #ffffff; --ink: #1b2530; --muted: #5b6875; --line: #dce1e6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #0f1720; --surface: #16212c; --ink: #e6ecf1; --muted: #9aa8b5; --line: #2a3643; color-scheme: dark; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  padding: env(safe-area-inset-top, 0px) 1rem env(safe-area-inset-bottom, 0px);
}
header, main, footer { max-width: 46rem; margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.25rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.125rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.lang-links a { color: var(--muted); font-size: 0.875rem; margin-left: 0.75rem; }
.lang-links a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
nav.docs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
nav.docs a { font-size: 0.875rem; padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--surface); }
nav.docs a[aria-current] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
main { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem 1.5rem 2rem; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 0.25rem; }
.updated { color: var(--muted); font-size: 0.875rem; margin: 0 0 1.5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
p, li { color: var(--ink); }
a { color: inherit; }
.note { border-left: 4px solid #a0611a; background: color-mix(in srgb, #a0611a 10%, transparent); padding: 0.75rem 1rem; border-radius: 6px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
code { font-size: 0.9em; }
footer { color: var(--muted); font-size: 0.875rem; padding: 1.5rem 0 2.5rem; }
