/* Styles for the prerendered static content pages (SSG). Self-contained and
   decoupled from the React app's CSS pipeline — light "volt-on-paper" theme,
   same font stack as the app. See src/content/ + scripts/prerender.ts. */

:root {
  --paper: #fcfcfa;
  --ink: #16160f;
  --muted: #56564c;
  --rule: #e6e6dd;
  --volt: #8900ff;
  --maxw: 44rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

.doc {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 1.25rem 5rem;
}

.doc__eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt);
}

.doc h1,
.doc h2 {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.doc h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.doc h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
}

.doc__lead {
  font-size: 1.2rem;
  color: var(--ink);
}

.doc p { margin: 0 0 1rem; }

.doc a {
  color: var(--volt);
  text-underline-offset: 0.15em;
}

.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: #f1f1ea;
  padding: 0.1em 0.35em;
  border-radius: 0.3em;
}

.doc ol { padding-left: 1.25rem; }
.doc ol li { margin: 0 0 0.6rem; }

.doc__cta {
  margin: 2rem 0;
}

.doc__cta a {
  display: inline-block;
  background: var(--volt);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.6rem;
}

.doc__faq { margin: 0; }
.doc__faq dt { margin: 1.25rem 0 0.25rem; font-weight: 700; }
.doc__faq dd { margin: 0; color: var(--muted); }

.doc ul { padding-left: 1.25rem; }
.doc ul li { margin: 0 0 0.5rem; }

/* ── Shared header / footer (the content-page cluster) ─────────────────── */
.doc-header {
  border-bottom: 1px solid var(--rule);
}
.doc-header__inner,
.doc-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.doc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.doc-header__brand,
.doc-footer__brand {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}
.doc-header__dot { color: var(--volt); }
.doc-header__cta {
  font-weight: 700;
  color: var(--volt);
  text-decoration: none;
}

.doc-footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
}
.doc-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0.75rem 0;
}
.doc-footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.doc-footer__links a:hover { color: var(--volt); }
.doc-footer__rights { color: var(--muted); font-size: 0.9rem; }

/* ── Blog ─────────────────────────────────────────────────────────────── */
.doc__meta {
  margin: -0.5rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.doc__meta a { color: var(--muted); }
.doc__meta a:hover { color: var(--volt); }

.blog-list { list-style: none; padding: 0; margin: 2rem 0; }
.blog-list__item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}
.blog-list__item:last-child { border-bottom: 1px solid var(--rule); }
.blog-list__link {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}
.blog-list__link:hover { color: var(--volt); }
.blog-list__desc { margin: 0.4rem 0 0; color: var(--muted); }
