/* Musée site pages (privacy/terms/support) — the landing's "after hours" language, rendered
   musée-native via pandoc + page.tmpl.html. Served as /styles.css by build_site.sh.
   Legal TEXT = legal/*.md (the SSOT — same text the app ships). */
:root {
  --ink: #08070A;
  --bone: #EDE7D8;
  --bone-dim: #CFC8B7;
  --stone: #9A927F;
  --stone-dim: #6E685A;
  --gold: #C9A24B;
  --gold-light: #E6C878;
  --line: rgba(237, 231, 216, 0.11);
  --line2: rgba(201, 162, 75, 0.28);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 46rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(125% 95% at 50% 16%, #181620 0%, #0F0D15 42%, #08070B 100%) fixed;
  color: var(--bone);
  font: 16.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--bone); }
::selection { background: rgba(201, 162, 75, 0.28); color: #fff; }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem 1rem;
  max-width: var(--max); margin: 0 auto; padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; letter-spacing: 0.03em; color: var(--gold-light); }
.site-nav { display: flex; gap: 1.4rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-nav a { color: var(--stone); }
.site-nav a:hover { color: var(--bone); }

/* ---------- content ---------- */
.content { max-width: var(--max); margin: 0 auto; padding: 3rem 1.4rem 3.5rem; }
.content h1 {
  font-family: var(--serif); font-weight: 500; font-size: 2.1rem; line-height: 1.15;
  letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--bone);
}
.content h1 + p { color: var(--stone); font-size: 0.92rem; }
.content h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 2.2em 0 0.6em;
  color: var(--gold-light); letter-spacing: 0.01em;
}
.content h2::after {
  content: ""; display: block; width: 52px; height: 1px; margin-top: 0.55rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.content h3 { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; margin: 1.6em 0 0.4em; color: var(--bone); }
.content p, .content li { color: var(--bone-dim); }
.content strong { color: var(--bone); font-weight: 600; }
.content em { font-family: var(--serif); }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.content ul, .content ol { padding-left: 1.3rem; }
.content li { margin: 0.35rem 0; }
.content li::marker { color: var(--gold); }

.content table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: 0.92rem; }
.content th, .content td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.content th { font-family: var(--serif); font-weight: 500; color: var(--gold-light); }

.content code {
  background: rgba(237, 231, 216, 0.07); border: 1px solid var(--line);
  padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.88em; color: var(--bone);
}
.content blockquote {
  margin: 1.4rem 0; padding: 0.2rem 0 0.2rem 1.1rem; border-left: 2px solid var(--line2);
  color: var(--stone); font-family: var(--serif); font-style: italic;
}

/* Effective-date / lede strap under a legal title */
.content .lede { color: var(--stone); font-size: 0.92rem; }

/* Owner-input markers (should be none on this site — kept visible for honesty if any appear) */
.needs-input {
  display: inline-block; background: rgba(201, 162, 75, 0.12); color: var(--gold-light);
  border: 1px dashed var(--line2); border-radius: 4px; padding: 0 0.4em; font-size: 0.88em;
}

/* ---------- footer (mirrors the landing's) ---------- */
.site-footer {
  max-width: var(--max); margin: 0 auto; padding: 1.6rem 1.4rem 2.6rem;
  border-top: 1px solid var(--line); color: var(--stone-dim); font-size: 0.85rem;
}
.site-footer a { color: var(--stone); }
.site-footer a:hover { color: var(--bone); }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.foot-brand { font-family: var(--serif); color: var(--gold-light); font-size: 1rem; }
.foot-links { display: flex; gap: 1.4rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
