/* ============================================================
   CRM DEBUGZONE — Legal / policy pages (Quality, Privacy, Terms)
   Light theme. Scoped under .lg-revamp. Keeps existing content.
   ============================================================ */
.lg-revamp {
    --lg-blue: #1d6cff; --lg-cyan: #06b6d4; --lg-navy: #0a2540; --lg-ink: #16273f; --lg-muted: #5a6b82;
    --lg-bg: #f6f9fe; --lg-bg-2: #eef5ff; --lg-line: #e5edf7;
    --lg-font: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--lg-ink); font-family: var(--lg-font); background: #fff; overflow-x: hidden;
}
.lg-revamp p, .lg-revamp li { color: var(--lg-muted); line-height: 1.8; }
.lg-revamp a { text-decoration: none; color: var(--lg-blue); font-weight: 600; }
.lg-revamp a:hover { text-decoration: underline; }
.lg-container { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* hero */
.lg-hero { position: relative; padding: 58px 0 48px; overflow: hidden; border-bottom: 1px solid var(--lg-line);
    background: radial-gradient(800px 380px at 88% -20%, rgba(34, 211, 238, .16), transparent 62%), radial-gradient(700px 360px at 0% 130%, rgba(29, 108, 255, .12), transparent 60%), linear-gradient(180deg, #fff, var(--lg-bg-2)); }
.lg-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: radial-gradient(rgba(29, 108, 255, .05) 1px, transparent 1px); background-size: 26px 26px; }
.lg-hero > .lg-container { position: relative; z-index: 2; }
.lg-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--lg-blue); background: rgba(29, 108, 255, .08); padding: 7px 16px; border-radius: 999px; margin-bottom: 14px; }
.lg-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--lg-navy); margin: 0 0 12px; line-height: 1.12; }
.lg-breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--lg-muted); }
.lg-breadcrumb a { color: var(--lg-muted); font-weight: 500; } .lg-breadcrumb a:hover { color: var(--lg-blue); text-decoration: none; }
.lg-breadcrumb .sep { opacity: .5; }

/* content */
.lg-body { padding: 56px 0 78px; }
.lg-content { background: #fff; }
.lg-content h1, .lg-content h2, .lg-content h3, .lg-content h4 { color: var(--lg-navy); font-weight: 800; line-height: 1.3; margin: 34px 0 14px; }
.lg-content h2 { font-size: 24px; } .lg-content h3 { font-size: 20px; } .lg-content h4 { font-size: 18px; }
.lg-content > *:first-child { margin-top: 0; }
.lg-content p { margin: 0 0 16px; font-size: 16px; }
.lg-content ul, .lg-content ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.lg-content ul li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 16px; }
.lg-content ul li::before { content: "\f058"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--lg-cyan); position: absolute; left: 0; top: 2px; font-size: 13px; }
.lg-content ol { counter-reset: lg; }
.lg-content ol li { position: relative; padding-left: 34px; margin-bottom: 10px; font-size: 16px; counter-increment: lg; }
.lg-content ol li::before { content: counter(lg); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--lg-blue), var(--lg-cyan)); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.lg-content strong, .lg-content b { color: var(--lg-navy); }
.lg-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.lg-content th, .lg-content td { border: 1px solid var(--lg-line); padding: 12px 14px; text-align: left; font-size: 15px; }
.lg-content th { background: var(--lg-bg); color: var(--lg-navy); font-weight: 700; }
/* neutralize leftover theme spacing inside content */
.lg-content .container, .lg-content .row, .lg-content [class^="col-"], .lg-content [class*=" col-"] { width: auto; max-width: none; margin: 0; padding: 0; flex: none; }

.lg-cta { margin-top: 40px; padding: 26px 28px; background: linear-gradient(135deg, var(--lg-blue), var(--lg-cyan)); border-radius: 16px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.lg-cta p { color: #eaf4ff !important; margin: 0; font-weight: 600; }
.lg-cta a { background: #fff; color: var(--lg-blue) !important; font-weight: 700; padding: 11px 22px; border-radius: 999px; }
.lg-cta a:hover { text-decoration: none; }

@media (max-width: 767px) { .lg-hero { padding: 44px 0 36px; } .lg-body { padding: 40px 0 56px; } }
