/* The legal pages (privacy, terms, refunds, support), in the app's own colours: warm cream with dark-brown ink, or espresso in a dark system theme. */
:root {
  color-scheme: light dark;
  --bg: #f4e1d0; --surface: #fcefe4; --ink: #3a1810; --ink-2: #5b3024; --muted: #7e5444; --line: #e0c3ad; --accent: #a9411d; --peach: #f8dfcd;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1d120d; --surface: #271912; --ink: #f7e8da; --ink-2: #ddc5b2; --muted: #b6937d; --line: #4a3023; --accent: #eb8a60; --peach: #46291c; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 ui-serif, 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; -webkit-text-size-adjust: 100%; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 28px 20px 56px; }
.back { margin: 0 0 20px; font: 600 14px/1 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; }
.back a { color: var(--accent); text-decoration: none; }
.back a:hover { text-decoration: underline; }
.masthead { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.eyebrow { margin: 0 0 6px; font: 700 12px/1 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font: 700 clamp(34px, 6vw, 52px)/1.05 ui-serif, 'Iowan Old Style', Georgia, serif; letter-spacing: -0.03em; }
h2 { margin: 2.1em 0 0.5em; font: 700 24px/1.2 ui-serif, 'Iowan Old Style', Georgia, serif; letter-spacing: -0.02em; }
.dates { margin: 10px 0 0; color: var(--muted); font: 14px/1.4 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; }
.lede { font-size: 19px; color: var(--ink-2); }
p, li { overflow-wrap: anywhere; }
ul { padding-inline-start: 1.3em; }
li { margin: 0.45em 0; }
a { color: var(--accent); }
code { font: 0.88em ui-monospace, Menlo, monospace; background: var(--peach); padding: 1px 6px; border-radius: 6px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 22px; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; background: var(--surface); border-radius: 14px; overflow: hidden; }
th, td { text-align: start; vertical-align: top; padding: 11px 13px; border-bottom: 1px solid var(--line); }
th { font: 700 12px/1.2 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { table, thead, tbody, tr, th, td { display: block; } thead { display: none; } td { border-bottom: 0; padding: 4px 13px; } tr { border-bottom: 1px solid var(--line); padding: 8px 0; } }
footer.foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font: 14px/1.6 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; }
footer.foot p { margin: 0 0 10px; }
nav.pages { display: flex; flex-wrap: wrap; gap: 6px 20px; }
nav.pages a { color: var(--ink-2); text-decoration: none; }
nav.pages a:hover { text-decoration: underline; }
