/* DocketSage shared theme. Tokens mirror js/theme.js. Load after the Google Fonts links. */
:root {
    --ds-primary: #525f71;
    --ds-primary-dim: #465365;
    --ds-surface: #f9f9ff;
    --ds-on-surface: #00316b;
    --ds-text: #0f172a;          /* slate-900 */
    --ds-muted: #64748b;         /* slate-500 */
    --ds-border: #e2e8f0;        /* slate-200 */
}

body { font-family: 'Inter', sans-serif; }

/* One icon weight everywhere */
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* One scrollbar everywhere */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: var(--ds-border); border-radius: 10px; }

/* Login / registration backdrop */
.architectural-pattern {
    background-color: var(--ds-surface);
    background-image: radial-gradient(#d1e4ff 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

/* ---- Legal pages (terms.html, privacy.html): same tokens, no Tailwind needed ---- */
body.legal { margin: 0; background: var(--ds-surface); color: var(--ds-text); line-height: 1.6; }
.legal-brand { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 2rem 1rem 0;
    font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 600; color: var(--ds-text); text-decoration: none; }
.legal-brand .mark { width: 2rem; height: 2rem; background: var(--ds-primary); border-radius: .25rem;
    display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.legal-brand .mark .material-symbols-outlined { font-size: 1.25rem; }
.legal .container { max-width: 900px; margin: 1.5rem auto 3rem; padding: 2.5rem; background: #fff;
    border: 1px solid var(--ds-border); border-radius: .75rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.legal header { text-align: center; margin-bottom: 2.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ds-border); }
.legal h1 { font-family: 'Newsreader', serif; font-weight: 700; font-size: 2.25rem; color: var(--ds-text); margin: 0 0 .5rem; }
.legal h2 { font-family: 'Newsreader', serif; font-weight: 700; font-size: 1.5rem; color: var(--ds-text);
    margin: 2rem 0 .75rem; padding-bottom: .25rem; border-bottom: 1px solid var(--ds-border); }
.legal .last-updated { font-style: italic; color: var(--ds-muted); font-size: .875rem; }
.legal ul { padding-left: 1.25rem; }
.legal p, .legal li { margin: 0 0 .9rem; text-align: left; }
.legal a { color: var(--ds-primary); font-weight: 600; }
.legal .disclaimer-box { background: #f1f3ff; border: 1px solid var(--ds-border); border-left: 4px solid var(--ds-primary);
    padding: 1.25rem; border-radius: .5rem; margin: 1.5rem 0; }
.legal .disclaimer-box strong { color: var(--ds-primary); }
.legal footer { text-align: center; margin-top: 2.5rem; font-size: .8125rem; color: var(--ds-muted); }
