/* ============ Landing page (marketing) ============ */
.lp-root {
    --lp-blue: #1166d8;
    --lp-blue-strong: #0751b7;
    --lp-navy: #081a31;
    --lp-navy-2: #102b4d;
    --lp-ink: #102033;
    --lp-muted: #607286;
    --lp-soft: #f5f8fb;
    --lp-panel: #ffffff;
    --lp-border: #dce6ef;
    --lp-green: #1f9d66;
    --lp-amber: #8a5a10;
    color: var(--lp-ink);
    background: #ffffff;
    font-family: 'Plus Jakarta Sans', 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.lp-root *,
.lp-root *::before,
.lp-root *::after {
    box-sizing: border-box;
}

.lp-root a {
    color: inherit;
    text-decoration: none;
}

.lp-root section {
    scroll-margin-top: 84px;
}

/* ---- Nav ---- */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 72px;
    padding: 0.85rem clamp(1rem, 5vw, 3rem);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(220, 230, 239, 0.9);
    backdrop-filter: saturate(160%) blur(14px);
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: var(--lp-ink);
    font-size: 1.05rem;
    font-weight: 700;
}

.lp-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-blue) 0%, var(--lp-navy-2) 100%);
    box-shadow: 0 10px 28px -18px rgba(17, 102, 216, 0.9);
    font-size: 0.92rem;
    font-weight: 800;
}

.lp-brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.75rem);
    margin-left: 0.75rem;
    color: var(--lp-muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.lp-nav-links a {
    transition: color 160ms ease;
}

.lp-nav-links a:hover {
    color: var(--lp-blue);
}

.lp-nav-cta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}

/* ---- Mobile nav menu ----
   A CSS-only <details> disclosure, shown only ≤760px where .lp-nav-links is hidden. */
.lp-nav-menu {
    display: none;
    position: relative;
}

.lp-nav-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    cursor: pointer;
    list-style: none; /* hide the default marker */
}

.lp-nav-menu summary::-webkit-details-marker {
    display: none;
}

/* Hamburger glyph: a bar with ::before/::after bars above and below. */
.lp-nav-menu-icon,
.lp-nav-menu-icon::before,
.lp-nav-menu-icon::after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: var(--lp-ink);
}

.lp-nav-menu-icon {
    position: relative;
}

.lp-nav-menu-icon::before,
.lp-nav-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.lp-nav-menu-icon::before {
    top: -5px;
}

.lp-nav-menu-icon::after {
    top: 5px;
}

.lp-nav-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    z-index: 60;
    display: grid;
    min-width: 200px;
    padding: 0.4rem;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 44px -18px rgba(7, 26, 52, 0.35);
}

.lp-nav-menu-panel a {
    padding: 0.6rem 0.8rem;
    border-radius: 7px;
    color: var(--lp-ink);
    font-size: 0.94rem;
    font-weight: 600;
}

.lp-nav-menu-panel a:hover {
    color: var(--lp-blue);
    background: #f2f7fd;
}

/* ---- Hero ---- */
.lp-hero {
    position: relative;
    min-height: min(640px, calc(100svh - 92px));
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(120deg, #07182e 0%, #0d274a 50%, #f7fbff 50%, #eef5fb 100%);
}

.lp-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 52%;
    height: 68%;
    background: radial-gradient(circle, rgba(17, 102, 216, 0.22) 0%, rgba(17, 102, 216, 0) 68%);
    pointer-events: none;
}

.lp-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 24, 46, 0.98) 0%, rgba(7, 24, 46, 0.9) 44%, rgba(7, 24, 46, 0.2) 70%, rgba(7, 24, 46, 0) 100%);
    pointer-events: none;
}

.lp-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    width: min(100%, 620px);
    min-height: min(640px, calc(100svh - 92px));
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 6vw, 4.5rem);
}

.lp-hero-scene {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: clamp(1rem, 4vw, 4.5rem);
    width: min(46vw, 580px);
    height: min(74vh, 560px);
    transform: translateY(-50%);
}

/* Three mock surfaces stacked and tilted for a layered "stack of screenshots" look:
   the dashboard sits behind (top-right), the Ask/chat screen in front (lower-left),
   and a pinned KPI tile pops over the corner. */
.lp-hero-scene > div {
    position: absolute;
}

/* Scoped under .lp-hero-scene so the per-shot box-shadows win over the base .lp-product-window shadow
   (which is later in source and would otherwise override them at equal specificity). */
.lp-hero-scene .lp-dash-shot {
    top: 0;
    right: 0;
    width: 70%;
    z-index: 1;
    transform: rotate(2.2deg);
    box-shadow: 0 50px 100px -50px rgba(7, 26, 52, 0.9);
}

.lp-hero-scene .lp-app-shot {
    left: 0;
    bottom: 0;
    width: 70%;
    z-index: 2;
    transform: rotate(-2.2deg);
    box-shadow: 0 36px 80px -40px rgba(7, 26, 52, 0.78);
}

.lp-product-window {
    overflow: hidden;
    border: 1px solid rgba(157, 179, 204, 0.45);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 34px 90px -48px rgba(7, 26, 52, 0.7);
}

.lp-product-header {
    display: flex;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--lp-border);
    background: #f7fafc;
}

.lp-product-header span {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #b8c7d8;
}

/* Hero product mockup — a miniature of the actual Ask (chat) screen:
   conversation sidebar · question bubble · "Ran SOQL" answer with query + results · input bar. */
.lp-app-shot .lp-product-header {
    align-items: center;
}

.lp-app-body {
    display: grid;
    grid-template-columns: minmax(90px, 33%) 1fr;
    min-height: 300px;
    background: #ffffff;
}

.lp-app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    padding: 0.7rem 0.55rem;
    border-right: 1px solid var(--lp-border);
    background: #f4f8fc;
}

.lp-app-newchat {
    margin-bottom: 0.28rem;
    padding: 0.42rem 0.5rem;
    border-radius: 6px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-blue) 0%, var(--lp-blue-strong) 100%);
    font-size: 0.72rem;
    font-weight: 750;
    text-align: center;
}

.lp-app-conv {
    overflow: hidden;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    color: var(--lp-muted);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lp-app-conv.active {
    color: var(--lp-ink);
    background: #e4eefb;
}

.lp-app-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lp-app-chat {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.85rem 0.9rem;
}

.lp-app-row.user {
    display: flex;
    justify-content: flex-end;
}

.lp-app-bubble {
    max-width: 90%;
    padding: 0.5rem 0.7rem;
    border-radius: 12px 12px 3px 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-blue) 0%, var(--lp-navy-2) 100%);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.lp-app-answer {
    display: grid;
    gap: 0.5rem;
    padding: 0.7rem;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background: #ffffff;
}

.lp-app-answer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.lp-app-ran {
    color: var(--lp-blue-strong);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.lp-app-pin {
    padding: 0.22rem 0.55rem;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    color: var(--lp-muted);
    font-size: 0.62rem;
    font-weight: 700;
}

.lp-app-soql {
    margin: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 7px;
    overflow: hidden;
    color: #d9e8fa;
    background: #0c203a;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.64rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.lp-app-table {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--lp-border);
    border-radius: 7px;
    background: var(--lp-border);
}

.lp-app-tr {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.9fr;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    color: var(--lp-ink);
    background: #ffffff;
    font-size: 0.68rem;
}

.lp-app-tr > :last-child {
    text-align: right;
}

.lp-app-tr strong {
    color: var(--lp-ink);
    font-weight: 800;
}

.lp-app-thead {
    color: var(--lp-muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #f7fafc;
}

.lp-app-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0.9rem 0.9rem;
    padding: 0.45rem 0.45rem 0.45rem 0.7rem;
    border: 1px solid var(--lp-border);
    border-radius: 9px;
    background: #ffffff;
}

.lp-app-input-text {
    flex: 1;
    color: #9aa9b8;
    font-size: 0.74rem;
}

.lp-app-send {
    padding: 0.34rem 0.72rem;
    border-radius: 6px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-blue) 0%, var(--lp-blue-strong) 100%);
    font-size: 0.72rem;
    font-weight: 750;
}

/* Hero dashboard mockup — miniature of the Dashboard: tab strip · KPI tiles · "pipeline by stage" chart. */
.lp-dash-body {
    padding: 0.7rem 0.75rem 0.85rem;
    background: #ffffff;
}

.lp-dash-tabs {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--lp-border);
}

.lp-dash-tab {
    color: var(--lp-muted);
    font-size: 0.66rem;
    font-weight: 600;
}

.lp-dash-tab.active {
    margin-bottom: -0.55rem;
    padding-bottom: 0.42rem;
    color: var(--lp-blue-strong);
    border-bottom: 2px solid var(--lp-blue-strong);
}

.lp-dash-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border: 1px solid var(--lp-border);
    border-radius: 4px;
    color: var(--lp-muted);
    font-size: 0.7rem;
    line-height: 1;
}

.lp-dash-refresh {
    margin-left: auto;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-blue) 0%, var(--lp-blue-strong) 100%);
    font-size: 0.58rem;
    font-weight: 700;
}

.lp-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.lp-dash-stat {
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
    padding: 0.62rem 0.7rem;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-blue) 0%, var(--lp-navy-2) 100%);
    box-shadow: 0 14px 30px -22px rgba(7, 26, 52, 0.85);
}

.lp-dash-stat-title {
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0.92;
}

.lp-dash-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.lp-dash-stat-cap {
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.86;
}

.lp-dash-card {
    grid-column: 1 / -1;
    padding: 0.6rem 0.7rem 0.7rem;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    background: #ffffff;
}

.lp-dash-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.lp-dash-card-title {
    color: var(--lp-ink);
    font-size: 0.64rem;
    font-weight: 650;
}

.lp-dash-legend {
    display: flex;
    gap: 0.5rem;
}

.lp-dash-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    color: var(--lp-muted);
    font-size: 0.52rem;
    font-weight: 600;
}

.lp-dash-legend-item i {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
}

/* Multi-line line chart (SVG). preserveAspectRatio:none lets it fill the card at any width;
   non-scaling-stroke keeps the lines crisp despite the non-uniform scale. */
.lp-dash-line {
    display: block;
    width: 100%;
    height: 78px;
}

.lp-dash-grid-line {
    stroke: #e3ebf3;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.lp-dash-area {
    fill: rgba(17, 102, 216, 0.1);
}

.lp-dash-line polyline {
    fill: none;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.lp-dash-l1 {
    stroke: var(--lp-blue);
}

.lp-dash-l2 {
    stroke: #e0912f;
    stroke-dasharray: 4 3;
}

.lp-dash-l3 {
    stroke: var(--lp-green);
}

/* Floating KPI tile — a pinned dashboard stat popping in front of the stack, bottom-right. */
.lp-float-kpi {
    right: 2%;
    bottom: 8%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    width: clamp(124px, 14vw, 160px);
    padding: 0.7rem 0.85rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lp-green) 0%, #137a4f 100%);
    box-shadow: 0 28px 54px -26px rgba(7, 26, 52, 0.9);
    transform: rotate(3deg);
}

.lp-float-kpi-title {
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0.92;
}

.lp-float-kpi-value {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.lp-float-kpi-trend {
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0.92;
}

.lp-kicker,
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lp-blue-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lp-kicker {
    color: #9dc7ff;
    margin-bottom: 1rem;
}

.lp-kicker::before,
.lp-eyebrow::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--lp-green);
    box-shadow: 0 0 0 5px rgba(31, 157, 102, 0.16);
}

.lp-eyebrow-inverted {
    color: #a9d0ff;
}

.lp-h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.06;
}

.lp-h1:focus {
    outline: none;
}

.lp-h2 {
    margin: 0;
    color: var(--lp-ink);
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.16;
}

.lp-hero-subtitle {
    max-width: 22ch;
    margin: 1rem 0 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.7vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.18;
}

.lp-hero-copy {
    max-width: 49ch;
    margin: 1rem 0 0;
    color: #dce9f7;
    font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.lp-hero-action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.1rem;
    margin-top: 1.35rem;
}

.lp-secondary-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: #d7e9ff;
    border-bottom: 1px solid rgba(215, 233, 255, 0.45);
    font-weight: 600;
    transition: color 160ms ease, border-color 160ms ease;
}

.lp-secondary-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* Hero CTAs on the dark hero. The demo is the primary (filled) action — the lowest-friction first step
   for a cold visitor — and the OAuth connect is the outline secondary. Scoped under .lp-hero so the
   colors beat the page's `.lp-root a { color: inherit }` rule (which otherwise wins on specificity). */
.lp-hero .lp-demo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.5rem 1.5rem;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    color: #0b3b75;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    transition: background 160ms ease, transform 120ms ease;
}

    .lp-hero .lp-demo-cta:hover {
        background: #eef5fc;
        color: #0b3b75;
        transform: translateY(-1px);
    }

/* The connect form's submit button (a plain <button>, not FluentButton — see Home.razor). */
.lp-hero .lp-connect-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.5rem 1.4rem;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}

    .lp-hero .lp-connect-secondary:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: #ffffff;
    }

/* ---- Waitlist form ---- */
.lp-form {
    width: min(100%, 560px);
}

.lp-form-row {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto;
    gap: 0.65rem;
    align-items: stretch;
}

.lp-email {
    width: 100%;
    min-width: 0;
}

.lp-form fluent-text-field,
.lp-form fluent-button {
    width: 100%;
}

.lp-form fluent-button {
    min-width: 180px;
}

.lp-form-micro,
.lp-form-error {
    margin-top: 0.65rem;
    font-size: 0.84rem;
    font-weight: 620;
}

.lp-form-hero .lp-form-micro {
    color: #bfd5ee;
}

.lp-form-panel .lp-form-micro {
    color: var(--lp-muted);
}

.lp-waitlist-panel-dark .lp-form-panel .lp-form-micro {
    color: #bfd5ee;
}

.lp-form-error {
    color: #ffd2cc;
}

.lp-form-panel .lp-form-error {
    color: #b92d22;
}

.lp-waitlist-panel-dark .lp-form-panel .lp-form-error {
    color: #ffd2cc;
}

.lp-form-success {
    display: grid;
    gap: 0.15rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(31, 157, 102, 0.28);
    border-radius: 8px;
    color: #dff9ec;
    background: rgba(31, 157, 102, 0.18);
}

.lp-form-panel .lp-form-success {
    color: #145d3e;
    background: #e9f8f0;
}

.lp-waitlist-panel-dark .lp-form-panel .lp-form-success {
    color: #dff9ec;
    background: rgba(31, 157, 102, 0.18);
}

/* ---- Assurance strip ---- */
.lp-assurance-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--lp-border);
}

.lp-assurance-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

.lp-assurance-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.62rem;
    min-height: 68px;
    padding: 1rem;
    color: var(--lp-ink);
    border-right: 1px solid var(--lp-border);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
}

.lp-assurance-item:first-child {
    border-left: 1px solid var(--lp-border);
}

.lp-assurance-mark,
.lp-list-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 0.7rem;
    height: 0.7rem;
    border: 2px solid var(--lp-green);
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg) translateY(-1px);
}

.lp-assurance-mark {
    width: 0.58rem;
    height: 0.9rem;
}

/* ---- Sections ---- */
.lp-section {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: clamp(3.8rem, 7vw, 5.8rem) clamp(1rem, 5vw, 3rem);
}

.lp-section-head {
    width: min(100%, 740px);
    margin: 0 auto 2.2rem;
    text-align: center;
}

.lp-section-head .lp-eyebrow,
.lp-security-copy .lp-eyebrow {
    margin-bottom: 0.85rem;
}

.lp-sub {
    margin: 1rem 0 0;
    color: var(--lp-muted);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
}

/* ---- Focus cards ---- */
.lp-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.lp-focus-card,
.lp-step,
.lp-faq-item {
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    background: #ffffff;
}

.lp-focus-card {
    min-height: 245px;
    padding: 1.45rem;
    box-shadow: 0 18px 48px -42px rgba(7, 26, 52, 0.5);
}

.lp-focus-card span {
    display: inline-flex;
    margin-bottom: 3.25rem;
    color: var(--lp-amber);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.lp-focus-card h3,
.lp-step h3,
.lp-faq-item h3,
.lp-waitlist-panel h3 {
    margin: 0;
    color: var(--lp-ink);
    font-size: 1.22rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.lp-focus-card p,
.lp-step p,
.lp-faq-item p,
.lp-waitlist-panel p {
    margin: 0.7rem 0 0;
    color: var(--lp-muted);
}

/* ---- Workflow ---- */
.lp-workflow-section {
    width: 100%;
    max-width: none;
    background: #f7fafc;
}

.lp-workflow-section > .lp-section-head,
.lp-workflow {
    width: min(100%, 1120px);
    margin-inline: auto;
}

.lp-workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    background: var(--lp-border);
}

.lp-step {
    min-height: 250px;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.lp-step-index {
    display: inline-flex;
    margin-bottom: 3rem;
    color: var(--lp-blue-strong);
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ---- Security / CTA ---- */
.lp-security-section {
    color: #e8f2ff;
    background: linear-gradient(135deg, #071a34 0%, #102b4d 100%);
}

.lp-security-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: center;
}

.lp-security-copy .lp-h2 {
    color: #ffffff;
}

.lp-security-copy p {
    margin: 1rem 0 0;
    color: #c7d9ee;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.lp-security-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.lp-security-list li {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: 0.75rem;
    color: #d8e7f7;
}

.lp-security-list .lp-list-icon {
    border-color: #65d69e;
}

.lp-waitlist-panel {
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid rgba(17, 102, 216, 0.25);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 30px 70px -46px rgba(7, 26, 52, 0.55);
}

.lp-waitlist-panel-dark {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.lp-waitlist-panel-dark h3 {
    color: #ffffff;
}

.lp-waitlist-panel-dark p {
    color: #c7d9ee;
}

.lp-panel-label {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: #9dc7ff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* ---- Pricing ---- */
.lp-pricing-panel {
    width: min(100%, 620px);
    margin: 0 auto;
}

.lp-pricing-price {
    color: var(--lp-ink);
    font-size: 2.4rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.lp-pricing-price span {
    margin-left: 0.35rem;
    color: var(--lp-muted);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.lp-pricing-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0 0.3rem;
    padding: 0;
    list-style: none;
}

.lp-pricing-list li {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: 0.75rem;
    color: var(--lp-muted);
}

.lp-pricing-list .lp-list-icon {
    margin-top: 0.45rem;
}

.lp-pricing-demo-link {
    color: var(--lp-blue);
    font-weight: 600;
    text-decoration: underline;
}

.lp-pricing-demo-link:hover {
    color: var(--lp-ink);
}

/* ---- FAQ ---- */
.lp-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.lp-faq-item {
    min-height: 155px;
    padding: 1.35rem;
}

/* ---- Footer ---- */
.lp-footer {
    color: #9eb4cc;
    background: #07111f;
}

.lp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 5vw, 3rem);
}

.lp-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #ffffff;
    font-weight: 700;
}

.lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-weight: 650;
}

.lp-footer-links a:hover {
    color: #ffffff;
}

.lp-footer-copy {
    margin-left: auto;
    font-size: 0.88rem;
}

/* ---- Legal pages ---- */
.lp-legal {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 5vw, 3rem);
}

.lp-legal h2 {
    margin: 2rem 0 0.5rem;
    font-size: 1.25rem;
}

.lp-legal p,
.lp-legal li {
    color: var(--lp-muted);
}

.lp-legal a {
    color: var(--lp-blue);
}

.lp-legal-meta {
    margin-bottom: 1rem;
    color: var(--lp-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .lp-hero {
        display: flex;
        flex-direction: column;
        background: #07182e;
    }

    /* Lead with the headline, then the product mockups (the scene precedes the text in the DOM so the
       desktop absolute layer order is correct — `order` flips it back for the stacked mobile view). */
    .lp-hero-inner {
        order: -1;
    }

    .lp-hero-scrim {
        background: linear-gradient(180deg, rgba(7, 24, 46, 0.96) 0%, rgba(7, 24, 46, 0.82) 100%);
    }

    .lp-hero-inner {
        width: min(100%, 640px);
        min-height: auto;
        padding-block: 4rem 2rem;
    }

    .lp-hero-scene {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        width: min(100% - 2rem, 520px);
        height: auto;
        margin: 0 auto;
        padding-bottom: 3rem;
        transform: none;
    }

    /* Un-stack: surfaces flow normally, full width, untilted. The chat leads; the KPI tile is dropped. */
    .lp-hero-scene > div {
        position: static;
    }

    .lp-hero-scene .lp-dash-shot,
    .lp-hero-scene .lp-app-shot {
        width: 100%;
        transform: none;
        box-shadow: 0 30px 70px -46px rgba(7, 26, 52, 0.7);
    }

    .lp-hero-scene .lp-app-shot {
        order: -1;
    }

    .lp-float-kpi {
        display: none;
    }

    .lp-product-window {
        opacity: 0.95;
    }

    .lp-focus-grid,
    .lp-workflow,
    .lp-security-grid {
        grid-template-columns: 1fr;
    }

    .lp-focus-card,
    .lp-step {
        min-height: auto;
    }

    .lp-focus-card span,
    .lp-step-index {
        margin-bottom: 2rem;
    }
}

@media (max-width: 760px) {
    .lp-nav-links {
        display: none;
    }

    .lp-nav-menu {
        display: block;
    }

    .lp-assurance-inner,
    .lp-faq-grid {
        grid-template-columns: 1fr;
    }

    .lp-assurance-item,
    .lp-assurance-item:first-child {
        justify-content: flex-start;
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid var(--lp-border);
        text-align: left;
    }

    .lp-assurance-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .lp-nav {
        min-height: 64px;
        gap: 0.75rem;
        padding-inline: 0.9rem;
    }

    .lp-brand {
        gap: 0.5rem;
    }

    .lp-brand-mark {
        width: 32px;
        height: 32px;
    }

    .lp-nav-cta fluent-anchor:first-child {
        display: none;
    }

    .lp-hero-inner {
        padding: 3.2rem 1rem 2.8rem;
    }

    /* Keep the product visible on phones: the chat shot stays (already full-width and untilted via
       the 980px rules); only the dashboard miniature behind it is dropped. */
    .lp-hero-scene {
        width: min(100% - 2rem, 440px);
        padding-bottom: 2rem;
    }

    .lp-hero-scene .lp-dash-shot {
        display: none;
    }

    .lp-app-soql {
        font-size: 0.6rem;
    }

    /* The chat card is too narrow for three result columns at phone widths:
       drop the Owner column so Opportunity + Amount fit without clipping. */
    .lp-app-tr {
        grid-template-columns: 1.6fr auto;
        gap: 0.35rem;
        font-size: 0.62rem;
    }

    .lp-app-tr > :nth-child(2) {
        display: none;
    }

    .lp-h1 {
        font-size: clamp(2.6rem, 13vw, 3.8rem);
    }

    .lp-hero-subtitle {
        max-width: 20ch;
        font-size: clamp(1.35rem, 7vw, 1.9rem);
    }

    .lp-form-row {
        grid-template-columns: 1fr;
    }

    .lp-form fluent-button {
        min-width: 0;
    }

    .lp-section {
        padding-inline: 1rem;
    }

    .lp-footer-inner {
        display: grid;
        gap: 1rem;
    }

    .lp-footer-copy {
        margin-left: 0;
    }
}

/* ---- Why grid (differentiators, 2-up) ---- */
.lp-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.lp-why-card {
    padding: 1.5rem;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px -42px rgba(7, 26, 52, 0.5);
}

.lp-why-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--lp-ink);
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.lp-why-card p {
    margin: 0.6rem 0 0;
    color: var(--lp-muted);
}

.lp-why-card .lp-list-icon {
    flex: 0 0 auto;
}

/* ---- Comparison table ---- */
.lp-compare-wrap {
    width: min(100%, 1120px);
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lp-compare {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    font-size: 0.96rem;
}

.lp-compare th,
.lp-compare td {
    padding: 0.95rem 1.1rem;
    border-bottom: 1px solid var(--lp-border);
    text-align: left;
    vertical-align: top;
}

.lp-compare thead th {
    background: var(--lp-soft);
    color: var(--lp-ink);
    font-size: 0.98rem;
    font-weight: 700;
}

.lp-compare tbody tr:last-child th,
.lp-compare tbody tr:last-child td {
    border-bottom: 0;
}

.lp-compare-row-label {
    background: #fbfdff;
    color: var(--lp-ink);
    font-weight: 650;
    white-space: nowrap;
}

.lp-compare td:not(.lp-compare-row-label) {
    color: var(--lp-muted);
}

.lp-compare th.is-inqua,
.lp-compare td.is-inqua {
    background: rgba(17, 102, 216, 0.06);
    border-left: 1px solid rgba(17, 102, 216, 0.18);
    border-right: 1px solid rgba(17, 102, 216, 0.18);
    color: var(--lp-ink);
    font-weight: 700;
}

.lp-compare thead th.is-inqua {
    background: rgba(17, 102, 216, 0.12);
    color: var(--lp-blue-strong);
}

/* ---- Connect CTA (replaces the inline form button group) ---- */
.lp-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1rem;
    margin-top: 1.35rem;
}

.lp-cta-note {
    margin-top: 0.85rem;
    color: #bfd5ee;
    font-size: 0.84rem;
    font-weight: 620;
}

.lp-waitlist-panel .lp-cta-note {
    color: var(--lp-muted);
}

.lp-waitlist-panel-dark .lp-cta-note {
    color: #bfd5ee;
}

.lp-cta-form {
    display: inline-flex;
}

@media (max-width: 760px) {
    .lp-why-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- "Try the demo" band (drives demo adoption) ---- */
.lp-demo-band {
    background: linear-gradient(135deg, #0176d3 0%, #032d60 100%);
    color: #ffffff;
    padding: 3.75rem 1.5rem;
    text-align: center;
}

.lp-demo-band-inner {
    max-width: 760px;
    margin: 0 auto;
}

.lp-demo-band-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0.6rem 0 0.85rem;
    line-height: 1.15;
}

.lp-demo-band-copy {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0 auto 1.6rem;
    max-width: 620px;
}

/* Scoped under .lp-demo-band so the color beats the page's `.lp-root a { color: inherit }` rule. */
.lp-demo-band .lp-demo-band-btn {
    display: inline-block;
    background: #ffffff;
    color: #0176d3;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.12s ease, background 0.12s ease;
}

    .lp-demo-band .lp-demo-band-btn:hover {
        background: #eef5fc;
        color: #0176d3;
        transform: translateY(-1px);
    }

/* Closing-band CTA pair (connect form + demo link). */
.lp-demo-band-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
}

/* The same pill rendered as the OAuth connect form's submit <button>. */
.lp-demo-band button.lp-demo-band-btn {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.lp-demo-band .lp-demo-band-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

    .lp-demo-band .lp-demo-band-btn-ghost:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        border-color: #ffffff;
    }

.lp-demo-band-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.82;
    letter-spacing: 0.02em;
}
