/* ─────────────────────────────────────────────────────────────────────────
   EcoStat Landing — Apple 2026 skin
   Слой поверх app.css: только визуальный язык (типографика, радиусы, тени,
   стекло, ритм секций, motion). Все интерактивные классы/атрибуты, которыми
   управляет landing_showcase.js (is-active, is-dim, is-open, lp-showcase--in,
   lp-live-row--*, keyframes lpHero*), не переопределяются и не переименовываются.
   Каждое правило скопировано под body.landing-page, чтобы гарантированно
   выигрывать у одноклассовых селекторов app.css и не затрагивать другие
   страницы приложения.
   ───────────────────────────────────────────────────────────────────────── */

body.landing-page {
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --lp-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
    /* Approximates a Material 3 "expressive" spring (stiffness 380,
       damping 0.7): a touch of overshoot, then settle — used only on
       opaque data surfaces, where a tactile bounce reads as confident
       rather than decorative. */
    --lp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --lp-radius-xl: 32px;
    --lp-radius-lg: 24px;
    --lp-radius-md: 18px;
    --lp-radius-sm: 12px;
    --lp-shadow-1: 0 1px 1px rgba(15, 23, 42, 0.03), 0 8px 24px -12px rgba(15, 23, 42, 0.14);
    --lp-shadow-2: 0 1px 1px rgba(15, 23, 42, 0.04), 0 24px 64px -20px rgba(15, 23, 42, 0.22);
    --lp-shadow-accent: 0 20px 50px -18px rgba(var(--accent-rgb), 0.45);
    --lp-glass-bg: rgba(255, 255, 255, 0.7);
    --lp-glass-border: rgba(255, 255, 255, 0.55);
    --lp-hairline: rgba(15, 23, 42, 0.08);
    --lp-band: #f7faf9;
    --lp-content-max: 1400px;
    overflow-x: clip;
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Same global `button:not(.btn)...` reset (see the channel-bar comment
   further down) silently flattens every other plain <button> on this page
   to a neutral white/dark look, wiping out their intended transparent
   backgrounds and accent-colored text. Restoring the values app.css itself
   defines for these classes — narrowly scoped and !important for the same
   specificity reason. */
body.landing-page .landing-header__burger {
    background: transparent !important;
}

body.landing-page .lp-modal__close {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}

body.landing-page .lp-modal__close:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
}

body.landing-page .lp-modal__link {
    background: none !important;
    color: var(--accent) !important;
}

body.landing-page .lp-modal__link:hover {
    color: var(--accent-hover) !important;
}

body.landing-page .lp-modal__back {
    background: none !important;
    color: var(--muted) !important;
}

body.landing-page .lp-modal__back:hover {
    color: var(--accent) !important;
}

/* ── Nav: edge-to-edge frosted bar ─────────────────────────────────────── */
body.landing-page .landing-header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(1.8) blur(20px);
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
    border-bottom: 1px solid var(--lp-hairline);
    transition: background 0.3s var(--lp-ease);
}

body.landing-page .landing-header__inner {
    padding-block: 0.7rem;
}

body.landing-page .landing-header-brand {
    font-weight: 700;
    letter-spacing: -0.03em;
    transition: opacity 0.15s var(--lp-ease);
}

body.landing-page .landing-header-brand:hover { opacity: 0.72; }

body.landing-page .landing-header__nav-anchor {
    font-weight: 500;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    border-bottom: none;
}

body.landing-page .landing-header__nav-anchor:hover {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text);
    border-bottom: none;
}

body.landing-page .landing-header__nav-auth .landing-header__nav-cta {
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: var(--accent);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s var(--lp-ease), box-shadow 0.2s var(--lp-ease), background 0.2s var(--lp-ease);
}

body.landing-page .landing-header__nav-auth .landing-header__nav-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb), 0.55);
    transform: translateY(-1px);
    text-decoration: none;
}

body.landing-page .landing-header__nav-auth .landing-header__nav-login {
    font-weight: 600;
    padding: 0.5rem 0.6rem;
    border-radius: 999px;
}

body.landing-page .landing-header__nav-auth .landing-header__nav-login:hover {
    background: rgba(15, 23, 42, 0.05);
    text-decoration: none;
}

/* ── Section rhythm: generous whitespace, no hard divider lines ───────── */
body.landing-page .lp-features,
body.landing-page .lp-ecosystem,
body.landing-page .lp-pricing,
body.landing-page .lp-showcase,
body.landing-page .lp-connect {
    border-top: none;
    padding-block: clamp(4.5rem, 8vw, 7.5rem);
    position: relative;
}

/* Full-bleed bands: фон на всю ширину экрана, контент в той же колонке */
body.landing-page .lp-showcase,
body.landing-page .lp-connect,
body.landing-page .lp-pricing {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: max(
        var(--content-pad-inline),
        calc((100vw - var(--lp-content-max)) / 2 + var(--content-pad-inline))
    );
    overflow: hidden;
}

body.landing-page .lp-showcase,
body.landing-page .lp-connect {
    background: var(--lp-band);
}

body.landing-page .lp-pricing {
    background: #fff;
}

body.landing-page .lp-features::before,
body.landing-page .lp-ecosystem::before,
body.landing-page .lp-pricing::before,
body.landing-page .lp-showcase::before,
body.landing-page .lp-connect::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--lp-hairline) 20%, var(--lp-hairline) 80%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

body.landing-page .lp-features__title,
body.landing-page .lp-ecosystem__title,
body.landing-page .lp-pricing__title,
body.landing-page .lp-showcase__title,
body.landing-page .lp-connect__title {
    font-size: clamp(1.6rem, 3.6vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

body.landing-page .lp-features__sub,
body.landing-page .lp-ecosystem__lead,
body.landing-page .lp-pricing__lead,
body.landing-page .lp-showcase__lead {
    font-size: 1.02rem;
    line-height: 1.6;
}

/* ── Hero: big Apple-scale type + ambient glow ─────────────────────────── */
body.landing-page .lp-hero {
    position: relative;
    padding-block: 1.5rem clamp(3rem, 7vw, 5rem);
    gap: clamp(2rem, 5vw, 4rem);
    isolation: isolate;
}

body.landing-page .lp-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -8rem;
    left: 50%;
    width: min(90vw, 1100px);
    height: 720px;
    transform: translateX(-50%);
    background:
        radial-gradient(38% 45% at 22% 30%, rgba(var(--accent-rgb), 0.16), transparent 70%),
        radial-gradient(32% 40% at 78% 15%, rgba(37, 99, 235, 0.10), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

body.landing-page .lp-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.09);
    color: var(--accent-hover);
    margin-bottom: 1.1rem;
}

body.landing-page .lp-hero__title {
    font-size: clamp(2.35rem, 5.4vw, 4.1rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-wrap: balance;
}

body.landing-page .lp-hero__desc {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.65;
    color: var(--muted);
}

body.landing-page .lp-hero__bullets li {
    font-size: 0.95rem;
}

body.landing-page .lp-hero__actions {
    margin-top: 0.5rem;
}

body.landing-page .lp-hero__actions .btn,
body.landing-page .lp-btn-primary {
    padding: 0.85rem 1.9rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 14px 32px -10px rgba(var(--accent-rgb), 0.5);
    transition: transform 0.2s var(--lp-ease), box-shadow 0.2s var(--lp-ease), filter 0.2s var(--lp-ease);
}

body.landing-page .lp-hero__actions .btn:hover,
body.landing-page .lp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -12px rgba(var(--accent-rgb), 0.6);
    filter: brightness(1.03);
}

body.landing-page .lp-btn-ghost {
    font-weight: 600;
    padding: 0.85rem 0.4rem;
}

/* Hero mockup card — a real Liquid Glass pane: translucent shell that
   refracts the ambient gradient behind it, with a specular highlight sweep
   and a luminous edge. The DATA inside (KPI numbers, chart) stays on solid
   backgrounds further down — glass is for the chrome, never for the numbers
   people need to read at a glance. */
body.landing-page .lp-mockup {
    position: relative;
    border-radius: var(--lp-radius-lg);
    background: rgba(255, 255, 255, 0.66);
    backdrop-filter: saturate(1.9) blur(22px);
    -webkit-backdrop-filter: saturate(1.9) blur(22px);
    border: 1px solid var(--lp-glass-border);
    box-shadow: var(--lp-shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    max-width: 420px;
    overflow: hidden;
    animation: lpAppleFloat 7s var(--lp-ease-soft) infinite;
}

/* Specular highlight — the signature Liquid Glass cue: a soft diagonal
   sheen sitting on the pane, distinct from a flat drop shadow. */
body.landing-page .lp-mockup::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0) 26%,
        rgba(255, 255, 255, 0) 74%,
        rgba(255, 255, 255, 0.32) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

@keyframes lpAppleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Status strip — replaces the stock "macOS window" cliché with something
   that actually says what the panel is: a live demo feed. */
body.landing-page .lp-mockup__status {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.landing-page .lp-mockup__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55);
    animation: lpStatusPulse 2.2s ease-out infinite;
}

@keyframes lpStatusPulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
    70% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

body.landing-page .lp-mockup__body {
    position: relative;
    padding: 1rem 1.1rem 1.15rem;
}

body.landing-page .lp-mockup--feed {
    max-width: 440px;
}

body.landing-page .lp-mockup__stage {
    position: relative;
    min-height: 280px;
}

body.landing-page .lp-mockup--feed .lp-mockup__chart {
    margin-bottom: 0;
    min-height: 168px;
    border-radius: var(--lp-radius-sm);
    background: linear-gradient(180deg, #fafffd 0%, #f2f9f6 100%);
    overflow: hidden;
}

body.landing-page .lp-mockup--feed .lp-mockup__chart-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(22, 152, 115, 0.12);
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
}

body.landing-page .lp-mockup__toasts {
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    pointer-events: none;
    z-index: 3;
}

body.landing-page .lp-toast {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.35s var(--lp-ease), transform 0.4s var(--lp-ease-spring);
    backdrop-filter: blur(8px);
}

body.landing-page .lp-toast.is-in {
    opacity: 1;
    transform: none;
}

body.landing-page .lp-toast.is-out {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
}

body.landing-page .lp-toast__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.2rem 0.4rem;
    border-radius: 7px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(22, 152, 115, 0.12);
    color: #0f766e;
}

body.landing-page .lp-toast--cpl .lp-toast__badge {
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
}

body.landing-page .lp-toast--ai .lp-toast__badge {
    background: #0f172a;
    color: #6ee7b7;
}

body.landing-page .lp-toast--ai {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: transparent;
    color: #e2e8f0;
}

body.landing-page .lp-toast--ai .lp-toast__title {
    color: #f8fafc;
}

body.landing-page .lp-toast--ai .lp-toast__text {
    color: rgba(226, 232, 240, 0.78);
}

body.landing-page .lp-toast__body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

body.landing-page .lp-toast__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text);
    line-height: 1.25;
}

body.landing-page .lp-toast__text {
    font-size: 0.7rem;
    line-height: 1.35;
    color: var(--muted);
}

body.landing-page .lp-mockup__foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

body.landing-page .lp-mockup__foot-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

body.landing-page .lp-mockup__foot-item span {
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

body.landing-page .lp-mockup__foot-item strong {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page .lp-mockup { animation: none; }
    body.landing-page .lp-toast {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* One big featured number — legacy headline (kept for other mocks) — */
body.landing-page .lp-mockup__headline {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 1rem;
}

body.landing-page .lp-mockup__headline-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
}

body.landing-page .lp-mockup__headline-val {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, var(--accent-hover), var(--accent) 55%, #4ecba8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Supporting stats as a ticker strip, not more boxes. */
body.landing-page .lp-mockup__ticker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1rem;
}

body.landing-page .lp-mockup__ticker-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0 0.75rem;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}

body.landing-page .lp-mockup__ticker-item:first-child {
    padding-left: 0;
    border-left: none;
}

body.landing-page .lp-mockup__ticker-val {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

body.landing-page .lp-mockup__ticker-label {
    font-size: 0.66rem;
    color: var(--muted);
}

body.landing-page .lp-mockup__chart {
    border-radius: var(--lp-radius-sm);
    background: linear-gradient(180deg, #fafffd 0%, #f2f9f6 100%);
}

/* Channel mix as a slim ranked bar instead of a bulleted list. */
body.landing-page .lp-mockup__channels {
    margin-top: 0.85rem;
}

body.landing-page .lp-mockup__channels-label {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

body.landing-page .lp-mockup__channels-bar {
    display: flex;
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    gap: 2px;
}

body.landing-page .lp-mockup__channels-bar span {
    display: block;
    min-width: 3px;
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page .lp-mockup { animation: none; }
}

/* ── Cards: feature / ecosystem / pricing planks ───────────────────────── */
body.landing-page .lp-price-card,
body.landing-page .lp-ecosystem__card,
body.landing-page .lp-viz-card,
body.landing-page .lp-metric-tile {
    border-radius: var(--lp-radius-md);
    border-color: var(--lp-hairline);
    box-shadow: var(--lp-shadow-1);
    transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease), border-color 0.35s var(--lp-ease);
}

body.landing-page .lp-price-card:hover,
body.landing-page .lp-ecosystem__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-2);
    border-color: rgba(var(--accent-rgb), 0.35);
}

body.landing-page .lp-price-card--featured {
    border-color: rgba(var(--accent-rgb), 0.5);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.14), var(--lp-shadow-accent);
    transform: scale(1.02);
}

body.landing-page .lp-price-card--featured:hover {
    transform: scale(1.02) translateY(-4px);
}

body.landing-page .lp-price-card__badge,
body.landing-page .lp-ecosystem__tag,
body.landing-page .lp-feat__tag {
    border-radius: 999px;
}

body.landing-page .lp-price-card__cta,
body.landing-page .lp-price-card__cta--accent {
    border-radius: 999px;
    font-weight: 600;
    padding-block: 0.7rem;
    transition: transform 0.2s var(--lp-ease), box-shadow 0.2s var(--lp-ease), filter 0.2s var(--lp-ease);
}

body.landing-page .lp-price-card__cta:hover {
    transform: translateY(-1px);
}

body.landing-page .lp-price-card__cta--accent {
    box-shadow: 0 12px 28px -10px rgba(var(--accent-rgb), 0.5);
}

body.landing-page .lp-price-card__cta--accent:hover {
    box-shadow: 0 18px 36px -10px rgba(var(--accent-rgb), 0.58);
}

/* ── Showcase: live desk, ads carousel, drawer ─────────────────────────── */
body.landing-page .lp-live-desk,
body.landing-page .lp-live-ads,
body.landing-page .lp-live-table-wrap,
body.landing-page .lp-live-drawer {
    border-radius: var(--lp-radius-lg);
}

body.landing-page .lp-mock-ad {
    border-radius: var(--lp-radius-sm);
}

body.landing-page .lp-modal {
    position: relative;
    border-radius: var(--lp-radius-lg);
    background: var(--lp-glass-bg);
    backdrop-filter: saturate(1.6) blur(24px);
    -webkit-backdrop-filter: saturate(1.6) blur(24px);
    border: 1px solid var(--lp-glass-border);
    box-shadow: var(--lp-shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    /* No overflow:hidden here: app.css relies on overflow-y:auto so long
       forms can scroll inside the modal on short viewports. The sheen
       below carries its own border-radius instead of depending on the
       container clipping it. */
}

/* Specular highlight, pinned to the modal frame (not the scrollable
   content) so it reads as part of the glass, not as page furniture. */
body.landing-page .lp-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--lp-radius-lg);
    background: linear-gradient(115deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 22%,
        rgba(255, 255, 255, 0) 78%,
        rgba(255, 255, 255, 0.22) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce), (prefers-contrast: more) {
    body.landing-page .lp-modal {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    body.landing-page .lp-modal::before {
        display: none;
    }
}

body.landing-page .lp-modal__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    font-weight: 600;
    padding-block: 0.75rem;
    overflow: hidden;
}

body.landing-page .lp-modal__submit-arrow {
    display: inline-flex;
    transition: transform 0.25s var(--lp-ease);
}

body.landing-page .lp-modal__submit:hover .lp-modal__submit-arrow {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page .lp-modal__submit:hover .lp-modal__submit-arrow {
        transform: none;
    }
}

body.landing-page .lp-modal-backdrop {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(15, 23, 42, 0.35);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
body.landing-page .landing-footer {
    border-top: 1px solid var(--lp-hairline);
    background: linear-gradient(180deg, #fbfcfd 0%, #fff 40%);
}

/* ── Reveal-on-scroll (additive, non-breaking) ─────────────────────────── */
body.landing-page [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--lp-ease), transform 0.7s var(--lp-ease);
}

body.landing-page [data-reveal].lp-reveal--in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Showcase widgets: funnel, channel bar, sparkline, live desk ───────── */

/* These three cards carry real numbers (funnel counts, channel %, trend) —
   deliberately opaque and crisp, never glass: the Liquid Glass reference
   is explicit that translucency degrades scanability on data surfaces. The
   personality here comes from motion instead — a small spring overshoot on
   hover, the M3 Expressive answer to the same "make it feel alive" brief. */
/* One welded "console" instead of three separate cards: a single opaque
   frame with the three views as internal, divided columns. Reads as one
   instrument panel with three readouts, not a generic 3-up card grid. */
body.landing-page .lp-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border: 1px solid var(--lp-hairline);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-1);
    overflow: hidden;
}

body.landing-page .lp-viz-card {
    position: relative;
    background: none;
    border-radius: 0;
    box-shadow: none;
    border-left: 1px solid var(--lp-hairline);
    transition: background 0.3s var(--lp-ease);
}

body.landing-page .lp-viz-card:first-child {
    border-left: none;
}

body.landing-page .lp-viz-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, #4ecba8 55%, transparent 100%);
    opacity: 0.55;
    transition: opacity 0.3s var(--lp-ease);
}

body.landing-page .lp-viz-card:hover {
    background: rgba(var(--accent-rgb), 0.028);
}

body.landing-page .lp-viz-card:hover::before {
    opacity: 1;
}

@media (max-width: 1024px) {
    body.landing-page .lp-showcase__grid {
        grid-template-columns: 1fr;
    }
    body.landing-page .lp-viz-card {
        border-left: none;
        border-top: 1px solid var(--lp-hairline);
    }
    body.landing-page .lp-viz-card:first-child {
        border-top: none;
    }
}

body.landing-page .lp-viz-card__eyebrow {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.1);
    letter-spacing: 0.08em;
}

/* Funnel — glossy pill tiers */
body.landing-page .lp-demo-funnel__tier {
    border-radius: 999px;
    min-height: 40px;
    box-shadow: 0 8px 20px -8px rgba(22, 152, 115, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    background: linear-gradient(90deg, #169873, #3dc49a);
}

body.landing-page .lp-demo-funnel__tier--accent {
    background: linear-gradient(90deg, #0d6e52, #169873 60%, #4ecba8);
    box-shadow: 0 10px 26px -8px rgba(22, 152, 115, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

body.landing-page .lp-demo-funnel__tier strong {
    font-variant-numeric: tabular-nums;
}

/* Channel segmented bar — taller, rounder, softer active state.
   The !importants below are load-bearing, not decoration: app.css has a
   global reset `button:not(.btn):not(.btn-secondary)...` (8 chained :not()
   clauses) whose specificity outranks the plain `.lp-demo-channels__seg
   :nth-child(n)` color rules, so every segment was rendering as a plain
   white/neutral button instead of its channel color — a pre-existing bug,
   not something this redesign introduced. */
body.landing-page .lp-demo-channels__stack {
    border-radius: var(--lp-radius-sm);
    border-color: rgba(var(--accent-rgb), 0.16);
    box-shadow: var(--lp-shadow-1);
}

body.landing-page .lp-demo-channels__seg {
    appearance: none;
    -webkit-appearance: none;
    padding-block: 0.85rem;
    color: #fff !important;
    font-variant-numeric: tabular-nums;
    transition: filter 0.25s var(--lp-ease), transform 0.25s var(--lp-ease), opacity 0.25s var(--lp-ease);
}

body.landing-page .lp-demo-channels__seg:nth-child(1) { background: var(--accent) !important; }
body.landing-page .lp-demo-channels__seg:nth-child(2) { background: #ea580c !important; }
body.landing-page .lp-demo-channels__seg:nth-child(3) { background: #2563eb !important; }
body.landing-page .lp-demo-channels__seg:nth-child(4) { background: #64748b !important; }

body.landing-page .lp-demo-channels__seg:first-child {
    border-radius: calc(var(--lp-radius-sm) - 1px) 0 0 calc(var(--lp-radius-sm) - 1px);
}

body.landing-page .lp-demo-channels__seg:last-child {
    border-radius: 0 calc(var(--lp-radius-sm) - 1px) calc(var(--lp-radius-sm) - 1px) 0;
}

body.landing-page .lp-demo-channels__seg.is-active {
    box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.65), inset 0 12px 18px -10px rgba(255, 255, 255, 0.35);
}

body.landing-page .lp-demo-ch-chip {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.25s var(--lp-ease), border-color 0.25s var(--lp-ease), transform 0.25s var(--lp-ease);
}

body.landing-page .lp-demo-channels__legend li.is-active .lp-demo-ch-chip {
    transform: translateY(-1px);
    box-shadow: 0 0 0 2px var(--c), 0 10px 22px -6px rgba(15, 23, 42, 0.2);
}

/* Sparkline — glow line on a glass tile */
body.landing-page .lp-demo-spark-wrap {
    border-radius: var(--lp-radius-md);
    padding: 1rem 1.1rem 0.6rem;
    background: linear-gradient(165deg, #fff 0%, #f7fdfb 100%);
    border: 1px solid var(--lp-hairline);
}

body.landing-page .lp-demo-spark__line {
    filter: drop-shadow(0 3px 8px rgba(22, 152, 115, 0.45));
}

/* Live desk: one welded console (status strip + the two panels below),
   matching the hero mockup and the funnel/channel/spark console — same
   family, same rule. The ad rotator is illustrative chrome, so it gets
   glass; the table is real (well, demo-real) row data, so it stays opaque
   and crisp. Two materials, one shared frame. */
body.landing-page .lp-live-console {
    background: #fff;
    border: 1px solid var(--lp-hairline);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-1);
    overflow: hidden;
}

body.landing-page .lp-live-console__status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
    border-bottom: 1px solid var(--lp-hairline);
}

body.landing-page .lp-live-console__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: lpStatusPulse 2.2s ease-out infinite;
}

body.landing-page .lp-live-desk {
    padding: 1rem;
}

body.landing-page .lp-live-desk__viz {
    position: relative;
    border-radius: var(--lp-radius-md);
    border: 1px solid var(--lp-glass-border);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: saturate(1.8) blur(18px);
    -webkit-backdrop-filter: saturate(1.8) blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

body.landing-page .lp-live-desk__viz::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0) 70%,
        rgba(255, 255, 255, 0.28) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

body.landing-page .lp-live-ads__eyebrow,
body.landing-page .lp-live-ads__viewport {
    position: relative;
}

/* The ad mock is small and centered inside a tall stretched panel (matches
   the table's height); a faint dot-grid + glow gives the empty glass room
   around it a deliberate "stage" read instead of looking unfinished. */
body.landing-page .lp-live-ads__viewport {
    border-radius: var(--lp-radius-sm);
    border-color: rgba(255, 255, 255, 0.5);
    background:
        radial-gradient(60% 55% at 50% 50%, rgba(var(--accent-rgb), 0.09), transparent 72%),
        radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
    background-size: auto, 16px 16px;
    background-position: center, center;
}

/* The data table: solid, opaque, no blur anywhere near a number. */
body.landing-page .lp-live-table-wrap {
    background: #fff;
    border-radius: var(--lp-radius-md);
    border-color: var(--lp-hairline);
}

body.landing-page .lp-live-drawer {
    border-radius: var(--lp-radius-md);
    border-color: var(--lp-hairline);
}

/* A feed of rows, not a spreadsheet: same <table>/<tr>/<td> markup (so the
   ticking/insert/flash JS keeps working untouched), laid out with CSS grid
   so each lead reads as one scannable line rather than four ruled columns. */
body.landing-page .lp-live-table {
    display: block;
}

body.landing-page .lp-live-table thead,
body.landing-page .lp-live-table tbody {
    display: block;
    width: 100%;
}

body.landing-page .lp-live-table thead tr,
body.landing-page .lp-live-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr) auto auto;
    align-items: center;
    column-gap: 0.85rem;
}

body.landing-page .lp-live-table th,
body.landing-page .lp-live-table td {
    display: flex;
    align-items: center;
    min-width: 0;
}

body.landing-page .lp-live-table__time {
    justify-content: flex-end;
    width: auto;
}

body.landing-page .lp-live-table thead th {
    background: rgba(15, 23, 42, 0.03);
    backdrop-filter: saturate(1.4) blur(6px);
}

body.landing-page .lp-live-table tbody tr {
    border-radius: var(--lp-radius-sm);
    transition: background 0.2s var(--lp-ease);
}

body.landing-page .lp-live-table tbody tr:hover {
    background: rgba(var(--accent-rgb), 0.05);
}

body.landing-page .lp-live-table tbody tr:hover td {
    background: transparent;
}

body.landing-page .lp-live-table__name {
    font-weight: 700;
}

@media (max-width: 640px) {
    body.landing-page .lp-live-table thead tr,
    body.landing-page .lp-live-table tbody tr {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }
}

/* Reassert app.css's contact-column hide on very small screens: our
   unconditional `td { display: flex }` above outranks their scoped
   `:nth-child(2) { display: none }` at equal specificity by load order,
   so it has to be repeated here to keep working below 480px. */
@media (max-width: 480px) {
    body.landing-page .lp-live-table thead th:nth-child(2),
    body.landing-page .lp-live-table tbody td:nth-child(2) {
        display: none;
    }
}

body.landing-page .lp-live-ch {
    border-radius: 999px;
}

body.landing-page .lp-mock-ad {
    border-radius: var(--lp-radius-sm);
    box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.16);
}

/* Metric tiles — glass, gradient numerals */
body.landing-page .lp-showcase__metrics {
    border-top: none;
    position: relative;
}

body.landing-page .lp-showcase__metrics::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lp-hairline) 30%, var(--lp-hairline) 70%, transparent);
}

body.landing-page .lp-metric-tile {
    border-radius: var(--lp-radius-md);
    border-color: var(--lp-hairline);
    box-shadow: var(--lp-shadow-1);
    transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease);
}

body.landing-page .lp-metric-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-2);
}

body.landing-page .lp-metric-tile__value {
    font-size: 1.4rem;
    background: linear-gradient(120deg, var(--accent-hover), var(--accent) 55%, #4ecba8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

/* ── Button press feedback (purposeful micro-interaction) ──────────────── */
body.landing-page .btn,
body.landing-page .lp-price-card__cta,
body.landing-page .landing-header__nav-auth .landing-header__nav-cta,
body.landing-page .lp-demo-channels__seg,
body.landing-page .lp-modal__close {
    transition: transform 0.15s var(--lp-ease), box-shadow 0.2s var(--lp-ease), filter 0.2s var(--lp-ease), background 0.2s var(--lp-ease);
}

body.landing-page .btn:active,
body.landing-page .lp-price-card__cta:active,
body.landing-page .landing-header__nav-auth .landing-header__nav-cta:active,
body.landing-page .lp-demo-channels__seg:active,
body.landing-page .lp-modal__close:active {
    transform: scale(0.97);
}

/* Ad carousel: slower, calmer crossfade (content changes on its own cadence) */
body.landing-page .lp-live-ads__item {
    transition: opacity 0.5s var(--lp-ease), transform 0.5s var(--lp-ease);
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page .btn:active,
    body.landing-page .lp-price-card__cta:active,
    body.landing-page .landing-header__nav-auth .landing-header__nav-cta:active,
    body.landing-page .lp-demo-channels__seg:active,
    body.landing-page .lp-modal__close:active {
        transform: none;
    }
}

/* ── Small screens: tighten the extra vertical rhythm ──────────────────── */
@media (max-width: 640px) {
    body.landing-page .lp-features,
    body.landing-page .lp-ecosystem,
    body.landing-page .lp-pricing,
    body.landing-page .lp-showcase,
    body.landing-page .lp-connect {
        padding-block: 3rem;
    }

    body.landing-page .lp-price-card--featured {
        transform: none;
    }

    body.landing-page .lp-price-card--featured:hover {
        transform: translateY(-4px);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Showcase v3 — bento dashboard + live feed (new markup: .dash*, .feed*)
   Data surfaces stay opaque and crisp (Liquid Glass rule); personality
   comes from layout (asymmetric bento) and motion (spring reveals).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Bento grid ── */
body.landing-page .dash {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

body.landing-page .dash-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--lp-hairline);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-1);
    padding: 1.35rem 1.4rem;
    box-sizing: border-box;
    transition: box-shadow 0.35s var(--lp-ease), transform 0.4s var(--lp-ease-spring);
}
body.landing-page .dash-tile:hover {
    box-shadow: var(--lp-shadow-2);
    transform: translateY(-3px);
}
body.landing-page .dash-tile--funnel { grid-column: span 2; grid-row: span 2; }
body.landing-page .dash-tile--channels { grid-column: span 2; }
body.landing-page .dash-tile--trend { grid-column: span 1; }
body.landing-page .dash-tile--pulse { grid-column: span 1; }

body.landing-page .dash-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.24rem 0.66rem;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-hover);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
body.landing-page .dash-tile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
body.landing-page .dash-tile__hint {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
}
body.landing-page .dash-tile__title {
    margin: 0.7rem 0 1.15rem;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
    line-height: 1.25;
}

/* ── Funnel (legacy bars kept for reduced-motion fallbacks) ── */
body.landing-page .dash-funnel {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
}
body.landing-page .dash-funnel__row {
    display: grid;
    grid-template-columns: minmax(84px, 104px) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.85rem;
}
body.landing-page .dash-funnel__name {
    grid-column: 1;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}
body.landing-page .dash-funnel__bar {
    grid-column: 2;
    position: relative;
    height: 16px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.1);
    overflow: hidden;
}
body.landing-page .dash-funnel__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--w);
    border-radius: 999px;
    background: linear-gradient(90deg, #169873, #3dc49a);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.9s var(--lp-ease-spring);
    transition-delay: calc(0.1s * var(--i));
}
body.landing-page .dash-funnel__row--goal .dash-funnel__bar::after {
    background: linear-gradient(90deg, #0d6e52, #169873 55%, #4ecba8);
    box-shadow: 0 4px 14px -4px rgba(var(--accent-rgb), 0.6);
}
body.landing-page .dash.is-in .dash-funnel__bar::after { transform: scaleX(1); }
body.landing-page .dash-funnel__val {
    grid-column: 3;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    min-width: 2.6rem;
    text-align: right;
}

/* ── Lead DNA: keyword → CPL → AI tip (dynamic) ── */
body.landing-page .dash-tile--lead {
    gap: 0;
    min-height: 0;
}
body.landing-page .dash-tile--lead .dash-tile__title {
    margin-bottom: 0.95rem;
}
body.landing-page .dash-lead {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: auto;
    flex: 1;
}
body.landing-page .dash-lead__pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: #169873;
    box-shadow: 0 0 0 0 rgba(22, 152, 115, 0.45);
    animation: lpStatusPulse 2.2s ease-out infinite;
    vertical-align: 0.05em;
}
body.landing-page .dash-lead__path {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}
body.landing-page .dash-lead__step {
    display: grid;
    grid-template-columns: 7.2rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: baseline;
    padding: 0.42rem 0.55rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateX(-8px);
    transition:
        opacity 0.45s var(--lp-ease),
        transform 0.5s var(--lp-ease-spring),
        background 0.25s ease,
        border-color 0.25s ease;
    transition-delay: calc(0.08s * var(--i, 0));
}
body.landing-page .dash.is-in .dash-lead__step {
    opacity: 1;
    transform: none;
}
body.landing-page .dash-lead__step:nth-child(2) {
    background: rgba(var(--accent-rgb), 0.07);
    border-color: rgba(var(--accent-rgb), 0.18);
}
body.landing-page .dash-lead__step-k {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
body.landing-page .dash-lead__step-v {
    font-size: 0.84rem;
    font-weight: 650;
    color: var(--text);
    letter-spacing: -0.015em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.landing-page .dash-lead__step-v--key {
    color: #0d6e52;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    font-weight: 600;
}
body.landing-page .dash-lead.is-swap .dash-lead__step-v,
body.landing-page .dash-lead.is-swap .dash-lead__cpl-num,
body.landing-page .dash-lead.is-swap .dash-lead__ai-text,
body.landing-page .dash-lead.is-swap .dash-lead__kpi b {
    opacity: 0;
    transform: translateY(4px);
}
body.landing-page .dash-lead__step-v,
body.landing-page .dash-lead__cpl-num,
body.landing-page .dash-lead__ai-text,
body.landing-page .dash-lead__kpi b {
    transition: opacity 0.28s var(--lp-ease), transform 0.28s var(--lp-ease);
}
body.landing-page .dash-lead__econ {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(22, 152, 115, 0.1), rgba(22, 152, 115, 0.03));
    border: 1px solid rgba(22, 152, 115, 0.16);
}
body.landing-page .dash-lead__cpl-label {
    display: block;
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 0.15rem;
}
body.landing-page .dash-lead__cpl-num {
    display: inline-block;
    font-size: clamp(1.55rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
}
body.landing-page .dash-lead__kpi {
    display: flex;
    gap: 0.85rem;
    text-align: right;
}
body.landing-page .dash-lead__kpi span {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
body.landing-page .dash-lead__kpi b {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
body.landing-page .dash-lead__kpi small {
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}
body.landing-page .dash-lead__ai {
    margin-top: auto;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: #0f172a;
    color: #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}
body.landing-page .dash-lead__ai-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
body.landing-page .dash-lead__ai-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    background: linear-gradient(120deg, #34d399, #169873);
    color: #042f2e;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}
body.landing-page .dash-lead__ai-label {
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.65);
}
body.landing-page .dash-lead__ai-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: #f8fafc;
}

/* ── Channels donut ── */
body.landing-page .dash-donut__row {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-top: 0.4rem;
}
body.landing-page .dash-donut__viz {
    position: relative;
    width: 128px;
    height: 128px;
    flex: none;
}
body.landing-page .dash-donut__viz svg {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transform: scale(0.82) rotate(-18deg);
    transform-origin: center;
    transition: opacity 0.6s var(--lp-ease), transform 0.7s var(--lp-ease-spring);
}
body.landing-page .dash.is-in .dash-donut__viz svg { opacity: 1; transform: none; }
body.landing-page .dash-donut__track { stroke: rgba(15, 23, 42, 0.05); }
body.landing-page .dash-donut__seg {
    transition: opacity 0.25s var(--lp-ease), stroke-width 0.25s var(--lp-ease);
}
body.landing-page .dash-donut__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    text-align: center;
}
body.landing-page .dash-donut__center-val {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
body.landing-page .dash-donut__center-lbl {
    margin-top: 0.15rem;
    font-size: 0.66rem;
    color: var(--muted);
}
body.landing-page .dash-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}
body.landing-page .dash-legend li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s var(--lp-ease);
}
body.landing-page .dash-legend li:hover,
body.landing-page .dash-legend li.is-on { background: rgba(15, 23, 42, 0.04); }
body.landing-page .dash-legend li b {
    margin-left: auto;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}
body.landing-page .dash-legend__dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--c);
    flex: none;
}

/* ── Trend ── */
body.landing-page .dash-trend__figure {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.3rem;
}
body.landing-page .dash-trend__num {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, var(--accent-hover), var(--accent) 55%, #4ecba8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.landing-page .dash-trend__delta {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0e8a63;
    background: rgba(var(--accent-rgb), 0.12);
    padding: 0.16rem 0.45rem;
    border-radius: 999px;
}
body.landing-page .dash-trend__sub {
    font-size: 0.74rem;
    color: var(--muted);
    margin-top: 0.2rem;
}
body.landing-page .dash-spark {
    width: 100%;
    height: 64px;
    margin-top: auto;
    display: block;
}
body.landing-page .dash-spark__line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    filter: drop-shadow(0 3px 8px rgba(22, 152, 115, 0.4));
    transition: stroke-dashoffset 1.3s var(--lp-ease);
}
body.landing-page .dash-spark__fill { opacity: 0; transition: opacity 0.8s ease 0.3s; }
body.landing-page .dash.is-in .dash-spark__line { stroke-dashoffset: 0; }
body.landing-page .dash.is-in .dash-spark__fill { opacity: 1; }

/* ── Pulse tile ── */
body.landing-page .dash-tile--pulse {
    background: linear-gradient(160deg, #0e6e52, #169873 60%, #12805f);
    border-color: transparent;
    color: #fff;
}
body.landing-page .dash-pulse__live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}
body.landing-page .dash-pulse__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    animation: lpStatusPulse 2.2s ease-out infinite;
}
body.landing-page .dash-pulse__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}
body.landing-page .dash-pulse__cell b {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
body.landing-page .dash-pulse__cell small {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
    body.landing-page .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.landing-page .dash-tile--funnel { grid-column: span 2; grid-row: auto; }
    body.landing-page .dash-tile--channels { grid-column: span 2; }
}
@media (max-width: 560px) {
    body.landing-page .dash { grid-template-columns: 1fr; }
    body.landing-page .dash-tile--funnel,
    body.landing-page .dash-tile--channels { grid-column: span 1; }
    body.landing-page .dash-donut__row { flex-direction: column; align-items: stretch; }
    body.landing-page .dash-donut__viz { align-self: center; }
    body.landing-page .dash-lead__step {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
    body.landing-page .dash-lead__econ {
        flex-direction: column;
        align-items: flex-start;
    }
    body.landing-page .dash-lead__kpi { text-align: left; }
}

/* ══ Live feed ══ */
body.landing-page .feed__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
}
body.landing-page .feed__title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--text);
}
body.landing-page .feed__lead {
    margin: 0;
    max-width: 48rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--muted);
}
body.landing-page .feed__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: none;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-hover);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}
body.landing-page .feed__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55);
    animation: lpStatusPulse 2.2s ease-out infinite;
}

body.landing-page .feed__console {
    position: relative;
    background: #fff;
    border: 1px solid var(--lp-hairline);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-1);
    overflow: hidden;
}

/* shared column grid for header + rows */
body.landing-page .feed__cols,
body.landing-page .feed-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) minmax(96px, auto) 52px 22px;
    align-items: center;
    column-gap: 0.85rem;
}
body.landing-page .feed__cols {
    padding: 0.7rem 1.2rem;
    background: rgba(15, 23, 42, 0.02);
    border-bottom: 1px solid var(--lp-hairline);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
body.landing-page .feed__list { list-style: none; margin: 0; padding: 0; }

body.landing-page .feed-row {
    padding: 0.65rem 1.2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: background 0.2s var(--lp-ease);
}
body.landing-page .feed-row:first-child { border-top: none; }
body.landing-page .feed-row:hover { background: rgba(var(--accent-rgb), 0.045); }

body.landing-page .feed-row__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: var(--c);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
    flex: none;
    text-transform: uppercase;
}
body.landing-page .feed-row__id { min-width: 0; display: flex; flex-direction: column; }
body.landing-page .feed-row__name {
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.landing-page .feed-row__contact {
    font-size: 0.74rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.landing-page .feed-row__blur {
    filter: blur(3.5px);
    user-select: none;
}
body.landing-page .feed-row__ch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-self: start;
    padding: 0.26rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    background: color-mix(in srgb, var(--c) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--c) 34%, #e2e8f0);
    white-space: nowrap;
}
body.landing-page .feed-row__ch::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c);
    flex: none;
}
body.landing-page .feed-row__time {
    font-size: 0.76rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    text-align: right;
}
body.landing-page .feed-row__go {
    display: flex;
    justify-content: flex-end;
    color: var(--muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s var(--lp-ease), transform 0.2s var(--lp-ease);
}
body.landing-page .feed-row:hover .feed-row__go { opacity: 1; transform: none; }

body.landing-page .feed-row--in { animation: feedRowIn 0.5s var(--lp-ease-spring) both; }
@keyframes feedRowIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}
body.landing-page .feed-row--flash { animation: feedRowFlash 0.72s ease; }
@keyframes feedRowFlash {
    0% { background: rgba(var(--accent-rgb), 0.16); }
    100% { background: transparent; }
}
body.landing-page .feed-row--click { transform: scale(0.985); background: rgba(var(--accent-rgb), 0.06); }

/* Drawer overlay */
body.landing-page .feed__drawer {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(100%, 360px);
    background: #fff;
    border-left: 1px solid var(--lp-hairline);
    box-shadow: -18px 0 44px -20px rgba(15, 23, 42, 0.28);
    transform: translateX(100%);
    transition: transform 0.45s var(--lp-ease-spring);
    z-index: 3;
    overflow-y: auto;
    pointer-events: none;
}
body.landing-page .feed__drawer.is-open { transform: none; pointer-events: auto; }
body.landing-page .feed__console.is-drawer .feed__list { opacity: 0.55; transition: opacity 0.3s ease; }
body.landing-page .feed__drawer-inner { position: relative; padding: 1.4rem 1.5rem; }
body.landing-page .feed__drawer-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--lp-hairline);
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}
body.landing-page .feed__drawer-close:hover { background: #e5e7eb !important; }
body.landing-page .feed__drawer-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    padding-right: 2rem;
}
body.landing-page .feed__drawer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    background: var(--c);
    flex: none;
    text-transform: uppercase;
}
body.landing-page .feed__drawer-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
body.landing-page .feed__drawer-name {
    margin: 0.1rem 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
}
body.landing-page .feed__drawer-meta {
    margin: 0 0 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
body.landing-page .feed__drawer-meta div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
body.landing-page .feed__drawer-meta dt {
    font-size: 0.78rem;
    color: var(--muted);
}
body.landing-page .feed__drawer-meta dd {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
body.landing-page .feed__drawer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.74rem;
    color: #334155;
    background: color-mix(in srgb, var(--c) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--c) 34%, #e2e8f0);
}
body.landing-page .feed__drawer-chip::before {
    content: "";
    width: 7px; height: 7px; border-radius: 50%; background: var(--c);
}
body.landing-page .feed__drawer-section {
    display: block;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 0.5rem;
}
body.landing-page .feed__timeline {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0 0 0 1rem;
    position: relative;
}
body.landing-page .feed__timeline::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(var(--accent-rgb), 0.2);
}
body.landing-page .feed__timeline li {
    position: relative;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text);
    padding: 0.28rem 0;
}
body.landing-page .feed__timeline li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}
body.landing-page .feed__drawer-deal {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted);
}
body.landing-page .feed__drawer-deal strong { color: var(--accent-hover); }

/* Feed stats ribbon */
body.landing-page .feed__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}
body.landing-page .feed__stat {
    background: #fff;
    border: 1px solid var(--lp-hairline);
    border-radius: var(--lp-radius-md);
    box-shadow: var(--lp-shadow-1);
    padding: 1.05rem 1.15rem;
    transition: transform 0.35s var(--lp-ease-spring), box-shadow 0.35s var(--lp-ease);
}
body.landing-page .feed__stat:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow-2); }
body.landing-page .feed__stat b {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, var(--accent-hover), var(--accent) 55%, #4ecba8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.landing-page .feed__stat span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--muted);
}

@media (max-width: 768px) {
    body.landing-page .feed__head { flex-direction: column; }
    body.landing-page .feed__stats { grid-template-columns: repeat(2, 1fr); }
    body.landing-page .feed__drawer {
        inset: auto 0 0 0;
        width: 100%;
        height: min(72%, 420px);
        border-left: none;
        border-top: 1px solid var(--lp-hairline);
        border-radius: var(--lp-radius-lg) var(--lp-radius-lg) 0 0;
        transform: translateY(100%);
    }
    body.landing-page .feed__drawer.is-open { transform: none; }
}
@media (max-width: 560px) {
    body.landing-page .feed__cols { display: none; }
    body.landing-page .feed-row {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        row-gap: 0.35rem;
    }
    body.landing-page .feed-row__ch { grid-column: 2 / 4; justify-self: start; }
    body.landing-page .feed-row__time { grid-column: 3; grid-row: 1; }
    body.landing-page .feed-row__go { display: none; }
    body.landing-page .feed__stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page .dash-funnel__bar::after,
    body.landing-page .dash-donut__viz svg,
    body.landing-page .dash-spark__line,
    body.landing-page .dash-spark__fill,
    body.landing-page .dash-lead__step { transition: none; }
    body.landing-page .dash-funnel__bar::after { transform: scaleX(1); }
    body.landing-page .dash-donut__viz svg { opacity: 1; transform: none; }
    body.landing-page .dash-spark__line { stroke-dashoffset: 0; }
    body.landing-page .dash-spark__fill { opacity: 1; }
    body.landing-page .dash-lead__step { opacity: 1; transform: none; }
    body.landing-page .dash-pulse__dot,
    body.landing-page .dash-lead__pulse,
    body.landing-page .feed__badge-dot { animation: none; }
    body.landing-page .dash-lead.is-swap .dash-lead__step-v,
    body.landing-page .dash-lead.is-swap .dash-lead__cpl-num,
    body.landing-page .dash-lead.is-swap .dash-lead__ai-text,
    body.landing-page .dash-lead.is-swap .dash-lead__kpi b {
        opacity: 1;
        transform: none;
    }
}

/* FEAT-019: registration closed notice in login modal */
body.landing-page .lp-modal__reg-closed {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(122, 74, 0, 0.08);
    border: 1px solid rgba(122, 74, 0, 0.18);
    color: #5c3d08;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}
body.landing-page .lp-modal__reg-closed a {
    color: #0d6e52;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
