/* Eight Screens public site — privacy policy, support, landing.
   Static, no scripts, no third-party requests. System fonts only (nothing is fetched for a font).
   Light by default; dark follows the visitor's system setting via prefers-color-scheme. */

:root {
  color-scheme: light dark;
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --rule: #E5DED3;
  --text: #1A1613;
  --muted: #5F574E;
  --accent: #9A5B00;
  --mark-bg: #FFE9A8;
  --mark-text: #4A3300;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Helvetica Neue", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0C0A;
    --surface: #1A1714;
    --rule: #2C2721;
    --text: #F4EEE6;
    --muted: #A89F94;
    --accent: #F5B544;
    --mark-bg: #4A3300;
    --mark-text: #FFE9A8;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--body);
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

.site-header, .site-footer, main { width: 100%; max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-top: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule);
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.site-nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--text); text-decoration: underline; }

main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.15; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
h2 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.25rem; }
p, ul, ol { margin: 0 0 0.9rem; }
li { margin-bottom: 0.35rem; }
.lede { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.5rem; }
.meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
.card p:last-child { margin-bottom: 0; }

/* Facts still to be filled in before publishing. Deliberately loud. */
.todo { background: var(--mark-bg); color: var(--mark-text); padding: 0 0.2em; border-radius: 4px; font-weight: 600; white-space: nowrap; }

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--rule); }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }

dl { margin: 0 0 1rem; }
dt { font-weight: 600; margin-top: 1rem; }
dd { margin: 0.25rem 0 0; }

.site-footer {
  border-top: 1px solid var(--rule); padding-top: 1rem; padding-bottom: 2rem;
  color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
}
.site-footer a { color: var(--muted); }

@media (max-width: 480px) {
  body { font-size: 1rem; }
  h1 { font-size: 1.7rem; }
}
