/* Shared look for the static legal pages (privacy.html, terms.html): the app's paper and ink, no scripts (but the usage-statistics switch on privacy.html). */
:root {
  color-scheme: light;
  --paper: #fbf2df;
  --card: #fff8ea;
  --ink: #43281a;
  --soft: #7a5a44;
  --line: #ecd9b8;
  --accent: #e5694f;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
body {
  font: 17px/1.65 ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  padding: 48px 20px 80px;
}
main {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 40px clamp(20px, 5vw, 48px) 48px;
}
header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
header img {
  width: 36px;
  height: 36px;
}
h1 {
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.2;
  margin: 24px 0 4px;
}
h2 {
  font-size: 21px;
  margin: 36px 0 8px;
}
.updated {
  color: var(--soft);
  margin: 0 0 24px;
}
p,
li {
  margin: 0 0 12px;
}
ul {
  padding-left: 22px;
}
a {
  color: var(--accent);
}
.choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.choice button {
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
}
.choice button:hover {
  border-color: var(--accent);
}
.choice span {
  color: var(--soft);
}
footer {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--soft);
  font-size: 15px;
}
footer a {
  color: var(--soft);
  margin: 0 8px;
}
