/* Shared styling for the plain content pages (/ and /privacy) -- separate
   from style.css, which is the PDF viewer's own stylesheet and carries a
   lot of viewer-specific rules (zoom controls, page highlighting, etc.)
   these pages have no use for. Same design tokens as style.css so the two
   look consistent, kept here as its own small copy rather than a shared
   @import, matching this project's "plain HTML/JS, no build step" setup. */

:root {
  color-scheme: light dark;
  --ink: #1c1a17;
  --ink-soft: #6b6357;
  --paper: #faf9f5;
  --paper-raised: #ffffff;
  --line: #ddd3c2;
  --accent: #8a5a3a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1ece1;
    --ink-soft: #b6ab98;
    --paper: #1c1914;
    --paper-raised: #24201a;
    --line: #3a3327;
    --accent: #d19367;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page h1 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.page .subtitle {
  color: var(--ink-soft);
  margin-top: 0;
  margin-bottom: 2rem;
}

.page h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
}

.page p,
.page li {
  color: var(--ink);
}

.page a {
  color: var(--accent);
}

.page .card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.page footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}
