/* Public product landing page. Standalone stylesheet: the page is served on its own host and must
   not depend on the panel CSS. Every colour comes from the --lp-* tokens below; the palette is
   picked by data-landing-theme on <body> (the LeadYa website or one of the assistants' themes).
   The body markup is stored per page and edited in the WYSIWYG, so the styles target the stable
   landing-* section classes and must keep pages generated by older versions looking right. */

/* Palettes ---------------------------------------------------------------- */
:root,
.landing[data-landing-theme="leadya"] {
    --lp-brand: #6a49f2;
    --lp-brand-strong: #5332d8;
    --lp-brand-ink: #ffffff;
    --lp-accent: #ffb648;
    --lp-ink: #32236f;
    --lp-text: #3e3f66;
    --lp-muted: #64678a;
    --lp-bg: #ffffff;
    --lp-surface: #ffffff;
    --lp-soft: #f6f4fe;
    --lp-tint: #ece7fd;
    --lp-border: #e8e2fa;
    --lp-glow-a: rgba(106, 73, 242, .20);
    --lp-glow-b: rgba(255, 182, 72, .24);
    --lp-final-from: #6a49f2;
    --lp-final-to: #32236f;
    --lp-final-ink: #ffffff;
    --lp-light-cta-ink: #32236f;
    --lp-heading-font: inherit;
    --lp-heading-weight: 800;
    --lp-heading-tracking: -.035em;
    --lp-radius: 18px;
    --lp-radius-lg: 28px;
    --lp-radius-btn: 14px;
    --lp-shadow: 0 1px 2px rgba(50, 35, 111, .06), 0 10px 30px rgba(50, 35, 111, .07);
    --lp-shadow-lg: 0 30px 80px rgba(50, 35, 111, .22);
}

.landing[data-landing-theme="nova"] {
    --lp-brand: #6c4cf1;
    --lp-brand-strong: #5236d6;
    --lp-accent: #ffc24b;
    --lp-ink: #14122b;
    --lp-text: #1f2236;
    --lp-muted: #5d6378;
    --lp-soft: #f6f7fb;
    --lp-tint: #efebfe;
    --lp-border: #e6e8f0;
    --lp-glow-a: rgba(108, 76, 241, .20);
    --lp-glow-b: rgba(255, 194, 75, .26);
    --lp-final-from: #6c4cf1;
    --lp-final-to: #14122b;
    --lp-light-cta-ink: #14122b;
    --lp-shadow: 0 1px 2px rgba(20, 18, 43, .06), 0 10px 30px rgba(20, 18, 43, .07);
    --lp-shadow-lg: 0 30px 80px rgba(20, 18, 43, .22);
}

/* Selena: calm and elegant - serif headings, pale neutrals, soft shadows. */
.landing[data-landing-theme="aura"] {
    --lp-brand: #6c4cf1;
    --lp-brand-strong: #5a3fd6;
    --lp-accent: #c9b6ff;
    --lp-ink: #1d1b2f;
    --lp-text: #2c2a40;
    --lp-muted: #615f78;
    --lp-bg: #fcfcfd;
    --lp-soft: #f5f5f7;
    --lp-tint: #f1eefb;
    --lp-border: #ececf1;
    --lp-glow-a: rgba(201, 182, 255, .35);
    --lp-glow-b: rgba(236, 236, 241, .9);
    --lp-final-from: #2c2742;
    --lp-final-to: #1d1b2f;
    --lp-light-cta-ink: #1d1b2f;
    --lp-heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --lp-heading-weight: 600;
    --lp-heading-tracking: -.015em;
    --lp-radius: 22px;
    --lp-radius-lg: 32px;
    --lp-radius-btn: 999px;
    --lp-shadow: 0 1px 2px rgba(29, 27, 47, .04), 0 8px 24px rgba(29, 27, 47, .05);
    --lp-shadow-lg: 0 24px 64px rgba(29, 27, 47, .14);
}

/* Violet: warm, friendly, cream and violet. */
.landing[data-landing-theme="classic"] {
    --lp-brand: #864af9;
    --lp-brand-strong: #6d33e0;
    --lp-accent: #ffd978;
    --lp-ink: #3b3486;
    --lp-text: #2e2a5c;
    --lp-muted: #5f5b82;
    --lp-bg: #fffdf8;
    --lp-soft: #fbf4e6;
    --lp-tint: #f1e9ff;
    --lp-border: #efe6d4;
    --lp-glow-a: rgba(134, 74, 249, .18);
    --lp-glow-b: rgba(255, 217, 120, .40);
    --lp-final-from: #864af9;
    --lp-final-to: #3b3486;
    --lp-light-cta-ink: #3b3486;
    --lp-radius: 22px;
    --lp-radius-lg: 30px;
    --lp-radius-btn: 999px;
}

/* Nyx: dark, neon orange on deep violet. */
.landing[data-landing-theme="dark"] {
    color-scheme: dark;
    --lp-brand: #ff6a00;
    --lp-brand-strong: #ff8a2a;
    --lp-brand-ink: #1f0a00;
    --lp-accent: #ff9e00;
    --lp-ink: #ffffff;
    --lp-text: #e8ddf3;
    --lp-muted: #c3b2dc;
    --lp-bg: #160029;
    --lp-surface: #22043d;
    --lp-soft: #1c0634;
    --lp-tint: rgba(255, 106, 0, .14);
    --lp-border: #3d1668;
    --lp-glow-a: rgba(157, 78, 221, .45);
    --lp-glow-b: rgba(255, 106, 0, .30);
    --lp-final-from: #3c096c;
    --lp-final-to: #160029;
    --lp-light-cta-ink: #160029;
    --lp-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    --lp-shadow-lg: 0 30px 90px rgba(0, 0, 0, .55);
}

/* Ruby: bold red on graphite and white. */
.landing[data-landing-theme="ruby"] {
    --lp-brand: #c11414;
    --lp-brand-strong: #9e0f0f;
    --lp-accent: #ff4d4d;
    --lp-ink: #121212;
    --lp-text: #1f1f1f;
    --lp-muted: #595959;
    --lp-soft: #f4f4f4;
    --lp-tint: #fdeaea;
    --lp-border: #e3e3e3;
    --lp-glow-a: rgba(193, 20, 20, .14);
    --lp-glow-b: rgba(18, 18, 18, .08);
    --lp-final-from: #262626;
    --lp-final-to: #121212;
    --lp-light-cta-ink: #121212;
    --lp-heading-tracking: -.045em;
    --lp-radius: 12px;
    --lp-radius-lg: 18px;
    --lp-radius-btn: 10px;
    --lp-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 28px rgba(0, 0, 0, .07);
    --lp-shadow-lg: 0 28px 70px rgba(0, 0, 0, .24);
}

/* Lyra: clear corporate blue with a touch of sunny yellow. */
.landing[data-landing-theme="sky"] {
    --lp-brand: #3f6ad8;
    --lp-brand-strong: #2f55bd;
    --lp-accent: #fdd500;
    --lp-ink: #101828;
    --lp-text: #1d2939;
    --lp-muted: #556070;
    --lp-soft: #f4f7fc;
    --lp-tint: #e8eefc;
    --lp-border: #e2e7ef;
    --lp-glow-a: rgba(63, 106, 216, .20);
    --lp-glow-b: rgba(253, 213, 0, .22);
    --lp-final-from: #3f6ad8;
    --lp-final-to: #1e3a8a;
    --lp-light-cta-ink: #101828;
    --lp-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 30px rgba(16, 24, 40, .07);
    --lp-shadow-lg: 0 30px 80px rgba(16, 24, 40, .20);
}

/* Base -------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.landing {
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    color: var(--lp-text);
    background: var(--lp-bg);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: inherit; }
.landing h1, .landing h2, .landing h3 {
    color: var(--lp-ink);
    font-family: var(--lp-heading-font);
    font-weight: var(--lp-heading-weight);
    text-wrap: balance;
}
.landing p, .landing h1, .landing h2, .landing h3, .landing a { overflow-wrap: anywhere; }
.landing-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Buttons ----------------------------------------------------------------- */
.landing-cta {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 0;
    border-radius: var(--lp-radius-btn);
    color: var(--lp-brand-ink);
    background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-strong));
    box-shadow: 0 12px 28px var(--lp-glow-a), inset 0 1px 0 rgba(255, 255, 255, .22);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.landing-cta:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 38px var(--lp-glow-a), inset 0 1px 0 rgba(255, 255, 255, .22); }
.landing-cta:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 3px; }
.landing-cta--large { min-height: 58px; padding: 16px 30px; font-size: 1.06rem; }
.landing-cta--small { display: inline-block; flex: 0 0 auto; line-height: 24px; max-width: 62%; min-height: 40px; padding: 8px 18px; overflow: hidden; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; box-shadow: none; }
.landing-cta--small:not(.landing-cta--light) { background: var(--lp-brand-strong); }
.landing-cta--small:hover { box-shadow: none; }
.landing-cta--light { color: var(--lp-light-cta-ink); background: #ffffff; box-shadow: 0 16px 36px rgba(0, 0, 0, .22); }
.landing-cta__arrow { display: inline-block; transition: transform .18s ease; }
.landing-cta:hover .landing-cta__arrow { transform: translateX(4px); }

/* Top bar ----------------------------------------------------------------- */
.landing-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--lp-border);
    background: var(--lp-bg);
    background: color-mix(in srgb, var(--lp-bg) 84%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
}
.landing-topbar__inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 16px; }
.landing-topbar__brand { display: inline-flex; min-width: 0; align-items: center; gap: 12px; color: var(--lp-ink); font-weight: 700; }
.landing-topbar__mark {
    display: inline-grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    color: var(--lp-brand-ink);
    background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-strong));
    font-weight: 800;
}
.landing-topbar__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hero -------------------------------------------------------------------- */
.landing-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 112px);
    background:
        radial-gradient(900px 520px at 0% 0%, var(--lp-glow-a), transparent 62%),
        radial-gradient(760px 480px at 100% 10%, var(--lp-glow-b), transparent 60%),
        linear-gradient(180deg, var(--lp-soft) 0%, var(--lp-bg) 100%);
}
.landing-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    color: var(--lp-ink);
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.landing-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-brand); box-shadow: 0 0 0 4px var(--lp-tint); }
.landing h1 {
    max-width: 15em;
    margin: 22px 0 18px;
    font-size: clamp(2.35rem, 5.2vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: var(--lp-heading-tracking);
}
.landing-lead { max-width: 34em; margin: 0 0 32px; color: var(--lp-muted); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; }
.landing-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.landing-hero__hint { display: flex; align-items: flex-start; gap: 10px; max-width: 34em; margin: 18px 0 0; color: var(--lp-muted); font-size: .94rem; }
.landing-hero__hint::before {
    content: "";
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--lp-brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.4 14.2-4.1-4.1 1.4-1.4 2.7 2.7 5.8-5.8 1.4 1.4-7.2 7.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.4 14.2-4.1-4.1 1.4-1.4 2.7 2.7 5.8-5.8 1.4 1.4-7.2 7.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.landing-phone-inline { display: inline-flex; align-items: center; gap: 10px; color: var(--lp-ink); font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.landing-phone-inline__icon { display: inline-grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: var(--lp-brand); background: var(--lp-tint); }

.landing-hero__visual { position: relative; margin: 0; }
.landing-hero__visual::before,
.landing-hero__visual::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(48px); }
.landing-hero__visual::before { top: -8%; right: -6%; width: 58%; aspect-ratio: 1; background: var(--lp-glow-b); }
.landing-hero__visual::after { bottom: -10%; left: -8%; width: 62%; aspect-ratio: 1; background: var(--lp-glow-a); }
.landing-hero__image,
.landing-hero__shape {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-lg);
}
.landing-hero__image { object-fit: cover; background: var(--lp-tint); }
.landing-hero__shape {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(60% 60% at 85% 15%, rgba(255, 255, 255, .35), transparent 70%),
        radial-gradient(70% 70% at 10% 100%, var(--lp-accent), transparent 70%),
        linear-gradient(135deg, var(--lp-brand), var(--lp-brand-strong));
}
.landing-hero__shape-card {
    display: grid;
    width: 58%;
    gap: 14px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: var(--lp-radius);
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
.landing-hero__shape-mark { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 16px; color: var(--lp-brand-strong); background: #ffffff; font-size: 1.6rem; font-weight: 800; }
.landing-hero__shape-line { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); }
.landing-hero__shape-line--short { width: 62%; background: rgba(255, 255, 255, .45); }

/* Body sections ------------------------------------------------------------ */
.landing-content { position: relative; isolation: isolate; padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 4vw, 56px); }
.landing-section { position: relative; padding: clamp(44px, 6vw, 88px) 0; }
.landing-content h2 { max-width: 20em; margin: 0 0 clamp(24px, 3vw, 40px); font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.12; letter-spacing: var(--lp-heading-tracking); }
.landing-content .landing-section > h2::before {
    content: "";
    display: block;
    width: 48px;
    height: 5px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lp-brand), var(--lp-accent));
}
.landing-content h3 { margin: 0 0 8px; font-size: 1.14rem; line-height: 1.3; letter-spacing: -.01em; }
.landing-content p, .landing-content li { margin: 0 0 10px; color: var(--lp-muted); font-size: 1.02rem; }
.landing-content a { color: var(--lp-brand-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.landing[data-landing-theme="dark"] .landing-content a { color: var(--lp-accent); }
.landing-content ol:not(.landing-steps__list), .landing-content ul { padding-left: 24px; }

/* Benefits: cards with a check badge. */
.landing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.landing-card {
    position: relative;
    padding: 30px 28px 24px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.landing-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-lg); }
.landing-card::before { content: ""; display: block; width: 50px; height: 50px; margin-bottom: 20px; border-radius: 15px; background: var(--lp-tint); }
.landing-card::after {
    content: "";
    position: absolute;
    top: 43px;
    left: 41px;
    width: 24px;
    height: 24px;
    background: var(--lp-brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.landing-card p { margin: 0; }

/* Steps: numbered cards on a full-width tinted band. */
.landing-steps::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--lp-soft); }
.landing-steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: landing-step; }
.landing-steps__list li {
    position: relative;
    padding: 28px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow);
    counter-increment: landing-step;
}
.landing-steps__list li::before {
    content: counter(landing-step);
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    color: var(--lp-brand-ink);
    background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-strong));
    box-shadow: 0 10px 24px var(--lp-glow-a);
    font-size: 1.1rem;
    font-weight: 800;
}
.landing-steps__list strong { display: block; margin-bottom: 6px; color: var(--lp-ink); font-size: 1.12rem; line-height: 1.3; }
.landing-steps__list p { margin: 0; }

/* FAQ: heading on the left, questions on the right. */
.landing-faq__item { padding: 22px 24px; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-surface); }
.landing-faq__item + .landing-faq__item { margin-top: 12px; }
.landing-faq__item h3 { margin-bottom: 6px; }
.landing-faq__item p { margin: 0; }

/* Closing: highlighted card before the conversion block. */
.landing-closing {
    padding: clamp(28px, 4vw, 48px);
    margin: clamp(24px, 4vw, 48px) 0;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    background:
        radial-gradient(520px 260px at 100% 0%, var(--lp-glow-b), transparent 70%),
        linear-gradient(135deg, var(--lp-tint), var(--lp-soft));
}
.landing-content .landing-closing > h2 { margin-bottom: 12px; }
.landing-content .landing-closing > h2::before { display: none; }
.landing-closing p { max-width: 44em; font-size: 1.08rem; }
.landing-closing__hint { margin-top: 6px; font-size: .95rem !important; }

/* Goal blocks ------------------------------------------------------------- */
.landing-goal { padding: clamp(40px, 6vw, 80px) 0; background: var(--lp-soft); }
.landing-goal > .landing-shell {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow);
}
.landing-goal h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: var(--lp-heading-tracking); }
.landing-goal p { margin: 0 0 24px; color: var(--lp-muted); }
.landing-goal__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.landing-goal__grid p { margin-bottom: 0; }
.landing-calendar { overflow: hidden; border-radius: var(--lp-radius-lg); background: var(--lp-surface); box-shadow: var(--lp-shadow); }
.landing-calendar iframe { display: block; width: 100%; min-height: 720px; border: 0; }
.landing-phone {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 26px 16px 16px;
    border-radius: var(--lp-radius);
    color: var(--lp-brand-ink);
    background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-strong));
    box-shadow: 0 14px 32px var(--lp-glow-a);
    text-decoration: none;
    transition: transform .18s ease;
}
.landing-phone:hover { transform: translateY(-2px); }
.landing-phone:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 3px; }
.landing-phone__icon { display: inline-grid; width: 52px; height: 52px; place-items: center; border-radius: 14px; color: var(--lp-brand-strong); background: #ffffff; font-size: 1.5rem; }
.landing-phone__number { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: .01em; }

/* Final call to action ------------------------------------------------------ */
.landing-final {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(56px, 8vw, 104px) 0;
    color: var(--lp-final-ink);
    background:
        radial-gradient(700px 360px at 90% 0%, var(--lp-glow-b), transparent 65%),
        radial-gradient(600px 360px at 0% 100%, rgba(255, 255, 255, .12), transparent 65%),
        linear-gradient(135deg, var(--lp-final-from), var(--lp-final-to));
}
.landing-final__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.landing-final__inner > div { flex: 1 1 420px; }
.landing-final h2 { max-width: 18em; margin: 0 0 12px; color: inherit; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: var(--lp-heading-tracking); }
.landing-final p { max-width: 36em; margin: 0; color: inherit; font-size: 1.08rem; }

/* Chat with the assistant: floating in the bottom-right corner like on leadya.ai --- */
.landing-chat { position: fixed; right: 24px; bottom: 24px; z-index: 2147483000; }
.landing-chat [hidden] { display: none !important; }
.landing-chat__launcher {
    display: flex; align-items: center; gap: 10px; height: 64px; max-width: calc(100vw - 32px);
    padding: 5px 18px 5px 5px; border: 1px solid var(--lp-border); border-radius: 36px;
    background: var(--lp-surface); color: var(--lp-text); font: inherit; font-size: .95rem; font-weight: 700;
    box-shadow: var(--lp-shadow-lg); cursor: pointer;
}
.landing-chat__launcher:hover { border-color: var(--lp-brand); }
.landing-chat--open .landing-chat__launcher { visibility: hidden; }
.landing-chat__avatar {
    flex: 0 0 auto; width: 52px; height: 52px; overflow: hidden; border-radius: 50%;
    border: 3px solid var(--lp-brand); background: var(--lp-tint);
}
.landing-chat__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.landing-chat__invitation { max-width: 14em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.landing-chat__panel {
    position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; overflow: hidden;
    width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 48px)); height: min(560px, calc(100dvh - 48px));
    border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-surface);
    box-shadow: var(--lp-shadow-lg);
}
.landing-chat__header {
    flex: 0 0 auto; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px;
    padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--lp-border);
}
.landing-chat__header .landing-chat__avatar { width: 44px; height: 44px; }
.landing-chat h2 { margin: 0; font-size: 1rem; line-height: 1.25; }
.landing-chat__identity p { margin: 2px 0 0; color: var(--lp-muted); font-size: .78rem; line-height: 1.3; }
.landing-chat__close {
    width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lp-soft); color: var(--lp-text);
    font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.landing-chat__messages { flex: 1 1 auto; overflow-y: auto; padding: 14px 16px; background: var(--lp-soft); }
.landing-chat__message { margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; background: var(--lp-surface); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.landing-chat__message.is-user { margin-left: 32px; border-left: 3px solid var(--lp-brand); background: var(--lp-tint); }
.landing-chat__action { display: inline-flex; margin: 0 0 12px; }
.landing-chat__form { flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 12px 16px 4px; border-top: 1px solid var(--lp-border); }
.landing-chat textarea { width: 100%; min-height: 48px; max-height: 120px; padding: 12px; border: 1px solid var(--lp-border); border-radius: 12px; background: var(--lp-bg); color: var(--lp-text); font: inherit; font-size: 16px; resize: none; }
.landing-chat__send {
    min-width: 64px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px;
    background: var(--lp-brand); color: var(--lp-brand-ink); font: inherit; font-weight: 700; cursor: pointer;
}
.landing-chat__send:disabled { opacity: .6; cursor: wait; }
.landing-chat__status { min-height: 20px; margin: 0; padding: 0 16px 8px; color: var(--lp-muted); font-size: .8rem; }
.landing-chat :is(button, textarea):focus-visible { outline: 3px solid var(--lp-brand); outline-offset: 2px; }
.landing-chat .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
/* The floating launcher must not hide the last line of the page (the chat precedes the footer). */
.landing-chat ~ .landing-footer { padding-bottom: 104px; }

/* Footer -------------------------------------------------------------------- */
.landing-footer { padding: 28px 0; border-top: 1px solid var(--lp-border); color: var(--lp-muted); font-size: .9rem; }

/* Not-found page ------------------------------------------------------------ */
.landing-empty { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--lp-soft); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.landing-empty p { color: var(--lp-muted); }

/* Responsive ----------------------------------------------------------------- */
@media (min-width: 901px) {
    .landing-faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
    .landing-faq > h2 { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 100px; }
    .landing-faq > :not(h2) { grid-column: 2; }
}

@media (max-width: 900px) {
    .landing-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .landing-hero__visual { max-width: 640px; }
    .landing-goal__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    body.landing { font-size: 16px; }
    .landing-shell { width: calc(100% - 32px); }
    .landing-topbar__inner { min-height: 60px; }
    .landing-topbar__mark { width: 32px; height: 32px; }
    .landing-hero__cta .landing-cta, .landing-final .landing-cta, .landing-goal .landing-cta { width: 100%; }
    .landing-phone { width: 100%; justify-content: center; }
    .landing-hero__image, .landing-hero__shape { aspect-ratio: 3 / 2; }
    .landing-card, .landing-steps__list li { padding: 24px 22px 20px; }
    .landing-card::after { top: 37px; left: 35px; }
    .landing-calendar iframe { min-height: 900px; }
}

@media (max-width: 520px) {
    .landing-chat { right: 16px; bottom: 16px; }
    .landing-chat__panel {
        position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto;
        height: min(560px, calc(100vh - 32px)); height: min(560px, calc(100dvh - 32px));
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .landing-cta, .landing-cta__arrow, .landing-card, .landing-phone { transition: none; }
    .landing-cta:hover, .landing-card:hover, .landing-phone:hover { transform: none; }
}
