/* Páginas de texto: privacidad, términos y soporte. Misma noche, lectura cómoda. */

.doc main { padding: 128px 0 24px; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }

.doc-head { text-align: center; margin-bottom: 56px; }
.doc-head .moon { --size: 66px; margin-bottom: 34px; }
.doc-head h1 { font-size: clamp(36px, 5.4vw, 56px); }
.doc-head .updated { margin-top: 14px; color: var(--muted); font-size: 15px; }
.doc-head .lede { margin-top: 18px; }

.summary { margin: 0 0 44px; padding: 28px 30px 26px; border-radius: 26px; background: var(--card);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); }
.summary h2 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.summary li { position: relative; padding-left: 26px; color: var(--soft); line-height: 1.6; }
.summary li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sand); box-shadow: 0 0 6px rgba(230, 224, 213, .7); }

.toc { margin: 0 0 56px; padding: 0; list-style: none; columns: 2; column-gap: 32px; counter-reset: toc; }
.toc li { break-inside: avoid; counter-increment: toc; padding: 6px 0; }
.toc a { color: var(--soft); text-decoration: none; font-size: 15px; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); margin-right: 12px; font-variant-numeric: tabular-nums; font-size: 13px; }
.toc a:hover { color: #fff; }
@media (max-width: 640px) { .toc { columns: 1; } }

.prose { counter-reset: sec; }
.prose h2 { margin: 64px 0 16px; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.015em; scroll-margin-top: 96px; counter-increment: sec; }
.prose h2::before { content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .2em; color: var(--sand); opacity: .8; font-variant-numeric: tabular-nums; }
.prose.plain h2::before { content: none; }
.prose h3 { margin: 30px 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -.005em; }
.prose p, .prose li { color: var(--soft); line-height: 1.72; }
.prose p + p, .prose ul + p, .prose p + ul, .prose table + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--sand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(230, 224, 213, .45); }
.prose a:hover { text-decoration-color: var(--sand); }
.prose strong { color: #fff; font-weight: 600; }
.prose code { font: 500 .92em ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; background: rgba(255, 255, 255, .07); padding: .1em .4em; border-radius: 6px; }
.prose .callout { margin-top: 18px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.prose .callout p { margin: 0; }

.table { width: 100%; margin: 18px 0 6px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 14px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .08); line-height: 1.55; }
.table th { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.table td { color: var(--soft); }
.table td:first-child { color: #fff; font-weight: 500; width: 24%; }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table tr { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .table td { display: block; width: auto !important; padding: 3px 0; border: 0; }
  .table td[data-label]::before { content: attr(data-label); display: block; margin-top: 8px; font-size: 11px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
}

/* Soporte */
.contact { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between;
  margin: 0 0 64px; padding: 26px 30px; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); }
.contact p { color: var(--soft); max-width: 28em; }
.contact p strong { display: block; color: #fff; font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.faq summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font-size: 19px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); transition: transform .35s var(--ease), margin .35s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--sand); }
.faq .answer { padding: 0 0 24px; }
.faq .answer > * + * { margin-top: 12px; }
