/* Pagine legali di institorAI (privacy e termini): statiche, leggibili, chiaro e scuro. */
:root {
  --bg: #ffffff;
  --text: #1c1d22;
  --muted: #5d6170;
  --line: #e3e5ec;
  --link: #2b59c3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121317;
    --text: #e8e9ee;
    --muted: #a3a7b5;
    --line: #2a2c34;
    --link: #8fb0ff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--link); }
.top, footer, main { max-width: 760px; margin: 0 auto; padding: 16px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; text-decoration: none; color: var(--text); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 24px 0 4px; }
h2 { font-size: 1.2rem; margin-top: 32px; }
.meta { color: var(--muted); margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); color: var(--muted); margin-top: 32px; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td:first-child { border-bottom: none; padding-bottom: 0; }
}
