/* ============================================================================
   OfferEaze — Legal pages (Privacy, Terms, Cookies, Billing).
   Consumes the shared --oe-* tokens from base/tokens.css. Self-contained chrome
   so the pages render standalone on the marketing root and tenant subdomains.
   ========================================================================== */
.legal-shell {
    min-height: 100vh; display: flex; flex-direction: column;
    background: var(--oe-pearl); color: var(--oe-ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
.legal-shell *, .legal-shell *::before, .legal-shell *::after { box-sizing: border-box; }

.legal-topbar { background: var(--oe-navy); color: #fff; }
.legal-topbar-inner {
    max-width: 900px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-brand {
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff;
    font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.03em;
}
.legal-brand .mark {
    width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid rgba(242,244,247,.5);
    display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none;
}
.legal-back { color: #C7D2E1; text-decoration: none; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.legal-back:hover { color: #fff; }

.legal-main { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: 44px 24px 64px; }
.legal-doc h1 {
    font-family: 'Inter Tight', sans-serif; font-size: clamp(28px, 4vw, 38px); font-weight: 600;
    letter-spacing: -0.03em; color: var(--oe-navy); margin: 0 0 8px; line-height: 1.1;
}
.legal-updated { font-size: 13px; color: var(--oe-ink-muted); margin: 0 0 24px; }
.legal-draft {
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--oe-warn-bg, #FEF6E7); border: 1px solid var(--oe-warn-line, #F5D9A8);
    color: var(--oe-warn, #B45309); border-radius: 12px; padding: 12px 16px; font-size: 13.5px; margin: 0 0 28px;
}
.legal-draft i { margin-top: 2px; flex: none; }
.legal-doc h2 {
    font-family: 'Inter Tight', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
    color: var(--oe-navy); margin: 32px 0 10px;
}
.legal-doc p { margin: 0 0 12px; color: var(--oe-ink-soft); }
.legal-doc ul { margin: 0 0 12px; padding-left: 22px; }
.legal-doc li { margin: 0 0 6px; color: var(--oe-ink-soft); }
.legal-doc strong { color: var(--oe-navy); font-weight: 600; }
.legal-doc a { color: var(--oe-info, #1F5BD0); }

.legal-footer { border-top: 1px solid var(--oe-line); background: var(--oe-white); }
.legal-footer-inner {
    max-width: 820px; margin: 0 auto; padding: 22px 24px;
    display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: 13px; color: var(--oe-ink-muted);
}
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-footer-links a { color: var(--oe-ink-soft); text-decoration: none; }
.legal-footer-links a:hover { color: var(--oe-navy); }
.legal-footer-links a.active { color: var(--oe-navy); font-weight: 600; }
.legal-footer .copyright { margin-left: auto; }
