/* Shared style for MoonCycle's legal pages (privacy, terms, health,
   delete-account). Dawn colours, readable on a phone. */
:root {
  --bg: #fbf6f4;
  --card: #ffffff;
  --ink: #2c2230;
  --muted: #6f6170;
  --accent: #b5476b;
  --line: #ecdfe2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14152b;
    --card: #1d1f3a;
    --ink: #eeeaf6;
    --muted: #b7b0c9;
    --accent: #f2b8c6;
    --line: #2c2f52;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: var(--accent);
  text-decoration: none;
}
header .brand img { width: 44px; height: auto; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.25; margin: 18px 0 4px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
p, li { color: var(--ink); }
.updated, .muted { color: var(--muted); font-size: 14px; }
.summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 20px 0;
}
.summary li { margin: 4px 0; }
.notice {
  border-left: 4px solid var(--accent);
  background: var(--card);
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
}
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
a { color: var(--accent); }
footer { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: none; padding: 4px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 13px; }
}
