/* Public pages for privacy and accounts: the privacy notice and the password reset page.
   Builds on guides.css (tokens, masthead, intro, footer). */
.privacy-main { max-width: 820px; }
.privacy-toc { margin: 8px 0 28px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); }
.privacy-toc ol { margin: 0; padding-left: 1.3em; columns: 2 220px; column-gap: 32px; }
.privacy-toc li { margin: 4px 0; break-inside: avoid; }
.privacy-toc a, .privacy-section a, .reset-card a { color: var(--accent-deep); font-weight: 600; }
.privacy-section { border-top: 1px solid var(--line); padding-block: 24px 6px; max-width: var(--measure); }
.privacy-section h2 { font-size: 1.25rem; color: var(--accent-deep); margin: 0 0 10px; }
.privacy-section p, .privacy-section li { line-height: 1.6; }
.privacy-section ul { padding-left: 1.2em; }
.privacy-section li { margin: 6px 0; }
.privacy-details { white-space: pre-line; color: var(--muted); }
.privacy-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: .875rem; }
.privacy-table th, .privacy-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.privacy-table th { color: var(--muted); font-weight: 600; }

.reset-main { max-width: 560px; }
.reset-card { margin: 8px 0 40px; padding: clamp(20px, 4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); }
.reset-card form { display: grid; gap: 8px; }
.reset-card label { font-weight: 600; }
.reset-card input { min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: inherit; }
.reset-card input:focus-visible, .reset-card button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.reset-card button { margin-top: 10px; justify-self: start; border: 0; border-radius: 999px; padding: 11px 24px; cursor: pointer; background: var(--accent-deep); color: var(--paper); font: inherit; font-weight: 600; }
.reset-card button:disabled { opacity: .6; cursor: progress; }
.reset-hint { color: var(--muted); font-size: .875rem; margin: 0; }
.reset-status { margin: 14px 0 0; font-weight: 600; }
.reset-status:empty { display: none; }
.reset-status[data-tone="good"] { color: var(--emerald); }
.reset-status[data-tone="bad"] { color: #b4432f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .reset-status[data-tone="bad"] { color: #f08a75; }
}
@media (max-width: 520px) {
  .privacy-table th, .privacy-table td { padding: 8px 6px; }
}
