/* Shared look for the legal pages (privacy, terms, refund); same tokens as the app's Calm theme. */
:root, [data-theme="calm"] { --bg: #f2f4ee; --card: #fbfcf8; --text: #2f3a30; --muted: #6f7d6f; --line: #dfe5d8; --accent: #5b8a6b; --radius: 14px; --head-font: ui-serif, Georgia, "Iowan Old Style", serif; }
[data-theme="earth"] { --bg: #f8f1df; --card: #fffbef; --text: #3a3220; --muted: #85775a; --line: #ece0c0; --accent: #b8861b; --radius: 10px; }
[data-theme="cute"] { --bg: #fff4f8; --card: #ffffff; --text: #5b3a4e; --muted: #a07890; --line: #fbd9e6; --accent: #ff6fa8; --radius: 22px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
nav a.home { font: 600 18px var(--head-font); color: var(--text); text-decoration: none; }
nav select { font: inherit; font-size: 13px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; }
article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
article[hidden] { display: none; }
h1 { font: 600 24px var(--head-font); margin: 0 0 4px; }
h2 { font: 600 17px var(--head-font); margin: 22px 0 6px; }
.meta { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
a { color: var(--accent); }
ul { padding-left: 20px; }
footer { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
