/* -----------------------------------------------------------------------------
   landing-experience.css

   The public marketing landing page ("/"). One designed look: a deep navy-teal
   ground with the platform's aura palette (cyan / violet / mint), glassy
   translucent cards, pre-blurred radial aurora glows, a sticky blur header,
   and a synthetic "product console" hero visual. Deliberately self-contained:
   every colour is a literal, nothing reads the app theme tokens, so the page
   renders identically in light / soft / dark / ai themes and any OS scheme.

   Loaded globally from App.razor like the other page-area stylesheets; every
   selector is namespaced under .landing. Reveal-on-scroll styles only engage
   when assets/js/landing-experience.js adds the .landing-js class, so the page
   is fully readable if the script never loads. All motion collapses under
   prefers-reduced-motion unless the html[data-force-motion] harness gate is
   present (same pattern as home-experience.css).

   Project : AspireAIApp.Web
   Author  : Theodor Harmse (Teddy)
   Created : 2026-08-31
----------------------------------------------------------------------------- */

.landing {
    /* Locally-defined literals: self-contained, theme-immune. */
    --ld-bg: #060d16;
    --ld-bg-raise: #0a1522;
    --ld-text: #eef6fc;
    --ld-muted: rgba(190, 212, 229, 0.80);
    --ld-faint: rgba(190, 212, 229, 0.62);
    --ld-border: rgba(126, 190, 228, 0.16);
    --ld-border-strong: rgba(126, 190, 228, 0.30);
    --ld-surface: rgba(255, 255, 255, 0.035);
    --ld-surface-hover: rgba(255, 255, 255, 0.06);
    --ld-a: #4fc3ff;   /* cyan   — the platform's external-page accent */
    --ld-b: #8e96ec;   /* violet — glass-aura violet */
    --ld-c: #67d9bd;   /* mint   — glass-aura mint */
    --ld-grad: linear-gradient(92deg, #4fc3ff 0%, #6faef6 48%, #8e96ec 100%);
    --ld-eyebrow: #9fd4f5;

    /* Module accents (dark-ground variants of the app's module tokens). */
    --ld-mod-crm: #43c98c;
    --ld-mod-tender: #d97fc4;
    --ld-mod-clm: #dda45c;
    --ld-mod-risk: #e57387;
    --ld-mod-bi: #8892f0;
    --ld-mod-km: #b193e8;
    --ld-mod-core: #4fc3ff;

    position: relative;
    min-height: 100vh;
    background: var(--ld-bg);
    color: var(--ld-text);
    font-family: "Segoe UI Variable Display", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
    overflow-x: clip;
}

.landing *,
.landing *::before,
.landing *::after {
    box-sizing: border-box;
}

/* :where() keeps this reset at class-only specificity so single-class rules
   like .ld-btn-primary (dark text on the gradient) can still win. */
.landing :where(a) {
    color: inherit;
    text-decoration: none;
}

/* ==== layout wrapper ==== */

.ld-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
}

/* ==== ambient aurora decor (pre-blurred radial gradients, transform-only) ==== */

.ld-decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ld-aurora {
    position: absolute;
    width: 68vmax;
    height: 68vmax;
    border-radius: 50%;
    will-change: transform;
}

.ld-aurora-1 {
    top: -34vmax;
    left: -18vmax;
    background: radial-gradient(closest-side, rgba(79, 195, 255, 0.17), transparent 70%);
    animation: ld-drift-1 28s ease-in-out infinite alternate;
}

.ld-aurora-2 {
    top: -24vmax;
    right: -24vmax;
    background: radial-gradient(closest-side, rgba(142, 150, 236, 0.15), transparent 70%);
    animation: ld-drift-2 34s ease-in-out infinite alternate;
}

.ld-aurora-3 {
    top: 38%;
    left: 50%;
    width: 92vmax;
    height: 60vmax;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(103, 217, 189, 0.06), transparent 72%);
}

@keyframes ld-drift-1 {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(6vmax, 4vmax, 0); }
}

@keyframes ld-drift-2 {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-5vmax, 5vmax, 0); }
}

/* Lift content above the aurora decor. The header is NOT in this group: it is
   position: sticky (which already establishes stacking) and a grouped
   position: relative here would override sticky and un-stick it. */
.landing > main,
.landing > .ld-footer {
    position: relative;
    z-index: 1;
}

/* ==== sticky blur header ==== */

.ld-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(6, 13, 22, 0.74);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(126, 190, 228, 0.13);
}

.ld-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 66px;
}

.ld-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ld-brand-plate {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 18px rgba(2, 8, 20, 0.45);
    overflow: hidden;
    flex-shrink: 0;
}

.ld-brand-plate img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ld-brand-name {
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.ld-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 26px);
}

.ld-nav a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ld-muted);
    transition: color 0.18s ease;
}

.ld-nav a:hover {
    color: var(--ld-text);
}

.ld-header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ==== buttons ==== */

.ld-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 28px;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: var(--ld-text);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
        border-color 0.18s ease, filter 0.18s ease;
}

.ld-btn:focus-visible {
    outline: 2px solid var(--ld-a);
    outline-offset: 3px;
}

.ld-btn-primary {
    background: var(--ld-grad);
    color: #04121f;
    box-shadow: 0 10px 30px rgba(79, 165, 255, 0.30);
}

.ld-btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
    box-shadow: 0 14px 36px rgba(79, 165, 255, 0.40);
}

.ld-btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.22);
}

.ld-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.ld-btn-sm {
    min-height: 38px;
    padding: 0 20px;
    font-size: 0.88rem;
}

/* ==== shared section furniture ==== */

.ld-eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 14px;
    border: 1px solid rgba(126, 190, 228, 0.32);
    border-radius: 999px;
    background: rgba(79, 195, 255, 0.08);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ld-eyebrow);
}

.ld-grad-text {
    background: var(--ld-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ld-section {
    padding: clamp(56px, 9vw, 104px) 0;
}

.ld-section-head {
    max-width: 760px;
    margin: 0 auto clamp(34px, 5vw, 56px);
    text-align: center;
}

.ld-section-head h2 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 750;
    letter-spacing: -0.018em;
    line-height: 1.14;
}

.ld-section-head p {
    margin: 0;
    color: var(--ld-muted);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.65;
}

/* ==== hero ==== */

.ld-hero {
    padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}

.ld-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
}

.ld-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.3rem, 5vw, 3.7rem);
    font-weight: 780;
    line-height: 1.06;
    letter-spacing: -0.022em;
}

.ld-hero-sub {
    margin: 0 0 30px;
    max-width: 56ch;
    color: var(--ld-muted);
    font-size: clamp(1.02rem, 1.4vw, 1.16rem);
    line-height: 1.65;
}

.ld-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.ld-hero-note {
    margin: 0;
    color: var(--ld-faint);
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

/* ==== hero visual: synthetic product console (no real data, no readable text) ==== */

.ld-visual {
    position: relative;
    min-width: 0;
}

.ld-console {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(126, 190, 228, 0.22);
    background: linear-gradient(165deg, rgba(17, 33, 52, 0.92), rgba(8, 17, 30, 0.94));
    box-shadow:
        0 30px 80px rgba(2, 6, 23, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 60px 140px rgba(79, 165, 255, 0.10);
    overflow: hidden;
    animation: ld-float 9s ease-in-out infinite alternate;
}

.ld-console::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 190, 228, 0.75), transparent);
}

@keyframes ld-float {
    from { transform: translateY(0); }
    to   { transform: translateY(-8px); }
}

.ld-console-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(126, 190, 228, 0.13);
}

.ld-console-dots {
    display: flex;
    gap: 6px;
}

.ld-console-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ld-console-dots span:nth-child(1) { background: rgba(255, 138, 128, 0.75); }
.ld-console-dots span:nth-child(2) { background: rgba(255, 214, 130, 0.72); }
.ld-console-dots span:nth-child(3) { background: rgba(134, 226, 173, 0.72); }

.ld-console-title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ld-faint);
}

.ld-console-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
}

.ld-pane {
    border-radius: 12px;
    border: 1px solid rgba(126, 190, 228, 0.14);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    min-width: 0;
}

/* Document pane: skeleton clause lines, one flagged clause, one redline strike. */

.ld-doc-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(190, 212, 229, 0.16);
    margin-bottom: 9px;
}

.ld-doc-line.w-90 { width: 90%; }
.ld-doc-line.w-75 { width: 75%; }
.ld-doc-line.w-60 { width: 60%; }
.ld-doc-line.w-95 { width: 95%; }
.ld-doc-line.w-45 { width: 45%; }

.ld-doc-flag {
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(229, 115, 135, 0.45);
    background: rgba(229, 115, 135, 0.10);
    padding: 9px 10px;
    margin: 12px 0;
}

.ld-doc-flag .ld-doc-line {
    background: rgba(229, 115, 135, 0.45);
    margin-bottom: 0;
}

.ld-doc-flag::after {
    content: "";
    position: absolute;
    top: -7px;
    right: 10px;
    width: 46px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(92deg, rgba(229, 115, 135, 0.9), rgba(217, 127, 196, 0.9));
}

.ld-doc-redline {
    position: relative;
    margin: 12px 0 9px;
}

.ld-doc-redline .ld-doc-line {
    background: rgba(190, 212, 229, 0.10);
    margin-bottom: 0;
}

.ld-doc-redline::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 70%;
    height: 2px;
    background: rgba(229, 115, 135, 0.75);
}

.ld-doc-insert {
    height: 8px;
    border-radius: 4px;
    width: 82%;
    background: linear-gradient(92deg, rgba(103, 217, 189, 0.55), rgba(79, 195, 255, 0.45));
    margin-bottom: 9px;
}

/* Assistant pane: chat bubbles + verified chip + mini metrics. */

.ld-chat-bubble {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    max-width: 92%;
}

.ld-chat-user {
    margin-left: auto;
    background: rgba(79, 195, 255, 0.14);
    border: 1px solid rgba(79, 195, 255, 0.26);
}

.ld-chat-ai {
    background: rgba(142, 150, 236, 0.12);
    border: 1px solid rgba(142, 150, 236, 0.24);
}

.ld-chat-bubble .ld-doc-line {
    background: rgba(190, 212, 229, 0.22);
    height: 6px;
    margin-bottom: 6px;
}

.ld-chat-bubble .ld-doc-line:last-child {
    margin-bottom: 0;
}

.ld-chip-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid rgba(103, 217, 189, 0.45);
    background: rgba(103, 217, 189, 0.12);
    color: #9fe8d4;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 11px;
    margin-bottom: 12px;
}

.ld-chip-verified svg {
    width: 12px;
    height: 12px;
}

.ld-mini-metrics {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-top: 4px;
}

.ld-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 56px;
    flex: 1;
}

.ld-bars span {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, rgba(142, 150, 236, 0.85), rgba(79, 195, 255, 0.5));
    transform-origin: bottom;
    animation: ld-grow 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    animation-delay: calc(var(--i) * 45ms + 0.25s);
}

.ld-bars span:nth-child(even) {
    background: linear-gradient(180deg, rgba(79, 195, 255, 0.6), rgba(79, 195, 255, 0.28));
}

@keyframes ld-grow {
    from { transform: scaleY(0.18); opacity: 0.35; }
    to   { transform: scaleY(1); opacity: 1; }
}

.ld-donut {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    transform: rotate(-90deg);
}

.ld-donut circle {
    fill: none;
    stroke-width: 9;
}

.ld-donut-track { stroke: rgba(255, 255, 255, 0.07); }
.ld-donut-a { stroke: #4fc3ff; stroke-dasharray: 44 56; }
.ld-donut-b { stroke: #8e96ec; stroke-dasharray: 32 68; stroke-dashoffset: -44; }
.ld-donut-c { stroke: #67d9bd; stroke-dasharray: 16 84; stroke-dashoffset: -76; }

/* ==== cloud plates row ==== */

.ld-clouds {
    padding: clamp(30px, 5vw, 52px) 0;
    border-top: 1px solid rgba(126, 190, 228, 0.10);
}

.ld-clouds-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ld-faint);
    margin: 0 0 22px;
}

.ld-cloud-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.ld-cloud-plate {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 236px;
    min-height: 74px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 14px 34px rgba(2, 8, 20, 0.45);
    padding: 14px 20px;
}

.ld-cloud-plate img {
    max-height: 34px;
    max-width: 92px;
    object-fit: contain;
}

.ld-cloud-plate > span:not(.ld-cloud-badge) {
    color: #1e2a44;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.ld-cloud-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    border-radius: 999px;
    background: var(--ld-grad);
    color: #04121f;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    box-shadow: 0 6px 16px rgba(79, 165, 255, 0.35);
}

.ld-clouds-note {
    margin: 22px auto 0;
    text-align: center;
    color: var(--ld-faint);
    font-size: 0.88rem;
    max-width: 62ch;
}

/* ==== "tools you already use" strip (custom flat letter-tiles in each
   product's brand colour; deliberately NOT the official Microsoft icon
   artwork, product names are plain text) ==== */

.ld-tools-label {
    margin-top: 38px;
}

.ld-tools-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.ld-tool {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--ld-border);
    background: var(--ld-surface);
    border-radius: 999px;
    padding: 8px 20px 8px 9px;
    font-weight: 650;
    font-size: 0.93rem;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ld-tool:hover {
    border-color: rgba(126, 190, 228, 0.38);
    background: var(--ld-surface-hover);
    transform: translateY(-2px);
}

.ld-tool-tile {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1;
    background: linear-gradient(145deg, color-mix(in srgb, var(--tool) 84%, white 16%), var(--tool));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 6px 14px rgba(2, 8, 20, 0.35);
}

/* ==== pillar cards ==== */

.ld-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.ld-card {
    border-radius: 18px;
    border: 1px solid var(--ld-border);
    background: var(--ld-surface);
    padding: 26px 24px 24px;
    min-width: 0;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ld-card:hover {
    border-color: rgba(126, 190, 228, 0.38);
    background: var(--ld-surface-hover);
    transform: translateY(-3px);
}

.ld-glyph {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
    border: 1px solid rgba(126, 190, 228, 0.24);
    background: linear-gradient(135deg, rgba(79, 195, 255, 0.15), rgba(142, 150, 236, 0.12));
    color: #9fd4f5;
}

.ld-glyph svg {
    width: 24px;
    height: 24px;
}

.ld-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ld-card p {
    margin: 0;
    color: var(--ld-muted);
    font-size: 0.93rem;
    line-height: 1.62;
}

/* ==== cloud-native band ==== */

.ld-ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.ld-ops-tile {
    border-radius: 16px;
    border: 1px solid rgba(126, 190, 228, 0.20);
    background:
        radial-gradient(120% 150% at 50% -30%, rgba(79, 195, 255, 0.10), transparent 60%),
        var(--ld-surface);
    padding: 22px 20px;
    text-align: center;
}

.ld-ops-tile strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.ld-ops-tile span {
    color: var(--ld-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.ld-deploy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.ld-deploy-card {
    border-radius: 18px;
    border: 1px solid var(--ld-border);
    background: var(--ld-surface);
    padding: 24px;
    min-width: 0;
}

.ld-deploy-card header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 750;
    font-size: 1.02rem;
}

.ld-deploy-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ld-c);
    box-shadow: 0 0 10px rgba(103, 217, 189, 0.7);
    flex-shrink: 0;
}

.ld-deploy-dot.is-soon {
    background: var(--ld-b);
    box-shadow: 0 0 10px rgba(142, 150, 236, 0.7);
}

.ld-deploy-card p {
    margin: 0;
    color: var(--ld-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==== modules ==== */

.ld-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ld-module {
    --mod: var(--ld-a);
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--ld-border);
    background: var(--ld-surface);
    padding: 28px 26px 24px;
    min-width: 0;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ld-module::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mod), transparent 78%);
    opacity: 0.85;
}

.ld-module:hover {
    border-color: color-mix(in srgb, var(--mod) 46%, transparent);
    background: var(--ld-surface-hover);
    transform: translateY(-3px);
}

.ld-module.is-wide {
    grid-column: 1 / -1;
}

.ld-module-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.ld-module-glyph {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1px solid color-mix(in srgb, var(--mod) 40%, transparent);
    background: color-mix(in srgb, var(--mod) 14%, transparent);
    color: var(--mod);
    flex-shrink: 0;
}

.ld-module-glyph svg {
    width: 24px;
    height: 24px;
}

.ld-module h3 {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 750;
    letter-spacing: -0.012em;
}

.ld-module-tag {
    display: inline-block;
    margin-left: 10px;
    vertical-align: 2px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--mod) 45%, transparent);
    color: var(--mod);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
}

.ld-module-sub {
    margin: 0 0 16px;
    color: var(--ld-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.ld-module ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.ld-module.is-wide ul {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    column-gap: 22px;
}

.ld-module li {
    position: relative;
    padding-left: 22px;
    color: var(--ld-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.ld-module li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--mod) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--mod) 55%, transparent);
}

.ld-module li strong {
    color: var(--ld-text);
    font-weight: 650;
}

/* Expandable detail (native <details> so it works with zero JS). */

.ld-expand {
    margin-top: 18px;
    border-top: 1px solid rgba(126, 190, 228, 0.12);
    padding-top: 4px;
}

.ld-expand summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 2px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--mod, var(--ld-a));
    user-select: none;
}

.ld-expand summary::-webkit-details-marker {
    display: none;
}

.ld-expand summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -3px;
}

.ld-expand[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.ld-expand-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 14px 0 8px;
}

.ld-expand-col h4 {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ld-eyebrow);
}

.ld-expand-col ul {
    display: grid;
    gap: 7px;
}

.ld-expand-col li {
    font-size: 0.86rem;
}

.ld-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.ld-chip {
    border-radius: 999px;
    border: 1px solid rgba(126, 190, 228, 0.26);
    background: rgba(79, 195, 255, 0.07);
    color: var(--ld-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 5px 12px;
    white-space: nowrap;
}

.ld-foundation {
    margin-top: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(126, 190, 228, 0.28);
    background: rgba(79, 195, 255, 0.04);
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 22px;
    color: var(--ld-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.ld-foundation strong {
    color: var(--ld-text);
}

/* ==== office / flagship split ==== */

.ld-office-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.ld-office-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 750;
    letter-spacing: -0.018em;
    line-height: 1.14;
}

.ld-office-copy > p {
    margin: 0 0 20px;
    color: var(--ld-muted);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.65;
}

.ld-office-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ld-office-list li {
    position: relative;
    padding-left: 30px;
    color: var(--ld-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.ld-office-list li strong {
    color: var(--ld-text);
    font-weight: 680;
}

.ld-office-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 17px;
    height: 17px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(79, 195, 255, 0.32), rgba(142, 150, 236, 0.28));
    border: 1px solid rgba(126, 190, 228, 0.4);
}

.ld-office-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: calc(0.28em + 4px);
    width: 7px;
    height: 5px;
    border-left: 2px solid #bfe4ff;
    border-bottom: 2px solid #bfe4ff;
    transform: rotate(-45deg);
}

.ld-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: clamp(30px, 4vw, 44px);
}

/* ==== provider chips band ==== */

.ld-provider-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 14px;
}

.ld-provider-note {
    margin: 0 0 clamp(30px, 4vw, 44px);
    text-align: center;
    color: var(--ld-faint);
    font-size: 0.9rem;
}

.ld-provider {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 999px;
    border: 1px solid rgba(126, 190, 228, 0.26);
    background: rgba(255, 255, 255, 0.035);
    padding: 9px 18px;
    font-size: 0.9rem;
    font-weight: 650;
}

.ld-provider .ld-deploy-dot {
    width: 8px;
    height: 8px;
}

.ld-provider small {
    color: var(--ld-faint);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ==== closing CTA ==== */

.ld-cta {
    border-radius: 24px;
    border: 1px solid rgba(126, 190, 228, 0.22);
    background:
        radial-gradient(120% 160% at 50% -30%, rgba(79, 195, 255, 0.15), transparent 60%),
        rgba(255, 255, 255, 0.03);
    padding: clamp(36px, 6vw, 60px) clamp(22px, 5vw, 60px);
    text-align: center;
}

.ld-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 760;
    letter-spacing: -0.02em;
}

.ld-cta p {
    margin: 0 auto 26px;
    max-width: 56ch;
    color: var(--ld-muted);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.65;
}

.ld-cta .ld-hero-cta {
    justify-content: center;
    margin-bottom: 0;
}

/* ==== footer ==== */

.ld-footer {
    border-top: 1px solid rgba(126, 190, 228, 0.12);
    background: rgba(4, 9, 16, 0.6);
    padding: clamp(34px, 5vw, 52px) 0 30px;
}

.ld-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 30px;
}

.ld-footer-brand p {
    margin: 12px 0 0;
    color: var(--ld-faint);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 34ch;
}

.ld-footer h3 {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ld-eyebrow);
}

.ld-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.ld-footer ul a,
.ld-footer ul li {
    color: var(--ld-muted);
    font-size: 0.88rem;
}

.ld-footer ul a:hover {
    color: var(--ld-text);
}

.ld-footer-base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(126, 190, 228, 0.10);
    padding-top: 20px;
    color: var(--ld-faint);
    font-size: 0.84rem;
}

/* ==== reveal-on-scroll (only when the script engages; page readable without) ==== */

.landing.landing-js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--d, 0s);
}

.landing.landing-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ==== responsive ==== */

@media (max-width: 960px) {
    .ld-nav {
        display: none;
    }

    .ld-hero-grid,
    .ld-office-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ld-hero-sub {
        max-width: none;
    }

    .ld-visual {
        max-width: 560px;
    }

    .ld-module-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ld-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .ld-console-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .ld-hero-cta .ld-btn {
        flex: 1 1 auto;
    }

    .ld-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ld-header-cta .ld-btn-ghost {
        display: none;
    }
}

/* ==== reduced motion: everything settles instantly ====
   The html:not([data-force-motion]) gate matches home-experience.css: browser
   automation / VDI hosts that force reduced-motion still show the designed
   page, while real reduced-motion users get a fully static experience. */

@media (prefers-reduced-motion: reduce) {
    html:not([data-force-motion]) .landing *,
    html:not([data-force-motion]) .landing *::before,
    html:not([data-force-motion]) .landing *::after {
        animation: none !important;
        transition: none !important;
    }

    html:not([data-force-motion]) .landing.landing-js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
