/* Shared by the legal pages. Same palette as the app (mobile/src/lib/theme.ts). System fonts on
   purpose: loading web fonts from a third party would hand visitors' IP addresses to it. */
:root {
  --bg: #F7F4EE;
  --surface: #FFFDF9;
  --fg: #1C1A17;
  --muted: #6B665E;
  --line: #E2DCD0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 40px 16px 64px; }
nav { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; color: var(--muted); }
nav strong { font: 500 20px 'Iowan Old Style', Georgia, serif; color: var(--fg); }
a { color: var(--fg); text-underline-offset: 3px; }
h1 { font: 400 36px/1.15 'Iowan Old Style', Georgia, serif; margin: 40px 0 8px; }
h2 { font: 400 24px/1.25 'Iowan Old Style', Georgia, serif; margin: 40px 0 8px; scroll-margin-top: 16px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 14px; }
.lead { font-size: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 500; color: var(--muted); font-size: 13px; }
td:first-child { font-weight: 500; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td { border: 0; padding: 2px 0; }
  td[data-label]::before { content: attr(data-label) ' · '; color: var(--muted); font-size: 13px; }
}
