/**
 * SageAI_BAC Landing Page
 * Minimal design adapted from AIPrompt sibling app.
 * Font: Inter | Primary: Indigo | Neutral: Zinc/Gray
 */

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
        'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
        'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: hsl(0 0% 100%);
    color: #111827;
    min-height: 100vh;
    line-height: 1.5;
    transition: background-color .2s, color .2s;
}

.dark .landing-page,
.dark.landing-page {
    background: hsl(222.2 84% 4.9%);
    color: #f9fafb;
}

.l-wrap {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) {
    .l-wrap { padding: 0 1.5rem; }
}

/* ── Nav ──────────────────────────────────────────── */
.l-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(229,231,235,.8);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.dark .l-nav {
    border-bottom-color: rgba(31,41,55,.8);
    background: rgba(3,7,18,.9);
}

.l-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

/* Logo */
.l-logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: inherit;
}

.l-logo-mark {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: .25rem;
    background: #15803d;
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dark .l-logo-mark { background: #15803d; }

.l-logo-mark-sm {
    width: 1.75rem;
    height: 1.75rem;
    font-size: .75rem;
}

.l-logo-text {
    font-weight: 600;
    font-size: 1rem;
    color: #111827;
}
.dark .l-logo-text { color: #fff; }

/* Nav actions */
.l-nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

#landing-auth-state {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.l-theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    border-radius: .5rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    transition: color .15s, background .15s;
}
.l-theme-btn:hover { color: #111827; background: #f3f4f6; }
.dark .l-theme-btn { color: #9ca3af; }
.dark .l-theme-btn:hover { color: #f9fafb; background: #1f2937; }

.l-icon-moon { display: none; }
.dark .l-icon-sun { display: none; }
.dark .l-icon-moon { display: block; }

.l-nav-link {
    font-size: .875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    padding: .5rem .75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color .15s;
}
.l-nav-link:hover { color: #111827; }
.dark .l-nav-link { color: #9ca3af; }
.dark .l-nav-link:hover { color: #fff; }

.l-nav-link-accent {
    color: #4f46e5;
}
.dark .l-nav-link-accent { color: #818cf8; }
.l-nav-link-accent:hover { color: #4338ca; }
.dark .l-nav-link-accent:hover { color: #a5b4fc; }

.l-nav-user {
    font-size: .875rem;
    color: #4b5563;
    display: none;
}
@media (min-width: 640px) {
    .l-nav-user { display: inline; }
}
.dark .l-nav-user { color: #9ca3af; }

.l-btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 500;
    color: #fff;
    background: hsl(221 83% 38%);
    padding: .5rem 1rem;
    min-height: 44px;
    border-radius: .5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .15s;
}
.l-btn-nav:hover { background: hsl(221 83% 32%); }
.dark .l-btn-nav { background: hsl(217.2 91.2% 59.8%); color: hsl(222.2 47.4% 11.2%); }
.dark .l-btn-nav:hover { background: hsl(217.2 91.2% 54%); }

/* ── Buttons ──────────────────────────────────────── */
.l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .9375rem;
    padding: .75rem 1.5rem;
    border-radius: .75rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .15s;
}

.l-btn-lg {
    font-size: 1rem;
    padding: .875rem 2rem;
}

.l-btn-primary {
    color: #fff;
    background: hsl(221 83% 38%);
    box-shadow: none;
}
.l-btn-primary:hover {
    background: hsl(221 83% 32%);
    box-shadow: none;
}
.dark .l-btn-primary { background: hsl(217.2 91.2% 59.8%); color: hsl(222.2 47.4% 11.2%); }
.dark .l-btn-primary:hover { background: hsl(217.2 91.2% 54%); }

/* ── Hero ─────────────────────────────────────────── */
.l-hero {
    padding: 5rem 0 4rem;
    text-align: center;
}
@media (min-width: 640px) {
    .l-hero { padding: 7rem 0 4rem; }
}

.l-hero-h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: #111827;
}
@media (min-width: 640px) {
    .l-hero-h1 { font-size: 3rem; }
}
.dark .l-hero-h1 { color: #fff; }

.l-hero-sub {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
@media (min-width: 640px) {
    .l-hero-sub { font-size: 1.25rem; }
}
.dark .l-hero-sub { color: #9ca3af; }

.l-hero-cta {
    margin-top: 2.5rem;
}

/* ── Feature pills ────────────────────────────────── */
.l-features {
    padding: 3rem 0 4rem;
}

.l-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}
@media (min-width: 640px) {
    .l-pills { gap: 1rem; }
}

.l-pill {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .5rem 1rem;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #374151;
    font-size: .875rem;
    font-weight: 500;
}
.l-pill svg { color: #6366f1; flex-shrink: 0; }
.dark .l-pill {
    background: #1f2937;
    color: #d1d5db;
}
.dark .l-pill svg { color: #818cf8; }

/* Chatbot queue */
.l-bot-queue {
    padding: 3rem 0 4rem;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}
.dark .l-bot-queue {
    background: #0b1120;
    border-top-color: #1f2937;
}

.l-section-head {
    margin-bottom: 1.5rem;
}

.l-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.l-section-kicker {
    color: #047857;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.dark .l-section-kicker { color: #34d399; }

.l-section-head .l-section-h2-left {
    text-align: left;
    margin-bottom: .5rem;
}

.l-section-head .l-section-sub-left {
    text-align: left;
    max-width: 38rem;
    margin-bottom: 0;
}

.l-carousel-controls {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

.l-carousel-button {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #fff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.l-carousel-button:hover {
    background: #eef2ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.l-carousel-button svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dark .l-carousel-button {
    background: #111827;
    border-color: #374151;
    color: #e5e7eb;
}
.dark .l-carousel-button:hover {
    background: #1f2937;
    border-color: #60a5fa;
    color: #bfdbfe;
}

.l-bot-carousel {
    position: relative;
}

.l-bot-carousel-status {
    color: #475569;
    font-size: .875rem;
    margin: -.25rem 0 .75rem;
}
.dark .l-bot-carousel-status { color: #cbd5e1; }

.l-bot-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(17rem, 20rem);
    gap: 1rem;
    overflow-x: auto;
    padding: .25rem .25rem .85rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.l-bot-card {
    --bot-accent: #2563eb;
    --bot-soft: #dbeafe;
    min-height: 22rem;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
    scroll-snap-align: start;
    display: grid;
    gap: .9rem;
    align-content: space-between;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.l-bot-card:hover,
.l-bot-card.is-selected {
    border-color: var(--bot-accent);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
    transform: translateY(-1px);
}

.l-bot-card-main {
    display: grid;
    gap: .9rem;
}

.l-bot-card-health { --bot-accent: #059669; --bot-soft: #d1fae5; }
.l-bot-card-community { --bot-accent: #0891b2; --bot-soft: #cffafe; }
.l-bot-card-service { --bot-accent: #2563eb; --bot-soft: #dbeafe; }
.l-bot-card-hr { --bot-accent: #7c3aed; --bot-soft: #ede9fe; }
.l-bot-card-product { --bot-accent: #d97706; --bot-soft: #fef3c7; }
.l-bot-card-compliance { --bot-accent: #0f766e; --bot-soft: #ccfbf1; }
.l-bot-card-research { --bot-accent: #be123c; --bot-soft: #ffe4e6; }
.l-bot-card-location { --bot-accent: #4338ca; --bot-soft: #e0e7ff; }
.l-bot-card-knowledge { --bot-accent: #475569; --bot-soft: #e2e8f0; }

.l-bot-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: .5rem;
    background: var(--bot-soft);
    color: var(--bot-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.l-bot-icon svg {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.l-bot-status {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: .2rem .5rem;
    border-radius: 999px;
    background: var(--bot-soft);
    color: #0f172a;
    border: 1px solid color-mix(in srgb, var(--bot-accent) 35%, transparent);
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .65rem;
}

.l-bot-card h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 .45rem;
}

.l-bot-card p {
    color: #475569;
    font-size: .9rem;
    line-height: 1.5;
    margin: 0;
}

.l-bot-embed-preview {
    position: relative;
    min-height: 7.75rem;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    overflow: hidden;
}

.l-bot-theme-dark {
    background: linear-gradient(180deg, #111827, #1f2937);
    border-color: #334155;
}

.l-bot-mini-page {
    position: absolute;
    inset: 1rem 1rem auto 1rem;
    display: grid;
    gap: .45rem;
}

.l-bot-mini-page span {
    display: block;
    height: .55rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, .35);
}

.l-bot-mini-page span:nth-child(1) { width: 72%; }
.l-bot-mini-page span:nth-child(2) { width: 52%; }
.l-bot-mini-page span:nth-child(3) { width: 64%; }

.l-bot-theme-dark .l-bot-mini-page span {
    background: rgba(226, 232, 240, .22);
}

.l-bot-mini-bubble {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    width: 3.5rem;
    height: 3.5rem;
    border: 0;
    border-radius: 999px;
    background: radial-gradient(circle at 32% 24%, #ffffff 0 9%, transparent 10%),
        linear-gradient(135deg, var(--bot-accent), #7c3aed 62%, #db2777);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .28);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.l-bot-mini-bubble:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .34);
}

.l-bot-mini-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
}

.l-bot-mini-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.l-bot-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: #64748b;
    font-size: .8rem;
    font-weight: 700;
}

.l-bot-open-btn {
    min-height: 2rem;
    padding: .35rem .65rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #fff;
    color: #0f172a;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.l-bot-open-btn:hover {
    border-color: var(--bot-accent);
    color: var(--bot-accent);
}

.l-bot-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.l-bot-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 1.4rem;
    padding: .18rem .45rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: .72rem;
    font-weight: 700;
}

.dark .l-bot-card {
    background: #111827;
    border-color: #374151;
    box-shadow: none;
}
.dark .l-bot-card h3 { color: #f9fafb; }
.dark .l-bot-card p { color: #cbd5e1; }
.dark .l-bot-card-footer { color: #cbd5e1; }
.dark .l-bot-open-btn {
    background: #0f172a;
    border-color: #475569;
    color: #e5e7eb;
}
.dark .l-bot-meta span {
    background: #1f2937;
    color: #cbd5e1;
}

@media (max-width: 720px) {
    .l-section-head-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .l-carousel-controls {
        align-self: flex-end;
    }

    .l-bot-carousel-track {
        grid-auto-columns: minmax(16rem, 86vw);
    }
}

/* Live example */
.l-example {
    padding: 3rem 0 4rem;
    border-top: 1px solid #e5e7eb;
}
.dark .l-example { border-top-color: #1f2937; }

.l-example-inner {
    text-align: center;
}

.l-example-kicker {
    color: #15803d;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.dark .l-example-kicker { color: #34d399; }

.l-example-sub {
    max-width: 36rem;
    margin-bottom: 1.5rem;
}

.l-example-prompts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin: 0 auto;
    max-width: 48rem;
}

.l-example-prompts span {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: .55rem .9rem;
    border: 1px solid #d1d5db;
    border-radius: .5rem;
    background: #fff;
    color: #374151;
    font-size: .875rem;
    font-weight: 500;
}
.dark .l-example-prompts span {
    background: #111827;
    border-color: #374151;
    color: #d1d5db;
}

.l-example-note {
    margin-top: 1rem;
    color: #6b7280;
    font-size: .875rem;
}
.dark .l-example-note { color: #9ca3af; }

/* ── Workflow / How It Works ──────────────────────── */
.l-workflow {
    padding: 3rem 0 5rem;
    border-top: 1px solid #e5e7eb;
}
.dark .l-workflow { border-top-color: #1f2937; }

.l-section-h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #111827;
    margin-bottom: .5rem;
}
.dark .l-section-h2 { color: #fff; }

.l-section-sub {
    text-align: center;
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
    .l-section-sub { font-size: 1.0625rem; }
}
.dark .l-section-sub { color: #9ca3af; }

.l-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: .5rem;
}

.l-step {
    flex: 0 1 200px;
    text-align: center;
}

.l-step-num {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .75rem;
    flex-shrink: 0;
}
.dark .l-step-num {
    background: rgba(99,102,241,.15);
    color: #818cf8;
}

.l-step-title {
    font-size: .9375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: .25rem;
}
@media (min-width: 640px) {
    .l-step-title { font-size: 1rem; }
}
.dark .l-step-title { color: #fff; }

.l-step-desc {
    font-size: .8125rem;
    color: #6b7280;
    line-height: 1.45;
}
@media (min-width: 640px) {
    .l-step-desc { font-size: .875rem; }
}
.dark .l-step-desc { color: #9ca3af; }

.l-step-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-top: .75rem;
    color: #d1d5db;
}
.dark .l-step-arrow { color: #4b5563; }

@media (min-width: 768px) {
    .l-step-arrow { display: flex; }
}

@media (max-width: 767px) {
    .l-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .l-step { flex: none; width: 100%; max-width: 14rem; }
}

.l-workflow-link {
    text-align: center;
    margin-top: 2.5rem;
}

.l-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .875rem;
    font-weight: 500;
    color: #4f46e5;
    text-decoration: none;
}
.l-link:hover { text-decoration: underline; }
.dark .l-link { color: #818cf8; }

/* ── CTA ──────────────────────────────────────────── */
.l-cta {
    padding: 4rem 0 5rem;
}

.l-cta-card {
    border-radius: 1rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 2.5rem 2rem;
    text-align: center;
}
@media (min-width: 640px) {
    .l-cta-card { padding: 3rem 2.5rem; }
}
.dark .l-cta-card {
    background: rgba(31,41,55,.8);
    border-color: #374151;
}

.l-cta-h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}
.dark .l-cta-h2 { color: #fff; }

.l-cta-sub {
    margin-top: .5rem;
    margin-bottom: 1.5rem;
    font-size: .9375rem;
    color: #4b5563;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 640px) {
    .l-cta-sub { font-size: 1rem; }
}
.dark .l-cta-sub { color: #9ca3af; }

/* ── Footer ───────────────────────────────────────── */
.l-footer {
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}
.dark .l-footer { border-top-color: #1f2937; }

.l-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.l-footer-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.l-footer-name {
    font-size: .875rem;
    color: #4b5563;
}
.dark .l-footer-name { color: #9ca3af; }

.l-footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.l-footer-links a {
    font-size: .875rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}
.l-footer-links a:hover { color: #111827; }
.dark .l-footer-links a { color: #9ca3af; }
.dark .l-footer-links a:hover { color: #fff; }

.l-footer-copy {
    text-align: center;
    padding: 1.5rem 0;
    font-size: .75rem;
    color: #4b5563;
}
.dark .l-footer-copy { color: #cbd5e1; }

/* ── Utilities ────────────────────────────────────── */
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================================
   Sage Suite public-page reference standard
   Product-first, operational, and aligned with the admin workbench.
   ============================================================================ */
:root {
    --lp-bg: #f8fafc;
    --lp-surface: #ffffff;
    --lp-surface-muted: #f1f5f9;
    --lp-text: #0f172a;
    --lp-muted: #475569;
    --lp-border: #cbd5e1;
    --lp-primary: #1d4ed8;
    --lp-primary-hover: #1e40af;
    --lp-radius: 8px;
}

.landing-page {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    background: var(--lp-bg) !important;
    color: var(--lp-text) !important;
}

.l-wrap {
    max-width: 1180px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.l-nav {
    border-bottom-color: var(--lp-border) !important;
    background: rgba(255, 255, 255, 0.94) !important;
}

.l-nav-inner {
    height: 56px !important;
}

.l-logo-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 7px !important;
    background: #10b981 !important;
}

.l-logo-text {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
}

.l-btn,
.l-btn-nav,
.l-nav-link,
.l-theme-btn {
    border-radius: 7px !important;
}

.l-btn-primary,
.l-btn-nav {
    background: var(--lp-primary) !important;
    color: #ffffff !important;
}

.l-btn-primary:hover,
.l-btn-nav:hover {
    background: var(--lp-primary-hover) !important;
}

.l-hero {
    position: relative !important;
    min-height: 420px !important;
    display: grid !important;
    align-items: start !important;
    padding: 86px 0 72px !important;
    overflow: hidden !important;
    text-align: left !important;
    border-bottom: 1px solid var(--lp-border) !important;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 1) 100%),
        linear-gradient(90deg, rgba(29, 78, 216, 0.1), rgba(16, 185, 129, 0.08)),
        var(--lp-bg) !important;
}

.l-hero::after {
    content: none !important;
}

.l-hero .l-wrap {
    position: relative !important;
    z-index: 1 !important;
}

.l-hero-h1 {
    max-width: 760px !important;
    color: var(--lp-text) !important;
    font-size: clamp(2.5rem, 6vw, 5.25rem) !important;
    line-height: 0.98 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
}

.l-hero-sub {
    max-width: 620px !important;
    margin: 1rem 0 0 !important;
    color: var(--lp-muted) !important;
    font-size: 1.13rem !important;
}

.l-hero-cta {
    margin-top: 1.55rem !important;
}

.l-features,
.l-bot-queue,
.l-example,
.l-workflow,
.l-cta {
    padding: 3rem 0 !important;
    border-top: 1px solid var(--lp-border) !important;
}

.l-pills {
    justify-content: flex-start !important;
    gap: 0.65rem !important;
}

.l-pill,
.l-example-prompts span {
    border-radius: 999px !important;
    border-color: var(--lp-border) !important;
    background: #ffffff !important;
    color: #334155 !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04) !important;
}

.l-section-head-row,
.l-example-inner {
    border: 1px solid var(--lp-border) !important;
    border-radius: var(--lp-radius) !important;
    background: #ffffff !important;
    padding: 1rem !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05) !important;
}

.l-section-kicker,
.l-example-kicker {
    color: var(--lp-primary) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

.l-section-h2,
.l-section-h2-left {
    color: var(--lp-text) !important;
    text-align: left !important;
    font-size: 1.45rem !important;
    line-height: 1.18 !important;
}

.l-section-sub,
.l-section-sub-left,
.l-example-sub {
    color: var(--lp-muted) !important;
    text-align: left !important;
    margin-bottom: 0 !important;
}

.l-bot-carousel {
    margin-top: 0.8rem !important;
    border: 1px solid var(--lp-border) !important;
    border-radius: var(--lp-radius) !important;
    background: #ffffff !important;
    padding: 1rem !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05) !important;
}

.l-bot-carousel-status {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 1.65rem !important;
    margin: 0 0 0.85rem !important;
    padding: 0.22rem 0.55rem !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 999px !important;
    background: #eff6ff !important;
    color: var(--lp-primary) !important;
    font-size: 0.78rem !important;
    font-weight: 750 !important;
}

.l-bot-carousel-track {
    padding: 0 0 0.1rem !important;
}

.l-carousel-button {
    border-color: var(--lp-border) !important;
    border-radius: 7px !important;
    background: #ffffff !important;
}

.l-steps {
    align-items: stretch !important;
}

.l-step {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 1rem !important;
    border: 1px solid var(--lp-border) !important;
    border-radius: var(--lp-radius) !important;
    background: #ffffff !important;
    text-align: left !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04) !important;
}

.l-step-num {
    width: 32px !important;
    height: 32px !important;
    margin: 0 0 0.75rem !important;
    border-radius: 7px !important;
    background: #eff6ff !important;
    color: var(--lp-primary) !important;
}

.l-cta-card {
    border-radius: var(--lp-radius) !important;
    border-color: var(--lp-border) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05) !important;
}

@media (max-width: 767px) {
    .l-nav-inner {
        height: auto !important;
        min-height: 64px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        row-gap: 0.45rem !important;
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
    }

    .l-logo {
        min-width: 0 !important;
    }

    .l-logo-text {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .l-nav-actions {
        display: contents !important;
    }

    .l-theme-btn {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    #landing-auth-state {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 0.85rem !important;
        flex-wrap: wrap !important;
    }

    .l-nav-user {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .l-hero {
        min-height: 360px !important;
        padding-top: 58px !important;
        padding-bottom: 56px !important;
    }

    .l-hero-h1 {
        font-size: clamp(2rem, 9vw, 2.35rem) !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .l-section-head-row,
    .l-example-inner {
        padding: 0.85rem !important;
    }

    .l-steps {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
}
