/* ─────────────────────────────────────────────────────────────
   site.css — shared template for the standalone content pages
   (faq.html, privacy.html, and future /features, /for-tv pages).
   Same palette and type as the homepage and pro.html: dark gallery
   wall, warm paper text, gold accents, serif italic headings.
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #0c0b0a;
  --paper: #ede8de;
  --paper-deep: #e2dccd;
  --muted: rgba(237, 232, 222, 0.78);
  --rule: rgba(237, 232, 222, 0.14);
  --gold: #bc9550; /* 7:1 on --ink */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); }
body { line-height: 1.6; padding: 0 1.25rem; }

a { color: var(--gold); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
}
.site-brand img { width: 2.25rem; height: 2.25rem; }
.site-brand .gold { color: var(--gold); font-style: normal; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 1.25rem; font-size: 0.95rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

main { max-width: 44rem; margin: 0 auto; padding: 1.5rem 0 3rem; }

h1 {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 2.5rem 0 0.5rem;
  scroll-margin-top: 1.5rem;
}
p, li { color: var(--muted); }
p { margin: 0.6rem 0; }
strong { color: var(--paper); }
ul { padding-left: 1.25rem; }
li { margin: 0.45rem 0; }

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  color: var(--paper);
  background: rgba(237, 232, 222, 0.08);
  border-radius: 0.25rem;
  padding: 0.1em 0.35em;
}
pre {
  background: rgba(237, 232, 222, 0.06);
  border: 1px solid var(--rule);
  border-radius: 0.4rem;
  padding: 1rem;
  overflow-x: auto; /* long lines scroll inside the block, never the page */
  line-height: 1.5;
}
pre code { background: none; padding: 0; font-size: 0.85rem; }

.lede { font-size: 1.1rem; }
.updated { font-size: 0.9rem; }

.cta {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 0.4rem;
  margin-top: 0.75rem;
}
.cta:hover { background: var(--paper-deep); }

.site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 0.75rem; }
.site-footer p { margin: 0; }
