/* ============================================================================
   Plain pages: privacy policy and 404
   ========================================================================== */
.doc { padding-block: clamp(40px, 7vw, 96px) clamp(80px, 11vw, 150px); }
.doc-in { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.doc h1 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }
.doc .meta { color: var(--text-faint); font-size: 0.94rem; margin-bottom: 30px; }
.doc .intro { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--text); margin-bottom: 8px; text-wrap: pretty; }
.doc h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); font-weight: 680; letter-spacing: -0.025em; line-height: 1.12; margin: clamp(40px, 6vw, 64px) 0 14px; padding-top: 22px; border-top: 1px solid var(--border-strong); }
.doc h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); font-weight: 660; letter-spacing: -0.02em; line-height: 1.15; margin: 30px 0 4px; }
/* a note to the owner that must be resolved before the page goes live: impossible to miss */
.doc .draft { font-style: italic; padding: 0.05em 0.3em; border-radius: 0.3em; background: color-mix(in srgb, var(--b-exam) calc(var(--marker-a) + 10%), transparent); color: var(--text); }
.doc p { color: var(--text-dim); margin-top: 12px; max-width: 42em; text-wrap: pretty; }
.doc p strong, .doc li strong { color: var(--text); font-weight: 650; }
.doc a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.1em; text-underline-offset: 0.2em; }
.doc a:hover { text-decoration-style: wavy; }
.doc ul.bul { margin-top: 12px; display: grid; gap: 10px; max-width: 42em; }
.doc ul.bul li { position: relative; padding-left: 22px; color: var(--text-dim); }
.doc ul.bul li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 0 50% 50% 50%; background: var(--accent); transform: rotate(45deg); }

.doc table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.97rem; }
.doc th { text-align: left; font: 650 0.95rem var(--font-display); letter-spacing: -0.01em; color: var(--text); padding: 0 16px 10px 0; border-bottom: 1px solid var(--border-strong); }
.doc td { vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.doc td:first-child { color: var(--text); font-weight: 560; width: 26%; }
@media (max-width: 640px) {
  .doc thead { display: none; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc tr { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .doc td { padding: 2px 0; border: 0; }
  .doc td:first-child { width: 100%; }
  .doc td[data-l]::before { content: attr(data-l) ': '; color: var(--text-faint); font-size: 0.86rem; }
}

.doc-nib { display: flex; justify-content: center; margin-bottom: 22px; }
.nf { text-align: center; }
.nf .doc-in { display: grid; justify-items: center; gap: 18px; }
.nf .nib-slot { width: 150px; }
.nf h1 { margin-bottom: 0; }
.nf p { text-align: center; }

.doc .linklike { font: inherit; color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.1em; text-underline-offset: 0.2em; }
