/* Shared styling for the public どのタナ pages (privacy / support).
   Deliberately plain: no JavaScript, no web fonts, no external requests of any
   kind — a privacy policy page that phones out to a CDN undercuts its own text,
   and App Review opens these URLs on whatever network they happen to be on. */

:root {
  color-scheme: light dark;
  --paper: hsl(40 33% 96%);
  --ink: hsl(220 15% 20%);
  --muted: hsl(220 8% 45%);
  --rule: hsl(40 8% 84%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: hsl(220 12% 8%);
    --ink: hsl(40 14% 86%);
    --muted: hsl(40 7% 60%);
    --rule: hsl(220 6% 22%);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
  max-width: 42rem;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.85;
  font-size: 16px;
}

h1 { font-size: 1.6rem; line-height: 1.4; margin: 0 0 .25rem; }
h2 { font-size: 1.15rem; margin: 2.5rem 0 .5rem; }
h3 { font-size: 1rem; margin: 1.75rem 0 .25rem; }

.updated { color: var(--muted); font-size: .875rem; margin: 0 0 2.5rem; }

a { color: inherit; text-underline-offset: .2em; }

ul { padding-left: 1.25rem; }
li { margin: .35rem 0; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 4rem 0 2.5rem; }

footer { margin-top: 4rem; color: var(--muted); font-size: .875rem; }
footer a { margin-right: 1rem; }

/* The English half of each page — same content, quieter presentation. */
.alt { color: var(--muted); }
.alt h1, .alt h2, .alt h3 { color: var(--ink); }
