/* Shared look for the static pages (FAQ, guides, legal…), matching the
   homepage: off-white paper, ink header text, heavy tight headings, a dark
   footer. Loaded after each page's own <style>, so it wins on equal terms. */

body { background: var(--bg); -webkit-font-smoothing: antialiased; }

/* ── Header ── */
header.site-header {
  position: sticky; top: 0; z-index: 20; padding: 0;
  background: rgba(236, 236, 233, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(16, 16, 19, 0.08);
}
.site-header__inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: #101013; text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.site-brand:hover { text-decoration: none; }
.site-brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-header .site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-header .site-nav a { color: #55555b; font-size: 14px; font-weight: 600; text-decoration: none; }
.site-header .site-nav a:hover { color: #101013; }
.site-cta { background: #101013; color: #f6f6f4 !important; font-size: 14px; font-weight: 700; padding: 9px 18px; border-radius: 999px; text-decoration: none !important; white-space: nowrap; }
@media (max-width: 760px) {
  .site-header .site-nav { display: none; }
  .site-cta { margin-left: auto; }
}

/* ── Headings & intro ── */
main h1 { font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; color: var(--text); }
main h2 { letter-spacing: -0.02em; }
.pill {
  background: transparent !important; border: 0 !important; padding: 0 !important;
  color: var(--text) !important; opacity: 0.7;
  font-size: 12px !important; letter-spacing: 0.22em !important;
}

/* ── Buttons ── */
.btn-primary { background: #101013 !important; color: #f6f6f4 !important; border-radius: 14px; }
.btn-outline { background: #ffffff !important; color: #101013 !important; border: 1.5px solid rgba(16, 16, 19, 0.14) !important; border-radius: 14px; }

/* ── Surfaces ── */
.card, details, .toc, .topic-card, .plan, .highlight-box, .note-box {
  box-shadow: 0 1px 0 rgba(16, 16, 19, 0.06);
}

/* ── Footer ── */
footer.site-footer {
  text-align: left; padding: 56px 0 28px; border-top: 0; background: #121212; color: rgba(246, 246, 244, 0.66); font-size: 14px;
}
.site-footer__inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.site-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer .site-brand { color: #f6f6f4; }
.site-footer__brand p { margin-top: 12px; max-width: 300px; }
.site-footer__title { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
footer.site-footer a { color: #f6f6f4; opacity: .86; text-decoration: none; }
footer.site-footer a:hover { opacity: 1; color: #3dd68c; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(246, 246, 244, 0.1); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 760px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
