/* Homepage enterprise refresh: focused download flow + product-led trust. */
body[data-page="home"] {
    background:
        radial-gradient(circle at 78% 4%, rgba(32, 138, 255, 0.18), transparent 32rem),
        linear-gradient(135deg, #ffffff 0%, #f4f8fd 48%, #e6f1ff 100%);
}

body[data-page="home"] .hero.hero-home {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    min-height: auto;
    padding-top: clamp(46px, 7vh, 84px);
    padding-bottom: 54px;
    overflow: visible;
}

body[data-page="home"] .hero-content {
    max-width: 620px;
    padding-top: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    margin-bottom: 20px;
    padding: 0 13px;
    border: 1px solid rgba(0, 113, 197, 0.14);
    border-radius: 999px;
    color: #075f9f;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 9px 24px rgba(0, 113, 197, 0.08);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19a36a;
    box-shadow: 0 0 0 5px rgba(25, 163, 106, 0.12);
}

body[data-page="home"] .hero-title {
    margin: 0 0 20px;
    color: #07182d;
    font-size: clamp(2.75rem, 3.5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

html[lang="ja"] body[data-page="home"] .hero-title {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 3.3vw, 3.3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
}

body[data-page="home"] .hero-lead {
    max-width: 59ch;
    margin: 0 0 26px;
    color: #354862;
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.78;
}

body[data-page="home"] .hero-actions {
    display: block;
    width: 100%;
    max-width: 590px;
    margin-right: auto;
    margin-left: auto;
    padding: 16px;
    border: 1px solid rgba(0, 89, 160, 0.11);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 54px rgba(13, 70, 125, 0.11);
    backdrop-filter: blur(16px);
    text-align: center;
}

body[data-page="home"] .download-selectors {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

body[data-page="home"] .download-selector-row {
    margin: 0;
    align-self: center;
}

.hero-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin-top: 12px;
}

body[data-page="home"] .download-section {
    margin: 0;
}

body[data-page="home"] .download-btn {
    min-height: 56px;
    border-radius: 13px;
}

body[data-page="home"] .download-btn {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 14px 28px rgba(0, 113, 197, 0.22);
}

body[data-page="home"] .version-info {
    margin-top: 10px;
}

body[data-page="home"] .steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin: 14px auto 0;
}

body[data-page="home"] .step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    padding: 8px 6px;
    border-radius: 11px;
    background: rgba(10, 86, 148, 0.045);
}

body[data-page="home"] .step-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    font-size: 11px;
}

body[data-page="home"] .step p {
    margin: 0;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

body[data-page="home"] .hero-actions > .note {
    max-width: none;
    margin: 12px auto 0;
    color: #5a687a;
    font-size: 12px;
    line-height: 1.55;
}

body[data-page="home"] .hero-image-container.hero-product-visual {
    position: relative;
    display: block;
    width: 100%;
    min-height: 650px;
    isolation: isolate;
    perspective: 1500px;
}

.hero-product-visual::before,
.hero-product-visual::after {
    content: "";
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

.hero-product-visual::before {
    inset: 3% -14% 4% -6%;
    background:
        radial-gradient(circle at 55% 48%, rgba(33, 139, 255, 0.2), transparent 42%),
        radial-gradient(circle at 72% 34%, rgba(38, 207, 207, 0.14), transparent 28%),
        linear-gradient(145deg, rgba(4, 19, 41, 0.98), rgba(7, 38, 72, 0.94));
    box-shadow: 0 44px 100px rgba(2, 27, 57, 0.24);
}

.hero-product-visual::after {
    width: 240px;
    height: 240px;
    right: -20px;
    top: 40px;
    background: rgba(0, 145, 255, 0.22);
    filter: blur(70px);
}

.hero-product-orbit {
    position: absolute;
    inset: 7% -8% 6% 1%;
    z-index: -1;
    border: 1px solid rgba(86, 178, 255, 0.13);
    border-radius: 50%;
    transform: rotate(-15deg);
}

.hero-product-orbit::before,
.hero-product-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(86, 178, 255, 0.1);
    border-radius: inherit;
}

.hero-product-orbit::before { inset: 13%; }
.hero-product-orbit::after { inset: 27%; }

.hero-product-links {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.hero-product-links path {
    fill: none;
    stroke: rgba(43, 160, 255, 0.48);
    stroke-width: 1.5;
    stroke-dasharray: 8 10;
    animation: heroSignal 13s linear infinite;
}

.hero-product-links circle {
    fill: #35a9ff;
    stroke: rgba(120, 208, 255, 0.34);
    stroke-width: 9;
}

@keyframes heroSignal {
    to { stroke-dashoffset: -180; }
}

.hero-product-stage {
    position: absolute;
    inset: 20px 0 0;
    z-index: 1;
    transform-style: preserve-3d;
    transform: rotateX(0deg) rotateY(0deg);
    will-change: transform;
}

.hero-product-window {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(157, 213, 255, 0.35);
    border-radius: 17px;
    background: #f7fbff;
    box-shadow:
        0 30px 80px rgba(0, 10, 28, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transform-style: preserve-3d;
}

.hero-product-window img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-product-window figcaption {
    position: absolute;
    left: 12px;
    bottom: 11px;
    max-width: calc(100% - 24px);
    padding: 7px 11px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    background: rgba(3, 18, 37, 0.76);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.hero-product-window__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    color: #dcecff;
    background: #06182e;
}

.hero-product-window__bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2c87cf;
}

.hero-product-window__bar strong {
    margin-left: 4px;
    font-size: 10px;
    letter-spacing: 0.05em;
}

.hero-product-window--main {
    left: 5%;
    top: 17%;
    z-index: 4;
    width: 79%;
    aspect-ratio: 16 / 9;
    transform: translateZ(65px) rotateY(-6deg) rotateX(2deg);
}

.hero-product-window--main img {
    height: calc(100% - 30px);
}

.hero-product-window--admin {
    right: -3%;
    top: 2%;
    z-index: 5;
    width: 39%;
    aspect-ratio: 16 / 9;
    transform: translateZ(118px) rotateY(-2deg) rotateZ(1.5deg);
}

.hero-product-window--terminal {
    right: 1%;
    bottom: 4%;
    z-index: 6;
    width: 43%;
    aspect-ratio: 16 / 9;
    transform: translateZ(145px) rotateY(-4deg) rotateZ(-1.5deg);
}

.hero-product-status {
    position: absolute;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    max-width: 220px;
    padding: 0 13px;
    border: 1px solid rgba(146, 211, 255, 0.3);
    border-radius: 999px;
    color: #eaf6ff;
    background: rgba(4, 24, 48, 0.82);
    box-shadow: 0 14px 34px rgba(0, 8, 24, 0.3);
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.hero-product-status--secure {
    left: 0;
    bottom: 18%;
}

.hero-product-status--route {
    right: 4%;
    top: 38%;
}

.hero-product-status__pulse {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #39d98a;
    box-shadow: 0 0 0 6px rgba(57, 217, 138, 0.12), 0 0 18px rgba(57, 217, 138, 0.58);
}

.home-reveal {
    opacity: 0;
    transition: opacity 520ms ease, translate 650ms cubic-bezier(.22, 1, .36, 1);
    translate: 0 18px;
}

.home-reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

.hero-product-window--admin.home-reveal { transition-delay: 100ms; }
.hero-product-window--terminal.home-reveal { transition-delay: 180ms; }
.hero-product-status--secure.home-reveal { transition-delay: 260ms; }
.hero-product-status--route.home-reveal { transition-delay: 320ms; }

.hero-trust-rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 85, 151, 0.1);
    border-radius: 18px;
    background: rgba(0, 85, 151, 0.08);
    box-shadow: 0 14px 36px rgba(12, 63, 110, 0.07);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 60px;
    padding: 10px 16px;
    color: #183b5d;
    background: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 750;
    text-align: center;
}

.hero-trust-item i {
    color: #0875c3;
    font-size: 16px;
}

.hero-trust-item:hover {
    color: #005ea5;
    background: #fff;
}

/* Local preview: MainViewer connection canvas. */
body[data-page="home"] .hero-image-container.hero-connection-visual {
    display: block;
    width: 100%;
    min-height: 0;
    overflow: visible;
}

.connection-canvas {
    position: relative;
    isolation: isolate;
    width: min(100%, 680px);
    aspect-ratio: 680 / 920;
    margin: 0 auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.connection-canvas::before {
    content: none;
}

.connection-canvas__glow {
    display: none;
}

.connection-canvas__links {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.connection-canvas__links path {
    fill: none;
    stroke: rgba(22, 126, 207, 0.2);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 7 10;
    transition: stroke 180ms ease, stroke-width 180ms ease, filter 180ms ease;
}

.connection-canvas__links path.is-active {
    stroke: #57bdff;
    stroke-width: 3;
    filter: drop-shadow(0 0 6px rgba(87, 189, 255, 0.9));
    animation: connection-flow 1.4s linear infinite;
}

.connection-canvas__links circle {
    fill: #e9f7ff;
    stroke: #319ce8;
    stroke-width: 4;
    filter: drop-shadow(0 0 9px rgba(49, 156, 232, 0.9));
}

@keyframes connection-flow {
    to { stroke-dashoffset: -34; }
}

.connection-canvas__main {
    position: absolute;
    left: 8%;
    top: 4%;
    z-index: 3;
    width: 84%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(143, 207, 255, 0.52);
    border-radius: 17px;
    background: #f7fbff;
    box-shadow: 0 28px 58px rgba(0, 7, 20, 0.48), 0 0 0 7px rgba(74, 168, 246, 0.06);
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

.connection-canvas__main:hover,
.connection-canvas__main:focus-visible {
    border-color: #75caff;
    outline: none;
    box-shadow: 0 30px 66px rgba(0, 7, 20, 0.52), 0 0 0 7px rgba(74, 168, 246, 0.13);
}

.connection-canvas__window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 11px;
    border-bottom: 1px solid rgba(10, 64, 109, 0.1);
    color: #38536d;
    background: linear-gradient(180deg, #fff, #edf6fd);
}

.connection-canvas__window-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a9bed0;
}

.connection-canvas__window-bar span:first-child {
    background: #2fa5ec;
}

.connection-canvas__main img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
}

.connection-canvas__main-caption {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 12px;
    color: #244057;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}

.connection-canvas__main-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #18a36b;
    box-shadow: 0 0 0 4px rgba(24, 163, 107, 0.12);
}

.connection-canvas__nodes {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 50%;
    bottom: 3%;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 10px 12px;
    pointer-events: none;
}

.connection-node {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(143, 207, 255, 0.28);
    border-radius: 13px;
    color: #173652;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(20, 75, 120, 0.13);
    opacity: 0.82;
    cursor: zoom-in;
    pointer-events: auto;
    transform: scale(0.94);
    transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.connection-node:hover,
.connection-node:focus-visible,
.connection-node.is-active {
    z-index: 5;
    border-color: rgba(96, 190, 255, 0.92);
    box-shadow: 0 18px 36px rgba(20, 75, 120, 0.21), 0 0 0 4px rgba(66, 171, 246, 0.1);
    opacity: 1;
    outline: none;
    transform: scale(1);
}

.connection-node img {
    display: block;
    width: 112px;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: saturate(0.82) brightness(0.94);
    transition: filter 180ms ease;
}

.connection-node:hover img,
.connection-node:focus-visible img,
.connection-node.is-active img {
    filter: saturate(1) brightness(1);
}

.connection-node > span {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: 31px;
    padding: 8px 10px;
    text-align: left;
}

.connection-node i {
    flex: 0 0 auto;
    color: #67c4ff;
    font-size: 10px;
}

.connection-node b {
    min-width: 0;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.connection-node--screen { grid-column: 1; grid-row: 1; }
.connection-node--ssh { grid-column: 2; grid-row: 1; }
.connection-node--recording { grid-column: 1; grid-row: 2; }
.connection-node--chat { grid-column: 2; grid-row: 2; }
.connection-node--files { grid-column: 1; grid-row: 3; }
.connection-node--organization { grid-column: 2; grid-row: 3; }
.connection-node--mcp { grid-column: 1; grid-row: 4; }
.connection-node--ai-workspace { grid-column: 2; grid-row: 4; }

.connection-preview-dialog {
    position: fixed;
    inset: 0;
    width: min(1240px, calc(100vw - 24px));
    max-width: none;
    max-height: calc(100vh - 48px);
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.connection-preview-dialog[open] {
    display: block;
}

.connection-preview-dialog::backdrop {
    background: rgba(2, 10, 22, 0.76);
    backdrop-filter: blur(9px);
}

.connection-preview-dialog[open]::backdrop {
    animation: connection-preview-backdrop-in 220ms ease-out both;
}

@keyframes connection-preview-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.connection-preview-dialog__panel {
    display: flex;
    width: calc(100% - 136px);
    max-height: calc(100vh - 48px);
    margin: 0 auto;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(126, 197, 251, 0.45);
    border-radius: 20px;
    background: #07182d;
    box-shadow: 0 36px 100px rgba(0, 8, 22, 0.58);
    transform-origin: center;
    will-change: transform, opacity;
}

.connection-preview-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    padding: 8px 10px 8px 18px;
    color: #e6f5ff;
    background: linear-gradient(180deg, #0c2947, #081c34);
}

.connection-preview-dialog__header strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.connection-preview-dialog__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    border: 1px solid rgba(168, 218, 255, 0.2);
    border-radius: 10px;
    color: #e6f5ff;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.connection-preview-dialog__close:hover,
.connection-preview-dialog__close:focus-visible {
    border-color: rgba(168, 218, 255, 0.55);
    background: rgba(255, 255, 255, 0.13);
    outline: none;
}

.connection-preview-dialog__media {
    position: relative;
    display: flex;
    min-height: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #061426;
}

.connection-preview-dialog__media img {
    display: block;
    width: 100%;
    min-height: 0;
    max-height: calc(100vh - 102px);
    object-fit: contain;
}

.connection-preview-dialog__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(194, 228, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    background: rgba(3, 20, 38, 0.72);
    box-shadow: 0 8px 28px rgba(0, 5, 16, 0.36);
    cursor: pointer;
    translate: 0 -50%;
    transition: border-color 160ms ease, background 160ms ease, scale 160ms ease;
}

.connection-preview-dialog__nav--previous {
    left: 10px;
}

.connection-preview-dialog__nav--next {
    right: 10px;
}

.connection-preview-dialog__nav:hover,
.connection-preview-dialog__nav:focus-visible {
    border-color: rgba(194, 228, 255, 0.72);
    background: rgba(10, 91, 154, 0.88);
    outline: none;
    scale: 1.06;
}

@media (max-width: 620px) {
    .connection-preview-dialog {
        width: calc(100vw - 8px);
        max-height: calc(100vh - 24px);
        border-radius: 15px;
    }

    .connection-preview-dialog__panel {
        width: calc(100% - 88px);
        max-height: calc(100vh - 24px);
    }

    .connection-preview-dialog__media img {
        max-height: calc(100vh - 78px);
    }

    .connection-preview-dialog__nav {
        width: 38px;
        height: 38px;
    }

    .connection-preview-dialog__nav--previous {
        left: 2px;
    }

    .connection-preview-dialog__nav--next {
        right: 2px;
    }
}

@media (max-width: 1180px) {
    body[data-page="home"] .hero.hero-home {
        grid-template-columns: minmax(0, 0.95fr) minmax(470px, 1.05fr);
        gap: 22px;
    }

    body[data-page="home"] .hero-title {
        font-size: clamp(2.6rem, 3.8vw, 3.5rem);
    }

    body[data-page="home"] .hero-image-container.hero-product-visual {
        min-height: 590px;
    }
}

@media (max-width: 968px) {
    body[data-page="home"] .hero.hero-home {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 38px;
        padding-bottom: 34px;
        text-align: left;
    }

    body[data-page="home"] .hero-content {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    body[data-page="home"] .hero-title,
    html[lang="ja"] body[data-page="home"] .hero-title {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
    }

    body[data-page="home"] .hero-image-container.hero-product-visual {
        order: 2;
        width: min(100%, 760px);
        min-height: clamp(490px, 82vw, 650px);
        margin: 0 auto;
        padding: 0;
    }

    body[data-page="home"] .hero-image-container.hero-connection-visual {
        order: 2;
        width: min(100%, 760px);
        margin: 0 auto;
        padding: 0;
    }

    .hero-trust-rail {
        order: 3;
        grid-template-columns: 1fr;
    }

    .hero-trust-item {
        justify-content: flex-start;
        min-height: 52px;
        text-align: left;
    }
}

@media (max-width: 620px) {
    body[data-page="home"] .hero.hero-home {
        padding-top: 28px;
    }

    .hero-eyebrow {
        margin-bottom: 16px;
    }

    body[data-page="home"] .hero-title,
    html[lang="ja"] body[data-page="home"] .hero-title {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.55rem);
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    html[lang="ja"] body[data-page="home"] .hero-title {
        word-break: keep-all;
        overflow-wrap: normal;
    }

    body[data-page="home"] .hero-content {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    body[data-page="home"] .hero-lead {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    body[data-page="home"] .hero-actions {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 12px;
        border-radius: 17px;
    }

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

    body[data-page="home"] .steps-container {
        gap: 5px;
    }

    body[data-page="home"] .step {
        display: grid;
        justify-items: center;
        gap: 4px;
        padding: 7px 3px;
        text-align: center;
    }

    body[data-page="home"] .step p {
        font-size: 10px;
    }

    body[data-page="home"] .hero-image-container.hero-product-visual {
        min-height: 440px;
    }

    .hero-product-window--main {
        left: 2%;
        top: 20%;
        width: 88%;
    }

    .hero-product-window--admin {
        right: -2%;
        width: 46%;
    }

    .hero-product-window--terminal {
        right: -1%;
        bottom: 5%;
        width: 50%;
    }

    .hero-product-status {
        max-width: 170px;
        min-height: 32px;
        padding: 0 10px;
        font-size: 9px;
    }

    .hero-product-status--route {
        right: 0;
        top: 42%;
    }

    body[data-page="home"] .hero-image-container.hero-connection-visual {
        width: 100%;
    }

    .connection-canvas {
        display: flex;
        flex-direction: column;
        gap: 14px;
        aspect-ratio: auto;
        padding: 16px;
        border-radius: 22px;
    }

    .connection-canvas__glow {
        left: 50%;
        top: 25%;
        width: 80%;
    }

    .connection-canvas__links {
        display: none;
    }

    .connection-canvas__main {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        flex: 0 0 auto;
    }

    .connection-canvas__nodes {
        position: relative;
        inset: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 10px;
    }

    .connection-node,
    .connection-node--screen,
    .connection-node--ssh,
    .connection-node--files,
    .connection-node--organization {
        position: relative;
        inset: auto;
        display: block;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        opacity: 0.78;
        transform: none;
    }

    .connection-node img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .connection-node:hover,
    .connection-node:focus-visible,
    .connection-node.is-active {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .connection-preview-dialog[open]::backdrop {
        animation: none;
    }

    .connection-canvas__links path.is-active {
        animation: none;
    }

    .connection-node,
    .connection-node img {
        transition: none;
    }

    .hero-product-links path {
        animation: none;
    }

    .home-reveal {
        opacity: 1;
        transition: none;
        translate: none;
    }

}
