/* The Terms and Privacy pages (terms.html, privacy.html). */
:root { --bg: #F4EFE7; --card: #FFFDF9; --ink: #2F2A24; --text: #4A4239; --muted: #6E655A; --line: #E4DACB; --gold: #8C7046; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
.brand { display: inline-flex; align-items: center; gap: .4em; margin-bottom: 32px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; font-weight: 600; color: inherit; text-decoration: none; }
.brand img { width: 1.5em; height: 1.5em; flex: none; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { margin: 0 0 6px; font-size: 44px; }
h2 { margin: 40px 0 8px; font-size: 27px; scroll-margin-top: 16px; }
h3 { margin: 22px 0 4px; font-size: 16px; }
.date { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
p, li, td { color: var(--text); }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--gold); overflow-wrap: anywhere; }
.summary { margin: 0 0 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.summary p { margin: 0 0 8px; }
.summary ul { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; }
.toc li { margin: 0; }
.table { width: 100%; margin: 10px 0 4px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--ink); font-weight: 600; }
.small { font-size: 14px; color: var(--muted); }
/* Facts only the owner can fill in (scripts/check-legal.mjs blocks a deploy while any remain). */
.todo { padding: 0 4px; border-radius: 4px; background: #FFE08A; color: #5A3B00; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
@media (max-width: 560px) {
  h1 { font-size: 38px; }
  /* tables become stacked cards on phones */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .table td { padding: 2px 0; border: 0; }
  .table td::before { content: attr(data-th); display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
}
