/* Landing page — Enodo Contract Analysis */

.landing {
    --landing-prose-max: 42rem;
    --landing-section-py: 4rem;
    --landing-section-alt-bg: rgba(0, 0, 0, 0.03);
    --landing-divider: rgba(0, 0, 0, 0.08);
    --landing-how-speed: #adb5bd;
}

[data-bs-theme="dark"] .landing {
    --landing-section-alt-bg: rgba(255, 255, 255, 0.04);
    --landing-divider: rgba(255, 255, 255, 0.1);
    --landing-how-speed: #868e96;
}

.landing-section {
    padding-top: var(--landing-section-py);
    padding-bottom: var(--landing-section-py);
}

.landing-section-alt {
    background-color: var(--landing-section-alt-bg);
}

.landing-prose {
    max-width: var(--landing-prose-max);
}

.landing-hero-copy {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 1.5rem;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.35rem;
}

.landing-hero-actions a:not(.btn) {
    font-weight: 600;
}

.landing-hero-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2rem;
}

.landing-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-hero-badges > li + li {
    margin-left: 0.9rem;
    padding-left: 0.9rem;
    border-left: 1px solid var(--landing-divider);
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--bs-secondary-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.landing-hero-badge:hover,
.landing-hero-badge:focus-visible {
    color: var(--bs-body-color);
}

.landing-hero-badge i {
    font-size: 0.85rem;
    line-height: 1;
    color: var(--bs-primary);
}

.landing-hero-badge-flag {
    display: inline-flex;
    flex-shrink: 0;
    width: 1.05rem;
    height: 0.525rem;
    overflow: hidden;
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.landing-hero-badge-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

[data-bs-theme="dark"] .landing-hero-badge-flag {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

@media (max-width: 575.98px) {
    .landing-hero-brand {
        margin-top: 1.5rem;
    }
}

@media (min-width: 992px) {
    .landing .landing-how-diagram {
        padding-left: 2.25rem;
    }
}

/* ------------------------------------------------------------------ */
/* Hero product mock                                                    */
/* ------------------------------------------------------------------ */

.landing-hero-visual,
.landing-demo {
    --hero-titlebar: #2b3035;
    --hero-titlebar-text: #ced4da;
    --hero-window: #ffffff;
    --hero-contract-bg: #fbfbfc;
    --hero-analysis-bg: #ffffff;
    --hero-card: #f5f6f7;
    --hero-border: #dee2e6;
    --hero-muted: #6c757d;
    --hero-text: #212529;
    --hero-tab: #0d6efd;
    --hero-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 18px 40px rgba(0, 0, 0, 0.12);
    --hero-high: #dc3545;
    --hero-obligation: #0d6efd;
    --hero-highlight: #fff3cd;
    --hero-finding-gutter: 1.2rem;
    --hero-medium: #fd7e14;
    --hero-low: #ffc107;
}

.landing-hero-visual,
.landing-demo-frame {
    --landing-hero-border-width: 1px;
    --landing-hero-border-color: rgba(0, 0, 0, 0.12);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow:
        0 0 18px rgba(0, 0, 0, 0.18),
        0 0 36px rgba(0, 0, 0, 0.08);
}

.landing-hero-visual::after,
.landing-demo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    border: var(--landing-hero-border-width) solid var(--landing-hero-border-color);
    border-radius: inherit;
    pointer-events: none;
}

[data-bs-theme="dark"] .landing-hero-visual,
[data-bs-theme="dark"] .landing-demo-frame {
    --landing-hero-border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.22),
        0 0 40px rgba(255, 255, 255, 0.1);
}

.landing-hero-visual {
    container-type: inline-size;
    min-height: 18rem;
    height: 100%;
}

.landing-hero-visual .hero-product {
    inset: 0 0 -1.4rem 0;
    border: none;
    border-radius: inherit;
}

[data-bs-theme="dark"] .landing-hero-visual,
[data-bs-theme="dark"] .landing-demo {
    --hero-titlebar: #12151a;
    --hero-titlebar-text: #ced4da;
    --hero-window: #252a32;
    --hero-contract-bg: #1c2026;
    --hero-analysis-bg: #252a32;
    --hero-card: #2d3748;
    --hero-border: rgba(255, 255, 255, 0.16);
    --hero-muted: #9ca3af;
    --hero-text: #e9ecef;
    --hero-tab: #60a5fa;
    --hero-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35),
        0 18px 40px rgba(0, 0, 0, 0.45);
    --hero-highlight: #854d0e;
}

.hero-product {
    position: absolute;
    inset: 0 0 -1.4rem 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--hero-border);
    border-radius: 0.65rem;
    background: var(--hero-window);
    box-shadow: var(--hero-shadow);
    overflow: hidden;
    font-size: clamp(0.62rem, 3.1cqi, 0.78rem);
    color: var(--hero-text);
    pointer-events: none;
    user-select: none;
}

.hero-product-titlebar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    padding: 0.5rem 0.8rem;
    background: var(--hero-titlebar);
    color: var(--hero-titlebar-text);
    font-size: 0.92em;
    font-weight: 600;
    line-height: 1.2;
    border-bottom: 1px solid var(--hero-border);
}

.hero-product-dots {
    display: flex;
    flex-shrink: 0;
    gap: 0.28rem;
}

.hero-product-dots span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #6c757d;
}

.hero-product-dots span:nth-child(1) { background: #ff5f57; }
.hero-product-dots span:nth-child(2) { background: #febc2e; }
.hero-product-dots span:nth-child(3) { background: #28c840; }

.hero-product-title {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-product-body {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    flex: 1;
    min-height: 0;
}

.hero-pane {
    min-width: 0;
    min-height: 0;
    padding: 0.7rem 0.8rem 1.5rem;
}

.hero-pane-contract {
    position: relative;
    padding-left: calc(0.55rem + var(--hero-finding-gutter));
    background: var(--hero-contract-bg);
    border-right: 1px solid var(--hero-border);
    font-family: "Times New Roman", Times, serif;
    line-height: 1.45;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    padding-bottom: 3.5rem;
}

.hero-pane-contract::-webkit-scrollbar {
    display: none;
}

.hero-pane-analysis {
    display: flex;
    flex-direction: column;
    background: var(--hero-analysis-bg);
    font-size: 0.95em;
    overflow: hidden;
}

.hero-section-title {
    margin: 0 0 0.45rem;
    font-weight: 700;
}

.hero-section-title:not(:first-child) {
    margin-top: 0.85rem;
}

.hero-clause {
    position: relative;
    margin: 0 0 0.7rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.hero-clause:last-child {
    margin-bottom: 0;
}

.hero-clause.is-highlighted {
    background-color: var(--hero-highlight);
}

.hero-clause-id {
    font-weight: 700;
    margin-right: 0.35em;
}

.hero-clause-text {
    margin: 0;
}

.hero-clause--finding::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: calc(-1 * var(--hero-finding-gutter) / 2);
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--hero-high);
    transform: translate(-50%, -50%);
}

.hero-clause--finding-medium::before {
    background: var(--hero-medium);
}

.hero-clause--finding-low::before {
    background: var(--hero-low);
}

.hero-tabs {
    display: flex;
    flex-shrink: 0;
    gap: 0.7rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid var(--hero-border);
}

.hero-tab {
    padding: 0.15rem 0 0.4rem;
    color: var(--hero-muted);
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

.hero-tab--active {
    color: var(--hero-tab);
    box-shadow: inset 0 -2px 0 var(--hero-tab);
}

.hero-tab.is-pressed {
    transform: translateY(1px);
}

.hero-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1em;
    padding: 0 0.28em;
    margin-left: 0.15em;
    border-radius: 999px;
    background: var(--hero-card);
    font-size: 0.85em;
}

.hero-tab-panes {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 0.9rem), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 0.9rem), transparent);
}

.hero-tab-pane {
    display: none;
}

.hero-tab-pane.is-active {
    display: block;
    animation: hero-pane-in 0.22s ease;
}

@keyframes hero-pane-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-overview {
    margin: 0 0 0.7rem;
    color: var(--hero-text);
    line-height: 1.4;
}

.hero-overview:last-child {
    margin-bottom: 0;
}

.hero-def-ref {
    font-weight: 700;
}

.hero-risk {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.55rem;
    border-radius: 0.3rem;
    background: var(--hero-card);
    border-left: 3px solid var(--hero-medium);
}

.hero-risk:last-child {
    margin-bottom: 0;
}

.hero-risk p {
    margin: 0.15rem 0 0;
    color: var(--hero-muted);
    line-height: 1.35;
}

.hero-mitigation strong {
    color: var(--hero-text);
    font-weight: 600;
}

.hero-risk-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem;
}

.hero-risk-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #6c757d;
    color: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
}

.hero-risk--high {
    border-left-color: var(--hero-high);
}

.hero-risk--high .hero-risk-num {
    background: var(--hero-high);
}

.hero-risk--medium .hero-risk-num {
    background: var(--hero-medium);
}

.hero-risk--low {
    border-left-color: var(--hero-low);
}

.hero-risk--low .hero-risk-num {
    background: var(--hero-low);
    color: #000;
}

.hero-risk--obligation {
    border-left-color: var(--hero-obligation);
}

.hero-risk--obligation .hero-risk-num {
    background: var(--hero-obligation);
}

.hero-severity,
.hero-ob-type {
    flex-shrink: 0;
    padding: 0.08rem 0.4rem;
    border-radius: 0.2rem;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-risk--high .hero-severity {
    background: var(--hero-high);
    color: #fff;
}

.hero-risk--medium .hero-severity {
    background: var(--hero-medium);
    color: #fff;
}

.hero-risk--low .hero-severity {
    background: var(--hero-low);
    color: #000;
}

.hero-ob-type {
    color: var(--hero-obligation);
    background: rgba(13, 110, 253, 0.12);
}

[data-bs-theme="dark"] .hero-ob-type {
    color: var(--hero-tab);
    background: rgba(96, 165, 250, 0.18);
}

.hero-clause-ref {
    font-weight: 700;
    color: var(--hero-text);
}

.hero-clause-ref.is-pressed {
    text-decoration: underline;
}

.landing-hero-note {
    max-width: 36rem;
    margin: 1.25rem auto 0;
    font-size: 0.75rem;
    font-style: italic;
    text-align: center;
}

.landing-caution {
    max-width: var(--landing-prose-max);
    margin-top: 2.5rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--bs-primary);
}

#what-the-results-look-like,
#who-its-for,
#what-you-get,
#how-it-works,
#why-subscribe {
    scroll-margin-top: 1.5rem;
}

.hero-cursor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    width: 1.15rem;
    height: 1.15rem;
    pointer-events: none;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-cursor[hidden] {
    display: none;
}

.hero-cursor-ptr {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: 23% 14%;
    transition: transform 0.12s ease;
}

.hero-cursor.is-clicking .hero-cursor-ptr {
    transform: scale(0.82);
}

.hero-cursor.is-instant {
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-tab-pane.is-active,
    .hero-clause,
    .hero-tab,
    .hero-cursor,
    .hero-cursor-ptr {
        animation: none;
        transition: none;
    }

    .hero-cursor {
        display: none;
    }
}

.landing-demo-unavailable {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    max-width: var(--landing-prose-max);
    padding: 1rem 1.1rem;
    border-radius: 0.85rem;
    background: rgba(var(--bs-primary-rgb), 0.08);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.16);
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--bs-body-color);
}

.landing-demo-unavailable p {
    margin: 0;
}

.landing-demo-unavailable-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: var(--bs-primary);
    color: #fff;
    font-size: 0.95rem;
}

[data-bs-theme="dark"] .landing-demo-unavailable {
    background: rgba(var(--bs-primary-rgb), 0.16);
    border-color: rgba(var(--bs-primary-rgb), 0.28);
}

.landing-demo-try-hint {
    display: none;
}

.landing-demo-disclaimer {
    display: none;
    margin-top: 1.35rem;
    font-size: 0.7rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--bs-secondary-color);
}

.landing-demo-frame {
    display: none;
    flex-direction: column;
    min-width: 0;
    height: 85dvh;
    min-height: min(32rem, 100dvh);
    max-height: 100dvh;
    background: var(--hero-window);
    color: var(--hero-text);
}

/* Two-pane workspace (contract | analysis). Bootstrap lg is the first width
   where each pane is readable; 540px keeps 720p laptops and hides short
   landscape phones / squeezed windows. */
@media (min-width: 992px) and (min-height: 540px) {
    .landing-demo-unavailable {
        display: none;
    }

    .landing-demo-try-hint {
        display: inline;
    }

    .landing-demo-frame {
        display: flex;
    }

    .landing-demo-disclaimer {
        display: block;
    }
}

.landing-demo-body {
    position: relative;
    flex: 1;
    min-height: 0;
    background: var(--hero-window);
}

.landing-demo-body .contract-workspace,
.landing-demo-body .contract-workspace[data-workspace-mode="embed"] .contract-page-row {
    height: 100%;
    min-height: 0;
}

.landing-demo-preview {
    position: absolute;
    inset: 0;
}

.landing-demo-still {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: blur(8px);
}

.landing-demo-still--dark {
    display: none;
}

[data-bs-theme="dark"] .landing-demo-still--light {
    display: none;
}

[data-bs-theme="dark"] .landing-demo-still--dark {
    display: block;
}

.landing-demo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.42);
    text-align: center;
}

[data-bs-theme="dark"] .landing-demo-overlay {
    background: rgba(18, 21, 26, 0.48);
}

.landing-demo-hint {
    max-width: 22rem;
    font-size: 0.95rem;
    color: var(--hero-text);
}

.landing-demo-context {
    max-width: 26rem;
    margin-top: 0.65rem;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--bs-secondary-color);
}

.landing-demo-disclaimer-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

[data-landing-demo-load] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .landing-demo-still {
        filter: blur(3px);
    }
}

.landing-tile-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.landing-tile {
    --landing-tile-accent: var(--bs-primary);
    --landing-tile-tint: rgba(13, 110, 253, 0.06);
    padding: 1.5rem 1.35rem 1.4rem;
    border: 1px solid var(--landing-divider);
    border-radius: 0.625rem;
    background:
        linear-gradient(
            145deg,
            var(--landing-tile-tint) 0%,
            transparent 55%
        ),
        var(--bs-body-bg);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 6px 18px rgba(0, 0, 0, 0.04);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

@media (hover: hover) {
    .landing-tile:hover {
        border-color: color-mix(
            in srgb,
            var(--landing-tile-accent) 28%,
            var(--landing-divider)
        );
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.05),
            0 10px 28px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }
}

.landing-tile--legal {
    --landing-tile-accent: #6610f2;
    --landing-tile-tint: rgba(102, 16, 242, 0.08);
}

.landing-tile--business {
    --landing-tile-accent: #198754;
    --landing-tile-tint: rgba(25, 135, 84, 0.08);
}

.landing-tile--teams {
    --landing-tile-accent: #0d6efd;
    --landing-tile-tint: rgba(13, 110, 253, 0.08);
}

.landing-tile--risk {
    --landing-tile-accent: #dc3545;
    --landing-tile-tint: rgba(220, 53, 69, 0.08);
}

.landing-tile--speed {
    --landing-tile-accent: #ffc107;
    --landing-tile-tint: rgba(255, 193, 7, 0.12);
}

.landing-tile--speed .landing-tile-icon {
    color: #212529;
}

.landing-tile-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
}

.landing-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.35rem;
    background-color: var(--landing-tile-accent);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
}

[data-bs-theme="dark"] .landing-tile {
    background:
        linear-gradient(
            145deg,
            var(--landing-tile-tint) 0%,
            transparent 60%
        ),
        var(--bg-card-grey, #2d3748);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 6px 18px rgba(0, 0, 0, 0.15);
}

@media (hover: hover) {
    [data-bs-theme="dark"] .landing-tile:hover {
        border-color: color-mix(
            in srgb,
            var(--landing-tile-accent) 35%,
            var(--landing-divider)
        );
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.25),
            0 10px 28px rgba(0, 0, 0, 0.2);
    }
}

[data-bs-theme="dark"] .landing-tile--legal {
    --landing-tile-accent: #a78bfa;
    --landing-tile-tint: rgba(167, 139, 250, 0.18);
}

[data-bs-theme="dark"] .landing-tile--business {
    --landing-tile-accent: #4ade80;
    --landing-tile-tint: rgba(74, 222, 128, 0.14);
}

[data-bs-theme="dark"] .landing-tile--teams {
    --landing-tile-accent: #60a5fa;
    --landing-tile-tint: rgba(96, 165, 250, 0.16);
}

[data-bs-theme="dark"] .landing-tile--risk {
    --landing-tile-accent: #f87171;
    --landing-tile-tint: rgba(248, 113, 113, 0.16);
}

[data-bs-theme="dark"] .landing-tile--speed {
    --landing-tile-accent: #facc15;
    --landing-tile-tint: rgba(250, 204, 21, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .landing-tile,
    .landing-outcome-card {
        transition: none;
    }

    .landing-tile:hover,
    .landing-outcome-card:hover {
        transform: none;
    }
}

.landing-outcome-card {
    --landing-outcome-accent: var(--bs-primary);
    --landing-outcome-tint: rgba(13, 110, 253, 0.07);
    height: 100%;
    padding: 1.25rem 1.35rem 1.35rem;
    border: 1px solid var(--landing-divider);
    border-left: 3px solid var(--landing-outcome-accent);
    border-radius: 0.5rem;
    background-color: var(--landing-outcome-tint);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 6px 18px rgba(0, 0, 0, 0.04);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

@media (hover: hover) {
    .landing-outcome-card:hover {
        border-color: color-mix(
            in srgb,
            var(--landing-outcome-accent) 28%,
            var(--landing-divider)
        );
        border-left-color: var(--landing-outcome-accent);
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.05),
            0 10px 28px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }
}

.landing-outcome-card--summary {
    --landing-outcome-accent: #6c757d;
    --landing-outcome-tint: rgba(108, 117, 125, 0.08);
}

.landing-outcome-card--risk {
    --landing-outcome-accent: #dc3545;
    --landing-outcome-tint: rgba(220, 53, 69, 0.07);
}

.landing-outcome-card--obligation {
    --landing-outcome-accent: #0d6efd;
    --landing-outcome-tint: rgba(13, 110, 253, 0.07);
}

.landing-outcome-card--mitigation {
    --landing-outcome-accent: #198754;
    --landing-outcome-tint: rgba(25, 135, 84, 0.07);
}

[data-bs-theme="dark"] .landing-outcome-card {
    background:
        linear-gradient(
            145deg,
            var(--landing-outcome-tint) 0%,
            transparent 60%
        ),
        var(--bg-card-grey, #2d3748);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 6px 18px rgba(0, 0, 0, 0.15);
}

@media (hover: hover) {
    [data-bs-theme="dark"] .landing-outcome-card:hover {
        border-color: color-mix(
            in srgb,
            var(--landing-outcome-accent) 35%,
            var(--landing-divider)
        );
        border-left-color: var(--landing-outcome-accent);
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.25),
            0 10px 28px rgba(0, 0, 0, 0.2);
    }
}

[data-bs-theme="dark"] .landing-outcome-card--summary {
    --landing-outcome-accent: #9ca3af;
    --landing-outcome-tint: rgba(156, 163, 175, 0.14);
}

[data-bs-theme="dark"] .landing-outcome-card--risk {
    --landing-outcome-accent: #f87171;
    --landing-outcome-tint: rgba(248, 113, 113, 0.16);
}

[data-bs-theme="dark"] .landing-outcome-card--obligation {
    --landing-outcome-accent: #60a5fa;
    --landing-outcome-tint: rgba(96, 165, 250, 0.16);
}

[data-bs-theme="dark"] .landing-outcome-card--mitigation {
    --landing-outcome-accent: #4ade80;
    --landing-outcome-tint: rgba(74, 222, 128, 0.14);
}

.landing-outcome-card-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.landing-outcome-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.35rem;
    background-color: var(--landing-outcome-accent);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
}

.landing-outcome-card--summary .landing-outcome-icon {
    color: #fff;
}

.landing-outcome-lead {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.landing-outcome-points {
    padding-left: 1.15rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
}

.landing-outcome-points li + li {
    margin-top: 0.35rem;
}

.landing-outcome-aside {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.landing-closing {
    text-align: center;
}

.landing-closing .landing-prose {
    margin-left: auto;
    margin-right: auto;
}

.landing-closing-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0;
}

.landing-closing-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.landing-closing-item a {
    white-space: nowrap;
}

.landing-closing-sep {
    margin-inline: 0.75rem;
    color: var(--bs-secondary-color);
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .landing {
        --landing-section-py: 2.5rem;
    }

    .landing-hero-copy {
        padding-top: 0;
    }

    .landing-hero-visual {
        --hero-finding-gutter: 0.85rem;
        min-height: 18rem;
        height: auto;
    }

    .landing-hero-visual .hero-product {
        inset: 0 0 -1.1rem 0;
        font-size: clamp(0.48rem, 2.35cqi, 0.62rem);
    }

    .landing-hero-visual .hero-pane {
        padding: 0.45rem 0.5rem 1rem;
    }

    .landing-hero-visual .hero-pane-contract {
        padding-left: calc(0.45rem + var(--hero-finding-gutter));
    }

    .landing-hero-visual .hero-tabs {
        gap: 0.35rem;
        margin-bottom: 0.45rem;
    }

    .landing-hero-visual .hero-risk {
        gap: 0.35rem;
        margin-bottom: 0.35rem;
        padding: 0.35rem 0.4rem;
    }

    .landing-hero-visual .hero-risk-num {
        width: 1rem;
        height: 1rem;
        font-size: 0.62rem;
    }
}

@media (min-width: 992px) {
    .landing-section {
        --landing-section-py: 5rem;
    }

    .landing-hero-copy {
        padding-top: 2.75rem;
    }

    .landing-hero-brand {
        margin-top: 4.5rem;
        margin-bottom: -2.5rem;
    }

    .landing-hero-visual {
        min-height: 22rem;
    }
}
