body.livt-home {
    margin-bottom: 0;
    background: var(--color-bg);
}

.livt-home > main {
    padding-bottom: 0;
}

.livt-home-hero {
    min-height: auto;
    padding: 7rem 0 2.75rem;
}

.livt-home-hero .landing-display {
    max-width: 24ch;
    line-height: 1.08;
}

.livt-home-hero .landing-lead {
    margin-top: 1rem;
}

.livt-home-hero .landing-hero-actions {
    align-items: center;
    margin-top: 1.5rem;
    gap: 1.5rem;
}

.livt-home-packages {
    padding: 0.75rem 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.livt-home-packages:hover {
    color: #fff;
    text-decoration: underline;
}

.livt-home a:focus-visible,
.livt-journey button:focus-visible {
    outline: 3px solid #86a9ff;
    outline-offset: 4px;
}

.livt-home-story {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-subtle) 100%);
}

.livt-home-story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 3vw, 3rem);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid rgba(37, 63, 142, 0.1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(37, 63, 142, 0.1);
}

.livt-home-story .section-heading {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

.livt-home-value {
    padding: 4rem 0;
    background: #fff;
}

.livt-home-value-copy {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.livt-home-value .section-heading {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

.livt-home-platform-link {
    margin-top: 1.5rem;
    background: var(--color-primary);
    color: #fff;
}

.livt-home-platform-link:hover,
.livt-home-platform-link:focus {
    background: #1f3476;
    color: #fff;
}

.livt-home-benefits {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.livt-home-benefits li {
    position: relative;
    padding-left: 1.25rem;
}

.livt-home-benefits li::before {
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    content: "";
}

.livt-home-benefits h3 {
    margin: 0 0 0.35rem;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.livt-home-benefits p {
    max-width: 27rem;
    margin: 0;
    color: #59677e;
    font-size: 0.875rem;
    line-height: 1.65;
}

.livt-journey {
    width: 100%;
    max-width: 720px;
    justify-self: center;
}

.livt-journey-figure {
    position: relative;
    margin: 0;
}

.livt-example-selectors:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.livt-example-selectors button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 36px;
    padding: 0.35rem;
    border: 0;
    background: transparent;
    color: #344b74;
    font: inherit;
    font-size: 0.85rem;
}

.livt-example-selectors button > span {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border: 1px solid #8a9dbd;
    border-radius: 50%;
}

.livt-example-selectors button[aria-pressed="true"] > span {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.livt-example-selectors button[aria-pressed="true"] {
    color: var(--color-primary);
    font-weight: 600;
}

.livt-journey-visual {
    position: relative;
}

.livt-dependency-link {
    position: absolute;
    top: 21.7391%;
    width: 23.0769%;
    height: 17.3913%;
    border-radius: 10px;
}

.livt-dependency-left {
    left: 9.6154%;
}

.livt-dependency-right {
    left: 67.3077%;
}

.livt-dependency-link:hover {
    background: rgba(37, 63, 142, 0.08);
    box-shadow: inset 0 0 0 2px #86a9ff;
}

.livt-journey[data-stage="project"] .livt-dependency-link {
    display: none;
}

.livt-journey[data-transition="out"] .livt-journey-scene {
    animation: livt-scene-out 0.4s both;
}

.livt-journey[data-transition="in"] .livt-journey-scene {
    animation: livt-reveal 0.4s both;
}

@keyframes livt-scene-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.livt-output-edge,
.livt-output-language,
.livt-decision-updated {
    display: none;
}

.livt-journey[data-example="edge"] .livt-output-vision,
.livt-journey[data-example="language"] .livt-output-vision {
    display: none;
}

.livt-journey[data-example="edge"] .livt-output-edge,
.livt-journey[data-example="language"] .livt-output-language {
    display: inline;
}

.livt-journey:is([data-stage="update"], [data-stage="complete"]) .livt-decision-original {
    display: none;
}

.livt-journey:is([data-stage="update"], [data-stage="complete"]) .livt-decision-updated {
    display: inline;
}

.livt-journey:is([data-stage="update"], [data-stage="complete"]) .livt-detection-box {
    transform: translateX(24px);
}

.livt-journey:is([data-stage="update"], [data-stage="complete"]) .livt-cloud-chart {
    transform: translateY(-5px);
}

.livt-journey-canvas {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    font-family: var(--font-sans);
}

.livt-app-frame {
    fill: #fff;
    stroke: #c4d2ec;
    filter: drop-shadow(0 6px 12px rgba(37, 63, 142, 0.06));
}

.livt-app-divider {
    stroke: #e4eaf5;
}

.livt-app-icon {
    fill: var(--color-primary);
}

.livt-app-icon-text {
    fill: #fff;
    font-size: 12px;
    font-weight: 600;
}

.livt-app-name {
    fill: #344b74;
    font-size: 13px;
    font-weight: 600;
}

.livt-app-new,
.livt-app-next {
    fill: #64748b;
    font-size: 11px;
}

.livt-component-links {
    fill: none;
    stroke: #b6c9e6;
    stroke-width: 2;
}

.livt-component rect {
    fill: #edf3ff;
    stroke: #bdceee;
}

.livt-component text {
    fill: #344f80;
    font-size: 12px;
    font-weight: 600;
}

.livt-journey[data-example="vision"] :is([data-label="left"], [data-label="right"]),
.livt-journey[data-example="language"] [data-label="left"] {
    font-size: 10px;
}

.livt-component .livt-component-note {
    fill: #5d708c;
    font-size: 10px;
    font-weight: 400;
}

.livt-custom rect {
    fill: #fff5e3;
    stroke: #e4c28e;
}

.livt-custom text {
    fill: #825818;
}

.livt-check-track {
    fill: none;
    stroke: #c9e5d9;
    stroke-width: 2;
}

.livt-checks text {
    fill: #26765c;
    stroke: #fff;
    stroke-width: 6px;
    paint-order: stroke;
    font-size: 16px;
    font-weight: 600;
}

.livt-delivery-link {
    stroke: #9ab5ad;
    stroke-width: 2;
}

.livt-board {
    fill: #e7f2ed;
    stroke: #a4c5b9;
}

.livt-chip {
    fill: #fff;
    stroke: #79a396;
    stroke-width: 3;
}

.livt-chip-label {
    fill: #42695f;
    font-size: 10px;
    font-weight: 600;
}

.livt-journey-caption {
    position: absolute;
    top: 62.0924%;
    left: 5%;
    width: 90%;
    margin: 0;
    transform: translateY(-50%);
    color: #344b74;
    font-size: clamp(0.6rem, 1vw, 0.85rem);
    line-height: 1.4;
    text-align: center;
}

.livt-journey:not([data-stage="project"]) .livt-app-new,
.livt-journey:is([data-stage="project"], [data-stage="compose"], [data-stage="test"], [data-stage="run"]) .livt-app-next,
.livt-journey:is([data-stage="evolve"], [data-stage="retest"], [data-stage="update"], [data-stage="complete"]) .livt-custom-original,
.livt-journey:is([data-stage="project"], [data-stage="compose"], [data-stage="test"], [data-stage="run"]) .livt-custom-updated {
    display: none;
}

.livt-journey[data-stage="project"] .livt-composition {
    opacity: 0;
}

.livt-journey:is([data-stage="project"], [data-stage="compose"]) .livt-checks,
.livt-journey[data-stage="evolve"] .livt-checks {
    opacity: 0;
}

.livt-journey:is([data-stage="project"], [data-stage="compose"], [data-stage="test"]) .livt-hardware,
.livt-journey:is([data-stage="project"], [data-stage="compose"], [data-stage="test"]) .livt-delivery-link {
    opacity: 0.2;
}

.livt-journey:is([data-stage="project"], [data-stage="compose"], [data-stage="test"]) .livt-picture {
    opacity: 0;
}

.livt-journey:is([data-stage="update"], [data-stage="complete"]) .livt-picture-sun {
    fill: #ffba68;
    transform: translateX(-8px);
}

.livt-journey[data-stage="compose"] .livt-component {
    animation: livt-reveal 0.7s both;
}

.livt-journey[data-stage="compose"] .livt-camera {
    animation-delay: 0.8s;
}

.livt-journey[data-stage="compose"] .livt-display {
    animation-delay: 1.2s;
}

.livt-journey[data-stage="compose"] .livt-component-links {
    animation: livt-reveal 0.6s 2s both;
}

.livt-journey:is([data-stage="test"], [data-stage="retest"]) .livt-checks {
    animation: livt-reveal 0.6s 0.8s both;
}

.livt-journey:is([data-stage="test"], [data-stage="retest"]) .livt-check-track {
    stroke-dasharray: 1;
    animation: livt-test 0.8s both;
}

.livt-journey:is([data-stage="run"], [data-stage="update"]) .livt-picture {
    animation: livt-reveal 1s both;
}

.livt-journey[data-stage="evolve"] .livt-custom {
    animation: livt-evolve 0.8s both;
}

.livt-journey[data-playback="paused"] * {
    animation-play-state: paused !important;
}

@keyframes livt-compose {
    from { opacity: 0; transform: translateY(70px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes livt-evolve {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes livt-test {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@keyframes livt-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.livt-home > .footer {
    position: static;
}

.livt-home .cookiealert {
    position: static;
    display: none;
    padding: 0.75rem;
    font-size: 0.75rem;
    transform: none;
    transition: none;
}

.livt-home .cookiealert.show {
    display: block;
}

.livt-home .cookiealert .col {
    width: 100%;
}

@media (max-width: 767.98px) {
    .livt-home-hero {
        padding-top: 6.5rem;
        padding-bottom: 2.5rem;
    }

    .livt-home-hero .landing-display {
        font-size: clamp(1.9rem, 6.5vw, 3rem);
    }

    .livt-home-hero .landing-lead {
        font-size: 1rem;
    }

}

@media (max-width: 991.98px) {
    .livt-home-story-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .livt-home-story-copy {
        width: 100%;
        max-width: 540px;
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .livt-journey *,
    .livt-journey[data-playback="paused"] * {
        animation: none !important;
    }
}
