/* Long-form text on privacy.html, support.html and changelog.html.
   Colours are the same hex tokens as index.html's Tailwind config. */
body { background-color: #08090a; }
.doc { max-width: 68ch; color: #b4bac0; font-size: 1rem; line-height: 1.65; }
.doc .kicker { font-size: .875rem; color: #8b9299; }
.doc h1 { margin-top: .5rem; font-family: 'Noto Serif', Georgia, serif; font-size: clamp(2.25rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.02em; color: #f5f6f7; text-wrap: balance; }
.doc .intro { margin-top: 1rem; font-size: 1.125rem; color: #8b9299; }
.doc .short { margin-top: 2rem; padding: 1.5rem; border: 1px solid #23272b; border-radius: .75rem; background: #0e1012; display: grid; gap: .5rem; }
.doc .short b { color: #f5f6f7; font-weight: 600; }
.doc h2 { margin-top: 3.5rem; font-family: 'Noto Serif', Georgia, serif; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; color: #f5f6f7; }
.doc h3 { margin-top: 2rem; font-family: 'Noto Serif', Georgia, serif; font-weight: 600; font-size: 1.125rem; color: #f5f6f7; }
.doc p, .doc ul, .doc ol { margin-top: .75rem; }
.doc ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .5rem; }
.doc a:not([class]) { color: #f5f6f7; text-decoration: underline; text-decoration-color: #31363b; text-underline-offset: 3px; }
.doc a:not([class]):hover { text-decoration-color: #c8b89a; }
.doc strong { color: #f5f6f7; font-weight: 600; }
.doc code { font: .875rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 2px 5px; border-radius: 4px; background: #121517; color: #f5f6f7; }
.doc pre { margin-top: 1rem; padding: 1rem; overflow-x: auto; border: 1px solid #23272b; border-radius: .5rem; background: #0e1012; font: .8125rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #f5f6f7; white-space: pre-wrap; }
.doc .note { font-size: .875rem; color: #8b9299; }

.flows { margin-top: 1.5rem; overflow-x: auto; }
.flows table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .875rem; }
.flows th, .flows td { text-align: left; vertical-align: top; padding: .75rem 1rem .75rem 0; border-bottom: 1px solid #23272b; }
.flows th { font-weight: 500; font-size: .75rem; color: #8b9299; }
.flows td:first-child { color: #f5f6f7; font-weight: 500; white-space: nowrap; }

.help { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.help a { display: grid; gap: .25rem; padding: 1.5rem; border: 1px solid #23272b; border-radius: .75rem; background: #0e1012; transition: border-color .15s; }
.doc .help a { color: #b4bac0; text-decoration: none; }
.help a:hover { border-color: #31363b; }
.help b { font-family: 'Noto Serif', Georgia, serif; font-weight: 600; font-size: 1.125rem; color: #f5f6f7; }
.help span { font-size: .9375rem; }
@media (max-width: 560px) { .help { grid-template-columns: 1fr; } }

.faq { margin-top: 1rem; border-top: 1px solid #23272b; }
.faq details { padding: 1rem 0; border-bottom: 1px solid #23272b; }
.faq summary { cursor: pointer; list-style: none; color: #f5f6f7; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 1.25rem; color: #5f676e; }
.faq details[open] summary::before { content: "\2013"; }
.faq details > *:not(summary) { margin-left: 1.25rem; }

.release { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid #23272b; display: grid; grid-template-columns: 9rem 1fr; gap: .5rem 2rem; }
.release > * { min-width: 0; }
.release .when { font-size: .875rem; color: #8b9299; }
.release .when b { display: block; font-family: 'Noto Serif', Georgia, serif; font-weight: 600; font-size: 1.25rem; color: #f5f6f7; }
.release h2 { margin: 0; font-size: 1.25rem; }
.release h3 { margin-top: 1.25rem; font-family: 'Geist', system-ui, sans-serif; font-weight: 500; font-size: .875rem; color: #c8b89a; }
.release ul { margin-top: .5rem; }
@media (max-width: 640px) { .release { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .help a { transition: none; } }
