body.route-home {
    --home-bg: #eceeef;
    --home-panel: #ffffff;
    --home-panel-soft: #f6f8fb;
    --home-line: #d5dde8;
    --home-text: #071f43;
    --home-muted: #5f7089;
    --home-faint: #7c8aa0;
    --home-accent: #2563eb;
    --home-accent-deep: #0f3b82;
    --home-accent-soft: rgba(37, 99, 235, 0.1);
    --home-shadow: 0 18px 44px rgba(15, 31, 55, 0.1);
    background: var(--home-bg);
    color: var(--home-text);
}

body.route-home .home-landing {
    background: var(--home-bg);
}

body.route-home .site-header > .site-header-inner {
    width: min(1080px, calc(100% - 48px));
    max-width: 1080px;
    margin-inline: auto;
}

body.route-home .home-blue-shadow {
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

body.route-home .home-soft-shadow {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

body.route-home .home-cta-rule {
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.3), transparent);
}

body.route-home .home-line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

body.route-home .cipher-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

body.route-home .mapping-row {
    animation: homeFadeSlideUp 0.35s ease both;
}

body.route-home .step-connector {
    position: absolute;
    top: 24px;
    height: 2px;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
}

body.route-home .home-level-chip {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 700;
}

body.route-home .home-level-beginner {
    background: #ecfdf5;
    color: #059669;
}

body.route-home .home-level-intermediate {
    background: #fffbeb;
    color: #d97706;
}

body.route-home .home-level-advanced {
    background: #fef2f2;
    color: #ef4444;
}

body.route-home .home-pulse-dot {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

@keyframes homeFadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

html[data-home-theme="dark"] body.route-home {
    --home-bg: #15191f;
    --home-panel: #1d232b;
    --home-panel-soft: #242b35;
    --home-line: #313945;
    --home-text: #f2f5f8;
    --home-muted: #a7b1be;
    --home-faint: #8994a3;
    --home-accent: #78aefc;
    --home-accent-deep: #d4e5ff;
    --home-accent-soft: rgba(120, 174, 252, 0.14);
    --home-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
    color-scheme: dark;
}

body.route-home .site-main {
    padding-bottom: 0;
}

body.route-home a {
    color: inherit;
    text-decoration: none;
}

body.route-home .home-landing {
    min-height: 100vh;
    overflow: hidden;
    background: var(--home-bg);
    color: var(--home-text);
}

body.route-home .home-shell {
    width: min(1080px, calc(100% - 48px));
    margin-inline: auto;
}

body.route-home .home-heading {
    color: var(--home-text);
}

body.route-home .home-muted {
    color: var(--home-muted);
}

body.route-home .home-faint {
    color: var(--home-faint);
}

body.route-home .home-accent-text {
    color: var(--home-accent);
}

body.route-home .tag-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 9999px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: var(--home-accent-soft);
    color: var(--home-accent-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

html[data-home-theme="dark"] body.route-home .tag-pill {
    border-color: rgba(120, 174, 252, 0.24);
}

body.route-home .home-hero {
    padding-top: clamp(3rem, 4.5vw, 4rem);
    padding-bottom: clamp(3.25rem, 5vw, 4.25rem);
}

body.route-home .home-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 6vw, 4.75rem);
    align-items: center;
}

body.route-home .home-hero-copy {
    max-width: 590px;
}

body.route-home .home-hero-tag {
    margin-bottom: 18px;
}

body.route-home .home-hero-title {
    max-width: 610px;
    margin-bottom: 22px;
}

body.route-home .home-hero-lead {
    max-width: 590px;
    margin-bottom: 16px;
}

body.route-home .home-hero-sublead {
    max-width: 590px;
    margin-bottom: 34px;
}

body.route-home .home-hero-actions {
    gap: 14px;
    margin-bottom: 0;
}

body.route-home .home-hero-demo {
    width: 100%;
    max-width: 634px;
    justify-self: end;
}

body.route-home .home-hero-card {
    width: 100%;
    border-radius: 24px;
}

@media (min-width: 1024px) {
    body.route-home .home-hero-card {
        display: flex;
        min-height: 528px;
        flex-direction: column;
    }

    body.route-home .home-hero-terminal-body {
        flex: 1;
        grid-template-rows: auto minmax(98px, 1fr) auto minmax(98px, 1fr) auto;
        align-content: stretch;
    }
}

body.route-home .home-hero-card-bar {
    min-height: 49px;
}

body.route-home .home-hero-terminal-body {
    display: grid;
    gap: 18px;
    padding: 28px;
}

body.route-home .home-hero-command,
body.route-home .home-hero-status {
    min-height: 22px;
}

body.route-home .home-hero-panel {
    display: flex;
    min-height: 94px;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
}

body.route-home .home-hero-card-actions {
    padding-top: 6px;
}

body.route-home .home-terminal {
    width: min(100%, 570px);
    margin-inline: auto;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    box-shadow: 0 24px 58px rgba(15, 31, 55, 0.14);
    color: #081a34;
}

html[data-home-theme="dark"] body.route-home .home-terminal {
    border-color: rgba(255, 255, 255, 0.1);
    background: #111720;
    box-shadow: var(--home-shadow);
    color: #f8fafc;
}

body.route-home .home-terminal-bar {
    border-bottom: 1px solid #d9e2ee;
    background: #f4f7fb;
}

html[data-home-theme="dark"] body.route-home .home-terminal-bar {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

body.route-home .home-terminal-panel {
    padding: 16px;
    border: 1px solid #d5dde8;
    border-radius: 18px;
    background: #f8fafc;
}

html[data-home-theme="dark"] body.route-home .home-terminal-panel {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
}

body.route-home .home-terminal-output {
    background: #eaf2ff;
    border-color: #c7d9f6;
}

html[data-home-theme="dark"] body.route-home .home-terminal-output {
    background: rgba(120, 174, 252, 0.12);
    border-color: rgba(120, 174, 252, 0.24);
}

body.route-home .home-terminal-label {
    margin-bottom: 8px;
    color: #68778d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.route-home .home-terminal-strong {
    color: #071f43;
    font-weight: 800;
    letter-spacing: 0.04em;
}

html[data-home-theme="dark"] body.route-home .home-terminal-strong {
    color: #f8fafc;
}

body.route-home .home-terminal-soft {
    color: #40516b;
}

body.route-home .home-terminal-faint {
    color: #7f8da2;
}

body.route-home .home-demo-arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d5dde8;
    border-radius: 999px;
    color: var(--home-accent);
    background: #ffffff;
}

html[data-home-theme="dark"] body.route-home .home-demo-arrow {
    border-color: rgba(255, 255, 255, 0.1);
    background: #151d29;
}

body.route-home .home-terminal-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--home-accent);
    cursor: pointer;
    font: inherit;
}

body.route-home .home-client-badge {
    background: var(--home-accent);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.25);
}

body.route-home .home-trust-strip,
body.route-home .home-education-section {
    border-block: 1px solid var(--home-line);
    background: rgba(255, 255, 255, 0.36);
}

html[data-home-theme="dark"] body.route-home .home-trust-strip,
html[data-home-theme="dark"] body.route-home .home-education-section {
    background: rgba(255, 255, 255, 0.025);
}

body.route-home .pathway-card,
body.route-home .home-card,
body.route-home .home-cta-card {
    border: 1px solid var(--home-line);
    background: var(--home-panel);
    box-shadow: var(--home-shadow);
}

body.route-home .pathway-card,
body.route-home .home-card {
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

body.route-home .card-lift:hover,
body.route-home .pathway-card:hover {
    transform: translateY(-4px);
    border-color: var(--home-accent);
    box-shadow: 0 24px 56px rgba(15, 31, 55, 0.14);
}

html[data-home-theme="dark"] body.route-home .card-lift:hover,
html[data-home-theme="dark"] body.route-home .pathway-card:hover {
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

body.route-home .home-icon-tile,
body.route-home .home-small-icon,
body.route-home .home-step-number {
    display: grid;
    place-items: center;
    background: var(--home-accent-soft);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--home-accent);
}

html[data-home-theme="dark"] body.route-home .home-icon-tile,
html[data-home-theme="dark"] body.route-home .home-small-icon,
html[data-home-theme="dark"] body.route-home .home-step-number {
    border-color: rgba(120, 174, 252, 0.22);
}

body.route-home .home-icon-tile {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

body.route-home .home-small-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    margin-top: 2px;
}

body.route-home .home-mini-chip {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 8px;
    background: var(--home-panel-soft);
    color: var(--home-faint);
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: capitalize;
}

body.route-home .home-step-line {
    background: linear-gradient(to right, transparent, var(--home-accent), var(--home-accent), transparent);
    opacity: 0.25;
}

body.route-home .home-step-number {
    border-radius: 18px;
}

body.route-home .home-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--home-accent);
    opacity: 0.68;
}

body.route-home .home-timeline-dot.is-strong {
    opacity: 1;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.28);
}

html[data-home-theme="dark"] body.route-home .home-timeline-dot.is-strong {
    box-shadow: 0 0 18px rgba(120, 174, 252, 0.32);
}

body.route-home .home-timeline-line {
    width: 1px;
    min-height: 38px;
    background: var(--home-line);
}

@keyframes homeAnimationIn {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body.route-home .anim-in {
    animation: homeAnimationIn 0.8s ease-out both;
}

body.route-home .anim-d1 {
    animation-delay: 0.08s;
}

body.route-home .anim-d2 {
    animation-delay: 0.16s;
}

body.route-home .anim-d3 {
    animation-delay: 0.24s;
}

body.route-home .anim-d4 {
    animation-delay: 0.32s;
}

body.route-home .anim-d5 {
    animation-delay: 0.4s;
}

body.route-home .anim-d6 {
    animation-delay: 0.48s;
}

@keyframes homeBlink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

body.route-home .cursor-blink::after {
    content: "|";
    color: var(--home-accent);
    animation: homeBlink 1s step-end infinite;
    margin-left: 2px;
}

body.route-home .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

body.route-home .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    body.route-home .site-header > .site-header-inner {
        width: min(1080px, calc(100% - 24px));
    }

    body.route-home .home-shell {
        width: min(1080px, calc(100% - 24px));
    }

    body.route-home .home-hero {
        padding-top: 3rem;
        padding-bottom: 3.75rem;
    }

    body.route-home .home-hero-copy {
        text-align: center;
    }

    body.route-home .home-hero-title,
    body.route-home .home-hero-lead,
    body.route-home .home-hero-sublead {
        margin-right: auto;
        margin-left: auto;
    }

    body.route-home .home-hero-tag,
    body.route-home .home-hero-actions {
        justify-content: center;
    }

    body.route-home .home-hero-terminal-body {
        gap: 15px;
        padding: 20px;
    }

    body.route-home .home-hero-panel {
        min-height: 86px;
        padding: 16px;
    }

    body.route-home .home-landing .ui-button {
        width: 100%;
        justify-content: center;
    }

    body.route-home .home-client-badge {
        position: static;
        width: fit-content;
        margin: 12px 0 0 auto;
    }
}

@media (max-width: 1023px) {
    body.route-home .home-hero-grid {
        grid-template-columns: 1fr;
    }

    body.route-home .home-hero-copy,
    body.route-home .home-hero-demo {
        max-width: 680px;
        justify-self: center;
    }
}

html[data-home-theme="dark"] body.route-home .home-landing .bg-white,
html[data-home-theme="dark"] body.route-home .home-landing .bg-white\/50 {
    background-color: var(--home-panel);
}

html[data-home-theme="dark"] body.route-home .home-landing .bg-slate-50,
html[data-home-theme="dark"] body.route-home .home-landing .bg-blue-50,
html[data-home-theme="dark"] body.route-home .home-landing .bg-blue-50\/50 {
    background-color: var(--home-panel-soft);
}

html[data-home-theme="dark"] body.route-home .home-landing .border-slate-100,
html[data-home-theme="dark"] body.route-home .home-landing .border-slate-200,
html[data-home-theme="dark"] body.route-home .home-landing .border-blue-100,
html[data-home-theme="dark"] body.route-home .home-landing .border-blue-200 {
    border-color: var(--home-line);
}

html[data-home-theme="dark"] body.route-home .home-landing .text-slate-900,
html[data-home-theme="dark"] body.route-home .home-landing .text-slate-800,
html[data-home-theme="dark"] body.route-home .home-landing .text-slate-700 {
    color: var(--home-text);
}

html[data-home-theme="dark"] body.route-home .home-landing .text-slate-600,
html[data-home-theme="dark"] body.route-home .home-landing .text-slate-500,
html[data-home-theme="dark"] body.route-home .home-landing .text-slate-400 {
    color: var(--home-muted);
}

html[data-home-theme="dark"] body.route-home .home-landing .text-slate-300 {
    color: var(--home-faint);
}

html[data-home-theme="dark"] body.route-home .home-landing .text-blue-600,
html[data-home-theme="dark"] body.route-home .home-landing .text-blue-500,
html[data-home-theme="dark"] body.route-home .home-landing .text-blue-400,
html[data-home-theme="dark"] body.route-home .home-landing .text-blue-700 {
    color: var(--home-accent);
}

html[data-home-theme="dark"] body.route-home .home-landing .bg-blue-600 {
    background-color: #3b82f6;
}

html[data-home-theme="dark"] body.route-home .home-landing .hover\:bg-blue-700:hover {
    background-color: #2563eb;
}

html[data-home-theme="dark"] body.route-home .home-landing .bg-emerald-50 {
    background-color: rgba(16, 185, 129, 0.14);
}

html[data-home-theme="dark"] body.route-home .home-landing .bg-amber-50 {
    background-color: rgba(245, 158, 11, 0.14);
}

html[data-home-theme="dark"] body.route-home .home-landing .bg-red-50 {
    background-color: rgba(239, 68, 68, 0.14);
}

html[data-home-theme="dark"] body.route-home .home-landing .ui-button--secondary {
    border-color: rgba(167, 177, 190, 0.34);
    background: #242b35;
    color: #f2f5f8 !important;
}

html[data-home-theme="dark"] body.route-home .home-landing .ui-button--secondary:hover {
    border-color: rgba(120, 174, 252, 0.45);
    background: rgba(120, 174, 252, 0.14);
    color: #ffffff !important;
}
