/* Look for the static pages (privacy, terms). Same tokens as src/styles.css. */
:root {
  color-scheme: light dark;
  --bg: #f5f3ee; --surface: #ffffff; --surface-2: #eef1ec; --ink: #17211c; --muted: #56625b;
  --line: #dcdfd8; --accent: #0d6b4b; --amber: #f2b705; --amber-soft: #fdf3d3; --amber-ink: #5c4400;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1412; --surface: #18201c; --surface-2: #1f2924; --ink: #e9eee9; --muted: #a4b1a9;
    --line: #2b3731; --accent: #4fc48d; --amber: #f5c542; --amber-soft: #2e2710; --amber-ink: #f5d98a;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; }
body { min-height: 100dvh; background: var(--bg); color: var(--ink); }
a { color: var(--accent); text-underline-offset: 2px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.page-header {
  position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.page-header__inner { max-width: 680px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.page-header__brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: none; }
.page-header__brand img { width: 28px; height: 28px; }
.page-header__back { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 600; }

.doc { max-width: 680px; margin: 0 auto; padding: 24px 16px 40px; font-size: 1.0625rem; }
.doc h1 { margin: 12px 0 4px; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.01em; }
.doc h2 { margin: 32px 0 8px; font-size: 1.1875rem; line-height: 1.3; }
.doc p, .doc ul { margin: 0 0 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .lede { color: var(--muted); }
.draft {
  margin: 0 0 8px; padding: 10px 14px; border-radius: 12px;
  background: var(--amber-soft); color: var(--amber-ink); border: 1px solid color-mix(in srgb, var(--amber) 50%, transparent);
  font-size: 0.9375rem; font-weight: 600;
}
.card { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.site-footer { padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; font-size: 0.8125rem; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer__links { margin-bottom: 4px !important; }
.site-footer__links a { display: inline-block; padding: 8px 6px; color: var(--muted); font-weight: 600; }
.contact-form { display: grid; gap: 8px; }
.contact-form label { font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); font: inherit; }
.contact-form button { justify-self: start; padding: 10px 18px; border: 0; border-radius: 8px; background: var(--accent); color: var(--bg); font: inherit; font-weight: 700; cursor: pointer; }
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
