/* Shared look for terms.html, privacy.html and baa.html: the landing page's palette, plain reading layout. */
:root {
  --bg: #f7f3ec; --surface: #fffdf9; --line: #e7dfd2; --ink: #23302b; --muted: #5d6b64; --accent: #2f6f5e; --warn: #f2e0d7;
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141a18; --surface: #1b2320; --line: #2b3531; --ink: #e8ece9; --muted: #a5b1ab; --accent: #82c4ac; --warn: #2c2220; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
a { color: var(--accent); }
h1, h2 { font-family: Newsreader, Georgia, serif; font-weight: 500; }
h1 { font-size: 34px; margin: 16px 0 4px; }
h2 { font-size: 21px; margin-top: 36px; }
.muted { color: var(--muted); }
.draft { background: var(--warn); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.home { font-weight: 600; text-decoration: none; }
/* Articles (simplepractice-alternative.html etc.) reuse this layout. */
.site-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-nav .links { display: flex; gap: 16px; font-weight: 600; }
.site-nav a { text-decoration: none; }
article p, article li { max-width: 68ch; }
.lede { font-size: 19px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--surface); }
@media (max-width: 600px) { th, td { padding: 8px; font-size: 14px; } }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { font-family: Newsreader, Georgia, serif; font-weight: 500; }
.cta { display: inline-block; margin: 8px 12px 8px 0; padding: 12px 20px; border-radius: 999px; background: var(--accent);
       color: var(--bg); font-weight: 600; text-decoration: none; }
.cta.secondary { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.fine { font-size: 13px; color: var(--muted); }
.template { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
footer.site { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 560px; }  /* scrolls sideways on phones rather than squeezing words */
