/* SMGuard public pages (home, privacy, terms, data deletion). Self-contained: app.css is not loaded here.
   Material 3 inspired: tonal surfaces, large radii, soft elevation, floating glass cards, drifting colour blobs.
   Light and dark, reduced-motion aware. No inline styles anywhere (the site's security policy forbids them). */

:root {
    --l-bg: #F6F8FC;
    --l-surface: #FFFFFF;
    --l-surface-2: #EEF2FA;
    --l-outline: #DDE3EE;
    --l-text: #161B26;
    --l-dim: #5B6577;
    --l-faint: #8C95A6;
    --l-primary: #2563EB;
    --l-primary-hover: #1D4ED8;
    --l-on-primary: #FFFFFF;
    --l-primary-container: #DCE7FF;
    --l-on-primary-container: #0B3A9E;
    --l-tertiary: #7C3AED;
    --l-tertiary-container: #EDE4FF;
    --l-success: #12915A;
    --l-success-container: #DDF5EA;
    --l-error: #D12D3A;
    --l-error-container: #FDE3E5;
    --l-blob-1: rgba(37, 99, 235, 0.22);
    --l-blob-2: rgba(124, 58, 237, 0.18);
    --l-blob-3: rgba(18, 145, 90, 0.14);
    --l-glass: rgba(255, 255, 255, 0.72);
    --l-shadow-1: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
    --l-shadow-2: 0 4px 8px rgba(16, 24, 40, 0.06), 0 12px 32px rgba(16, 24, 40, 0.10);
    --l-shadow-3: 0 12px 24px rgba(16, 24, 40, 0.08), 0 32px 64px rgba(16, 24, 40, 0.14);
    --l-radius-s: 12px;
    --l-radius-m: 20px;
    --l-radius-l: 28px;
    --l-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --l-display: 'Plus Jakarta Sans', var(--l-font);
}
:root[data-theme="dark"] {
    --l-bg: #0D111A; --l-surface: #151B27; --l-surface-2: #1C2433; --l-outline: #2A3346;
    --l-text: #E8ECF4; --l-dim: #A3ADBF; --l-faint: #6F7A8F;
    --l-primary: #7AA2FF; --l-primary-hover: #9DBBFF; --l-on-primary: #0A1A40;
    --l-primary-container: #1E3366; --l-on-primary-container: #D6E2FF;
    --l-tertiary: #B794FF; --l-tertiary-container: #33225C;
    --l-success: #4CD89A; --l-success-container: #12372A; --l-error: #FF7A84; --l-error-container: #4A1D24;
    --l-blob-1: rgba(122, 162, 255, 0.20); --l-blob-2: rgba(183, 148, 255, 0.16); --l-blob-3: rgba(76, 216, 154, 0.10);
    --l-glass: rgba(21, 27, 39, 0.72);
    --l-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --l-shadow-2: 0 4px 8px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
    --l-shadow-3: 0 12px 24px rgba(0, 0, 0, 0.35), 0 32px 64px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.lp { margin: 0; background: var(--l-bg); color: var(--l-text); font-family: var(--l-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.lp a:not(.lp-btn) { color: inherit; }
.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .lp-wrap { padding: 0 32px; } }

.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1; letter-spacing: normal; text-transform: none;
    display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }

/* ---------- Background blobs ---------- */
.lp-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lp-bg span { position: absolute; border-radius: 50%; filter: blur(70px); animation: lp-drift 22s ease-in-out infinite alternate; }
.lp-bg span:nth-child(1) { width: 520px; height: 520px; background: var(--l-blob-1); top: -160px; left: -120px; }
.lp-bg span:nth-child(2) { width: 460px; height: 460px; background: var(--l-blob-2); top: 80px; right: -160px; animation-delay: -7s; }
.lp-bg span:nth-child(3) { width: 380px; height: 380px; background: var(--l-blob-3); top: 620px; left: 30%; animation-delay: -14s; }
@keyframes lp-drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.12); } }

/* ---------- Header ---------- */
.lp-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.lp-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 10px 0 16px; background: var(--l-glass);
    backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border: 1px solid var(--l-outline); border-radius: 999px; transition: box-shadow .25s ease; }
.lp-header.is-scrolled .lp-header__bar { box-shadow: var(--l-shadow-2); }
.lp-logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--l-display); font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; }
.lp-logo svg { flex: none; color: var(--l-primary); }
.lp-logo .brand-name { color: var(--l-primary); }
.lp-nav { display: flex; align-items: center; gap: 4px; }
.lp-nav a.lp-nav__link { text-decoration: none; color: var(--l-dim); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.lp-nav a.lp-nav__link:hover, .lp-nav a.lp-nav__link.is-active { background: var(--l-surface-2); color: var(--l-text); }
.lp-theme { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--l-dim); cursor: pointer; transition: background .2s, color .2s; }
.lp-theme:hover { background: var(--l-surface-2); color: var(--l-text); }
.lp-theme .ms { font-size: 22px; font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.lp-theme .ms-light { display: none; }
:root[data-theme="dark"] .lp-theme .ms-dark { display: none; }
:root[data-theme="dark"] .lp-theme .ms-light { display: inline-block; }
@media (max-width: 860px) { .lp-nav a.lp-nav__link { display: none; } }

/* ---------- Buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--l-font);
    text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.lp-btn .ms { font-size: 20px; }
.lp-btn--filled { background: var(--l-primary); color: var(--l-on-primary); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30); }
.lp-btn--filled:hover { background: var(--l-primary-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.36); }
.lp-btn--tonal { background: var(--l-primary-container); color: var(--l-on-primary-container); }
.lp-btn--tonal:hover { transform: translateY(-1px); box-shadow: var(--l-shadow-1); }
.lp-btn--outlined { border-color: var(--l-outline); color: var(--l-text); background: var(--l-surface); }
.lp-btn--outlined:hover { background: var(--l-surface-2); }
.lp-btn--small { height: 38px; padding: 0 16px; font-size: 14px; }
.lp-btn--light { background: #fff; color: #1D3FA8; }
.lp-btn--light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.lp-btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.lp-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Hero ---------- */
.lp-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--l-surface); border: 1px solid var(--l-outline);
    color: var(--l-dim); font-size: 13px; font-weight: 500; box-shadow: var(--l-shadow-1); }
.lp-chip .ms { font-size: 18px; color: var(--l-primary); }
.lp-hero h1 { font-family: var(--l-display); font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 20px 0 20px; }
.lp-grad { background: linear-gradient(100deg, var(--l-primary) 0%, var(--l-tertiary) 60%, var(--l-primary) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lp-shine 8s linear infinite; }
@keyframes lp-shine { to { background-position: 200% center; } }
.lp-hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--l-dim); max-width: 34em; margin: 0 0 32px; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-hero__facts { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--l-dim); font-size: 14px; }
.lp-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.lp-hero__facts .ms { font-size: 20px; color: var(--l-success); }
.lp-note { margin: 18px 0 0; color: var(--l-faint); font-size: 13px; }

/* Hero visual: a mock inbox + floating cards */
.lp-visual { position: relative; padding: 48px 0 66px; }
.lp-dash { position: relative; z-index: 1; background: var(--l-surface); border: 1px solid var(--l-outline); border-radius: var(--l-radius-l); box-shadow: var(--l-shadow-3); padding: 22px;
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s ease; }
.lp-visual:hover .lp-dash { transform: perspective(1400px) rotateY(0) rotateX(0); }
.lp-dash__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.lp-dash__title { font-weight: 700; font-size: 15px; }
.lp-dash__dots { display: flex; gap: 6px; }
.lp-dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--l-outline); }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.lp-kpi { background: var(--l-surface-2); border-radius: var(--l-radius-s); padding: 12px; }
.lp-kpi small { display: block; color: var(--l-dim); font-size: 12px; font-weight: 500; }
.lp-kpi b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lp-kpi--pos b { color: var(--l-success); }
.lp-kpi--warn b { color: var(--l-tertiary); }
.lp-chart { width: 100%; height: 84px; display: block; margin-bottom: 14px; }
.lp-chart__line { fill: none; stroke: var(--l-primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: lp-draw 2.2s .3s ease-out forwards; }
.lp-chart__line--2 { stroke: var(--l-tertiary); stroke-width: 2.5; opacity: .7; animation-delay: .6s; }
.lp-chart__area { opacity: 0; animation: lp-fade 1s 1.4s ease forwards; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
@keyframes lp-fade { to { opacity: 1; } }
.lp-rows { display: grid; gap: 8px; }
.lp-comment { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--l-surface-2); font-size: 13px; }
.lp-comment--hidden .lp-comment__text { color: var(--l-faint); text-decoration: line-through; text-decoration-thickness: 1px; }
.lp-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--l-primary-container); color: var(--l-on-primary-container); }
.lp-avatar--b { background: var(--l-tertiary-container); color: var(--l-tertiary); }
.lp-avatar--c { background: var(--l-success-container); color: var(--l-success); }
.lp-avatar--d { background: var(--l-error-container); color: var(--l-error); }
.lp-comment__text { display: block; line-height: 1.35; }
.lp-comment__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.lp-pill { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--l-surface); color: var(--l-dim); }
.lp-pill--bad { background: var(--l-error-container); color: var(--l-error); }
.lp-pill--ai { background: var(--l-tertiary-container); color: var(--l-tertiary); }
.lp-pill--ok { background: var(--l-success-container); color: var(--l-success); }
.lp-state { font-size: 12px; font-weight: 600; color: var(--l-dim); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.lp-state .ms { font-size: 18px; }
.lp-state--hidden { color: var(--l-success); }

.lp-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--l-glass); backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px); border: 1px solid var(--l-outline); box-shadow: var(--l-shadow-2); font-size: 13px; animation: lp-float 6s ease-in-out infinite; white-space: nowrap; }
.lp-float b { display: block; font-size: 14px; }
.lp-float small { color: var(--l-dim); }
.lp-float__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.lp-float__icon .ms { font-size: 20px; }
.lp-float--a { top: 0; right: -16px; }
.lp-float--a .lp-float__icon { background: var(--l-success-container); color: var(--l-success); }
.lp-float--b { top: 30%; left: -52px; animation-delay: -2s; }
.lp-float--b .lp-float__icon { background: var(--l-tertiary-container); color: var(--l-tertiary); }
.lp-float--c { bottom: 0; left: 28px; animation-delay: -4s; }
.lp-float--c .lp-float__icon { background: var(--l-primary-container); color: var(--l-primary); }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.lp-section { padding: 72px 0; }
.lp-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--l-primary); margin-bottom: 10px; }
.lp-h2 { font-family: var(--l-display); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 14px; }
.lp-sub { color: var(--l-dim); font-size: 17px; max-width: 40em; margin: 0 0 40px; }
.lp-sub--tight { margin-bottom: 0; }
.lp-center { text-align: center; }
.lp-center .lp-sub { margin-left: auto; margin-right: auto; }

/* Bento feature grid */
.lp-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.lp-card { position: relative; background: var(--l-surface); border: 1px solid var(--l-outline); border-radius: var(--l-radius-m); padding: 26px; box-shadow: var(--l-shadow-1);
    transition: transform .3s ease, box-shadow .3s ease; overflow: hidden; }
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--l-shadow-2); }
.lp-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 16px 0 8px; }
.lp-card p { color: var(--l-dim); font-size: 14.5px; margin: 0; }
.lp-card__icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--l-primary-container); color: var(--l-primary); }
.lp-card__icon .ms { font-size: 26px; }
.lp-card--wide { grid-column: span 3; }
.lp-card--third { grid-column: span 2; }
.lp-card--accent { background: linear-gradient(145deg, var(--l-primary-container), var(--l-tertiary-container)); border-color: transparent; }
.lp-card--accent .lp-card__icon { background: var(--l-surface); }
.lp-card--accent .lp-tags span { background: var(--l-surface); }
.lp-bars { margin-top: 20px; display: flex; gap: 8px; align-items: flex-end; height: 70px; }
.lp-bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--l-primary), var(--l-tertiary)); opacity: .85; transform-origin: bottom; animation: lp-grow 1.2s ease both; }
.lp-bars i:nth-child(1) { height: 35%; } .lp-bars i:nth-child(2) { height: 55%; animation-delay: .1s; } .lp-bars i:nth-child(3) { height: 45%; animation-delay: .2s; }
.lp-bars i:nth-child(4) { height: 70%; animation-delay: .3s; } .lp-bars i:nth-child(5) { height: 60%; animation-delay: .4s; } .lp-bars i:nth-child(6) { height: 85%; animation-delay: .5s; }
.lp-bars i:nth-child(7) { height: 100%; animation-delay: .6s; }
@keyframes lp-grow { from { transform: scaleY(0.1); } to { transform: scaleY(1); } }
.lp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lp-tags span { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--l-surface-2); color: var(--l-dim); }

/* Steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.lp-step { position: relative; background: var(--l-surface); border: 1px solid var(--l-outline); border-radius: var(--l-radius-m); padding: 26px; box-shadow: var(--l-shadow-1); }
.lp-step__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2563EB, #7C3AED); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3); }
.lp-step h3 { font-size: 18px; margin: 16px 0 6px; }
.lp-step p { color: var(--l-dim); font-size: 14.5px; margin: 0; }

/* Facebook data panel */
.lp-meta { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; background: var(--l-surface); border: 1px solid var(--l-outline); border-radius: var(--l-radius-l); padding: 44px; box-shadow: var(--l-shadow-2); }
.lp-meta__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lp-meta__item { display: flex; gap: 14px; padding: 16px; border-radius: var(--l-radius-s); background: var(--l-surface-2); }
.lp-meta__item .ms { color: var(--l-primary); font-size: 24px; flex: none; margin-top: 2px; }
.lp-meta__item b { display: block; margin-bottom: 2px; }
.lp-meta__item p { margin: 0; color: var(--l-dim); font-size: 14.5px; }
.lp-meta__item--no .ms { color: var(--l-error); }
.lp code, .lp-meta code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 12.5px; padding: 1px 6px; border-radius: 6px; background: var(--l-primary-container); color: var(--l-on-primary-container); }
.lp-meta__links { margin-top: 18px; font-size: 14px; color: var(--l-dim); }
.lp-meta__links a { color: var(--l-primary); font-weight: 600; text-decoration: none; }
.lp-meta__links a:hover { text-decoration: underline; }

/* CTA band */
.lp-cta { position: relative; overflow: hidden; border-radius: var(--l-radius-l); padding: 56px 32px; text-align: center; color: #fff; background: linear-gradient(120deg, #1D4ED8, #6D28D9); box-shadow: var(--l-shadow-3); }
.lp-cta::before, .lp-cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.12); animation: lp-float 8s ease-in-out infinite; }
.lp-cta::before { width: 260px; height: 260px; top: -90px; left: -60px; }
.lp-cta::after { width: 200px; height: 200px; bottom: -80px; right: -40px; animation-delay: -3s; }
.lp-cta > * { position: relative; }
.lp-cta h2 { font-family: var(--l-display); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.03em; margin: 0 0 10px; }
.lp-cta p { opacity: .9; margin: 0 auto 26px; max-width: 34em; }
.lp-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Footer */
.lp-footer { padding: 40px 0 48px; color: var(--l-dim); font-size: 13px; }
.lp-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--l-outline); margin-bottom: 18px; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lp-footer nav a { text-decoration: none; }
.lp-footer nav a:hover { color: var(--l-primary); }
.lp-footer p { margin: 0 0 8px; line-height: 1.7; }
.lp-footer p a { color: var(--l-primary); }

/* Documents (privacy, terms, data deletion) */
.lp-doc { max-width: 820px; padding-top: 36px; padding-bottom: 64px; }
.lp-doc h1 { font-family: var(--l-display); font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 6px; }
.lp-doc h2 { font-family: var(--l-display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 38px 0 10px; scroll-margin-top: 90px; }
.lp-doc h3 { font-size: 15px; font-weight: 700; margin: 18px 0 6px; }
.lp-doc p, .lp-doc li { color: var(--l-dim); }
.lp-doc p { margin: 10px 0; }
.lp-doc ul, .lp-doc ol { padding-left: 22px; }
.lp-doc li { margin: 6px 0; }
.lp-doc strong { color: var(--l-text); }
.lp-doc a { color: var(--l-primary); }
.lp-doc .muted { color: var(--l-faint); }
.lp-doc__card { background: var(--l-surface); border: 1px solid var(--l-outline); border-radius: var(--l-radius-m); box-shadow: var(--l-shadow-1); padding: 28px 32px; }
.lp-box { margin: 22px 0 8px; padding: 18px 22px; background: var(--l-surface-2); border: 1px solid var(--l-outline); border-radius: var(--l-radius-m); }
.lp-box h2 { margin: 0 0 8px; font-size: 18px; }
.lp-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.lp-form label { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--l-dim); }
.lp-form input { height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--l-outline); background: var(--l-surface); color: var(--l-text); font: 500 15px var(--l-font); }
.lp-form input:focus { outline: 2px solid var(--l-primary); outline-offset: 1px; border-color: transparent; }

/* Reveal on scroll (only once JS has marked the page ready) */
.lp-ready .lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.lp-ready .lp-reveal.is-in { opacity: 1; transform: none; }
.lp-ready .lp-reveal[data-delay="1"] { transition-delay: .08s; }
.lp-ready .lp-reveal[data-delay="2"] { transition-delay: .16s; }
.lp-ready .lp-reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .lp-hero { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
    .lp-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .lp-dash { transform: none; }
    .lp-bento { grid-template-columns: repeat(2, 1fr); }
    .lp-card--wide, .lp-card--third { grid-column: span 1; }
    .lp-meta { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
}
@media (max-width: 640px) {
    .lp-section { padding: 52px 0; }
    .lp-visual { padding: 72px 0 74px; }
    .lp-float--a { top: 0; right: 6px; }
    .lp-float--b { display: none; }
    .lp-float--c { bottom: 0; left: 6px; }
    .lp-kpi b { font-size: 18px; }
    .lp-dash { padding: 16px; }
    .lp-bento, .lp-steps { grid-template-columns: 1fr; }
    .lp-meta { padding: 22px 16px; }
    .lp-cta { padding: 44px 20px; }
    .lp-hero__ctas .lp-btn { flex: 1 1 auto; }
    .lp-doc__card { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .lp-chart__line { stroke-dashoffset: 0; }
    .lp-chart__area { opacity: 1; }
}

/* Sign-in */
.lp-auth { display: flex; flex-direction: column; align-items: center; padding-top: 120px; padding-bottom: 64px; min-height: calc(100vh - 220px); }
.lp-auth__card { width: 100%; max-width: 420px; padding: 36px 32px 28px; background: color-mix(in srgb, var(--l-surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--l-outline); border-radius: 28px; box-shadow: 0 24px 60px rgba(37, 99, 235, .12), 0 2px 6px rgba(15, 23, 42, .05); text-align: center; }
.lp-auth__badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 18px; background: var(--l-primary-container); color: var(--l-on-primary-container); }
.lp-auth h1 { font-family: var(--l-display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.lp-auth__sub { color: var(--l-muted, var(--l-text-2, inherit)); margin: 0 0 22px; font-size: 15px; line-height: 1.5; opacity: .8; }
.lp-auth__form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.lp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.lp-field input { height: 48px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--l-outline); background: var(--l-surface-2); color: var(--l-text); font: 500 15px var(--l-font); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.lp-field input:focus { outline: none; background: var(--l-surface); border-color: var(--l-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--l-primary) 18%, transparent); }
.lp-auth__submit { width: 100%; height: 48px; margin-top: 6px; cursor: pointer; border: 0; }
.lp-auth__error { margin: 0 0 16px; padding: 11px 14px; border-radius: 14px; background: #fde8e8; color: #9b1c1c; font-size: 14px; text-align: left; }
:root[data-theme="dark"] .lp-auth__error { background: #3b1620; color: #fca5a5; }
.lp-auth__note { margin: 18px 0 0; font-size: 12.5px; opacity: .7; line-height: 1.5; }
.lp-auth__links { margin-top: 20px; font-size: 13px; opacity: .75; }
@media (max-width: 480px) { .lp-auth { padding-top: 100px; } .lp-auth__card { padding: 28px 20px 22px; border-radius: 24px; } }
.lp-auth__flash { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: var(--l-primary-container); color: var(--l-on-primary-container); font-size: 14px; }
.lp-auth__flash--error { background: #fde8e8; color: #9b1c1c; }
.lp-auth__flash--success { background: #dcfce7; color: #166534; }
