/* Shared styling for the privacy and support pages. Deliberately plain — these
   are documents, not the marketing page, but they inherit its palette. */

:root {
  color-scheme: light;
  --bg: #f2ede4;
  --ink: #000;
  --muted: #565149;
  --rule: #d8d1c4;
  --surface: #fff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 24px 96px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.doc {
  max-width: 680px;
  margin: 0 auto;
}

.doc__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  font-size: 15px;
}

.doc__brand {
  font-weight: 700;
  text-decoration: none;
}

.doc__nav a { color: inherit; }

h1 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  margin: 24px 0 8px;
}

h2 {
  font-size: clamp(19px, 2.6vw, 22px);
  margin: 44px 0 8px;
}

.updated {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 8px;
}

p, li { color: var(--ink); }

ul { padding-left: 22px; }

li { margin: 6px 0; }

a { color: inherit; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 48px 0 24px;
}

.callout {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16150f;
    --ink: #f2ede4;
    --muted: #a8a294;
    --rule: #3a372e;
    --surface: #221f18;
  }
  :root { color-scheme: dark; }
}

h3 {
  font-size: 18px;
  margin: 32px 0 4px;
}

/* ---------- FAQ ---------- */

.faq { margin-top: 28px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 34em; }

@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}
