/* ==========================================================================
   Landing page — public/assets/landing/landing.css
   Sits on top of the dashboard's compiled Landrick CSS (assets/css/bootstrap*.min.css
   + style*.min.css, picked by theme and direction exactly like includes/auth/head.php).
   Everything here is namespaced .lp-*; themes switch on html[data-theme];
   direction is handled with logical properties, so one file serves LTR and RTL.
   ========================================================================== */

:root {
  --lp-primary: #2f55d4;
  --lp-primary-text: #2f55d4;
  --lp-primary-soft: rgba(47, 85, 212, .1);
  --lp-navy: #415e7a;
  --lp-teal-deep: #197c99;
  --lp-teal: #1890a8;
  --lp-cyan: #0090c0;
  --lp-teal-light: #18a8c0;
  --lp-bg: #ffffff;
  --lp-bg-alt: #f8f9fa;
  --lp-surface: #ffffff;
  --lp-text: #212529;
  --lp-heading: #161c2d;
  --lp-muted: #5d6778;
  --lp-border: #e9ecef;
  --lp-border-strong: #d5dae1;
  --lp-success: #1c8f61;
  --lp-success-text: #157a52;
  --lp-focus: #2f55d4;
  --lp-focus-on-dark: #8fd3ff;
  --lp-shadow: 0 0 3px rgba(60, 72, 88, .15);
  --lp-shadow-md: 0 5px 13px rgba(60, 72, 88, .2);
  --lp-shadow-lg: 0 10px 25px rgba(60, 72, 88, .15);
  --lp-header-bg: rgba(255, 255, 255, .92);
  --lp-band-bg: #1c2836;
  --lp-footer-bg: #202942;
  --lp-footer-text: #adb5bd;
  --lp-code-bg: #161f2b;
  --lp-dots: rgba(65, 94, 122, .16);
  --lp-glow-a: rgba(24, 168, 192, .14);
  --lp-glow-b: rgba(47, 85, 212, .10);
  --lp-status-active: #157a52;
  --lp-status-pending: #a84a0c;
  --lp-status-expired: #555e68;
}

html[data-theme="dark"] {
  --lp-primary-text: #7d9af2;
  --lp-primary-soft: rgba(125, 154, 242, .14);
  --lp-bg: #1c2836;
  --lp-bg-alt: #1f2d3d;
  --lp-surface: #213044;
  --lp-text: #f8f9fa;
  --lp-heading: #ffffff;
  --lp-muted: #c3cbd6;
  --lp-border: #2a3c51;
  --lp-border-strong: #3a4f68;
  --lp-success: #3ad29a;
  --lp-success-text: #5fe0ad;
  --lp-focus: #8fb0ff;
  --lp-shadow: 0 0 3px rgba(0, 0, 0, .35);
  --lp-shadow-md: 0 6px 16px rgba(0, 0, 0, .35);
  --lp-shadow-lg: 0 14px 32px rgba(0, 0, 0, .4);
  --lp-header-bg: rgba(28, 40, 54, .92);
  --lp-band-bg: #16212e;
  --lp-footer-bg: #16212e;
  --lp-dots: rgba(255, 255, 255, .06);
  --lp-glow-a: rgba(24, 168, 192, .2);
  --lp-glow-b: rgba(47, 85, 212, .22);
  --lp-status-active: #5fe0ad;
  --lp-status-pending: #f7a36b;
  --lp-status-expired: #c3cbd6;
}

/* ---------- Base ---------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.lp-body { background: var(--lp-bg); color: var(--lp-text); }
.lp-body section[id] { scroll-margin-top: 84px; }
.lp-body main:focus { outline: none; }
.lp-body a:not(.btn) { color: var(--lp-primary-text); }
.lp-body a:not(.btn):hover { color: var(--lp-primary); }
html[data-theme="dark"] .lp-body a:not(.btn):hover { color: #a9bcf7; }
.lp-body .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.lp-body .btn-lg { padding: 13px 28px; }
.lp-body .btn i { font-size: 1.15em; line-height: 1; }
html[data-theme="dark"] .lp-body .btn-soft-primary { color: var(--lp-primary-text) !important; background-color: rgba(125, 154, 242, .12) !important; border-color: rgba(125, 154, 242, .22) !important; }
.lp-body .btn-soft-primary:hover, .lp-body .btn-soft-primary:focus-visible,
html[data-theme="dark"] .lp-body .btn-soft-primary:hover { color: #fff !important; background-color: var(--lp-primary) !important; border-color: var(--lp-primary) !important; }
.lp-muted { color: var(--lp-muted); }
.lp-flip { display: inline-block; }
[dir="rtl"] .lp-flip { transform: scaleX(-1); }
html[data-theme="dark"] .lp-when-light, html:not([data-theme="dark"]) .lp-when-dark { display: none !important; }

/* Focus: Landrick removes focus rings (.btn:focus, button:not(:disabled) outline:none). Restore them. */
.lp-body a:focus-visible, .lp-body button:focus-visible, .lp-body [tabindex]:focus-visible,
.lp-body .btn:focus-visible, .lp-body .accordion-button:focus-visible {
  outline: 3px solid var(--lp-focus) !important;
  outline-offset: 2px;
  box-shadow: none !important;
}
.lp-band :focus-visible, .lp-cta :focus-visible, .lp-footer :focus-visible, .lp-code :focus-visible { outline-color: var(--lp-focus-on-dark) !important; }
.lp-skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 1100; padding: 10px 16px; border-radius: 8px; background: var(--lp-primary); color: #fff !important; font-weight: 700; }

/* ---------- Header ---------- */
.lp-header { position: sticky; top: 0; z-index: 1030; background: var(--lp-header-bg); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.lp-header.is-scrolled { border-bottom-color: var(--lp-border); box-shadow: 0 8px 20px -12px rgba(22, 31, 43, .25); }
.lp-navbar { --bs-navbar-padding-y: 12px; }
.lp-brand { display: flex; align-items: center; padding: 0; margin: 0; margin-inline-end: 24px; }
.lp-logo { height: 34px; width: auto; }
html[data-theme="dark"] .lp-logo--light, html:not([data-theme="dark"]) .lp-logo--dark { display: none; }
.lp-navbar .nav-link { color: var(--lp-text) !important; font-weight: 700; font-size: .9375rem; padding: 8px 13px !important; border-radius: 8px; }
.lp-navbar .nav-link:hover, .lp-navbar .nav-link.active { color: var(--lp-primary-text) !important; }
.lp-nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lp-icon-btn { height: 42px; min-width: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--lp-border) !important; background: transparent; color: var(--lp-text); font-weight: 700; font-size: .875rem; }
.lp-icon-btn i { font-size: 18px; }
.lp-icon-btn:hover, .lp-icon-btn[aria-expanded="true"] { background: var(--lp-bg-alt); color: var(--lp-primary-text); }
.lp-lang-btn.dropdown-toggle::after { margin-inline-start: 2px; }
.lp-btn-ghost { color: var(--lp-text); font-weight: 700; padding: 8px 12px; }
.lp-btn-ghost:hover { color: var(--lp-primary-text); }
.lp-nav-cta { padding: 9px 18px; font-size: .9375rem; white-space: nowrap; }
.lp-toggler { width: 44px; height: 44px; padding: 0; border: 1px solid var(--lp-border); border-radius: 10px; display: inline-grid; place-items: center; }
.lp-toggler:focus { box-shadow: none; }
.lp-toggler__bars, .lp-toggler__bars::before, .lp-toggler__bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--lp-text); transition: transform .2s ease, background-color .2s ease; }
.lp-toggler__bars { position: relative; }
.lp-toggler__bars::before, .lp-toggler__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.lp-toggler__bars::before { top: -6px; }
.lp-toggler__bars::after { top: 6px; }
.lp-toggler[aria-expanded="true"] .lp-toggler__bars { background: transparent; }
.lp-toggler[aria-expanded="true"] .lp-toggler__bars::before { top: 0; transform: rotate(45deg); }
.lp-toggler[aria-expanded="true"] .lp-toggler__bars::after { top: 0; transform: rotate(-45deg); }
.lp-nav-mobile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 1199.98px) {
  .lp-navbar .navbar-collapse { margin-top: 12px; padding: 8px 0 16px; border-top: 1px solid var(--lp-border); }
  .lp-navbar .nav-link { padding: 12px 8px !important; font-size: 1rem; }
  .lp-nav-mobile { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--lp-border); }
  .lp-logo { height: 30px; }
}
@media (max-width: 399.98px) {
  .lp-nav-cta { display: none !important; }
}

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
  radial-gradient(640px 420px at 88% 8%, var(--lp-glow-a), transparent 70%),
  radial-gradient(720px 520px at 0% 0%, var(--lp-glow-b), transparent 70%),
  var(--lp-bg); }
.lp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--lp-dots) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%); mask-image: linear-gradient(to bottom, #000 0%, transparent 80%); }
.lp-hero > .container { position: relative; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; background: var(--lp-primary-soft); color: var(--lp-primary-text); font-weight: 700; font-size: .8125rem; letter-spacing: .3px; }
.lp-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-teal-light); box-shadow: 0 0 0 3px rgba(24, 168, 192, .2); }
.lp-hero__title { margin: 0 0 20px; color: var(--lp-heading); font-size: clamp(2.125rem, 1.35rem + 2.6vw, 3.25rem); font-weight: 700; line-height: 1.14; letter-spacing: -.5px; text-wrap: balance; }
.lp-hero__text { max-width: 36rem; margin: 0; color: var(--lp-muted); font-size: 1.125rem; line-height: 1.65; text-wrap: pretty; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 0; color: var(--lp-text); font-size: .9375rem; font-weight: 600; }
.lp-trust li { display: inline-flex; align-items: center; gap: 6px; }
.lp-trust i { color: var(--lp-success); font-size: 18px; }

/* Illustrative dashboard mock */
.lp-hero__visual { position: relative; padding-bottom: 30px; }
.lp-hero__visual::before { content: ""; position: absolute; inset-block: 22px -4px; inset-inline: 22px -18px; border-radius: 22px; background: linear-gradient(135deg, var(--lp-navy), var(--lp-teal-deep) 55%, var(--lp-teal-light)); opacity: .92; }
.lp-mock { position: relative; padding: 18px; border: 1px solid var(--lp-border); border-radius: 16px; background: var(--lp-surface); box-shadow: var(--lp-shadow-lg); font-size: 13px; color: var(--lp-text); }
.lp-mock__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lp-mock__title { font-weight: 700; font-size: 15px; color: var(--lp-heading); }
.lp-mock__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--lp-border); border-radius: 999px; background: var(--lp-bg-alt); color: var(--lp-muted); font-size: 12px; }
.lp-mock__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.lp-mock__stat { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--lp-border); border-radius: 12px; }
.lp-mock__stat-icon { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
.lp-tone--primary { background: rgba(47, 85, 212, .1); color: var(--lp-primary-text); }
.lp-tone--success { background: rgba(46, 202, 139, .14); color: var(--lp-success); }
.lp-tone--warning { background: rgba(241, 116, 37, .14); color: var(--lp-status-pending); }
.lp-mock__stat-value { font-size: 18px; font-weight: 700; line-height: 1.1; color: var(--lp-heading); }
.lp-mock__stat-label { overflow: hidden; color: var(--lp-muted); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.lp-mock__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
.lp-mock__panel { padding: 12px; border: 1px solid var(--lp-border); border-radius: 12px; }
.lp-mock__panel-title { margin-bottom: 8px; font-weight: 700; font-size: 12.5px; color: var(--lp-heading); }
.lp-mock__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--lp-border); font-size: 12px; }
.lp-mock__row > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lp-mock__row--head { padding-top: 0; border-top: 0; color: var(--lp-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.lp-mock__key { font-family: var(--bs-font-monospace); font-size: 11px; }
.lp-status { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.lp-status--active { background: rgba(46, 202, 139, .14); color: var(--lp-status-active); }
.lp-status--pending { background: rgba(241, 116, 37, .14); color: var(--lp-status-pending); }
.lp-status--expired { background: rgba(108, 117, 125, .14); color: var(--lp-status-expired); }
.lp-mock__donut { position: relative; display: grid; place-items: center; width: 104px; aspect-ratio: 1; margin: 4px auto 12px; border-radius: 50%; background: conic-gradient(#2f55d4 0 75%, #f17425 75% 86%, #e43f52 86% 90%, #adb5bd 90% 100%); }
.lp-mock__donut::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--lp-surface); }
.lp-mock__donut span { position: relative; font-size: 15px; font-weight: 700; color: var(--lp-heading); }
.lp-mock__legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; margin: 0; color: var(--lp-muted); font-size: 11px; }
.lp-mock__legend li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.lp-dot { display: inline-block; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; }
.lp-dot--active { background: #2f55d4; } .lp-dot--pending { background: #f17425; } .lp-dot--blocked { background: #e43f52; } .lp-dot--expired { background: #adb5bd; }
.lp-mock__float { position: absolute; bottom: 0; inset-inline-start: -14px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--lp-code-bg); color: #e6edf6; box-shadow: 0 14px 30px -8px rgba(22, 31, 43, .45); font-family: var(--bs-font-monospace); font-size: 12px; }
.lp-mock__float-req b { color: #7fd4ff; font-weight: 700; }
.lp-mock__float-res { display: inline-flex; align-items: center; gap: 6px; color: #5fe0ad; font-family: var(--bs-font-sans-serif); font-weight: 700; }
@media (max-width: 991.98px) { .lp-hero { padding: 48px 0 72px; } }
@media (max-width: 575.98px) {
  .lp-mock { padding: 12px; }
  .lp-mock__stat { grid-template-columns: minmax(0, 1fr); padding: 8px 10px; }
  .lp-mock__stat-icon { display: none; }
  .lp-mock__body { grid-template-columns: minmax(0, 1fr); }
  .lp-mock__panel--chart { display: none; }
  .lp-hero__visual { padding-bottom: 0; }
  .lp-hero__visual::before { inset-block: 14px -8px; inset-inline: 14px -8px; }
  .lp-mock__float { position: relative; inset: auto; margin-top: 18px; width: max-content; max-width: 100%; }
}

/* ---------- Sections ---------- */
.lp-section--alt { background: var(--lp-bg-alt); }
.lp-section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lp-h2 { margin-bottom: 12px; color: var(--lp-heading); font-size: clamp(1.625rem, 1.2rem + 1.3vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -.2px; text-wrap: balance; }
.lp-h3 { margin-bottom: 8px; color: var(--lp-heading); font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.lp-h3--lg { font-size: 1.5rem; }
.lp-lead { margin-bottom: 0; color: var(--lp-muted); font-size: 1.0625rem; text-wrap: pretty; }
.lp-icon { display: inline-grid; flex-shrink: 0; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--lp-primary-soft); color: var(--lp-primary-text); font-size: 26px; }
.lp-icon--lg { width: 60px; height: 60px; font-size: 30px; }
.lp-card { border: 1px solid var(--lp-border); border-radius: 16px; background: var(--lp-surface); box-shadow: var(--lp-shadow); transition: box-shadow .25s ease, transform .25s ease; }
.lp-card > .card-body { display: flex; flex-direction: column; padding: 28px; }
.lp-checklist { display: grid; gap: 10px; margin: 4px 0 0; }
.lp-checklist li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.lp-checklist i { flex-shrink: 0; color: var(--lp-success); font-size: 18px; line-height: 1.35; }
.lp-plan-badge { display: inline-block; margin-inline-start: 4px; padding: 1px 8px; border-radius: 999px; background: var(--lp-primary-soft); color: var(--lp-primary-text) !important; font-size: 12px; font-weight: 700; white-space: nowrap; vertical-align: 1px; }
.lp-plan-badge:hover { background: var(--lp-primary); color: #fff !important; }
.lp-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.lp-link-arrow i { transition: transform .2s ease; }
.lp-link-arrow:hover i { transform: translateX(3px); }
[dir="rtl"] .lp-link-arrow:hover i { transform: scaleX(-1) translateX(3px); }
.lp-badge-soft { padding: 5px 10px; border-radius: 999px; background: var(--lp-primary-soft); color: var(--lp-primary-text); font-size: 12px; font-weight: 700; line-height: 1.2; }

/* ---------- How it works ---------- */
.lp-steps { margin-bottom: 0; padding: 0; }
.lp-step { position: relative; height: 100%; padding: 28px 24px 24px; border: 1px solid var(--lp-border); border-radius: 16px; background: var(--lp-surface); }
.lp-step .lp-icon { margin-bottom: 18px; }
.lp-step__num { position: absolute; top: 18px; inset-inline-end: 20px; color: var(--lp-primary-text); font-size: 2rem; font-weight: 800; line-height: 1; opacity: .16; }
@media (min-width: 992px) {
  .lp-steps > li:not(:last-child) .lp-step::after { content: ""; position: absolute; top: 53px; inset-inline-end: -25px; width: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--lp-border-strong) 0 4px, transparent 4px 8px); }
}
.lp-code-row { margin-top: 72px; }
@media (max-width: 991.98px) { .lp-code-row { margin-top: 48px; } }
.lp-params { display: grid; gap: 8px; margin: 20px 0; }
.lp-params > div { display: flex; align-items: center; gap: 12px; }
.lp-params dt code { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 8px; background: var(--lp-primary-soft); color: var(--lp-primary-text); font-size: .9375rem; font-weight: 700; }
.lp-params dd { margin: 0; }
.lp-code { overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; background: var(--lp-code-bg); box-shadow: 0 24px 44px -16px rgba(22, 31, 43, .5); }
.lp-code__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp-code__dots { display: inline-flex; gap: 6px; }
.lp-code__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.lp-code__lang { color: #9fb0c6; font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.lp-code__copy { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: rgba(255, 255, 255, .06); color: #e6edf6; font-size: 13px; font-weight: 700; }
.lp-code__copy:hover { background: rgba(255, 255, 255, .12); }
.lp-code__copy.is-copied { border-color: rgba(95, 224, 173, .5); color: #5fe0ad; }
.lp-code__pre { margin: 0; padding: 20px; color: #e6edf6; font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.lp-code__out { padding: 12px 20px 18px; border-top: 1px dashed rgba(255, 255, 255, .1); color: #e6edf6; font-family: var(--bs-font-monospace); font-size: 14px; }
.lp-tok-cmd { color: #7fd4ff; } .lp-tok-str { color: #c3e88d; } .lp-tok-muted { color: #7b8ba1; } .lp-tok-ok { color: #5fe0ad; font-weight: 700; }

/* ---------- Features / integrations ---------- */
.lp-feature .lp-icon { margin-bottom: 20px; }
.lp-feature .lp-muted { margin-bottom: 16px; }
.lp-feature:hover, .lp-int:hover { box-shadow: var(--lp-shadow-md); }
.lp-int__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.lp-int .lp-checklist { margin-bottom: 24px; }
.lp-int .lp-link-arrow { margin-top: auto; }
.lp-int-more { display: grid; gap: 10px; max-width: 820px; margin: 32px auto 0; }
.lp-int-more li { display: flex; align-items: flex-start; justify-content: center; gap: 10px; color: var(--lp-muted); }
.lp-int-more i { color: var(--lp-primary-text); font-size: 18px; }

/* ---------- Installable app and push notifications (#apps: each part only while switched on in Global Settings) ---------- */
.lp-apps__list { display: grid; gap: 32px; }
.lp-apps__item { display: flex; align-items: flex-start; gap: 20px; }
.lp-apps__item + .lp-apps__item { padding-top: 32px; border-top: 1px solid var(--lp-border); }
.lp-apps__item .lp-muted { margin-bottom: 14px; }
@media (max-width: 575.98px) { .lp-apps__item { flex-direction: column; gap: 14px; } }

/* The phone (decorative, drawn with CSS; same look in both themes: a device, not page chrome) */
.lp-apps__visual { position: relative; display: flex; justify-content: center; padding: 8px 0 12px; }
.lp-apps__visual::before { content: ""; position: absolute; inset: 4% 0 6%; pointer-events: none; background: radial-gradient(closest-side, var(--lp-glow-a), transparent), radial-gradient(closest-side at 35% 70%, var(--lp-glow-b), transparent); }
.lp-phone { position: relative; width: 272px; max-width: 100%; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 46px; background: #0e1520; box-shadow: 0 30px 60px -22px rgba(22, 31, 43, .6), inset 0 0 0 2px #2b3849; }
.lp-phone::before { content: ""; position: absolute; top: 20px; left: 50%; z-index: 1; width: 76px; height: 22px; border-radius: 999px; background: #0e1520; transform: translateX(-50%); }
.lp-phone__screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 12px 14px 14px; border-radius: 36px; background: linear-gradient(165deg, #2c4259 0%, var(--lp-navy) 30%, var(--lp-teal-deep) 72%, var(--lp-teal-light) 100%); color: #fff; font-size: 12px; }
.lp-phone__status { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12px; font-weight: 700; line-height: 22px; }
.lp-phone__signal { display: inline-flex; gap: 3px; font-size: 13px; }
.lp-phone__lock { display: grid; justify-items: center; margin: 20px 0 6px; }
.lp-phone__lock i { font-size: 16px; opacity: .85; }
.lp-phone__lock span { font-size: 54px; font-weight: 300; line-height: 1.1; letter-spacing: -1px; }
.lp-phone__pushes { display: grid; gap: 8px; margin-top: 14px; }
.lp-push { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .92); color: #161c2d; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); }
.lp-push__icon { width: 30px; height: 30px; border-radius: 8px; background: #fff; object-fit: cover; }
.lp-push__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #5d6778; font-size: 10.5px; }
.lp-push__head b { min-width: 0; overflow: hidden; color: #161c2d; font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.lp-push__head span { flex-shrink: 0; }
.lp-push__msg { margin: 1px 0 0; font-size: 12px; font-weight: 600; line-height: 1.35; }
.lp-phone__home { display: flex; flex: 1; flex-direction: column; gap: 16px; margin-top: 18px; }
.lp-phone__apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; padding: 0 4px; }
.lp-phone__app { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.lp-phone__tile { display: grid; place-items: center; width: min(46px, 100%); aspect-ratio: 1; border-radius: 13px; background: rgba(255, 255, 255, .16); font-size: 22px; }
.lp-phone__bar { width: 60%; height: 5px; margin-block: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.lp-phone__app--ours .lp-phone__tile { overflow: hidden; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 10px 22px -6px rgba(0, 0, 0, .5); }
.lp-phone__app--ours img { width: 100%; height: 100%; object-fit: cover; }
.lp-phone__name { max-width: calc(100% + 12px); overflow: hidden; font-size: 10px; font-weight: 700; line-height: 1.1; white-space: nowrap; text-overflow: ellipsis; }
.lp-phone__dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; justify-items: center; margin-top: auto; padding: 10px 8px; border-radius: 24px; background: rgba(255, 255, 255, .14); }

/* The browser's install prompt, beside the phone */
.lp-apps__install { position: absolute; bottom: 112px; inset-inline-start: 0; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: 280px; padding: 10px 12px; border: 1px solid var(--lp-border); border-radius: 14px; background: var(--lp-surface); box-shadow: var(--lp-shadow-lg); }
.lp-apps__install img { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.lp-apps__install-text { display: grid; min-width: 0; line-height: 1.3; }
.lp-apps__install-text b { overflow: hidden; color: var(--lp-heading); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.lp-apps__install-text span { overflow: hidden; color: var(--lp-muted); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.lp-apps__install-btn { display: inline-flex; flex-shrink: 0; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--lp-primary); color: #fff; font-size: 12px; font-weight: 700; }
@media (max-width: 991.98px) { .lp-apps__install { inset-inline-start: calc(50% - 250px); } }
@media (max-width: 575.98px) {
  .lp-apps__visual { flex-direction: column; align-items: center; }
  .lp-phone { width: 248px; }
  .lp-apps__install { position: relative; inset: auto; margin-top: -32px; }
}

/* ---------- Security band ---------- */
.lp-band { position: relative; overflow: hidden; background: var(--lp-band-bg); color: #e9eef5; }
.lp-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 320px at 92% 0%, rgba(24, 168, 192, .2), transparent 70%), radial-gradient(520px 320px at 0% 100%, rgba(47, 85, 212, .2), transparent 70%); }
.lp-band > .container { position: relative; }
.lp-band .lp-h2, .lp-band .lp-h3 { color: #ffffff; }
.lp-band .lp-lead { color: #c3cbd6; }
.lp-callout { display: flex; gap: 16px; margin-top: 32px; padding: 22px; border: 1px solid rgba(24, 168, 192, .4); border-radius: 16px; background: linear-gradient(135deg, rgba(24, 168, 192, .16), rgba(47, 85, 212, .16)); }
.lp-callout p { color: #dbe3ec; }
.lp-icon--band { background: rgba(24, 168, 192, .18); color: #5fd0e3; }
.lp-sec-item { height: 100%; padding: 22px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.lp-sec-item > i { display: block; margin-bottom: 12px; color: #5fd0e3; font-size: 26px; line-height: 1; }
.lp-sec-item p { color: #c3cbd6; font-size: .9375rem; }

/* ---------- Pricing ---------- */
.lp-billing { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 44px; padding: 5px; border: 1px solid var(--lp-border); border-radius: 999px; background: var(--lp-bg-alt); }
.lp-billing__opt { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 20px; border-radius: 999px; color: var(--lp-text); font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.lp-billing__opt:hover { color: var(--lp-primary-text); }
.btn-check:checked + .lp-billing__opt { background: var(--lp-primary); color: #fff; box-shadow: 0 3px 8px rgba(47, 85, 212, .3); }
.btn-check:focus-visible + .lp-billing__opt { outline: 3px solid var(--lp-focus); outline-offset: 2px; }
.lp-billing__save { padding: 2px 8px; border-radius: 999px; background: rgba(46, 202, 139, .16); color: var(--lp-success-text); font-size: 12px; white-space: nowrap; }
.btn-check:checked + .lp-billing__opt .lp-billing__save { background: rgba(255, 255, 255, .22); color: #fff; }
.lp-plan { position: relative; border: 1px solid var(--lp-border); border-radius: 16px; background: var(--lp-surface); box-shadow: var(--lp-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.lp-plan:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-md); }
.lp-plan--featured { border: 2px solid var(--lp-primary); box-shadow: 0 16px 36px -12px rgba(47, 85, 212, .4); }
.lp-plan__badge { position: absolute; top: 0; left: 50%; z-index: 1; padding: 5px 14px; border-radius: 999px; background: var(--lp-primary); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .4px; white-space: nowrap; transform: translate(-50%, -50%); }
.lp-plan__name { margin-bottom: 12px; color: var(--lp-heading); font-size: 1.125rem; font-weight: 700; }
.lp-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 8px; }
.lp-plan__amount { color: var(--lp-heading); font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: -.5px; }
.lp-plan__period { color: var(--lp-muted); font-size: .9375rem; }
.lp-plan__save { margin-bottom: 4px; }
.lp-badge-save { padding: 4px 10px; border-radius: 999px; background: rgba(46, 202, 139, .14); color: var(--lp-success-text); font-size: 12px; font-weight: 700; line-height: 1.2; }
.lp-plan__limits { display: grid; gap: 8px; margin: 16px 0; padding: 14px 0; border-block: 1px solid var(--lp-border); color: var(--lp-heading); font-weight: 600; }
.lp-plan__limits li, .lp-plan__features li { display: flex; align-items: flex-start; gap: 10px; }
.lp-plan__limits i { color: var(--lp-primary-text); font-size: 18px; line-height: 1.3; }
.lp-plan__features { display: grid; gap: 10px; margin: 0 0 24px; }
.lp-plan__features i { font-size: 18px; line-height: 1.3; }
.lp-plan__features .is-on i { color: var(--lp-success); }
.lp-plan__features .is-off, .lp-plan__features .is-off i { color: var(--lp-muted); }
.lp-price-note { margin: 32px 0 0; color: var(--lp-muted); font-size: .9375rem; text-align: center; }
.lp-extras { margin-top: 8px; }
.lp-lifetime > .card-body { display: block; }
.lp-lifetime__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.lp-lifetime .lp-plan__limits { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; padding: 0; border: 0; }
.lp-plan__features--compact { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 0; }
.lp-lifetime__buy { display: flex; flex-direction: column; gap: 12px; min-width: 200px; }
.lp-lifetime__buy .lp-plan__price { margin-bottom: 0; }
.lp-trial { background: linear-gradient(160deg, var(--lp-primary-soft), transparent 55%), var(--lp-surface); }
.lp-trial .lp-icon { margin-bottom: 16px; }
.lp-includes { margin-top: 56px; padding: 32px; border: 1px dashed var(--lp-border-strong); border-radius: 16px; }
.lp-includes__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; margin: 20px 0 0; }
.lp-includes__list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.lp-includes__list i { flex-shrink: 0; color: var(--lp-success); font-size: 18px; line-height: 1.35; }
@media (max-width: 991.98px) { .lp-includes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .lp-lifetime__grid { grid-template-columns: minmax(0, 1fr); }
  .lp-lifetime__buy { min-width: 0; }
}
@media (max-width: 575.98px) {
  .lp-includes { padding: 24px 20px; }
  .lp-includes__list { grid-template-columns: minmax(0, 1fr); }
  .lp-billing__opt { padding: 8px 14px; }
}

/* ---------- Comparison table ---------- */
.lp-compare { margin-top: 32px; }
.lp-compare__scroll { border: 1px solid var(--lp-border); border-radius: 16px; background: var(--lp-surface); }
.lp-compare__table { --bs-table-bg: transparent; min-width: 720px; color: var(--lp-text); }
.lp-compare__table > :not(caption) > * > * { padding: 14px 16px; border-color: var(--lp-border); text-align: center; vertical-align: middle; }
.lp-compare__table thead th { background: var(--lp-bg-alt); font-weight: 700; }
.lp-compare__table tbody tr:last-child > * { border-bottom: 0; }
.lp-compare__table tbody th, .lp-compare__table .lp-compare__feature { position: sticky; inset-inline-start: 0; z-index: 1; min-width: 210px; background: var(--lp-surface); box-shadow: inset -1px 0 0 var(--lp-border); font-weight: 600; text-align: start; }
.lp-compare__table thead .lp-compare__feature { background: var(--lp-bg-alt); }
[dir="rtl"] .lp-compare__table tbody th, [dir="rtl"] .lp-compare__table .lp-compare__feature { box-shadow: inset 1px 0 0 var(--lp-border); }
.lp-compare__plan { display: block; color: var(--lp-heading); font-weight: 700; }
.lp-compare__price { display: block; margin-top: 2px; color: var(--lp-muted); font-size: .8125rem; font-weight: 600; }
.lp-compare__table .is-featured { background: rgba(47, 85, 212, .06); }
.lp-compare__table thead .is-featured { background: rgba(47, 85, 212, .12); }
.lp-yes, .lp-no { font-size: 20px; }
.lp-yes { color: var(--lp-success); }
.lp-no { color: var(--lp-muted); }

/* ---------- FAQ (overrides Landrick's accordion: MDI chevron, removed focus, dark-mode white buttons) ---------- */
.lp-accordion { display: grid; gap: 12px; }
.lp-accordion .accordion-item { overflow: hidden; border: 1px solid var(--lp-border) !important; border-radius: 12px !important; background: var(--lp-surface); box-shadow: none; }
.lp-accordion .accordion-item .accordion-button,
.lp-accordion .accordion-item .accordion-button.collapsed { padding: 18px 20px; padding-inline-end: 56px; border-radius: 0 !important; background: var(--lp-surface) !important; box-shadow: none; color: var(--lp-heading) !important; font-size: 1rem; font-weight: 700; text-align: start; }
.lp-accordion .accordion-item .accordion-button:not(.collapsed) { color: var(--lp-primary-text) !important; }
.lp-accordion .accordion-item .accordion-button:focus-visible { outline-offset: -3px; }
.lp-accordion .accordion-item .accordion-button::before,
.lp-accordion .accordion-item .accordion-button.collapsed::before { content: ""; position: absolute; top: 50%; right: auto; left: auto; inset-inline-end: 24px; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; color: inherit !important; font-family: inherit; transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.lp-accordion .accordion-item .accordion-button:not(.collapsed)::before { transform: translateY(-25%) rotate(-135deg); }
.lp-accordion .accordion-body { padding: 0 20px 20px; color: var(--lp-muted); }
.lp-inline-code { padding: 2px 6px; border-radius: 6px; background: var(--lp-bg-alt); color: var(--lp-text); font-size: .875em; word-break: break-all; }
.lp-faq__art { width: 100%; max-width: 340px; height: auto; margin: 24px 0; }
html[data-theme="dark"] .lp-faq__art { opacity: .9; }
.lp-faq__contact { margin-top: 16px; font-weight: 600; }

/* ---------- Final call to action ---------- */
.lp-cta { position: relative; overflow: hidden; padding: 88px 0; background: linear-gradient(120deg, #2c4259 0%, var(--lp-navy) 40%, var(--lp-teal-deep) 100%); color: #fff; }
.lp-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; }
.lp-cta__inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.lp-cta__title { margin-bottom: 16px; color: #fff; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.lp-cta__text { margin-bottom: 32px; color: #fff; font-size: 1.125rem; }
.lp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp-btn-on-brand { border: 1px solid #fff; background: #fff; color: #2f55d4; }
.lp-btn-on-brand:hover { border-color: #eef2ff; background: #eef2ff; color: #2443ac; }
.lp-btn-outline-on-brand { border: 1px solid rgba(255, 255, 255, .8); background: transparent; color: #fff; }
.lp-btn-outline-on-brand:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Footer ---------- */
.lp-footer { position: relative; height: auto; min-height: 0; background: var(--lp-footer-bg); color: var(--lp-footer-text); }
html[data-theme="dark"] .lp-footer { border-top: 1px solid var(--lp-border); }
.lp-footer__top { padding: 64px 0 40px; }
.lp-footer__logo { width: auto; height: 36px; }
.lp-footer__tagline { margin: 16px 0 0; color: #fff; font-weight: 700; }
.lp-footer__about { max-width: 22rem; margin: 16px 0 0; }
.lp-footer__tagline + .lp-footer__about { margin-top: 6px; }
.lp-footer__head { margin-bottom: 16px; color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.lp-footer__list { display: grid; gap: 10px; margin: 0; }
.lp-body .lp-footer a.lp-footer__link { color: var(--lp-footer-text); }
.lp-body .lp-footer a.lp-footer__link:hover, .lp-body .lp-footer a.lp-footer__link.is-current { color: #fff; }
.lp-footer__link.is-current { font-weight: 700; }
.lp-footer__label { display: block; color: #8f9bb0; font-size: .8125rem; }
.lp-footer__bar { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9375rem; }
.lp-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.lp-footer__langs { display: flex; align-items: center; gap: 10px; }
.lp-footer__langs ul { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }

/* ---------- Legal pages (the template's page-terms layout: page title + breadcrumb + wave, then one card) ---------- */
.lp-page-hero { position: relative; overflow: hidden; padding: 88px 0 120px; text-align: center; background:
  radial-gradient(640px 360px at 85% 0%, var(--lp-glow-a), transparent 70%),
  radial-gradient(640px 360px at 10% 100%, var(--lp-glow-b), transparent 70%),
  var(--lp-bg-alt); }
.lp-page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--lp-dots) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }
.lp-page-hero > .container { position: relative; }
.lp-page-hero__title { margin: 20px 0 10px; color: var(--lp-heading); font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.4px; text-wrap: balance; }
.lp-page-hero__meta { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--lp-muted); font-weight: 600; }
.lp-crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 7px 20px; list-style: none; border-radius: 999px; background: var(--lp-surface); box-shadow: var(--lp-shadow-md); color: var(--lp-muted); font-size: .875rem; font-weight: 600; }
.lp-crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--lp-border-strong); }
.lp-crumbs li[aria-current] { color: var(--lp-primary-text); }
.lp-wave { position: absolute; inset-inline: 0; bottom: -1px; height: 48px; color: var(--lp-bg); line-height: 0; }
.lp-wave svg { width: 100%; height: 100%; }
[dir="rtl"] .lp-wave svg { transform: scaleX(-1); }
.lp-legal-wrap { padding-top: 40px; }
.lp-toc { position: sticky; top: 96px; padding: 20px 20px 16px; border: 1px solid var(--lp-border); border-radius: 16px; background: var(--lp-surface); }
.lp-toc__title { margin: 0 0 10px; color: var(--lp-heading); font-size: .8125rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.lp-toc__list { max-height: calc(100vh - 190px); margin: 0; padding-inline-start: 22px; overflow-y: auto; color: var(--lp-muted); font-size: .875rem; }
.lp-toc__list li { margin: 5px 0; padding-inline-start: 2px; }
.lp-body .lp-toc__list a { color: var(--lp-text); text-decoration: none; }
.lp-body .lp-toc__list a:hover { color: var(--lp-primary-text); text-decoration: underline; }
.lp-legal > .card-body { display: block; padding: 40px; }
.lp-legal p { color: var(--lp-muted); line-height: 1.75; }
.lp-legal .lp-legal__intro { color: var(--lp-text); font-size: 1.0625rem; }
.lp-legal__note { display: flex; gap: 10px; margin-bottom: 24px; padding: 12px 16px; border-radius: 12px; background: var(--lp-primary-soft); }
.lp-legal .lp-legal__note { color: var(--lp-text); }
.lp-legal__note i { color: var(--lp-primary-text); font-size: 20px; line-height: 1.4; }
.lp-legal__section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--lp-border); scroll-margin-top: 96px; }
.lp-legal__h { margin-bottom: 12px; color: var(--lp-heading); font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.lp-legal__num { color: var(--lp-primary-text); }
.lp-legal__list { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; color: var(--lp-muted); }
.lp-legal__list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; }
.lp-legal__list i { flex-shrink: 0; color: var(--lp-primary-text); font-size: 18px; line-height: 1.55; }
.lp-legal__table-wrap { margin-bottom: 16px; border: 1px solid var(--lp-border); border-radius: 12px; }
.lp-legal__table { --bs-table-bg: transparent; min-width: 640px; color: var(--lp-text); font-size: .9375rem; }
.lp-legal__table > :not(caption) > * > * { padding: 12px 14px; border-color: var(--lp-border); vertical-align: top; }
.lp-legal__table thead th { background: var(--lp-bg-alt); font-weight: 700; white-space: nowrap; }
.lp-legal__table tbody tr:last-child > * { border-bottom: 0; }
.lp-legal__table code { color: var(--lp-heading); font-size: .875em; font-weight: 700; }
.lp-cat { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lp-cat--necessary { background: rgba(46, 202, 139, .14); color: var(--lp-success-text); }
.lp-cat--preferences { background: var(--lp-primary-soft); color: var(--lp-primary-text); }
.lp-legal__dl { display: grid; gap: 6px; margin: 0; }
.lp-legal__dl > div { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.lp-legal__dl dt { min-width: 80px; color: var(--lp-muted); font-weight: 600; }
.lp-legal__dl dd { margin: 0; }
.lp-legal__related { margin-top: 28px; }
.lp-legal__related-title { margin-bottom: 12px; color: var(--lp-muted); font-size: .8125rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.lp-legal__related ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
@media (max-width: 575.98px) {
  .lp-page-hero { padding: 56px 0 96px; }
  .lp-legal > .card-body { padding: 24px 20px; }
}

/* A button that looks like the footer's links ("Cookie settings") */
.lp-linkbtn { padding: 0; border: 0; background: none; font: inherit; text-align: start; cursor: pointer; }
.lp-body .lp-footer .lp-linkbtn { color: var(--lp-footer-text); }
.lp-body .lp-footer .lp-linkbtn:hover { color: #fff; }

/* ---------- Cookie consent (banner + settings dialog; partials/consent.php, landing.js) ---------- */
.lp-consent { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 1045; display: flex; justify-content: center; pointer-events: none; }
.lp-consent[hidden] { display: none; }
.lp-consent__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; width: 100%; max-width: 1080px; padding: 20px 24px; border: 1px solid var(--lp-border); border-radius: 16px; background: var(--lp-surface); box-shadow: 0 18px 48px -12px rgba(22, 31, 43, .35); color: var(--lp-text); pointer-events: auto; }
.lp-consent__text { flex: 1 1 420px; }
.lp-consent__title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--lp-heading); font-size: 1rem; font-weight: 700; }
.lp-consent__title i { color: var(--lp-primary-text); font-size: 20px; }
.lp-consent__text p { color: var(--lp-muted); font-size: .9375rem; line-height: 1.6; }
.lp-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-consent__actions .btn { padding: 9px 18px; font-size: .9375rem; }
@media (max-width: 575.98px) {
  .lp-consent { inset-inline: 8px; bottom: 8px; }
  .lp-consent__inner { padding: 16px; }
  .lp-consent__actions .btn { flex: 1 1 auto; }
}
.lp-consent-modal .modal-content { border: 1px solid var(--lp-border); border-radius: 16px; background: var(--lp-surface); color: var(--lp-text); }
.lp-consent-modal .modal-header, .lp-consent-modal .modal-footer { border-color: var(--lp-border); }
html[data-theme="dark"] .lp-consent-modal .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
.lp-consent__cats { display: grid; gap: 12px; margin: 0; }
.lp-consent__cat { padding: 14px 16px; border: 1px solid var(--lp-border); border-radius: 12px; }
.lp-consent__cat .form-check { margin-bottom: 0; }
.lp-consent__cat .form-check-label { color: var(--lp-heading); font-weight: 700; }
.lp-consent__cat .badge { margin-inline-start: 8px; vertical-align: 1px; }
.lp-consent__desc { margin: 6px 0 0; color: var(--lp-muted); font-size: .875rem; }
.lp-consent__footer { flex-wrap: wrap; gap: 8px; }
.lp-consent__footer > * { margin: 0; }

/* ---------- Back to the top (bottom-right in LTR, bottom-left in RTL via inset-inline-end) ---------- */
.lp-to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 1020; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lp-primary); color: #fff !important; box-shadow: 0 8px 20px -6px rgba(47, 85, 212, .55); font-size: 22px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .2s ease; }
.lp-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.lp-to-top:hover { background: #2443ac; color: #fff !important; }
.lp-to-top:focus-visible { outline-color: var(--lp-focus) !important; }
html[data-theme="dark"] .lp-to-top { box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .6); }
@media (max-width: 575.98px) { .lp-to-top { bottom: 16px; inset-inline-end: 16px; width: 44px; height: 44px; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-body *, .lp-body *::before, .lp-body *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .lp-plan:hover, .lp-link-arrow:hover i { transform: none; }
  [dir="rtl"] .lp-link-arrow:hover i { transform: scaleX(-1); }
}
