/* ==========================================================================
   LocationSyst — Custom landing-page styles
   Custom CSS for the standalone marketing landing page.
   ========================================================================== */

:root {
    /* LocationSyst color direction */
    --ls-primary: #00c9a7;        /* primary accent (fills only) */
    --ls-primary-dark: #00ad91;   /* primary accent (hover/active fills) */
    --ls-primary-text: #0a7d68;   /* deep teal, text-safe on light (>=4.9:1) */
    --ls-navy: #071b22;           /* dark navy */
    --ls-navy-soft: #0d2931;      /* dark navy soft (surfaces) */
    --ls-bg: #F8FAFC;             /* page background */
    --ls-card-bg: #FFFFFF;        /* card background / surface */
    --ls-text: #111827;           /* main text */
    --ls-text-muted: #64748B;     /* muted text */
    --ls-border: #E2E8F0;         /* border color */

    /* Dark-section text */
    --ls-dark-text: #F8FAFC;          /* primary text on dark */
    --ls-dark-text-muted: #9fb3bb;    /* muted text on dark */
    --ls-dark-border: rgba(255, 255, 255, 0.10);
    --ls-dark-surface: rgba(255, 255, 255, 0.04);

    /* Radii */
    --ls-radius-sm: 8px;
    --ls-radius-md: 14px;
    --ls-radius-lg: 22px;

    /* Soft brand surfaces */
    --ls-primary-soft: rgba(0, 201, 167, 0.10);
    --ls-primary-soft-border: rgba(0, 201, 167, 0.25);
    --ls-focus: #0a7d68;

    /* Dark surfaces */
    --ls-navy-deep: #04141a;

    /* Spacing */
    --ls-space-1: 0.5rem;
    --ls-space-2: 0.75rem;
    --ls-space-3: 1rem;
    --ls-space-4: 1.5rem;
    --ls-space-5: 2rem;
    --ls-space-6: 2.75rem;
    --ls-section-y: 5.5rem;

    /* Shadows */
    --ls-shadow-sm: 0 12px 28px -20px rgba(7, 27, 34, 0.22);
    --ls-shadow-md: 0 22px 48px -28px rgba(7, 27, 34, 0.30);
    --ls-shadow-lg: 0 36px 72px -34px rgba(7, 27, 34, 0.50);

    /* Motion */
    --ls-ease: cubic-bezier(0.4, 0, 0.2, 1);        /* standard curve: incidental color / theme transitions */
    --ls-ease-out: cubic-bezier(0.22, 1, 0.36, 1);  /* premium ease-out: entrances, crossfades, hover lifts */
    --ls-dur-fast: 150ms;
    --ls-dur: 200ms;
    --ls-dur-slow: 300ms;

    /* Theme-aware semantic surfaces (Light defaults) */
    --ls-page-bg: var(--ls-bg);
    --ls-section-bg: var(--ls-card-bg);
    --ls-section-bg-alt: var(--ls-bg);
    --ls-surface: var(--ls-card-bg);
    --ls-surface-raised: #ffffff;
    --ls-surface-subtle: #FBFDFE;     /* near-white variation (cards, browser bars) */
    --ls-text-subtle: #94a3b8;        /* lowest-emphasis text */
    --ls-border-strong: #cbd5e1;
    --ls-header-bg: rgba(7, 27, 34, 0.85);
    --ls-footer-bg: #04141a;
    --ls-shadow-color: rgba(7, 27, 34, 0.30);
    --ls-bg-rgb: 248, 250, 252;       /* --ls-bg as RGB (for translucent fades) */

    color-scheme: light;
}

/* ==========================================================================
   Dark theme — refined navy palette (remaps the core tokens so existing
   components adapt automatically; brand green is preserved)
   ========================================================================== */
html[data-theme="dark"] {
    --ls-bg: #06171d;
    --ls-card-bg: #0d2931;
    --ls-text: #f8fafc;
    --ls-text-muted: #a7bac2;
    --ls-text-subtle: #86a0aa;
    --ls-border: rgba(255, 255, 255, 0.10);

    /* Lift muted text on the (always-dark) navy panels for readability */
    --ls-dark-text-muted: #a7bac2;

    /* Brand-accent tokens tuned for dark surfaces */
    --ls-primary-text: #34dcc2;       /* lightened brand teal, AA on dark */
    --ls-primary-soft: rgba(0, 201, 167, 0.16);
    --ls-primary-soft-border: rgba(0, 201, 167, 0.30);
    --ls-focus: #35dcc0;

    /* Semantic surface hierarchy (deepest → most raised) */
    --ls-page-bg: #06171d;
    --ls-section-bg: #071b22;
    --ls-section-bg-alt: #0a222a;
    --ls-surface: #0d2931;
    --ls-surface-raised: #12323b;
    --ls-surface-subtle: #0a222a;
    --ls-border-strong: rgba(255, 255, 255, 0.16);
    --ls-header-bg: rgba(4, 20, 26, 0.92);
    --ls-footer-bg: #04141a;
    --ls-shadow-color: rgba(0, 0, 0, 0.32);
    --ls-bg-rgb: 6, 23, 29;

    color-scheme: dark;
}

html {
    scroll-behavior: smooth; /* smooth in-page anchor scrolling (disabled under reduced-motion) */
}

body {
    color: var(--ls-text);
    background-color: var(--ls-bg);
    font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Skip-to-content link (visible only on keyboard focus) */
.ls-skip-link {
    position: absolute;
    left: 0.5rem;
    top: -4rem;
    z-index: 60;
    background-color: var(--ls-primary);
    color: #04201b;
    font-weight: 600;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: var(--ls-radius-sm);
    transition: top var(--ls-dur) var(--ls-ease);
}
.ls-skip-link:focus {
    top: 0.5rem;
}

/* Shared visible focus state */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--ls-focus);
    outline-offset: 2px;
    border-radius: var(--ls-radius-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.ls-btn-primary {
    background-color: var(--ls-primary);
    color: #04201b;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--ls-radius-sm);
    padding: 0.55rem 1.15rem;
    transition: background-color var(--ls-dur) var(--ls-ease), transform var(--ls-dur) var(--ls-ease-out);
}
.ls-btn-primary:hover,
.ls-btn-primary:focus {
    background-color: var(--ls-primary-dark);
    color: #04201b;
}

.ls-btn-ghost {
    background-color: transparent;
    color: var(--ls-dark-text);
    font-weight: 600;
    border: 1px solid var(--ls-dark-border);
    border-radius: var(--ls-radius-sm);
    padding: 0.55rem 1.15rem;
    transition: background-color var(--ls-dur) var(--ls-ease), border-color var(--ls-dur) var(--ls-ease);
}
.ls-btn-ghost:hover,
.ls-btn-ghost:focus {
    background-color: var(--ls-dark-surface);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--ls-dark-text);
}

.ls-btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   Sticky header
   ========================================================================== */

/* Floating capsule header — light-first, integrated with the Hero background */
.ls-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.9rem 1rem 0; /* airy top spacing — constant, so scroll never reflows */
    background: transparent;
}

.ls-header__shell {
    display: flex;
    align-items: center;
    width: min(1240px, calc(100vw - 2rem));
    min-height: 64px;
    margin-inline: auto;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 34px -24px rgba(7, 27, 34, 0.30);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition:
        background-color var(--ls-dur) var(--ls-ease),
        border-color var(--ls-dur) var(--ls-ease),
        box-shadow var(--ls-dur) var(--ls-ease),
        transform var(--ls-dur) var(--ls-ease-out); /* compaction = GPU transform, no layout */
}
/* Solid fallback when backdrop blur is unsupported */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .ls-header__shell { background: #ffffff; }
    html[data-theme="dark"] .ls-header__shell { background: #04141a; }
}
.ls-header.is-scrolled .ls-header__shell {
    transform: translateY(-0.4rem); /* visually tightens the top gap, no reflow */
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px -22px rgba(7, 27, 34, 0.34);
}

/* The navbar fills the shell; the shell supplies the inner padding */
.ls-header .navbar { flex: 1 1 auto; width: 100%; padding: 0; }
.ls-header .container-fluid { padding: 0; }

.ls-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.ls-brand__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary);
    color: #04201b;
    font-size: 1.05rem;
}
.ls-brand__text {
    color: var(--ls-text);
    font-size: 1.2rem;
}

.ls-nav .nav-link {
    color: var(--ls-text-muted);
    font-weight: 500;
    padding-inline: 0.9rem;
    transition: color var(--ls-dur) var(--ls-ease);
}
.ls-nav .nav-link:hover,
.ls-nav .nav-link:focus {
    color: var(--ls-text);
}

.ls-link-light {
    color: var(--ls-text);
    font-weight: 600;
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    transition: color var(--ls-dur) var(--ls-ease);
}
.ls-link-light:hover,
.ls-link-light:focus {
    color: var(--ls-primary-text);
}

/* Mobile menu toggler (bi-list glyph, theme-aware) */
.ls-header .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius-sm);
    color: var(--ls-text);
    font-size: 1.35rem;
    line-height: 1;
}
.ls-header .navbar-toggler:focus { box-shadow: none; }
.ls-header .navbar-toggler:focus-visible {
    outline: 3px solid var(--ls-focus);
    outline-offset: 2px;
}

/* ---- Dark Mode capsule + content ---- */
html[data-theme="dark"] .ls-header__shell {
    background: rgba(4, 20, 26, 0.88);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 16px 38px -24px rgba(0, 0, 0, 0.52);
}
html[data-theme="dark"] .ls-header.is-scrolled .ls-header__shell {
    background: rgba(4, 20, 26, 0.94);
    box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.58);
}
html[data-theme="dark"] .ls-brand__text { color: var(--ls-dark-text); }
html[data-theme="dark"] .ls-nav .nav-link { color: var(--ls-dark-text-muted); }
html[data-theme="dark"] .ls-nav .nav-link:hover,
html[data-theme="dark"] .ls-nav .nav-link:focus { color: var(--ls-dark-text); }
html[data-theme="dark"] .ls-link-light { color: var(--ls-dark-text); }
html[data-theme="dark"] .ls-link-light:hover,
html[data-theme="dark"] .ls-link-light:focus { color: var(--ls-primary); }
html[data-theme="dark"] .ls-header .navbar-toggler {
    border-color: var(--ls-dark-border);
    color: var(--ls-dark-text);
}

/* ==========================================================================
   Hero section
   ========================================================================== */

/* Light-first hero: premium light surface (Sasico-inspired). Dark Mode keeps
   the navy version via the override block below. */
.ls-hero {
    position: relative;
    /* No overflow:hidden here — decorations are clipped by .ls-hero__bg,
       allowing the preview to overlap downward for depth. */
    padding: 4rem 0 4.5rem;
    background-color: var(--ls-bg);
    color: var(--ls-text);
}

/* Decoration wrapper — clips the grid + glow to the hero bounds */
.ls-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Subtle grid texture (CSS only) — dark hairlines on the light surface */
.ls-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 40%, transparent 100%);
}

/* One subtle mint/teal radial tint behind the central hero content */
.ls-hero__glow {
    position: absolute;
    top: 6%;
    left: 50%;
    width: 920px;
    max-width: 120%;
    height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(circle at 50% 38%, rgba(0, 201, 167, 0.15) 0%, rgba(0, 201, 167, 0.055) 32%, transparent 67%);
    filter: blur(22px);
}

/* Two or three extremely faint curved decorative lines behind the content */
.ls-hero__lines {
    position: absolute;
    top: -12%;
    left: 50%;
    width: 1200px;
    max-width: 150%;
    height: 760px;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse 58% 46% at 50% 32%, transparent 49.5%, rgba(0, 201, 167, 0.08) 50%, transparent 50.6%),
        radial-gradient(ellipse 76% 60% at 50% 30%, transparent 49.6%, rgba(0, 201, 167, 0.055) 50%, transparent 50.5%),
        radial-gradient(ellipse 94% 74% at 50% 28%, transparent 49.7%, rgba(15, 23, 42, 0.04) 50%, transparent 50.4%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 34%, #000 30%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 34%, #000 30%, transparent 78%);
}

/* A few restrained accent dots */
.ls-hero__dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 3px at 14% 30%, rgba(0, 201, 167, 0.45), transparent 60%),
        radial-gradient(circle 2.5px at 86% 26%, rgba(0, 201, 167, 0.40), transparent 60%),
        radial-gradient(circle 2.5px at 78% 64%, rgba(15, 23, 42, 0.18), transparent 60%),
        radial-gradient(circle 2.5px at 20% 66%, rgba(15, 23, 42, 0.14), transparent 60%);
    background-repeat: no-repeat;
}

/* Dark Mode: keep the decoration much fainter */
html[data-theme="dark"] .ls-hero__lines {
    background:
        radial-gradient(ellipse 58% 46% at 50% 32%, transparent 49.5%, rgba(0, 201, 167, 0.10) 50%, transparent 50.6%),
        radial-gradient(ellipse 76% 60% at 50% 30%, transparent 49.6%, rgba(0, 201, 167, 0.06) 50%, transparent 50.5%),
        radial-gradient(ellipse 94% 74% at 50% 28%, transparent 49.7%, rgba(255, 255, 255, 0.05) 50%, transparent 50.4%);
}
html[data-theme="dark"] .ls-hero__dots {
    background-image:
        radial-gradient(circle 3px at 14% 30%, rgba(0, 201, 167, 0.40), transparent 60%),
        radial-gradient(circle 2.5px at 86% 26%, rgba(0, 201, 167, 0.32), transparent 60%),
        radial-gradient(circle 2.5px at 78% 64%, rgba(255, 255, 255, 0.12), transparent 60%),
        radial-gradient(circle 2.5px at 20% 66%, rgba(255, 255, 255, 0.10), transparent 60%);
}

.ls-hero .container {
    position: relative;
    z-index: 1;
}

/* Centered copy block */
.ls-hero__copy {
    position: relative;
    z-index: 1;
}

.ls-eyebrow {
    display: inline-block;
    color: var(--ls-primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Hero eyebrow as a premium status pill (scoped — other eyebrows unchanged) */
.ls-hero .ls-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
    color: var(--ls-primary-text);          /* theme-aware: deep teal on light, bright teal on dark */
    border-radius: 999px;
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
}
.ls-hero .ls-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--ls-primary);
    box-shadow: 0 0 0 4px rgba(0, 201, 167, 0.18);
}

.ls-hero__title {
    font-size: clamp(3.1rem, 4.5vw, 4.65rem);
    font-weight: 700;
    line-height: 1.035;
    letter-spacing: -0.045em;
    color: var(--ls-text);
    max-width: 1120px;
    margin: 0 auto 1.25rem;
}
/* Controlled two-line composition on tablet/desktop (spans return to inline on mobile) */
.ls-hero__title-line {
    display: block;
}

/* Restrained accent on "une seule plateforme." — gradient text + soft underline */
.ls-hero__accent {
    color: var(--ls-primary-text); /* fallback if background-clip:text is unsupported */
    background-image: linear-gradient(100deg, var(--ls-primary-text) 0%, var(--ls-text) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    text-decoration-color: rgba(0, 201, 167, 0.27);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.14em;
}
html[data-theme="dark"] .ls-hero__accent {
    color: var(--ls-primary);
    background-image: linear-gradient(100deg, var(--ls-dark-text) 0%, var(--ls-primary) 100%);
    text-decoration-color: rgba(0, 201, 167, 0.35);
}

.ls-hero__lead {
    color: var(--ls-text-muted);
    font-size: clamp(1.08rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 1.75rem;
}

.ls-hero__cta {
    margin-bottom: 1.25rem;
}

/* Hero CTA buttons: equal comfortable height + icon layout (scoped to the hero) */
.ls-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 56px;
    padding-inline: 1.4rem;
    border-radius: var(--ls-radius-md); /* medium ~14px, balanced (not a pill) */
}
.ls-hero__btn .bi { font-size: 1.15rem; line-height: 1; }
.ls-hero__btn:focus-visible {
    outline: 3px solid var(--ls-focus);
    outline-offset: 2px;
}
.ls-hero__btn--primary {
    box-shadow: 0 16px 32px -18px rgba(0, 201, 167, 0.65);
}
/* Small circular icon container on the right of the primary CTA */
.ls-hero__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(4, 32, 27, 0.16);
    transition: transform var(--ls-dur) var(--ls-ease-out);
}
.ls-hero__btn-icon .bi { font-size: 0.95rem; }
@media (hover: hover) {
    .ls-hero__btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 40px -18px rgba(0, 201, 167, 0.75);
    }
    .ls-hero__btn--primary:hover .ls-hero__btn-icon { transform: translateX(2px); }
    .ls-hero .ls-btn-ghost.ls-hero__btn:hover { transform: translateY(-2px); }
}

.ls-hero__reassurance {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.3rem 0.55rem;
    color: var(--ls-text-muted);
    font-size: 0.95rem;
    max-width: 36rem;
    margin: 0 auto;
}
.ls-hero__reassurance .bi {
    color: var(--ls-primary-text);
    margin-right: 0.1rem;
}
.ls-hero__reassurance .ls-dot {
    color: var(--ls-text-muted);
    opacity: 0.4;
}

/* --------------------------------------------------------------------------
   Dark Mode hero — refined navy variation (kept visually distinct from Light)
   -------------------------------------------------------------------------- */
html[data-theme="dark"] .ls-hero {
    background-color: var(--ls-navy);
    color: var(--ls-dark-text);
}
html[data-theme="dark"] .ls-hero__grid {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
html[data-theme="dark"] .ls-hero__glow {
    background:
        radial-gradient(circle at 46% 42%, rgba(0, 201, 167, 0.22) 0%, rgba(0, 201, 167, 0) 60%),
        radial-gradient(circle at 62% 58%, rgba(80, 150, 220, 0.15) 0%, rgba(80, 150, 220, 0) 62%);
}
html[data-theme="dark"] .ls-hero__title {
    color: var(--ls-dark-text);
}
html[data-theme="dark"] .ls-hero__lead,
html[data-theme="dark"] .ls-hero__reassurance {
    color: var(--ls-dark-text-muted);
}
html[data-theme="dark"] .ls-hero__reassurance .ls-dot {
    color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

/* Secondary (ghost) CTA: readable on the light hero; restored for the dark hero.
   (.ls-btn-ghost base targets dark surfaces like the final CTA panel.) */
.ls-hero .ls-btn-ghost {
    color: var(--ls-text);
    border-color: var(--ls-border);
}
.ls-hero .ls-btn-ghost:hover,
.ls-hero .ls-btn-ghost:focus {
    background-color: var(--ls-card-bg);
    border-color: var(--ls-text-muted);
    color: var(--ls-text);
}
html[data-theme="dark"] .ls-hero .ls-btn-ghost {
    color: var(--ls-dark-text);
    border-color: var(--ls-dark-border);
}
html[data-theme="dark"] .ls-hero .ls-btn-ghost:hover,
html[data-theme="dark"] .ls-hero .ls-btn-ghost:focus {
    background-color: var(--ls-dark-surface);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--ls-dark-text);
}

/* ==========================================================================
   Temporary dashboard preview (replace with real screenshot later)
   ========================================================================== */

.ls-preview {
    position: relative;
    z-index: 2;
    margin: 4rem auto -3.5rem; /* dips over the trust strip for depth */
    max-width: 1080px;
}

.ls-preview__window {
    background-color: var(--ls-navy-soft);
    border: 1px solid var(--ls-dark-border);
    border-radius: var(--ls-radius-lg);
    box-shadow:
        0 50px 100px -32px rgba(0, 0, 0, 0.70),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.ls-preview__bar {
    display: flex;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--ls-dark-border);
}
.ls-preview__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
}

/* Product screenshot filling the browser window (consistent with .ls-shot system) */
.ls-preview__shot {
    display: block;
    background-color: var(--ls-card-bg);
}
.ls-preview__shot img {
    display: block;
    width: 100%;
    height: auto;
}

/* Wide desktop layout: decorative rail + main panel */
.ls-preview__app {
    display: flex;
    align-items: stretch;
}

.ls-preview__rail {
    flex: 0 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.1rem 0;
    border-right: 1px solid var(--ls-dark-border);
    background-color: rgba(255, 255, 255, 0.02);
}
.ls-preview__logo,
.ls-preview__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--ls-radius-sm);
    color: var(--ls-dark-text-muted);
    font-size: 1.05rem;
}
.ls-preview__logo {
    background-color: var(--ls-primary);
    color: #04201b;
    margin-bottom: 0.4rem;
}
.ls-preview__nav.is-active {
    background-color: rgba(0, 201, 167, 0.14);
    color: var(--ls-primary);
}

.ls-preview__main {
    flex: 1 1 auto;
    padding: 1.5rem;
    min-width: 0;
}

.ls-preview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.ls-preview__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ls-dark-text);
    margin: 0;
}
.ls-preview__status {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ls-primary);
    background-color: rgba(0, 201, 167, 0.12);
    border: 1px solid var(--ls-primary-soft-border);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
}

.ls-preview__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.ls-stat {
    background-color: var(--ls-dark-surface);
    border: 1px solid var(--ls-dark-border);
    border-radius: var(--ls-radius-md);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ls-stat__label {
    font-size: 0.72rem;
    color: var(--ls-dark-text-muted);
    line-height: 1.25;
}
.ls-stat__value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ls-dark-text);
}

.ls-plan {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.ls-plan__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--ls-dark-surface);
    border: 1px solid var(--ls-dark-border);
    border-radius: var(--ls-radius-sm);
    padding: 0.6rem 0.75rem;
}
.ls-plan__tag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.ls-plan__tag--res { color: var(--ls-primary); background: rgba(0, 201, 167, 0.12); }
.ls-plan__tag--dep { color: #7fb6ff; background: rgba(127, 182, 255, 0.12); }
.ls-plan__tag--ret { color: #f0b66b; background: rgba(240, 182, 107, 0.12); }
.ls-plan__line {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.06);
}
.ls-plan__val {
    color: var(--ls-dark-text-muted);
    font-size: 0.85rem;
}

.ls-alert {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--ls-dark-border);
    border-radius: var(--ls-radius-md);
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    color: var(--ls-dark-text);
}
.ls-alert .bi { color: var(--ls-primary); }
.ls-alert__val {
    margin-left: auto;
    color: var(--ls-dark-text-muted);
}

/* Floating factual feature chips */
.ls-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ls-text);
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
}
.ls-chip .bi { color: var(--ls-primary); }
.ls-chip--tl { top: -14px; left: -10px; }
.ls-chip--br { bottom: -14px; right: -6px; }

/* ==========================================================================
   Hero product showcase — segmented tabs + oversized browser frame
   (one real screenshot visible at a time; switched with vanilla JS)
   ========================================================================== */

/* Compact segmented selector, centered below the reassurance row.
   Light-first; Dark Mode override follows the block. */
.ls-shots__tabs {
    position: relative;
    z-index: 1;
    display: flex;
    width: fit-content;
    max-width: 100%;
    gap: 0.25rem;
    margin: 1.75rem auto 1.25rem;
    padding: 0.35rem;
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: 999px;
    box-shadow: 0 10px 26px -18px rgba(7, 27, 34, 0.30); /* slightly raised */
}
.ls-shots__tab {
    position: relative;
    overflow: hidden; /* clips the progress line to the pill */
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ls-text-muted);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    transition:
        background-color var(--ls-dur) var(--ls-ease),
        color var(--ls-dur) var(--ls-ease);
}
.ls-shots__tab .bi { font-size: 1rem; line-height: 1; }
.ls-shots__tab:hover { color: var(--ls-text); }
.ls-shots__tab:hover:not(.is-active) {
    background-color: rgba(15, 23, 42, 0.045);
}
.ls-shots__tab.is-active {
    background-color: var(--ls-primary);
    color: #04201b;
}
.ls-shots__tab:focus-visible {
    outline: 3px solid var(--ls-primary);
    outline-offset: 2px;
}
/* Active-tab auto-rotation progress line (drives + reflects the rotator) */
.ls-shots__tab::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    background-color: #04201b;
    opacity: 0;
}
.ls-shots__tabs.is-autoplaying .ls-shots__tab.is-active::after {
    opacity: 0.55;
    animation: ls-shots-progress 6500ms linear forwards;
}
.ls-shots__tabs.is-autoplaying.is-paused .ls-shots__tab.is-active::after {
    animation-play-state: paused;
}
@keyframes ls-shots-progress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
/* Dark Mode tabs */
html[data-theme="dark"] .ls-shots__tabs {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--ls-dark-border);
    box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .ls-shots__tab { color: var(--ls-dark-text-muted); }
html[data-theme="dark"] .ls-shots__tab:hover { color: var(--ls-dark-text); }
html[data-theme="dark"] .ls-shots__tab:hover:not(.is-active) {
    background-color: rgba(255, 255, 255, 0.06);
}

/* Oversized product frame (capped to 1120px; width 100% prevents overflow) */
.ls-shots {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto -3.5rem; /* dips over the trust strip for depth (matches prior clearance) */
}
/* One restrained teal glow behind the frame only */
.ls-shots__glow {
    position: absolute;
    inset: 4% 6% auto 6%;
    height: 72%;
    background: radial-gradient(ellipse at 50% 40%, rgba(0, 201, 167, 0.18) 0%, rgba(0, 201, 167, 0) 70%);
    filter: blur(26px);
    z-index: 0;
    pointer-events: none;
}
.ls-shots__frame {
    position: relative;
    z-index: 1;
    background-color: var(--ls-card-bg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--ls-radius-lg);
    box-shadow:
        0 30px 70px -42px rgba(7, 27, 34, 0.35),
        0 0 0 1px rgba(0, 201, 167, 0.025);
    overflow: hidden;
}
.ls-shots__bar {
    display: flex;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--ls-border);
    background-color: var(--ls-surface-subtle);
}
.ls-shots__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--ls-border);
}

/* Fixed-ratio surface keeps all screenshots stable (no layout shift, no crop).
   Swipe area: allow vertical page scroll, capture horizontal gestures. */
.ls-shots__surface {
    position: relative;
    aspect-ratio: 16 / 10;
    background-color: var(--ls-card-bg);
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    .ls-shots__surface { cursor: grab; }
    .ls-shots__surface.is-grabbing { cursor: grabbing; }
}
.ls-shots__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition:
        opacity 0.24s var(--ls-ease-out),
        transform 0.24s var(--ls-ease-out);
}
.ls-shots__panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.ls-shots__panel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;   /* authentic, never cropped; no filters */
    object-position: center;
    -webkit-user-drag: none;
    pointer-events: none;   /* gestures handled by the surface; avoids native image drag */
}

/* ==========================================================================
   Floating capability dock (bridges the Hero screenshot → Problems section)
   ========================================================================== */

.ls-dock {
    position: relative;
    z-index: 4; /* above the screenshot so the bar overlaps its lower edge */
    /* Compact bar pulled up to overlap only the screenshot's bottom edge (~24px).
       Hero box ends ~16px below the screenshot, so -2.5rem nets a ~24px overlap. */
    margin-top: -2.5rem;
    padding: 0 1rem;
}

/* One shared rounded bar — equal-width capability items, thin separators */
.ls-dock__shell {
    width: min(920px, calc(100vw - 2rem));
    margin-inline: auto;
    list-style: none;
    margin-block: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 36px -28px rgba(7, 27, 34, 0.30);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition:
        background-color var(--ls-dur) var(--ls-ease),
        border-color var(--ls-dur) var(--ls-ease),
        box-shadow var(--ls-dur) var(--ls-ease);
}
/* Solid fallback when backdrop blur is unsupported */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .ls-dock__shell { background: #ffffff; }
    html[data-theme="dark"] .ls-dock__shell { background: #0d2931; }
}

.ls-dock__item {
    flex: 1 1 0; /* equal-width items */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    color: var(--ls-text);
    font-size: 0.95rem;
    font-weight: 600;
    transition:
        transform var(--ls-dur) var(--ls-ease-out),
        background-color var(--ls-dur) var(--ls-ease);
}
/* Thin separators between items */
.ls-dock__item + .ls-dock__item {
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}

/* Small teal icon tile */
.ls-dock__tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    color: var(--ls-primary);
    font-size: 1rem;
    line-height: 1;
    transition: background-color var(--ls-dur) var(--ls-ease), border-color var(--ls-dur) var(--ls-ease);
}
.ls-dock__label { line-height: 1.2; }

@media (hover: hover) {
    /* Subtle tint only — no lift larger than 1px, no scale jump */
    .ls-dock__item:hover {
        transform: translateY(-1px);
        background-color: rgba(0, 201, 167, 0.06);
    }
    .ls-dock__item:hover .ls-dock__tile {
        background-color: rgba(0, 201, 167, 0.16);
        border-color: rgba(0, 201, 167, 0.35);
    }
}

/* ---- Dark Mode dock ---- */
html[data-theme="dark"] .ls-dock__shell {
    background: rgba(13, 41, 49, 0.94);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 16px 36px -28px rgba(0, 0, 0, 0.48);
}
html[data-theme="dark"] .ls-dock__item,
html[data-theme="dark"] .ls-dock__label { color: var(--ls-dark-text); }
html[data-theme="dark"] .ls-dock__item + .ls-dock__item {
    border-left-color: rgba(255, 255, 255, 0.10);
}
html[data-theme="dark"] .ls-dock__item:hover {
    background-color: rgba(0, 201, 167, 0.10);
}

/* ==========================================================================
   Problems section
   ========================================================================== */

.ls-problems {
    position: relative;
    background-color: var(--ls-bg);
    /* Very low-opacity mint tint for subtle editorial warmth (restrained in both modes) */
    background-image: radial-gradient(62% 52% at 86% 0%, rgba(0, 201, 167, 0.06) 0%, rgba(0, 201, 167, 0) 70%);
    padding-block: var(--ls-section-y);
}

/* Light-section eyebrow: readable ink label with a teal dot as the accent.
   Teal as text fails contrast on light, so the accent moves to a fill (the dot). */
.ls-eyebrow--light {
    color: var(--ls-text);
}
.ls-eyebrow--light::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background-color: var(--ls-primary);
    vertical-align: middle;
}

/* Reusable light-section heading + lead */
.ls-section-title {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ls-text);
    /*max-width: 20ch;*/
    margin-bottom: 1rem;
}

.ls-section-lead {
    color: var(--ls-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 32rem;
    margin-bottom: 0;
}

/* ---- Editorial intro column ---- */
.ls-problems .ls-eyebrow { margin-bottom: 0.55rem; } /* tighter eyebrow → title */
.ls-problems__accent {
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ls-primary), rgba(0, 201, 167, 0));
}

/* ---- Clean editorial row list: ONE shared panel, thin dividers, hover highlight ---- */
.ls-painlist {
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--ls-radius-lg);
    box-shadow: 0 16px 34px -28px rgba(7, 27, 34, 0.28); /* one restrained panel shadow */
    overflow: hidden; /* clip row tint + accent bar to the rounded panel */
}
.ls-painrow {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    transition: background-color var(--ls-dur) var(--ls-ease);
}
.ls-painrow + .ls-painrow { border-top: 1px solid rgba(15, 23, 42, 0.07); }
/* Left accent bar — grows in on hover (transform only, no layout shift) */
.ls-painrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--ls-primary);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform var(--ls-dur) var(--ls-ease-out);
}
.ls-painrow__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    color: var(--ls-primary);
    font-size: 1.2rem;
    line-height: 1;
}
.ls-painrow__body { flex: 1 1 auto; min-width: 0; }
.ls-painrow__title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ls-text);
}
.ls-painrow__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ls-text-muted);
}
/* Decorative trailing affordance (purely visual) */
.ls-painrow__chev {
    flex: 0 0 auto;
    color: var(--ls-text-muted);
    font-size: 1.05rem;
    line-height: 1;
    opacity: 0.4;
    transition:
        transform var(--ls-dur) var(--ls-ease-out),
        color var(--ls-dur) var(--ls-ease),
        opacity var(--ls-dur) var(--ls-ease);
}

@media (hover: hover) {
    .ls-painrow:hover { background-color: rgba(0, 201, 167, 0.045); }
    .ls-painrow:hover::before { transform: scaleY(1); }
    .ls-painrow:hover .ls-painrow__chev {
        color: var(--ls-primary);
        opacity: 1;
        transform: translateX(3px);
    }
}

/* ---- Dark Mode row list ---- */
html[data-theme="dark"] .ls-painlist {
    background: rgba(13, 41, 49, 0.94);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 16px 34px -28px rgba(0, 0, 0, 0.44);
}
html[data-theme="dark"] .ls-painrow + .ls-painrow { border-top-color: rgba(255, 255, 255, 0.08); }
@media (hover: hover) {
    html[data-theme="dark"] .ls-painrow:hover { background-color: rgba(0, 201, 167, 0.09); }
}

/* ==========================================================================
   Planning and Reservations showcase
   ========================================================================== */

.ls-showcase {
    background-color: var(--ls-card-bg);
    padding-block: var(--ls-section-y);
}

.ls-showcase__intro {
    max-width: 46rem;
    margin-bottom: 2.75rem;
}

/* Centered heading + lead helpers (shared) */
.ls-section-title--center,
.ls-section-lead--center {
    margin-left: auto;
    margin-right: auto;
}
.ls-section-title--center {
    max-width: 22ch;
}

/* Wide screenshot frame */
.ls-shot {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
}

/* Very subtle glow behind the shell */
.ls-shot__glow {
    position: absolute;
    inset: 8% 4% auto 4%;
    height: 70%;
    background: radial-gradient(ellipse at 50% 40%, rgba(0, 201, 167, 0.16) 0%, rgba(0, 201, 167, 0) 70%);
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
}

.ls-shot__frame {
    position: relative;
    z-index: 1;
    margin: 0;
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius-lg);
    box-shadow: 0 32px 64px -28px rgba(7, 27, 34, 0.28);
    overflow: hidden;
}

.ls-shot__bar {
    display: flex;
    gap: 0.45rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--ls-border);
    background-color: var(--ls-surface-subtle);
}
.ls-shot__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--ls-border);
}

/* Neutral light inner surface (placeholder — no fake UI) */
.ls-shot__surface {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: var(--ls-bg);
}
.ls-shot__placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--ls-radius-md);
    background-color: var(--ls-primary-soft);
    color: var(--ls-primary);
    font-size: 1.75rem;
}
.ls-shot__placeholder-label {
    color: var(--ls-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

/* Real screenshot variant: image defines its own height, fills the shell cleanly */
.ls-shot__surface--img {
    aspect-ratio: auto;
    display: block;
    padding: 0;
    background-color: var(--ls-card-bg);
}
.ls-shot__surface--img img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Documents section — premium document showcase slider (one frame, one doc)
   ========================================================================== */
.ls-docslider__viewport {
    position: relative;
    aspect-ratio: 16 / 10;          /* fixed height → no layout shift between slides */
    background-color: var(--ls-card-bg);
    overflow: hidden;
    touch-action: pan-y;            /* allow vertical page scroll, capture horizontal swipe */
}
.ls-docslider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 420ms var(--ls-ease-out),
        transform 420ms var(--ls-ease-out);
    pointer-events: none;
}
.ls-docslider__slide.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.ls-docslider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;            /* never crop, no filters, no inversion */
    object-position: center;
    -webkit-user-drag: none;
    user-select: none;
}

/* Compact control bar (sits on the dark panel) */
.ls-docslider__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}
.ls-docslider__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.90);
    cursor: pointer;
    transition:
        transform var(--ls-dur-fast) var(--ls-ease-out),
        border-color var(--ls-dur-fast) var(--ls-ease-out),
        background-color var(--ls-dur-fast) var(--ls-ease-out);
}
.ls-docslider__label {
    min-width: 0;
    margin-right: auto;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ls-docslider__dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}
.ls-docslider__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition:
        width var(--ls-dur) var(--ls-ease-out),
        background-color var(--ls-dur) var(--ls-ease-out);
}
.ls-docslider__dot.is-active {
    width: 18px;
    background: var(--ls-primary);
}
@media (hover: hover) {
    .ls-docslider__nav:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 201, 167, 0.45);
        background: rgba(0, 201, 167, 0.10);
    }
}

/* Three benefit points */
.ls-benefits {
    list-style: none;
    margin: 2.75rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ls-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.ls-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary-soft);
    color: var(--ls-primary);
    font-size: 1.05rem;
}
.ls-benefit__text {
    color: var(--ls-text);
    font-size: 0.98rem;
    line-height: 1.5;
    font-weight: 500;
    padding-top: 0.35rem;
}

/* ==========================================================================
   Product spotlight (alternating screenshot + copy)
   ========================================================================== */

.ls-spotlight {
    background-color: var(--ls-bg); /* soft light tint to separate from white showcase */
    padding-block: var(--ls-section-y);
}

/* White variant — softly contrasts with the tinted spotlight above */
.ls-spotlight--light {
    background-color: var(--ls-card-bg);
}

/* Spotlight screenshot frame fills its column (not centered/capped like the hero shot) */
.ls-shot--spotlight {
    max-width: none;
}

/* Wider desktop-app aspect ratio (~16:10) variant */
.ls-shot__surface--1610 {
    aspect-ratio: 16 / 10;
}

/* Vertical benefit checklist (spotlight copy column) */
.ls-checklist {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.ls-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.ls-checklist__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary-soft);
    color: var(--ls-primary);
    font-size: 1.05rem;
}
.ls-checklist__text {
    color: var(--ls-text);
    font-size: 0.98rem;
    line-height: 1.5;
    font-weight: 500;
    padding-top: 0.35rem;
}

/* Tighten the eyebrow → title gap in spotlights that use one */
.ls-spotlight .ls-eyebrow { margin-bottom: 0.6rem; }

/* ---- Fleet operations panel: one compact shared panel, four factual rows ---- */
.ls-oppanel {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 16px 34px -30px rgba(7, 27, 34, 0.24);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden; /* clip rows to the rounded panel */
}
/* Solid fallback when backdrop blur is unsupported */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .ls-oppanel { background: var(--ls-card-bg); }
}
.ls-oprow {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.1rem;
}
.ls-oprow + .ls-oprow { border-top: 1px solid rgba(15, 23, 42, 0.07); } /* thin internal divider */
.ls-oprow__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    color: var(--ls-primary);
    font-size: 1.05rem;
    line-height: 1;
}
.ls-oprow__label {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--ls-text);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   Professional Documents section (compact dark panel)
   ========================================================================== */

.ls-documents {
    background-color: var(--ls-bg);
    padding: 4.5rem 0;
}

.ls-docpanel {
    background-color: var(--ls-navy);
    /* very subtle teal depth in the top-right (stays within the navy family) */
    background-image: radial-gradient(circle at 82% 22%, rgba(0, 201, 167, 0.10), transparent 32%);
    border: 1px solid var(--ls-dark-border);
    border-radius: var(--ls-radius-lg);
    box-shadow: 0 32px 64px -34px rgba(7, 27, 34, 0.45);
    padding: clamp(28px, 4vw, 52px);
}

/* Eyebrow on dark panel */
.ls-eyebrow--dark {
    color: var(--ls-primary);
}
.ls-docpanel .ls-eyebrow { margin-bottom: 0.6rem; } /* tighter eyebrow → title */

.ls-docpanel__title {
    font-size: clamp(1.6rem, 2.8vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ls-dark-text);
    max-width: 20ch;
    margin-bottom: 1rem;
}

.ls-docpanel__lead {
    color: var(--ls-dark-text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

/* Compact inline document tags */
.ls-doctags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.ls-doctag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ls-dark-text);
    background-color: var(--ls-dark-surface);
    border: 1px solid var(--ls-dark-border);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
}
.ls-doctag .bi {
    color: var(--ls-primary);
    font-size: 1rem;
}

/* Screenshot shell sitting on the dark panel */
.ls-shot--ondark .ls-shot__frame {
    box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   GPS Supplier Link section (compact, light)
   ========================================================================== */

.ls-gps {
    background-color: var(--ls-card-bg);
    padding: 4.5rem 0;
}
.ls-gps .ls-eyebrow { margin-bottom: 0.6rem; } /* tighter eyebrow → title */

.ls-gpspanel {
    background-color: var(--ls-bg);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius-lg);
    box-shadow: 0 18px 40px -28px rgba(7, 27, 34, 0.2);
    padding: 2.5rem;
}

/* Compact panel header: teal icon tile + title + status chip */
.ls-gpspanel__head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 1rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid var(--ls-border);
}
.ls-gpspanel__head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    color: var(--ls-primary);
    font-size: 1.1rem;
    line-height: 1;
}
.ls-gpspanel__head-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ls-text);
}
.ls-gpspanel__chip {
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ls-primary-dark);
    background-color: rgba(0, 201, 167, 0.10);
    border: 1px solid rgba(0, 201, 167, 0.18);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
}

/* Compact factual rows — one shared panel, thin dividers (no separate cards) */
.ls-gpslist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ls-gpslist__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ls-text);
}
.ls-gpslist__item + .ls-gpslist__item { border-top: 1px solid var(--ls-border); }
.ls-gpslist__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    color: var(--ls-primary);
    font-size: 0.95rem;
    line-height: 1;
}
.ls-gpslist__label { min-width: 0; }

/* Transparency note (separated from the rows) */
.ls-gps-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.5rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--ls-border);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ls-text-muted);
}
.ls-gps-note .bi {
    color: var(--ls-primary);
    margin-top: 0.1rem;
    flex: 0 0 auto;
}

/* ==========================================================================
   How It Works section (vertical timeline)
   ========================================================================== */

.ls-how {
    background-color: var(--ls-bg);
    padding-block: var(--ls-section-y);
}
.ls-how .ls-eyebrow { margin-bottom: 0.6rem; } /* tighter eyebrow → title */

/* Left-column reassurance rows */
.ls-reassure {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.ls-reassure__item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    max-width: 100%;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ls-text);
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
}
.ls-reassure__item .bi {
    color: var(--ls-primary);
    font-size: 1.05rem;
    flex: 0 0 auto;
}

/* Premium onboarding roadmap panel */
.ls-journey {
    margin: 0;
    padding: 1.75rem;
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius-lg);
    box-shadow: 0 22px 48px -30px rgba(7, 27, 34, 0.25);
}
/* Compact panel header */
.ls-journey__head {
    padding-bottom: 1.1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--ls-border);
}
.ls-journey__eyebrow {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ls-text-muted);
}
.ls-journey__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ls-text);
}
/* Step list reset (the panel chrome lives on .ls-journey) */
.ls-journey__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ls-jstep {
    position: relative;
    display: flex;
    gap: 1.1rem;
    padding: 0 0 1.5rem;
}
.ls-jstep:last-child {
    padding-bottom: 0;
}

/* Subtle vertical progress rail */
.ls-jstep::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: -2px;
    width: 2px;
    background-color: var(--ls-border);
}
.ls-jstep:last-child::before {
    display: none;
}

.ls-jstep__marker {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--ls-bg);
    border: 1px solid var(--ls-border);
    color: var(--ls-text); /* neutral outlined number (roadmap, not progress state) */
    font-size: 0.95rem;
    font-weight: 700;
}

.ls-jstep__body {
    padding-top: 0.3rem;
    padding-bottom: 0.25rem;
}
.ls-jstep__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ls-text);
    margin-bottom: 0.4rem;
}
.ls-jstep__title .bi {
    color: var(--ls-primary);
    font-size: 1.1rem;
}
.ls-jstep__text {
    color: var(--ls-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Restrained inline micro-label */
.ls-jstep__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ls-text);
    background-color: var(--ls-primary-soft);
    border: 1px solid rgba(0, 201, 167, 0.22);
    border-radius: 999px;
    padding: 0.32rem 0.75rem;
}
.ls-jstep__chip .bi {
    font-size: 0.9rem;
    color: var(--ls-primary-text);
}

/* Restrained emphasis for key conversion steps (03, 04):
   filled green marker — no card boxes, keeps the panel cohesive. */
.ls-jstep--key .ls-jstep__marker {
    background-color: var(--ls-primary);
    border-color: var(--ls-primary);
    color: #04201b;
}

/* ==========================================================================
   Mobile App Teaser section (compact light premium panel — "coming soon")
   ========================================================================== */

.ls-mobile {
    background-color: var(--ls-bg);
    padding: 3.5rem 0;
}

.ls-mobilepanel {
    position: relative;
    overflow: hidden;
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius-lg);
    box-shadow: var(--ls-shadow-md);
    padding: 2.25rem 2.5rem;
}

/* One very subtle radial mint accent (top-right) */
.ls-mobilepanel__tint {
    position: absolute;
    top: -35%;
    right: -8%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 201, 167, 0.07) 0%, rgba(0, 201, 167, 0) 68%);
    filter: blur(16px);
    pointer-events: none;
    z-index: 0;
}
.ls-mobilepanel__copy {
    position: relative;
    z-index: 1;
}

/* Eyebrow chip */
.ls-mobile-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ls-primary-text);
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
}
.ls-mobile-chip .bi {
    font-size: 1rem;
    color: var(--ls-primary);
}

.ls-mobilepanel__title {
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ls-text);
    max-width: 20ch;
    margin-bottom: 0.75rem;
}

.ls-mobilepanel__lead {
    color: var(--ls-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 34rem;
    margin-bottom: 1.25rem;
}

/* Benefit pills */
.ls-mobile-pills {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.ls-mobile-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ls-text);
    background-color: var(--ls-bg);
    border: 1px solid var(--ls-border);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
}
.ls-mobile-pill .bi {
    font-size: 1rem;
    color: var(--ls-primary);
}

/* Transparency note */
.ls-mobile-note {
    color: var(--ls-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ---- Right column: compact store-preview card ---- */
.ls-storecard {
    position: relative;
    z-index: 1;
    background-color: var(--ls-bg);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius-md);
    box-shadow: var(--ls-shadow-sm);
    padding: 1.5rem;
}

/* Small restrained status chip */
.ls-storecard__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ls-primary-text);
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}
.ls-storecard__status .bi {
    font-size: 0.85rem;
    color: var(--ls-primary);
}
.ls-storecard__title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ls-text);
    margin-bottom: 0.4rem;
}
.ls-storecard__text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ls-text-muted);
    margin-bottom: 1.1rem;
}

/* Preview-only store rows (branded, non-clickable, clearly "coming soon") */
.ls-storecard__badges {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.ls-mobile-store {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 58px;
    padding: 0.625rem 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
}
.ls-mobile-store__logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex: 0 0 auto;
}
/* Bootstrap-icon fallback shown until the local store SVG marks are added */
.ls-mobile-store__logo--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ls-text);
    font-size: 1.6rem;
    line-height: 1;
}
.ls-mobile-store__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ls-mobile-store__eyebrow {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ls-text-muted);
}
.ls-mobile-store__name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ls-text);
}
.ls-mobile-store__badge {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ls-primary-dark);
    background: rgba(0, 201, 167, 0.10);
    border: 1px solid rgba(0, 201, 167, 0.18);
}
/* ---- Dark Mode store rows: raised navy surface, readable marks ---- */
html[data-theme="dark"] .ls-mobile-store {
    background: var(--ls-surface-raised);
    border-color: var(--ls-border-strong);
}
html[data-theme="dark"] .ls-mobile-store__name,
html[data-theme="dark"] .ls-mobile-store__logo--fallback { color: var(--ls-dark-text); }
html[data-theme="dark"] .ls-mobile-store__eyebrow { color: var(--ls-dark-text-muted); }
html[data-theme="dark"] .ls-mobile-store__badge {
    color: var(--ls-primary-text); /* lightened teal stays legible on dark */
    background: rgba(0, 201, 167, 0.16);
    border-color: var(--ls-primary-soft-border);
}

/* ==========================================================================
   Pricing section
   ========================================================================== */

.ls-pricing {
    position: relative;
    background-color: var(--ls-bg);
    padding-block: var(--ls-section-y);
    overflow: hidden;
}

/* Very subtle green tint behind the pricing row only */
.ls-pricing__tint {
    position: absolute;
    top: 38%;
    left: 50%;
    width: 900px;
    height: 460px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at 50% 40%, var(--ls-primary-soft) 0%, rgba(0, 201, 167, 0) 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

.ls-pricing .container {
    position: relative;
    z-index: 1;
}

.ls-pricing__intro {
    max-width: 46rem;
    margin-bottom: 2rem;
}

/* ---- Segmented billing control ---- */
.ls-billing {
    display: flex;
    width: fit-content;
    gap: 0.25rem;
    margin: 0 auto 2.75rem; /* centered */
    padding: 0.3rem;
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: 999px;
}
.ls-billing__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: transparent;
    color: var(--ls-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    cursor: pointer;
    transition: background-color var(--ls-dur) var(--ls-ease), color var(--ls-dur) var(--ls-ease);
}
.ls-billing__btn:hover {
    color: var(--ls-text);
}
.ls-billing__btn.is-active {
    background-color: var(--ls-navy);
    color: #fff;
}
.ls-billing__badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ls-text);
    background-color: rgba(0, 201, 167, 0.14);
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
}
.ls-billing__btn.is-active .ls-billing__badge {
    color: #04201b;
    background-color: var(--ls-primary);
}

/* ---- Plans grid ---- */
.ls-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch; /* equal-height cards → CTAs + feature lists align */
}

.ls-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 38px -32px rgba(7, 27, 34, 0.24);
    padding: 2rem 1.75rem;
}

.ls-plan__name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ls-text);
    margin-bottom: 0.35rem;
}
.ls-plan__audience {
    color: var(--ls-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    min-height: 2.7em;
}

.ls-plan__price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.ls-plan__amount {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ls-text);
}
.ls-plan__unit {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ls-text-muted);
}
.ls-plan__note {
    color: var(--ls-text-muted);
    font-size: 0.82rem;
    margin: 0.5rem 0 1.25rem;
}

.ls-plan__chips {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.ls-plan__chips li {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ls-text);
    background-color: var(--ls-bg);
    border: 1px solid var(--ls-border);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
}

.ls-plan__cta {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--ls-radius-sm);
    padding: 0.8rem 1rem;
    margin-top: auto;   /* anchor CTA to the card bottom → equal alignment */
    margin-bottom: 0;
    color: var(--ls-text);
    background-color: transparent;
    border: 1px solid var(--ls-border);
    transition: border-color var(--ls-dur) var(--ls-ease), background-color var(--ls-dur) var(--ls-ease), color var(--ls-dur) var(--ls-ease);
}
.ls-plan__cta:hover,
.ls-plan__cta:focus {
    border-color: var(--ls-primary);
    color: var(--ls-primary-text);
}
.ls-plan__cta--solid {
    background-color: var(--ls-primary);
    border-color: transparent;
    color: #04201b;
}
.ls-plan__cta--solid:hover,
.ls-plan__cta--solid:focus {
    background-color: var(--ls-primary-dark);
    color: #04201b;
}

/* ---- In-card divider + included feature list ---- */
.ls-plan__divider {
    height: 0;
    margin: 1.25rem 0 1.1rem; /* sits between the CTA and the feature list */
    border: 0;
    border-top: 1px solid var(--ls-border);
}
.ls-plan__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.625rem;
}
.ls-plan__feature {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.875rem;
    line-height: 1.35;
    color: var(--ls-text);
}
.ls-plan__feature .bi {
    flex: 0 0 auto;
    color: var(--ls-primary);
    font-size: 0.95rem;
}

/* ---- Pro / featured card (dark, recommended, elevated) ---- */
.ls-plan--featured {
    background-color: var(--ls-navy);
    border-color: rgba(0, 201, 167, 0.28); /* thin teal-tinted border */
    box-shadow: 0 32px 64px -28px rgba(7, 27, 34, 0.55);
    transform: translateY(-14px); /* slight desktop elevation */
}
.ls-plan--featured .ls-plan__name,
.ls-plan--featured .ls-plan__amount {
    color: var(--ls-dark-text);
}
.ls-plan--featured .ls-plan__audience,
.ls-plan--featured .ls-plan__unit,
.ls-plan--featured .ls-plan__note {
    color: var(--ls-dark-text-muted);
}
.ls-plan--featured .ls-plan__chips li {
    color: var(--ls-dark-text);
    background-color: var(--ls-dark-surface);
    border-color: var(--ls-dark-border);
}
.ls-plan--featured .ls-plan__divider {
    border-top-color: var(--ls-dark-border);
}
.ls-plan--featured .ls-plan__feature {
    color: var(--ls-dark-text);
}
.ls-plan__badge {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 700;
    color: #04201b;
    background-color: var(--ls-primary);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    box-shadow: 0 8px 20px -10px rgba(0, 201, 167, 0.6);
}

/* ---- Factual trust row ---- */
.ls-pricing__trust {
    list-style: none;
    margin: 3rem 0 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--ls-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}
.ls-pricing__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ls-text);
}
.ls-pricing__trust .bi {
    color: var(--ls-primary);
    font-size: 1.05rem;
}

/* ==========================================================================
   Testimonials — premium horizontal testimonial marquee (CSS-only motion)
   ========================================================================== */

.ls-tw {
    position: relative;
    overflow: hidden; /* prevents page-level horizontal overflow from the wide tracks */
    background-color: var(--ls-bg); /* lightly tinted premium surface */
    padding-block: var(--ls-section-y);
}

/* One restrained mint radial tint, sitting high behind the editorial intro */
.ls-tw__tint {
    position: absolute;
    top: -14%;
    left: 50%;
    width: 1000px;
    max-width: 120%;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at 50% 35%, rgba(0, 201, 167, 0.06) 0%, rgba(0, 201, 167, 0) 72%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}
.ls-tw .container {
    position: relative;
    z-index: 1;
}

/* Editorial intro, left-aligned within a centered container */
.ls-tw__intro {
    max-width: 44rem;
    margin: 0 0 1.5rem; /* tighter rhythm into the first marquee row */
}
/* Restrained icon beside the eyebrow */
.ls-tw__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}
.ls-tw__eyebrow .bi {
    font-size: 0.95rem;
}
.ls-tw__intro .ls-section-title {
    margin-bottom: 0.7rem;
}

/* Discreet prototype note */
.ls-tw__note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 1rem 0 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ls-text-muted);
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}
.ls-tw__note .bi {
    color: var(--ls-primary);
}

/* ---- Full-width marquee with edge fade masks ---- */
.ls-tw__marquee {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem; /* a touch more air between the two rows */
    overflow: hidden;
}
/* Soft left/right fades into the section background (smooth 3-stop falloff) */
.ls-tw__marquee::before,
.ls-tw__marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(56px, 12vw, 200px);
    z-index: 2;
    pointer-events: none;
}
.ls-tw__marquee::before {
    left: 0;
    background: linear-gradient(to right,
        var(--ls-bg) 0%,
        rgba(var(--ls-bg-rgb), 0.6) 45%,
        rgba(var(--ls-bg-rgb), 0) 100%);
}
.ls-tw__marquee::after {
    right: 0;
    background: linear-gradient(to left,
        var(--ls-bg) 0%,
        rgba(var(--ls-bg-rgb), 0.6) 45%,
        rgba(var(--ls-bg-rgb), 0) 100%);
}

/* Each row clips its moving track */
.ls-tw__row {
    overflow: hidden;
}

/* Moving track = two identical groups laid side by side */
.ls-tw__track {
    display: flex;
    width: max-content;
    will-change: transform;
}
.ls-tw__group {
    display: flex;
    align-items: flex-start; /* cards keep their natural height → subtle height variation */
    gap: 1.75rem;
    padding-right: 1.75rem; /* keeps the gap consistent across the loop seam */
    flex: 0 0 auto;
}

/* Row 1 right→left, row 2 left→right, calm + slightly distinct rhythm */
.ls-tw__row--1 .ls-tw__track {
    animation: ls-tw-left 48s linear infinite;
    animation-delay: -3s; /* slight initial offset */
    animation-play-state: paused; /* off until the section scrolls into view */
}
.ls-tw__row--2 .ls-tw__track {
    /* small horizontal offset desyncs the columns between rows for an editorial brick rhythm */
    margin-left: -72px;
    animation: ls-tw-right 54s linear infinite;
    animation-delay: -9s; /* slightly different initial offset */
    animation-play-state: paused;
}

/* Run the marquee only while the section is in the viewport (toggled by JS) */
.ls-tw.is-marquee-active .ls-tw__track {
    animation-play-state: running;
}
/* Pause both tracks when the section is hovered (more specific → always wins) */
.ls-tw.is-marquee-active:hover .ls-tw__track,
.ls-tw:hover .ls-tw__track {
    animation-play-state: paused;
}

@keyframes ls-tw-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes ls-tw-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* ---- Testimonial card (Variant A — white surface, the default) ---- */
.ls-tw__card {
    flex: 0 0 auto;
    width: clamp(300px, 24vw, 370px);
    min-height: 190px;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    /* layered soft shadow + hairline lift for crisper card definition */
    box-shadow:
        0 1px 0 rgba(7, 27, 34, 0.02),
        0 18px 36px -26px rgba(7, 27, 34, 0.28);
    padding: 1.375rem;
    transition:
        transform var(--ls-dur) var(--ls-ease-out),
        box-shadow var(--ls-dur) var(--ls-ease-out),
        border-color var(--ls-dur) var(--ls-ease);
}
/* Restrained width variation only — heights stay aligned (no masonry) */
.ls-tw__card--wide { width: clamp(330px, 26vw, 390px); }
.ls-tw__card--narrow { width: clamp(290px, 22vw, 330px); }

/* Top utility row: quote tile + category chip */
.ls-tw__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.ls-tw__qicon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: var(--ls-radius-sm);
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    color: var(--ls-primary);
    font-size: 1.05rem;
}
.ls-tw__cat {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ls-text-muted);
    background-color: var(--ls-bg);
    border: 1px solid var(--ls-border);
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
}

.ls-tw__quote {
    flex: 1 1 auto;
    margin: 0 0 1.15rem;
    color: var(--ls-text);
    font-size: 1.02rem;
    line-height: 1.62;
    font-weight: 500;
}

/* Subtle divider between quote and author */
.ls-tw__divider {
    height: 0;
    margin: 0 0 1.1rem;
    border: 0;
    border-top: 1px solid var(--ls-border);
}

.ls-tw__author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.ls-tw__avatar {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--ls-bg);
    border: 1px solid var(--ls-border);
    color: var(--ls-text-muted);
    font-weight: 600;
    line-height: 1;
}
.ls-tw__meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.ls-tw__name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ls-text);
}
.ls-tw__ctx {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ls-text-muted);
}

/* ---- Variant B — soft mint surface (used selectively) ---- */
.ls-tw__card--tint {
    background: rgba(0, 201, 167, 0.075);
    border-color: rgba(0, 201, 167, 0.20);
}
.ls-tw__card--tint .ls-tw__qicon,
.ls-tw__card--tint .ls-tw__cat,
.ls-tw__card--tint .ls-tw__avatar {
    background-color: var(--ls-card-bg);
}
.ls-tw__card--tint .ls-tw__divider {
    border-top-color: var(--ls-primary-soft-border);
}

/* ---- Variant C — deep navy accent (sparingly, ~one per row) ---- */
.ls-tw__card--dark {
    background: #06232b;
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.10),
        0 22px 40px -26px rgba(7, 27, 34, 0.55);
}
.ls-tw__card--dark .ls-tw__quote,
.ls-tw__card--dark .ls-tw__name {
    color: var(--ls-dark-text);
}
.ls-tw__card--dark .ls-tw__ctx {
    color: var(--ls-dark-text-muted);
}
.ls-tw__card--dark .ls-tw__qicon {
    background-color: rgba(0, 201, 167, 0.16);
    border-color: var(--ls-primary-soft-border);
    color: var(--ls-primary);
}
.ls-tw__card--dark .ls-tw__cat {
    color: var(--ls-dark-text-muted);
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--ls-dark-border);
}
.ls-tw__card--dark .ls-tw__avatar {
    background-color: var(--ls-navy-soft);
    border-color: var(--ls-dark-border);
    color: var(--ls-dark-text-muted);
}
.ls-tw__card--dark .ls-tw__divider {
    border-top-color: var(--ls-dark-border);
}

/* ---- Hover polish (devices with a real pointer only) ---- */
@media (hover: hover) {
    .ls-tw__card:hover {
        transform: translateY(-3px);
        border-color: var(--ls-primary-soft-border);
        box-shadow:
            0 1px 0 rgba(7, 27, 34, 0.03),
            0 26px 48px -28px rgba(7, 27, 34, 0.38);
    }
    .ls-tw__card--dark:hover {
        border-color: rgba(0, 201, 167, 0.45);
        box-shadow:
            0 1px 0 rgba(0, 0, 0, 0.12),
            0 30px 52px -28px rgba(7, 27, 34, 0.6);
    }
}

/* ==========================================================================
   FAQ section (native details/summary, no JS)
   ========================================================================== */

.ls-faq {
    background-color: var(--ls-bg); /* soft light outer for separation */
    padding-block: var(--ls-section-y);
}

/* Contained premium shell */
.ls-faq__shell {
    background-color: var(--ls-card-bg);
    border: 1px solid var(--ls-border);
    border-radius: 22px;
    box-shadow: 0 22px 46px -34px rgba(7, 27, 34, 0.30);
    overflow: hidden;
}

/* ---- Left intro panel (deep navy with a subtle teal depth) ---- */
.ls-faq__intro {
    position: relative;
    display: flex;
    background:
        radial-gradient(circle at 22% 12%, rgba(0, 201, 167, 0.10), transparent 34%),
        #06232b;
    padding: 2.75rem;
    color: var(--ls-dark-text);
}
.ls-faq__eyebrow { margin-bottom: 0.6rem; } /* keep the eyebrow close to the title */
.ls-faq__intro-tex {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 30%, transparent 100%);
    pointer-events: none;
}
.ls-faq__intro-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.ls-faq__intro-title {
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ls-dark-text);
    margin-bottom: 0.9rem;
}
.ls-faq__intro-lead {
    color: var(--ls-dark-text-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Compact support card (anchored to the lower part of the panel) */
.ls-faq__contact {
    margin-top: 2rem;
    margin-top: auto; /* anchors to the bottom in the flex column; 2rem is the fallback gap */
    padding: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
}
.ls-faq__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--ls-radius-sm);
    background-color: rgba(0, 201, 167, 0.14);
    color: var(--ls-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.ls-faq__contact-title {
    font-weight: 700;
    color: var(--ls-dark-text);
    margin-bottom: 0.25rem;
}
.ls-faq__contact-link {
    display: inline-block;
    color: var(--ls-primary);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.4rem;
}
.ls-faq__contact-link:hover,
.ls-faq__contact-link:focus {
    text-decoration: underline;
}
.ls-faq__contact-note {
    color: var(--ls-dark-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ---- Right accordion panel (white) ---- */
.ls-faq__panel {
    padding: 1.25rem 1.75rem;
}

.ls-faq__list {
    display: block;
}

.ls-faq__item {
    border-bottom: 1px solid var(--ls-border);
    border-radius: var(--ls-radius-md);
    transition: background-color var(--ls-dur) var(--ls-ease);
}
.ls-faq__item:last-child {
    border-bottom: none;
}
/* Open item gets a soft mint-tinted surface with restrained border emphasis */
.ls-faq__item[open] {
    background: rgba(0, 201, 167, 0.055);
    border: 1px solid rgba(0, 201, 167, 0.18);
    border-radius: 14px;
}

/* Summary (question) — the native, keyboard-accessible disclosure trigger */
.ls-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    cursor: pointer;
    min-height: 64px;
    padding: 1rem 1.1rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ls-text);
    border-radius: 14px;
}
.ls-faq__q::-webkit-details-marker {
    display: none; /* hide default disclosure triangle */
}
.ls-faq__q:hover {
    color: var(--ls-primary-text);
}
/* Restrained hover background on closed rows only */
.ls-faq__item:not([open]) .ls-faq__q:hover {
    background-color: rgba(15, 23, 42, 0.025);
}

/* Compact circular plus / minus control (Bootstrap Icons, swapped via [open]) */
.ls-faq__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: var(--ls-primary-soft);
    border: 1px solid var(--ls-primary-soft-border);
    color: var(--ls-primary);
    transition: background-color var(--ls-dur) var(--ls-ease);
}
.ls-faq__icon .bi {
    font-size: 0.8rem;
    line-height: 1;
}
.ls-faq__icon-minus { display: none; }
.ls-faq__item[open] .ls-faq__icon-plus { display: none; }
.ls-faq__item[open] .ls-faq__icon-minus { display: inline-flex; }
.ls-faq__q:hover .ls-faq__icon {
    background-color: rgba(0, 201, 167, 0.18);
}

/* Answer */
.ls-faq__a {
    padding: 0 1rem 1.15rem;
}
.ls-faq__a p {
    color: var(--ls-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   Final CTA section
   ========================================================================== */

.ls-cta {
    background-color: var(--ls-bg);
    padding-block: var(--ls-section-y);
}

.ls-cta__panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(0, 201, 167, 0.10), transparent 32%),
        #06232b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: 0 24px 48px -34px rgba(0, 0, 0, 0.48);
    padding: 3.25rem;
    color: var(--ls-dark-text);
}
/* Both CTA buttons align their label + icon cleanly in one row */
.ls-cta__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.ls-cta__actions .btn .bi { font-size: 1rem; }

/* Decoration (clipped grid + one restrained glow) */
.ls-cta__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.ls-cta__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 35%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 35%, transparent 100%);
}
/* Glow positioned behind the right-side conversion card */
.ls-cta__glow {
    position: absolute;
    top: 50%;
    right: 8%;
    width: 480px;
    height: 380px;
    transform: translateY(-50%);
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 201, 167, 0.2) 0%, rgba(0, 201, 167, 0) 70%);
    filter: blur(16px);
}

.ls-cta__inner {
    position: relative;
    z-index: 1;
}
.ls-cta__title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ls-dark-text);
    max-width: 18ch;
    margin: 0 0 1.1rem;
    text-wrap: balance;
}
.ls-cta__lead {
    color: var(--ls-dark-text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 38rem;
    margin: 0 0 1.75rem;
}
.ls-cta__actions {
    margin-bottom: 1.5rem;
}

/* Reassurance row (left-aligned in the split layout) */
.ls-cta__reassure {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
}
.ls-cta__reassure li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--ls-dark-text-muted);
}
.ls-cta__reassure .bi {
    color: var(--ls-primary);
}

/* Right-side conversion summary card */
.ls-ccard {
    background-color: var(--ls-navy-soft);
    border: 1px solid var(--ls-dark-border);
    border-radius: var(--ls-radius-lg);
    padding: 1.75rem;
}
.ls-ccard__label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ls-dark-text);
    margin-bottom: 0.3rem;
}
.ls-ccard__sub {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ls-dark-text-muted);
    margin-bottom: 1.4rem;
}
.ls-ccard__steps {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ls-cstep {
    position: relative;
    display: flex;
    gap: 0.85rem;
    padding-bottom: 1.25rem;
}
.ls-cstep:last-child {
    padding-bottom: 0;
}
/* Subtle vertical rail connecting the numbered rows */
.ls-cstep::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 34px;
    bottom: -2px;
    width: 2px;
    background-color: var(--ls-dark-border);
}
.ls-cstep:last-child::before {
    display: none;
}
.ls-cstep__num {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 201, 167, 0.14);
    color: var(--ls-primary);
    font-size: 0.8rem;
    font-weight: 700;
}
.ls-cstep__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ls-dark-text);
    margin-bottom: 0.2rem;
}
.ls-cstep__title .bi {
    color: var(--ls-primary);
    font-size: 1rem;
}
.ls-cstep__text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--ls-dark-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ls-footer {
    position: relative;
    overflow: hidden;
    background-color: var(--ls-footer-bg); /* deep navy, slightly darker than the CTA panel */
    /* very subtle tonal texture */
    background-image: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 201, 167, 0.05) 0%, rgba(0, 201, 167, 0) 70%);
    color: var(--ls-dark-text-muted);
    padding: clamp(42px, 5vw, 64px) 0 22px;
}
/* The footer is always deep navy → force a near-white wordmark in both themes
   (scoped to the footer so the header brand is unaffected). */
.ls-footer .ls-brand__text {
    color: rgba(255, 255, 255, 0.96);
}

/* Subtle green top accent line */
.ls-footer__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 201, 167, 0.6) 50%, transparent 100%);
    pointer-events: none;
}

.ls-footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.ls-footer__brand {
    flex: 1 1 38%;
    min-width: 240px;
    max-width: 24rem;
}
.ls-footer__desc {
    color: var(--ls-dark-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 1rem 0 1.1rem;
}

/* Support capsule */
.ls-footer__capsule {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ls-dark-border);
    border-radius: 999px;
    padding: 0.5rem 0.9rem 0.5rem 0.5rem;
    transition: border-color var(--ls-dur) var(--ls-ease), background-color var(--ls-dur) var(--ls-ease);
}
.ls-footer__capsule:hover,
.ls-footer__capsule:focus {
    border-color: rgba(0, 201, 167, 0.45);
    background-color: rgba(0, 201, 167, 0.06);
}
.ls-footer__capsule-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 201, 167, 0.14);
    color: var(--ls-primary);
    font-size: 1rem;
}
.ls-footer__capsule-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.ls-footer__capsule-label {
    font-size: 0.78rem;
    color: var(--ls-dark-text-muted);
}
.ls-footer__capsule-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ls-dark-text);
}

.ls-footer__cols {
    flex: 1 1 56%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem 3rem;
}
.ls-footer__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ls-dark-text);
    margin-bottom: 1rem;
}
/* Green micro-accent beside each heading */
.ls-footer__title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background-color: var(--ls-primary);
}
.ls-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.ls-footer__col a {
    display: inline-block;
    /* Expand the tap area to >=24px without shifting layout */
    padding-block: 0.3rem;
    margin-block: -0.3rem;
    color: var(--ls-dark-text-muted);
    font-size: 0.92rem;
    text-decoration: none;
    transition: color var(--ls-dur) var(--ls-ease);
}
.ls-footer__col a:hover,
.ls-footer__col a:focus {
    color: var(--ls-primary);
}

/* Bottom row */
.ls-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--ls-dark-border);
}
.ls-footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ls-dark-text-muted);
}
.ls-footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
.ls-footer__legal a {
    display: inline-block;
    /* Expand the tap area to >=24px without shifting layout */
    padding-block: 0.3rem;
    margin-block: -0.3rem;
    color: var(--ls-dark-text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--ls-dur) var(--ls-ease);
}
.ls-footer__legal a:hover,
.ls-footer__legal a:focus {
    color: var(--ls-primary);
}

/* Back-to-top link (far right when space allows) */
.ls-footer__top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    color: var(--ls-dark-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--ls-dur) var(--ls-ease);
}
.ls-footer__top-link:hover,
.ls-footer__top-link:focus {
    color: var(--ls-primary);
}
.ls-footer__top-link .bi {
    color: var(--ls-primary);
    transition: transform var(--ls-dur-fast) var(--ls-ease-out);
}
/* Restrained back-to-top arrow nudge (pointer devices) */
@media (hover: hover) {
    .ls-footer__top-link:hover .bi,
    .ls-footer__top-link:focus-visible .bi {
        transform: translateY(-2px);
    }
}

/* ---- Compact footer social links ---- */
.ls-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}
.ls-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    text-decoration: none;
    transition:
        transform var(--ls-dur-fast) var(--ls-ease-out),
        border-color var(--ls-dur-fast) var(--ls-ease-out),
        background-color var(--ls-dur-fast) var(--ls-ease-out),
        color var(--ls-dur-fast) var(--ls-ease-out);
}
@media (hover: hover) {
    .ls-footer__social:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 201, 167, 0.38);
        background: rgba(0, 201, 167, 0.10);
        color: var(--ls-primary);
    }
}

/* ==========================================================================
   Premium polish — scroll reveal, hover lift, typography refinements
   ========================================================================== */

/* Slightly more generous body rhythm for editorial feel */
body {
    line-height: 1.6;
}

/* Balanced headings + nicer paragraph rag (progressive enhancement) */
.ls-section-title { text-wrap: balance; }
.ls-section-lead { text-wrap: pretty; }

/* ==========================================================================
   Art-directed scroll reveal (zone-tuned, not one uniform fade-up).
   Hidden state only applies once JS confirms it can animate (adds .ls-anim).
   No-JS / reduced-motion users always see content. Entrances use --ls-ease-out.
   ========================================================================== */

/* Calm base — used by Zone E (final CTA) and any unscoped reveal.
   No will-change: these are short opacity/transform entrances that composite
   smoothly without a persistent compositor hint. */
.ls-anim .ls-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.52s var(--ls-ease-out),
        transform 0.52s var(--ls-ease-out);
}
.ls-anim .ls-reveal.is-visible {
    opacity: 1;
    /* Terminal rest state must win over every zoned hidden-offset selector below
       (some reach 0,4,0 specificity). !important is the narrowly-scoped, robust
       guarantee for the settled transform only; the entrance still transitions. */
    transform: none !important;
}
/* Restrained composed sequencing (copy → visual), never per-card stagger */
.ls-anim .ls-reveal--d1 { transition-delay: 0.07s; }
.ls-anim .ls-reveal--d2 { transition-delay: 0.14s; }
.ls-anim .ls-reveal--d3 { transition-delay: 0.21s; }

/* Zone B — dense informational sections: the shared container settles quietly,
   no child-by-child motion (problems matrix, GPS rows, FAQ shell). */
.ls-anim .ls-problems .ls-reveal,
.ls-anim .ls-gps .ls-reveal,
.ls-anim .ls-faq .ls-reveal,
.ls-anim .ls-how .ls-reveal {
    transform: translateY(8px);
    transition-duration: 0.42s;
}

/* Zone C — product spotlights: one composed editorial entrance (copy + visual). */
.ls-anim .ls-showcase .ls-reveal,
.ls-anim .ls-spotlight .ls-reveal,
.ls-anim .ls-mobile .ls-reveal {
    transform: translateY(8px);
    transition-duration: 0.64s;
}

/* Zone D — money-sensitive sections: a quieter, shorter settle so financial
   information never feels animated for effect (finance, documents, pricing).
   The finance spotlight override is more specific than Zone C, so it wins. */
.ls-anim .ls-documents .ls-reveal,
.ls-anim .ls-pricing .ls-reveal,
.ls-anim .ls-spotlight:not(.ls-spotlight--light) .ls-reveal {
    transform: translateY(6px);
    transition-duration: 0.5s;
}

/* --------------------------------------------------------------------------
   Planning showcase — per-group cadence (intro → screenshot → benefits).
   The reveal settle is now handled globally by `.ls-reveal.is-visible` above,
   so the earlier section-specific settle rule was removed as redundant. These
   rules only tune duration/stagger; distances and easing stay within the
   approved zone system; opacity/transform only. */
.ls-anim .ls-showcase .ls-showcase__intro.ls-reveal { transition-duration: 0.52s; }
.ls-anim .ls-showcase .ls-shot.ls-reveal {
    transition-duration: 0.64s;
    transition-delay: 0.1s;
}
.ls-anim .ls-showcase .ls-benefits.ls-reveal {
    transition-duration: 0.48s;
    transition-delay: 0.2s;
}

/* ==========================================================================
   Zone A — Hero first-load orchestration (one restrained sequence, on load).
   Armed pre-paint via .ls-hero-anim (added only when motion is allowed), so
   there is no flash and reduced-motion / no-JS users see a static Hero.
   ========================================================================== */
@keyframes ls-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}
.ls-hero-anim .ls-header,
.ls-hero-anim .ls-hero .ls-eyebrow,
.ls-hero-anim .ls-hero__title,
.ls-hero-anim .ls-hero__lead,
.ls-hero-anim .ls-hero__cta,
.ls-hero-anim .ls-hero__reassurance,
.ls-hero-anim .ls-shots__tabs,
.ls-hero-anim .ls-shots,
.ls-hero-anim .ls-dock {
    animation: ls-rise 540ms var(--ls-ease-out) both;
}
/* Ordered, restrained stagger (~70ms); the screenshot is the final arrival */
.ls-hero-anim .ls-header            { animation-delay: 0ms; animation-duration: 500ms; }
.ls-hero-anim .ls-hero .ls-eyebrow  { animation-delay: 70ms; }
.ls-hero-anim .ls-hero__title       { animation-delay: 140ms; animation-duration: 580ms; }
.ls-hero-anim .ls-hero__lead        { animation-delay: 210ms; }
.ls-hero-anim .ls-hero__cta         { animation-delay: 285ms; }
.ls-hero-anim .ls-hero__reassurance { animation-delay: 355ms; }
.ls-hero-anim .ls-shots__tabs       { animation-delay: 425ms; }
.ls-hero-anim .ls-shots             { animation-delay: 495ms; animation-duration: 640ms; }
.ls-hero-anim .ls-dock              { animation-delay: 590ms; }

/* Button micro-lift on hover (pointer devices only) */
@media (hover: hover) {
    .ls-btn-primary:hover { transform: translateY(-1px); }
    .ls-btn-ghost {
        transition:
            background-color var(--ls-dur) var(--ls-ease),
            border-color var(--ls-dur) var(--ls-ease),
            transform var(--ls-dur) var(--ls-ease-out);
    }
    .ls-btn-ghost:hover { transform: translateY(-1px); }
}

/* Pricing card hover polish (scoped to the pricing grid) */
.ls-plans .ls-plan {
    transition:
        transform var(--ls-dur) var(--ls-ease-out),
        box-shadow var(--ls-dur) var(--ls-ease-out),
        border-color var(--ls-dur) var(--ls-ease);
}
@media (hover: hover) {
    .ls-plans .ls-plan:not(.ls-plan--featured):hover {
        transform: translateY(-4px);
        box-shadow: var(--ls-shadow-md);
        border-color: var(--ls-primary-soft-border);
    }
    .ls-plans .ls-plan--featured:hover {
        transform: translateY(-18px);
        box-shadow: 0 40px 72px -28px rgba(7, 27, 34, 0.62);
    }
}

/* ==========================================================================
   Theme toggle (sits on the dark header in both themes)
   ========================================================================== */

.ls-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--ls-radius-sm);
    border: 1px solid var(--ls-border);
    background-color: var(--ls-bg);
    color: var(--ls-text);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color var(--ls-dur) var(--ls-ease),
        border-color var(--ls-dur) var(--ls-ease);
}
.ls-theme-toggle:hover {
    background-color: var(--ls-card-bg);
    border-color: var(--ls-text-muted);
}
.ls-theme-toggle:focus-visible {
    outline: 3px solid var(--ls-focus);
    outline-offset: 2px;
}
/* Dark Mode: soft neutral surface on the navy capsule */
html[data-theme="dark"] .ls-theme-toggle {
    border-color: var(--ls-dark-border);
    background-color: var(--ls-dark-surface);
    color: var(--ls-dark-text);
}
html[data-theme="dark"] .ls-theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
}
/* Desktop instance: breathing room before the account actions */
.ls-theme-toggle--desktop { margin-right: 0.75rem; }
/* Restrained icon transition (≤180ms) */
.ls-theme-toggle .bi {
    transition:
        opacity var(--ls-dur-fast) var(--ls-ease),
        transform var(--ls-dur-fast) var(--ls-ease);
}
.ls-theme-toggle:hover .bi {
    transform: rotate(-12deg);
}

/* ==========================================================================
   Dark-theme component refinements (beyond the token remap)
   Goal: layered, alternating navy surfaces so sections don't blend together.
   Light Mode is unaffected (everything is scoped to [data-theme="dark"]).
   ========================================================================== */

/* ---- Section background alternation (deepest → raised) ----
   Hero stays deep navy; the rest alternate page / section / alt navy so no
   two adjacent sections share the same tone. (The capability dock is a
   transparent band with a floating capsule, so it needs no section tint.) */
html[data-theme="dark"] .ls-showcase {
    background-color: var(--ls-section-bg);       /* alternate navy */
}
/* .ls-spotlight (finance) keeps page-dark via --ls-bg */
html[data-theme="dark"] .ls-spotlight--light {   /* fleet */
    background-color: var(--ls-section-bg-alt);
}
html[data-theme="dark"] .ls-documents {
    background-color: var(--ls-page-bg);          /* deepest, so the panel lifts */
}
html[data-theme="dark"] .ls-gps {
    background-color: var(--ls-section-bg);        /* alternate navy */
}
html[data-theme="dark"] .ls-mobile {
    background-color: var(--ls-section-bg);        /* alternate navy under the raised panel */
}
html[data-theme="dark"] .ls-pricing {
    background-color: var(--ls-section-bg-alt);
}
html[data-theme="dark"] .ls-faq {
    background-color: var(--ls-section-bg);
}
/* .ls-problems, .ls-how, .ls-tw, .ls-cta keep page-dark (--ls-bg) — each sits
   between an alternate-navy neighbour, so separation is preserved. */

/* ---- Raised premium panels (clearly above their parent section) ---- */
html[data-theme="dark"] .ls-docpanel {
    background-color: var(--ls-surface);          /* raised above #06171d documents section */
    border-color: var(--ls-border-strong);
}
/* Fleet operations panel: raised navy surface on the dark Fleet section */
html[data-theme="dark"] .ls-oppanel {
    background: var(--ls-surface-raised);
    border-color: var(--ls-border-strong);
    box-shadow: 0 16px 34px -30px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .ls-oprow + .ls-oprow {
    border-top-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .ls-gpspanel {
    background-color: var(--ls-surface-raised);   /* clearly raised */
    border-color: var(--ls-border-strong);
}
/* GPS status chip: lightened teal stays legible on the dark panel */
html[data-theme="dark"] .ls-gpspanel__chip {
    color: var(--ls-primary-text);
    background-color: rgba(0, 201, 167, 0.16);
    border-color: var(--ls-primary-soft-border);
}
html[data-theme="dark"] .ls-journey {
    background-color: var(--ls-surface-raised);   /* raised journey panel */
    border-color: var(--ls-border-strong);
}

/* ---- Browser-style screenshot shells (shell only — never the image) ---- */
html[data-theme="dark"] .ls-shot__frame,
html[data-theme="dark"] .ls-preview__window,
html[data-theme="dark"] .ls-shots__frame {
    background-color: var(--ls-surface);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 24px 56px -28px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 201, 167, 0.05);
}
html[data-theme="dark"] .ls-shot__surface,
html[data-theme="dark"] .ls-shot__surface--img,
html[data-theme="dark"] .ls-preview__shot,
html[data-theme="dark"] .ls-shots__surface,
html[data-theme="dark"] .ls-docslider__viewport {
    background-color: var(--ls-surface);
}

/* ---- Card separation: restrained green border on hover (pointer devices) ---- */
@media (hover: hover) {
    html[data-theme="dark"] .ls-tw__card:hover,
    html[data-theme="dark"] .ls-plans .ls-plan:not(.ls-plan--featured):hover {
        border-color: rgba(0, 201, 167, 0.28);
    }
}

/* Pricing: keep Pro raised + distinct from Starter/Premium in dark */
html[data-theme="dark"] .ls-plan--featured {
    background-color: var(--ls-surface-raised);
    border-color: var(--ls-primary-soft-border);
}

/* Billing toggle: clearer active pill on dark */
html[data-theme="dark"] .ls-billing__btn.is-active {
    background-color: var(--ls-surface-raised);
    color: var(--ls-text);
}

/* FAQ open item slightly stronger tint so it stays distinct on dark */
html[data-theme="dark"] .ls-faq__item[open] {
    background-color: rgba(0, 201, 167, 0.10);
}
/* Closed-row hover needs a light tint to read on the dark accordion surface */
html[data-theme="dark"] .ls-faq__item:not([open]) .ls-faq__q:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

/* ---- Testimonial cards on dark: white → raised navy, mint → teal-tinted navy.
   The deep-navy accent (--dark) is a fixed dark color, distinct in both modes. */
html[data-theme="dark"] .ls-tw__card {
    background: var(--ls-surface-raised);
    border-color: var(--ls-border-strong);
}
html[data-theme="dark"] .ls-tw__card--tint {
    background: rgba(0, 201, 167, 0.12);
    border-color: var(--ls-primary-soft-border);
}

/* ---- Lowest-emphasis text gets the subtle tier on dark (readable hierarchy) ---- */
html[data-theme="dark"] .ls-mobile-note,
html[data-theme="dark"] .ls-gps-note,
html[data-theme="dark"] .ls-footer__copy {
    color: var(--ls-text-subtle);
}

/* ==========================================================================
   Selective theme color transition (surfaces / text / borders only).
   Applied to non-interactive surfaces that don't already animate, so we
   never clobber existing hover transitions. Disabled under reduced motion.
   ========================================================================== */
body,
.ls-dock__shell,
.ls-problems, .ls-showcase, .ls-spotlight, .ls-documents, .ls-gps,
.ls-how, .ls-mobile, .ls-pricing, .ls-tw, .ls-faq, .ls-cta,
.ls-shot__frame, .ls-shot__bar, .ls-shot__surface,
.ls-docpanel, .ls-gpspanel, .ls-cta__panel,
.ls-mobilepanel, .ls-storecard, .ls-faq__shell {
    transition:
        background-color var(--ls-dur) var(--ls-ease),
        border-color var(--ls-dur) var(--ls-ease),
        color var(--ls-dur) var(--ls-ease);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
    /* Collapsed menu opens inside the capsule — keep it integrated and tidy */
    .ls-header__actions { padding-top: 0.5rem; }
    .ls-header .navbar-collapse { padding-top: 0.35rem; padding-bottom: 0.25rem; }
    .ls-hero { padding: 3rem 0 4rem; }
    /* Reduce the preview overlap on tablet */
    .ls-preview { margin: 2.5rem auto -2.5rem; }
    .ls-shots { margin-bottom: -2.5rem; }
    /* Slightly gentler dock overlap on tablet */
    .ls-dock { margin-top: -2rem; }
    .ls-problems { padding: 4rem 0; }
    .ls-showcase { padding: 4rem 0; }
    .ls-spotlight { padding: 4rem 0; }
    .ls-documents { padding: 3.5rem 0; }
    .ls-docpanel { padding: 2rem; }
    .ls-gps { padding: 3.5rem 0; }
    .ls-gpspanel { padding: 2rem; }
    .ls-how { padding: 4rem 0; }
    .ls-mobile { padding: 3rem 0; }
    .ls-mobilepanel { padding: 2rem; }

    /* Pricing: stack cards, keep Pro emphasized but not elevated */
    .ls-pricing { padding: 4rem 0; }
    .ls-plans { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
    .ls-plan--featured { transform: none; }
    .ls-faq { padding: 4rem 0; }
    .ls-cta { padding: 4rem 0; }

    /* Testimonials: tighter section padding + narrower edge fades on tablet */
    .ls-tw { padding: 4rem 0; }
    .ls-tw__marquee::before,
    .ls-tw__marquee::after { width: clamp(40px, 8vw, 120px); }
}

@media (max-width: 767.98px) {
    /* Tighter floating-capsule spacing on mobile */
    .ls-header { padding: 0.6rem 0.75rem 0; }
    .ls-header.is-scrolled .ls-header__shell { transform: translateY(-0.2rem); } /* gentler tighten on mobile */
    .ls-header__shell { border-radius: 16px; padding-inline: 0.75rem; }
    /* Simplify decorative background on small screens */
    .ls-hero__lines,
    .ls-hero__dots { display: none; }

    /* Pain row list: tighter padding + hide the trailing chevron on small screens */
    .ls-painrow { padding: 1.05rem 1.1rem; gap: 0.85rem; }
    .ls-painrow__chev { display: none; }
    .ls-problems__accent { margin-top: 1.25rem; }

    /* Capability dock: keep ONE shared container, stack three compact rows */
    .ls-dock__shell { flex-direction: column; align-items: stretch; }
    .ls-dock__item {
        justify-content: flex-start;
        padding: 0.9rem 1.1rem;
    }
    /* Separators become horizontal rules between the stacked rows */
    .ls-dock__item + .ls-dock__item {
        border-left: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }
    html[data-theme="dark"] .ls-dock__item + .ls-dock__item {
        border-left-color: transparent;
        border-top-color: rgba(255, 255, 255, 0.10);
    }

    /* Hide the decorative rail so the main panel uses the full width */
    .ls-preview__rail { display: none; }
    .ls-preview__main { padding: 1.25rem; }

    /* Hero: smaller H1 + horizontally scrollable tab selector on mobile */
    .ls-hero__title {
        font-size: clamp(2.15rem, 10vw, 3.15rem);
        line-height: 1.06;
    }
    /* Let the line spans return to natural inline flow on mobile */
    .ls-hero__title-line { display: inline; }
    .ls-shots__tabs {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }
    /* No auto-rotation on mobile → hide the progress line */
    .ls-shots__tab::after { display: none; }

    /* Stack the three benefit points cleanly */
    .ls-benefits { grid-template-columns: 1fr; gap: 1rem; }

    /* Testimonials: mobile uses one manually swipeable row, no auto-motion */
    .ls-tw__marquee { gap: 0; }
    .ls-tw__marquee::before,
    .ls-tw__marquee::after { display: none; } /* no fade over a manual scroll row */
    .ls-tw__row--2 { display: none; }         /* avoid two rows on small screens */
    .ls-tw__row { overflow: visible; }
    .ls-tw__track {
        animation: none;
        width: auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding-bottom: 0.5rem;
    }
    .ls-tw__group[aria-hidden="true"] { display: none; } /* hide duplicated loop copy */
    .ls-tw__group {
        margin-left: 0; /* reset desktop brick offset */
        padding-right: 0;
        padding-inline: 1.25rem; /* comfortable edge padding for the scroll row */
    }
    /* Readable card width close to the viewport; uniform on the swipe row */
    .ls-tw__card,
    .ls-tw__card--wide,
    .ls-tw__card--narrow {
        width: min(84vw, 380px);
        min-height: 0;
        scroll-snap-align: start;
    }
}

@media (max-width: 575.98px) {
    .ls-preview__cards { grid-template-columns: 1fr; }
    .ls-chip { display: none; } /* avoid clutter on small screens */

    /* Remove the overlap on very narrow screens to keep spacing clean */
    .ls-preview { margin: 2rem auto 0; }
    .ls-shots { margin: 1.5rem auto 0; }
    .ls-shots__tabs { margin-top: 1.5rem; }
    /* Screenshot no longer dips here → drop the overlap, just a tidy gap */
    .ls-dock { margin-top: 0; padding-top: 1.5rem; }

    .ls-problems { padding: 3rem 0; }
    .ls-spotlight { padding: 3rem 0; }
    .ls-documents { padding: 3rem 0; }
    .ls-docpanel { padding: 1.5rem; }
    .ls-gps { padding: 3rem 0; }
    .ls-gpspanel { padding: 1.5rem; }
    .ls-how { padding: 3rem 0; }
    .ls-mobile { padding: 3rem 0; }
    .ls-mobilepanel { padding: 1.5rem; }

    .ls-pricing { padding: 3rem 0; }
    .ls-plan { padding: 1.75rem 1.5rem; }
    .ls-pricing__trust { gap: 0.75rem 1.25rem; }
    .ls-faq { padding: 3rem 0; }
    .ls-faq__intro { padding: 2rem; }
    .ls-faq__panel { padding: 0.75rem 1.25rem; }
    .ls-tw { padding: 3rem 0; }
    .ls-cta { padding: 3rem 0; }
    .ls-cta__panel { padding: 2.5rem 1.25rem; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-delay: 0s !important; /* never hold an entrance in its hidden start state */
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    /* Keep the testimonial tracks static (no horizontal auto-scroll), even if the
       in-view class is applied. */
    .ls-tw__track,
    .ls-tw.is-marquee-active .ls-tw__track {
        animation: none !important;
        transform: none !important;
    }
    /* Never hide content behind scroll-reveal or the Hero entrance under reduced motion */
    .ls-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .ls-hero-anim .ls-header,
    .ls-hero-anim .ls-hero .ls-eyebrow,
    .ls-hero-anim .ls-hero__title,
    .ls-hero-anim .ls-hero__lead,
    .ls-hero-anim .ls-hero__cta,
    .ls-hero-anim .ls-hero__reassurance,
    .ls-hero-anim .ls-shots__tabs,
    .ls-hero-anim .ls-shots,
    .ls-hero-anim .ls-dock {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    /* No Hero auto-rotation progress line under reduced motion */
    .ls-shots__tab::after {
        display: none !important;
        animation: none !important;
    }
}
