/* Legal pages (privacy, cookies, terms, accessibility): plain static HTML, same Day/Night tokens as the app. */
:root {
  --bg: #f8f5f1;
  --surface: #ffffff;
  --text: #1f1a16;
  --muted: #5c5249;
  --border: #ebe4dc;
  --accent: #bf3f0d;
  --accent-soft: #fdeee4;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #14110f;
  --surface: #1d1916;
  --text: #f2ece6;
  --muted: #b8ab9f;
  --border: #332b25;
  --accent: #ff9d68;
  --accent-soft: #3a2519;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  font: 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 6px 10px; z-index: 1; }

.top { border-bottom: 1px solid var(--border); background: var(--surface); }
.top-in { max-width: 760px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 19px; letter-spacing: -0.035em; color: var(--text); text-decoration: none; }
.brand img { display: block; }
.brand-sun { color: var(--accent); }
.back { font-weight: 500; font-size: 15px; }

main { max-width: 760px; margin: 0 auto; padding: 36px 20px 24px; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 6px; }
.updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
h2 { font-size: 21px; letter-spacing: -0.015em; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, ul, ol, table { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.lead { background: var(--accent-soft); border-radius: 12px; padding: 16px 20px; }
.lead p:last-child, .lead ul:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }
tr:last-child td { border-bottom: 0; }
code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; }
address { font-style: normal; margin: 0 0 14px; }
.btn { font: inherit; font-weight: 600; border: 1px solid var(--accent); color: var(--accent); background: var(--surface); border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.btn:hover { background: var(--accent-soft); }
.status { color: var(--muted); margin-left: 10px; }

footer { max-width: 760px; margin: 0 auto; padding: 24px 20px 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
footer a[aria-current='page'] { color: var(--text); text-decoration: none; font-weight: 600; }
