/* Styles for the standalone pages (login, register, reset-password,
   accept-invite, setup, legal-*). Tokens come from theme.css, which every
   page links first; link this BEFORE /static/tailwind.css. marketing.html has
   its own file (marketing.css). */

body { background: var(--bg); color: var(--text); }

/* setup.html */
.help-text { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.help-text a { color: var(--accent); text-decoration: underline; }
.step-badge { display: inline-block; width: 24px; height: 24px; border-radius: 50%; text-align: center; line-height: 24px; font-size: 12px; font-weight: bold; margin-right: 8px; }
.step-badge.required { background: var(--accent); color: #ffffff; }
.step-badge.optional { background: var(--surface-3); color: var(--text-muted); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 8px; }
.status-dot.connected { background: var(--pos); }
.status-dot.disconnected { background: var(--text-subtle); }
.test-btn { font-size: 0.75rem; padding: 4px 12px; }

/* legal-terms.html, legal-privacy.html, legal-contact.html (<main class="legal">) */
.legal h1 { font-size: 1.875rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.legal h2 { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-top: 2rem; margin-bottom: .5rem; }
.legal h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-top: 1.25rem; margin-bottom: .35rem; }
.legal p, .legal li { color: var(--text); line-height: 1.7; }
.legal p { margin-bottom: .85rem; }
.legal ul { list-style: disc; padding-left: 1.5rem; margin-bottom: .85rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--accent-hover); }
.legal strong { color: var(--text); }
.legal .muted { color: var(--text-muted); font-size: .875rem; }

/* Cards on legal-index.html (links, no .legal wrapper) and legal-contact.html
   (padded divs inside .legal). */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.legal .card { padding: 1.25rem 1.5rem; }
a.card:hover { border-color: var(--accent-border); }
