/* Public landing page (app/Views/landing.php).
   Everything is scoped to .landing and uses the lp- prefix so the older hero/stat/feature
   rules in theme.css never interfere. Colours come from the brand tokens in theme.css;
   the dark values mirror dashboard.css (--db-bg / --db-surface) so both areas match. */

.landing {
    --lp-ink: var(--brand-navy);
    --lp-muted: color-mix(in srgb, var(--brand-navy) 74%, transparent);
    --lp-line: color-mix(in srgb, var(--brand-navy) 11%, transparent);
    --lp-bg: #ffffff;
    --lp-bg-muted: var(--brand-surface-muted);
    --lp-surface: #ffffff;
    --lp-accent: var(--brand-blue);
    --lp-accent-strong: var(--brand-green);
    --lp-accent-soft: var(--brand-blue-light);
    --lp-on-accent: #ffffff;
    --lp-cta-bg: var(--brand-navy);
    --lp-radius: 16px;
    --lp-radius-sm: 12px;

    background: var(--lp-bg);
    color: var(--lp-ink);
    overflow-x: clip;
}

[data-bs-theme="dark"] .landing {
    --lp-ink: rgba(255, 255, 255, .92);
    --lp-muted: rgba(255, 255, 255, .64);
    --lp-line: rgba(255, 255, 255, .1);
    --lp-bg: #15141f;
    --lp-bg-muted: #1a1926;
    --lp-surface: #1e1d2b;
    --lp-accent: var(--brand-blue-soft);
    --lp-accent-soft: rgba(61, 214, 166, .12);
    --lp-on-accent: var(--brand-navy-dark);
    --lp-cta-bg: #1e1d2b;
    /* The footer has a top margin, which would show the (white) body between the page
       and the footer. Absorb it into the landing background instead. */
    padding-bottom: 3rem;
    margin-bottom: -3rem;
}

.landing h1,
.landing h2,
.landing h3 {
    color: var(--lp-ink);
}

/* ---------- Shared pieces ---------- */

.lp-section {
    padding: 5.5rem 0;
}
.lp-section-tight {
    padding: 2.5rem 0;
}
.lp-section-muted {
    background: var(--lp-bg-muted);
    border-block: 1px solid var(--lp-line);
}

.lp-section-head {
    max-width: 44rem;
    margin: 0 auto 3rem;
    text-align: center;
}
.lp-section-head-start {
    margin: 0;
    text-align: start;
}
.lp-section-head h2,
.lp-pricing h2,
.lp-apps h2,
.lp-cta h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: .9rem;
}
.lp-section-lead {
    color: var(--lp-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.lp-kicker {
    color: var(--lp-accent);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
[dir="rtl"] .lp-kicker {
    letter-spacing: 0;
    font-size: .9rem;
}

.lp-card {
    height: 100%;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    transition: border-color .15s ease;
}
.lp-card:hover {
    border-color: color-mix(in srgb, var(--lp-accent) 40%, transparent);
}
.lp-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 .5rem;
}
.lp-card p {
    color: var(--lp-muted);
    font-size: .94rem;
    line-height: 1.65;
    margin: 0;
}

.lp-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    font-size: 1.25rem;
}
.lp-icon-lg {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.lp-tag {
    display: inline-block;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    padding: .15rem .6rem;
    font-size: .72rem;
    font-weight: 600;
    color: var(--lp-muted);
    white-space: nowrap;
}

.lp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lp-list li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .55rem 0;
    line-height: 1.55;
}
.lp-list li > i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: .1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
}

.lp-text-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    color: var(--lp-accent);
}
.lp-text-link i {
    transition: transform .15s ease;
}
.lp-text-link:hover i {
    transform: translateX(3px);
}
[dir="rtl"] .lp-text-link:hover i {
    transform: translateX(-3px);
}

.lp-center {
    text-align: center;
    margin-top: 2.5rem;
}

/* Buttons: flat pills. */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .8rem 1.6rem;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid transparent;
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lp-btn:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--lp-accent) 55%, transparent);
    outline-offset: 2px;
    box-shadow: none;
}
.lp-btn-primary {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}
.lp-btn-primary:hover,
.lp-btn-primary:active {
    background: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    color: #ffffff;
}
[data-bs-theme="dark"] .lp-btn-primary {
    background: var(--brand-blue-soft);
    border-color: var(--brand-blue-soft);
    color: var(--lp-on-accent);
}
[data-bs-theme="dark"] .lp-btn-primary:hover,
[data-bs-theme="dark"] .lp-btn-primary:active {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--lp-on-accent);
}
.lp-btn-ghost {
    background: transparent;
    border-color: var(--lp-line);
    color: var(--lp-ink);
}
.lp-btn-ghost:hover,
.lp-btn-ghost:active {
    background: var(--lp-accent-soft);
    border-color: transparent;
    color: var(--lp-ink);
}
.lp-btn-ghost-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #ffffff;
}
.lp-btn-ghost-light:hover,
.lp-btn-ghost-light:active {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
    color: #ffffff;
}
.lp-btn i {
    font-size: 1.05em;
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.lp-actions-center {
    justify-content: center;
}

/* ---------- Hero ---------- */

.lp-hero {
    position: relative;
    padding: 5rem 0 5.5rem;
    border-bottom: 1px solid var(--lp-line);
    background:
        radial-gradient(ellipse 60% 55% at 85% 20%, color-mix(in srgb, var(--brand-green) 12%, transparent), transparent 70%),
        var(--lp-bg);
}
/* Faint dot grid, fading out towards the copy. */
.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(color-mix(in srgb, var(--lp-ink) 14%, transparent) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 65%);
    mask-image: linear-gradient(to left, #000 0%, transparent 65%);
    pointer-events: none;
}
[dir="rtl"] .lp-hero::before {
    -webkit-mask-image: linear-gradient(to right, #000 0%, transparent 65%);
    mask-image: linear-gradient(to right, #000 0%, transparent 65%);
}
[dir="rtl"] .lp-hero {
    background:
        radial-gradient(ellipse 60% 55% at 15% 20%, color-mix(in srgb, var(--brand-green) 12%, transparent), transparent 70%),
        var(--lp-bg);
}
.lp-hero .container {
    position: relative;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: 1px solid var(--lp-line);
    background: var(--lp-surface);
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--lp-muted);
    margin-bottom: 1.5rem;
}
.lp-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-green);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-green) 20%, transparent);
}

.lp-hero-title {
    font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 1.4rem;
    text-wrap: balance;
}
[dir="rtl"] .lp-hero-title {
    letter-spacing: 0;
    line-height: 1.3;
}
.lp-hero-accent {
    color: var(--lp-accent);
}
.lp-hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--lp-muted);
    max-width: 36rem;
    margin-bottom: 2rem;
}
.lp-hero-points {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--lp-muted);
}
.lp-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.lp-hero-points i {
    color: var(--lp-accent);
    font-size: 1.05rem;
}

/* Product preview (decorative). */
.lp-mock {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
    padding-bottom: 4.5rem;
}
.lp-mock-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--brand-navy-dark) 45%, transparent);
}
.lp-mock-radar {
    width: 88%;
}
.lp-mock-chat {
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    width: 62%;
}
.lp-mock-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
}
.lp-mock-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
}
.lp-mock-title {
    font-weight: 700;
    font-size: .95rem;
}
.lp-mock-search {
    margin-inline-start: auto;
    color: var(--lp-muted);
}
.lp-mock-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem;
}
.lp-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    padding: .2rem .7rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--lp-muted);
}
.lp-chip-on {
    background: var(--lp-accent);
    border-color: var(--lp-accent);
    color: var(--lp-on-accent);
}
.lp-mock-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 0;
    border-top: 1px solid var(--lp-line);
}
.lp-mock-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--lp-bg-muted);
    border: 1px solid var(--lp-line);
    color: var(--lp-muted);
}
.lp-mock-avatar-0 {
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    border-color: transparent;
}
.lp-mock-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.lp-line {
    display: block;
    height: 7px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--lp-ink) 9%, transparent);
}
.lp-line-strong {
    height: 9px;
    background: color-mix(in srgb, var(--lp-ink) 22%, transparent);
}
.lp-w-45 { width: 45%; }
.lp-w-50 { width: 50%; }
.lp-w-52 { width: 52%; }
.lp-w-60 { width: 60%; }
.lp-w-70 { width: 70%; }
.lp-w-75 { width: 75%; }
.lp-w-80 { width: 80%; }
.lp-mock-verified {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--lp-accent);
    background: var(--lp-accent-soft);
    border-radius: 999px;
    padding: .2rem .6rem;
    white-space: nowrap;
}
.lp-mock-pin {
    color: var(--lp-muted);
    padding-inline: .5rem;
}
.lp-bubble {
    border-radius: 14px;
    padding: .7rem .85rem;
    margin-bottom: .55rem;
    display: flex;
    gap: .45rem;
}
.lp-bubble-in {
    flex-direction: column;
    background: var(--lp-bg-muted);
    width: 80%;
    border-end-start-radius: 4px;
}
.lp-bubble-out {
    align-items: center;
    margin-inline-start: auto;
    margin-bottom: 0;
    width: 92%;
    background: var(--lp-accent-soft);
    border: 1px solid color-mix(in srgb, var(--lp-accent) 25%, transparent);
    border-end-end-radius: 4px;
}
.lp-file-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-surface);
    color: var(--lp-accent);
    flex-shrink: 0;
    font-size: 1.1rem;
}
.lp-file-title {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
}
.lp-file-note {
    display: block;
    font-size: .74rem;
    color: var(--lp-muted);
}

/* ---------- Stats ---------- */

.lp-stats {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--lp-line);
}
.lp-stats-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 4rem;
    margin: 0;
}
.lp-stat {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
}
.lp-stat dt {
    font-size: .9rem;
    font-weight: 600;
    color: var(--lp-muted);
}
.lp-stat dt i {
    color: var(--lp-accent);
}
.lp-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

/* ---------- Why ---------- */

.lp-compare {
    height: 100%;
    border-radius: var(--lp-radius);
    padding: 1.75rem;
    border: 1px solid var(--lp-line);
    background: var(--lp-surface);
}
.lp-compare-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .75rem;
}
.lp-compare .lp-list li + li {
    border-top: 1px solid var(--lp-line);
}
.lp-compare-old {
    background: var(--lp-bg-muted);
}
.lp-compare-old .lp-compare-title,
.lp-compare-old .lp-list li {
    color: var(--lp-muted);
}
.lp-compare-old .lp-list li > i {
    background: color-mix(in srgb, var(--bs-danger) 12%, transparent);
    color: var(--bs-danger);
}
.lp-compare-new {
    border-color: color-mix(in srgb, var(--lp-accent) 45%, transparent);
}

/* ---------- How it works ---------- */

.lp-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    counter-reset: none;
}
.lp-step {
    position: relative;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 1.75rem;
}
.lp-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.lp-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: var(--lp-accent);
    color: var(--lp-on-accent);
}
.lp-step-icon {
    font-size: 1.5rem;
    color: color-mix(in srgb, var(--lp-ink) 30%, transparent);
}
.lp-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.lp-step p {
    color: var(--lp-muted);
    line-height: 1.65;
    margin: 0;
    font-size: .95rem;
}
/* Connector between steps on wide screens. */
@media (min-width: 992px) {
    .lp-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: calc(1.75rem + 20px);
        inset-inline-start: calc(100% + 1px);
        width: calc(1.5rem - 2px);
        border-top: 1px dashed color-mix(in srgb, var(--lp-accent) 60%, transparent);
    }
}

/* ---------- Features ---------- */

.lp-feature-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: 1.1rem;
}

/* ---------- Audience ---------- */

.lp-audience {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.lp-audience h3 {
    font-size: 1.35rem;
    font-weight: 800;
}
.lp-audience .lp-audience-text {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.lp-audience .lp-list {
    margin-bottom: 1.5rem;
}
.lp-audience .lp-text-link {
    margin-top: auto;
}

/* ---------- Trust ---------- */

.lp-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    overflow: hidden;
    background: var(--lp-surface);
}
.lp-trust-item {
    display: flex;
    gap: 1rem;
    padding: 1.6rem;
}
.lp-trust-item:nth-child(odd) {
    border-inline-end: 1px solid var(--lp-line);
}
.lp-trust-item:nth-child(n+3) {
    border-top: 1px solid var(--lp-line);
}
.lp-trust-item h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: .2rem 0 .35rem;
}
.lp-trust-item p {
    color: var(--lp-muted);
    font-size: .93rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Pricing ---------- */

.lp-pricing {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    padding: 3rem;
    border-radius: 24px;
    background: var(--lp-accent-soft);
    border: 1px solid color-mix(in srgb, var(--lp-accent) 22%, transparent);
}
.lp-pricing-copy p:not(.lp-kicker) {
    color: var(--lp-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.lp-pricing-list {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 1rem 1.5rem;
}
.lp-pricing-list li {
    font-weight: 600;
}
.lp-pricing-list li + li {
    border-top: 1px solid var(--lp-line);
}

/* ---------- Latest posts ---------- */

.lp-post-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}
.lp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    border: 1px solid var(--lp-line);
}
.lp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lp-post-meta {
    min-width: 0;
}
.landing .lp-post-author {
    font-size: .95rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lp-post-author a {
    color: inherit;
}
.lp-post-author a:hover {
    color: var(--lp-accent);
}
.lp-verified {
    color: var(--lp-accent);
    font-size: .9em;
}
.lp-post-date {
    font-size: .8rem;
    color: var(--lp-muted);
}
.lp-card .lp-post-body {
    color: var(--lp-ink);
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Apps ---------- */

.lp-apps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 3rem;
    border: 1px solid var(--lp-line);
    border-radius: 24px;
    background: var(--lp-surface);
}
.lp-apps-copy {
    max-width: 34rem;
}
.lp-apps-copy p:not(.lp-kicker) {
    color: var(--lp-muted);
    margin: 0;
}
.lp-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.lp-store {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-width: 180px;
    padding: .6rem 1.2rem;
    border-radius: 14px;
    background: var(--brand-navy-dark);
    color: #ffffff;
    border: 1px solid transparent;
    line-height: 1.15;
    font-weight: 700;
    font-size: 1.05rem;
}
.lp-store i {
    font-size: 1.6rem;
}
.lp-store small {
    display: block;
    font-size: .7rem;
    font-weight: 500;
    opacity: .8;
}
.lp-store:hover,
.lp-store:focus {
    color: #ffffff;
    background: var(--brand-navy);
}
[data-bs-theme="dark"] .lp-store {
    background: transparent;
    border-color: rgba(255, 255, 255, .3);
}
[data-bs-theme="dark"] .lp-store:hover {
    background: rgba(255, 255, 255, .08);
}

/* ---------- FAQ ---------- */

.lp-faq {
    --bs-accordion-bg: transparent;
    --bs-accordion-color: var(--lp-ink);
    --bs-accordion-border-color: var(--lp-line);
    --bs-accordion-border-radius: var(--lp-radius);
    --bs-accordion-inner-border-radius: calc(var(--lp-radius) - 1px);
    --bs-accordion-btn-color: var(--lp-ink);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--lp-ink);
    --bs-accordion-btn-focus-box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--lp-accent) 60%, transparent);
    --bs-accordion-btn-padding-y: 1.15rem;
    --bs-accordion-btn-padding-x: 1.4rem;
    --bs-accordion-body-padding-x: 1.4rem;
    --bs-accordion-body-padding-y: 0;
    background: var(--lp-surface);
    border-radius: var(--lp-radius);
}
.lp-faq .accordion-header {
    margin: 0;
}
.lp-faq .accordion-button {
    font-weight: 700;
    font-size: 1.02rem;
    gap: 1rem;
}
.lp-faq .accordion-button:not(.collapsed) {
    box-shadow: none;
}
.lp-faq .accordion-body {
    color: var(--lp-muted);
    line-height: 1.7;
    padding-bottom: 1.25rem;
}
/* Chevron drawn with bootstrap-icons so it follows the text colour in both themes
   (Bootstrap's SVG chevron is tinted blue in dark mode). */
.lp-faq .accordion-button::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    background-image: none;
    width: auto;
    height: auto;
    font-size: 1rem;
    line-height: 1;
    color: var(--lp-muted);
    margin-left: 0;
    margin-right: 0;
    margin-inline-start: auto;
}
.lp-faq .accordion-button:not(.collapsed)::after {
    background-image: none;
    color: var(--lp-accent);
}

/* ---------- Final CTA ---------- */

.lp-cta {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 50% 80% at 50% 0%, color-mix(in srgb, var(--brand-green) 22%, transparent), transparent 70%),
        var(--lp-cta-bg);
    border: 1px solid var(--lp-line);
}
.landing .lp-cta h2 {
    color: #ffffff;
    max-width: 36rem;
    margin-inline: auto;
}
.lp-cta p {
    color: rgba(255, 255, 255, .78);
    font-size: 1.08rem;
    max-width: 34rem;
    margin: 0 auto 2rem;
}
.lp-cta .lp-btn-primary {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--brand-navy-dark);
}
.lp-cta .lp-btn-primary:hover,
.lp-cta .lp-btn-primary:active {
    background: var(--brand-blue-soft);
    border-color: var(--brand-blue-soft);
    color: var(--brand-navy-dark);
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .lp-section {
        padding: 4rem 0;
    }
    .lp-hero {
        padding: 3rem 0 3.5rem;
    }
    .lp-hero::before {
        -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 60%);
        mask-image: linear-gradient(to top, #000 0%, transparent 60%);
    }
    .lp-steps {
        grid-template-columns: minmax(0, 1fr);
        max-width: 36rem;
        margin-inline: auto;
    }
    .lp-pricing {
        grid-template-columns: minmax(0, 1fr);
        padding: 2.25rem;
    }
    .lp-section-head-start {
        margin-bottom: .5rem;
    }
}

@media (max-width: 575.98px) {
    .landing .container {
        padding-inline: 1rem;
    }
    .lp-section {
        padding: 3.25rem 0;
    }
    .lp-section-tight {
        padding: 1.5rem 0;
    }
    .lp-section-head {
        margin-bottom: 2rem;
        text-align: start;
    }
    .lp-hero-lead {
        font-size: 1.05rem;
    }
    .lp-actions:not(.lp-actions-center) .lp-btn,
    .lp-actions-center .lp-btn {
        flex: 1 1 100%;
    }
    .lp-hero-points {
        flex-direction: column;
    }
    .lp-mock {
        padding-bottom: 5.5rem;
    }
    .lp-mock-radar {
        width: 100%;
    }
    .lp-mock-chat {
        width: 82%;
    }
    .lp-trust-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .lp-trust-item:nth-child(odd) {
        border-inline-end: 0;
    }
    .lp-trust-item:nth-child(n+2) {
        border-top: 1px solid var(--lp-line);
    }
    .lp-pricing,
    .lp-apps {
        padding: 1.75rem 1.25rem;
    }
    .lp-cta {
        padding: 3rem 1.25rem;
    }
    .lp-store {
        flex: 1 1 100%;
    }
    .lp-stats-list {
        gap: 1.25rem 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing *,
    .landing *::before,
    .landing *::after {
        transition: none !important;
        animation: none !important;
    }
}
