:root {
  --bg: #fbf8f4; --text: #2a2118; --muted: #6f6254; --line: #e7ddd1;
  --accent: #7a3e12; --accent-soft: #f3e6da; --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17120e; --text: #efe7dd; --muted: #b3a595; --line: #3a2f25;
    --accent: #e0a36f; --accent-soft: #2c2016; --card: #201913;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 32px; }
header img { width: 44px; height: 44px; border-radius: 11px; }
header a { color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
nav { margin-left: auto; display: flex; gap: 16px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--accent); }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, li { color: var(--text); }
.lead { font-size: 20px; color: var(--muted); margin-top: 0; }
a { color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 16px 0; }
.soft { background: var(--accent-soft); border-color: transparent; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.muted { color: var(--muted); font-size: 15px; }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  h1 { font-size: 28px; }
  nav { gap: 16px; font-size: 15px; width: 100%; margin-left: 0; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  td:first-child { font-weight: 600; }
  td:nth-child(2)::before { content: "Why: "; color: var(--muted); font-weight: 600; }
  td:nth-child(3)::before { content: "Kept: "; color: var(--muted); font-weight: 600; }
}
