/* Shared styles for /privacy, /terms, /about, /contact */

:root {
  --yellow:  #E8AE3C;
  --dark:    #1E1208;
  --cream:   #FAF7F1;
  --paper:   #F4EFE3;
  --red:     #C4522A;
  --green:   #3D6140;
  --muted:   #6B5D4D;
  --hairline:#D9CFBE;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--dark); }

/* ── Header ───────────────────────────────────── */
.page-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.page-header-inner {
  max-width: 920px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: 22px; letter-spacing: -0.01em;
  color: var(--dark); text-decoration: none;
}
.wordmark .dot { color: var(--red); }
.back-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); text-decoration: none;
}
.back-link:hover { color: var(--dark); }
.back-link::before { content: '← '; }

/* ── Main content ─────────────────────────────── */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before { content: '● '; }

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin-bottom: 24px;
}
h1 em { color: var(--red); font-weight: 600; }

.lede {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 8px;
  max-width: 56ch;
}

.updated {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 56px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  margin-top: 32px;
  margin-bottom: 8px;
  color: var(--dark);
}

p { margin-bottom: 16px; max-width: 64ch; }
p em { font-style: italic; color: var(--dark); }

ul, ol { margin: 0 0 20px 24px; padding: 0; }
li { margin-bottom: 8px; max-width: 60ch; }
li strong { font-weight: 600; }

strong { font-weight: 600; }

.callout {
  background: var(--paper);
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 15px;
  max-width: 64ch;
}
.callout strong { color: var(--red); }

code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 3px;
}

.toc {
  background: var(--paper);
  padding: 24px 28px;
  margin: 0 0 56px;
  font-size: 14px;
  border: 1px solid var(--hairline);
}
.toc-title {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--dark); text-decoration: none; }
.toc a:hover { color: var(--red); text-decoration: underline; }

/* ── Footer ───────────────────────────────────── */
.page-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 48px 24px;
  text-align: center;
  font-size: 14px;
}
.page-footer a {
  color: var(--yellow);
  text-decoration: none;
  margin: 0 10px;
}
.page-footer a:hover { text-decoration: underline; }
.page-footer .footer-links { margin-bottom: 16px; }
.page-footer .footer-meta {
  color: rgba(250, 247, 241, 0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ── Mobile ───────────────────────────────────── */
@media (max-width: 600px) {
  main { padding: 48px 20px 80px; }
  h1 { font-size: 36px; }
  h2 { font-size: 22px; margin-top: 40px; }
  .lede { font-size: 16px; }
}
