/* ════════════════════════════════════════════════════════════════════════
   PRIVACYNUMBER — content pages (guides · use-cases · compare · glossary ·
   about · pricing · crypto-payment). Loaded only on /content.php routes.
   Reuses tokens + .container/.pill/.btn/.section-head/.cta__card/.crumbs/
   .cn__faq-list/.cn__usecases-grid from main.css. Adds only doc-specific bits.
   ════════════════════════════════════════════════════════════════════════ */

/* ── hero ─────────────────────────────────────────────────────────────── */
.doc__hero {
  position: relative;
  padding: clamp(28px, 4vw, 52px) 0 clamp(18px, 2.5vw, 30px);
  overflow: hidden;
  isolation: isolate;
}
.doc__hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(820px 460px at 78% 0%, rgba(80,70,229,0.10), transparent 55%),
    radial-gradient(560px 360px at 6% 100%, rgba(123,115,255,0.06), transparent 60%);
  filter: blur(40px);
}
.doc__hero .pill { margin-bottom: 14px; }
.doc__hero h1 {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: clamp(29px, 4.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.034em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 20ch;
}
.doc__lede {
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  color: var(--text-d);
  max-width: 66ch;
  margin: 0 0 22px;
}
.doc__hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.doc__updated { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.doc__updated time { color: var(--text-d); font-weight: 600; }

/* ── body layout ──────────────────────────────────────────────────────── */
.doc__body { padding: clamp(20px, 3vw, 36px) 0 clamp(20px, 3vw, 40px); }
.doc__prose { max-width: 768px; }
.doc__section { margin-top: clamp(28px, 3.6vw, 46px); }
.doc__section:first-child { margin-top: 0; }
.doc__section > h2 {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: clamp(21px, 2.5vw, 29px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 12px;
}

/* prose typography */
.doc__rt h3 {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 17.5px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 22px 0 8px;
}
.doc__rt p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-d);
  margin: 0 0 14px;
}
.doc__rt ul, .doc__rt ol { margin: 0 0 16px; padding-inline-start: 1.3em; }
.doc__rt ul { list-style: disc; }
.doc__rt ol { list-style: decimal; }
.doc__rt li { font-size: 16px; line-height: 1.6; color: var(--text-d); margin-bottom: 7px; }
.doc__rt li::marker { color: var(--signal); }
.doc__rt a {
  color: var(--signal-d);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(80,70,229,0.32);
  transition: text-decoration-color var(--t-fast), color var(--t-fast);
}
.doc__rt a:hover { color: var(--signal); text-decoration-color: var(--signal); }
.doc__rt strong { color: var(--ink); font-weight: 700; }
.doc__rt em { font-style: italic; }
.doc__rt blockquote {
  border-inline-start: 3px solid var(--signal);
  background: var(--signal-soft);
  padding: 12px 18px;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin: 0 0 16px;
  color: var(--text);
  font-size: 15.5px;
}
.doc__rt blockquote p:last-child { margin: 0; }

/* ── comparison table ─────────────────────────────────────────────────── */
.cmp-wrap {
  overflow-x: auto;
  margin: 4px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
table.cmp th, table.cmp td {
  padding: 12px 14px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}
table.cmp thead th {
  background: var(--bg-2);
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
table.cmp thead th:first-child { color: var(--muted); font-weight: 600; }
table.cmp thead th:nth-child(2) { color: var(--signal-d); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { font-weight: 600; color: var(--ink); }
table.cmp th:nth-child(2), table.cmp td:nth-child(2) { background: rgba(80,70,229,0.05); }

/* ── facts panel ──────────────────────────────────────────────────────── */
.doc__facts {
  margin: 0 0 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.doc__facts-h {
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.doc__facts ul { display: flex; flex-direction: column; gap: 9px; }
.doc__facts li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.45; color: var(--ink);
}
.doc__facts svg { color: var(--signal); flex-shrink: 0; margin-top: 3px; }

/* ── related links ────────────────────────────────────────────────────── */
.doc__related { padding: clamp(40px, 5vw, 72px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.doc__related-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: 880px;
}
.doc__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--text-d);
  transition: border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.doc__chip:hover { border-color: var(--signal); color: var(--signal); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.doc__chip svg { color: var(--signal); }

/* ── hub grids (reuse .cn__usecases-grid look; .hub-card adds a link arrow) ─ */
.hub__intro { padding: clamp(8px, 2vw, 18px) 0 clamp(20px, 3vw, 30px); }
.hub__intro p { max-width: 64ch; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; color: var(--text-d); }
.hub__grid { padding-bottom: clamp(36px, 5vw, 64px); }
.hub__grid ul {
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 680px)  { .hub__grid ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .hub__grid ul { grid-template-columns: repeat(3, 1fr); } }
.hub-card {
  display: flex; flex-direction: column; gap: 7px;
  height: 100%;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.hub-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.hub-card h3 {
  font-family: var(--f-disp); font-weight: 600; font-size: 16.5px;
  letter-spacing: -0.014em; color: var(--ink); line-height: 1.25;
  display: flex; align-items: center; gap: 7px;
}
.hub-card h3 svg { color: var(--signal); opacity: 0; transform: translateX(-3px); transition: opacity var(--t-fast), transform var(--t-fast); }
.hub-card:hover h3 svg { opacity: 1; transform: translateX(0); }
.hub-card p { font-size: 14px; line-height: 1.5; color: var(--text-d); }

/* breadcrumb tweak for doc pages (reuses .crumbs) */
.doc .crumbs { margin-bottom: 16px; }
