/* ==========================================================================
   Nicolas Sanchez - Shared base for the light/dark "paper" design
   Used by: index.html, colophon.html, privacy.html, terms.html, security.html
   Toolkit uses its own design (style.css). Plain CSS, no build step.
   ========================================================================== */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }

/* Theme tokens */
:root {
  --bg:     #f5f2ec;
  --bg2:    #ebe7df;
  --ink:    #1a1815;
  --ink2:   #56524b;
  --ink3:   #8b867c;
  --rule:   #dad5c9;
  --accent: #b34a1f;
  --glow:   rgba(179, 74, 31, 0.06);
}
[data-theme="dark"] {
  --bg:     #0e1014;
  --bg2:    #1a1d23;
  --ink:    #ececec;
  --ink2:   #a0a3aa;
  --ink3:   #6a6e78;
  --rule:   #2a2d35;
  --accent: #e8a06e;
  --glow:   rgba(232, 160, 110, 0.08);
}

/* Theme toggle button (shared across all paper pages) */
.theme-btn {
  background: var(--bg2);
  border: 1px solid var(--rule);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.theme-btn svg { display: block; }
