/*
 * Portada editorial de Arcanne.
 * Blanco como base visual; cyan, morado y lima como señales de identidad.
 */

body[data-page="inicio"] {
    --home-bg: #07090e;
    --home-panel: #0b0e14;
    --home-panel-2: #10141c;
    --home-white: #f7f8fb;
    --home-paper: #eef1f4;
    --home-muted: #919aa8;
    --home-line: #252b35;
    --home-cyan: #58e6ff;
    --home-purple: #a778ff;
    --home-lime: #b9ff4c;
    --home-orange: #ffad66;
    color: var(--home-white);
    background: var(--home-bg) !important;
}

body[data-page="inicio"]::before,
body[data-page="inicio"]::after {
    display: none !important;
}

body[data-page="inicio"] .site-header {
    min-height: 72px;
    background: #080a0f !important;
    border-bottom-color: #20252e !important;
    box-shadow: none !important;
}

body[data-page="inicio"] .brand-mark {
    color: var(--home-white);
    background: transparent !important;
    border-color: #2a303a;
    border-radius: 5px !important;
}

body[data-page="inicio"] .site-nav a {
    border-radius: 4px !important;
}

body[data-page="inicio"] .site-nav a.is-active {
    color: #071016;
    background: var(--home-white) !important;
    border-color: var(--home-white) !important;
}

body[data-page="inicio"] .site-nav a.is-active::after {
    display: none;
}

body[data-page="inicio"] .header-tool,
body[data-page="inicio"] .header-actions .ghost-button {
    border-radius: 5px !important;
}

.home-page {
    width: min(1240px, calc(100% - 36px));
    margin: 26px auto 0;
}

.home-page a {
    text-decoration: none;
}

.home-hero,
.home-experiences,
.home-ecosystem {
    position: relative;
}

.home-hero {
    border: 1px solid var(--home-line);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    min-height: 670px;
}

.home-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(38px, 5.6vw, 76px);
}

.home-section-index {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #7e8794;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.home-section-index > span {
    color: var(--home-cyan);
}

.home-section-index > i {
    width: 42px;
    height: 1px;
    background: #3b424c;
}

.home-overline {
    margin: 2rem 0 1rem;
    color: var(--home-lime);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-intro h1 {
    display: grid;
    margin: 0;
    color: var(--home-white);
    font-size: clamp(3.75rem, 7vw, 6.6rem);
    font-weight: 950;
    line-height: 0.78;
    letter-spacing: -0.07em;
}

.home-intro h1 span {
    display: block;
}

.home-outline-word {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--home-purple);
    text-stroke: 1.5px var(--home-purple);
}

.home-lead {
    max-width: 58ch;
    margin: 2rem 0 0;
    color: #b3bbc6;
    font-size: 0.95rem;
    line-height: 1.72;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 1.7rem;
}

.home-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    min-height: 45px;
    padding: 0.7rem 1rem;
    border: 1px solid;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 900;
    transition: transform 150ms ease, color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.home-button:hover,
.home-button:focus-visible {
    transform: translateY(-2px);
}

.home-button-primary {
    color: #05070b;
    background: var(--home-white);
    border-color: var(--home-white);
}

.home-button-primary:hover,
.home-button-primary:focus-visible {
    color: #061015;
    background: var(--home-cyan);
    border-color: var(--home-cyan);
}

.home-button-secondary {
    color: var(--home-white);
    background: transparent;
    border-color: #3a424e;
}

.home-button-secondary:hover,
.home-button-secondary:focus-visible {
    border-color: var(--home-purple);
}

.home-connect-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin-top: 1.4rem;
}

.home-server-address {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: min(100%, 285px);
    min-height: 54px;
    padding: 0.58rem 0.7rem;
    color: var(--home-white);
    text-align: left;
    background: #0d1118;
    border: 1px solid #2c333e;
    border-radius: 3px;
}

.home-server-address:hover {
    border-color: var(--home-lime);
}

.home-server-address > span:nth-child(2) {
    display: grid;
    gap: 0.08rem;
}

.home-server-address small {
    color: #717b88;
    font-size: 0.54rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.home-server-address strong {
    color: #ffffff;
    font-size: 0.84rem;
}

.home-server-address b {
    margin-left: auto;
    color: var(--home-lime);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
}

.home-live-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: var(--home-lime);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(185, 255, 76, 0.46);
}

.home-session.session-line {
    min-height: 54px;
    margin: 0;
    border-radius: 3px !important;
}

.home-cube-panel {
    position: relative;
    min-width: 0;
    min-height: 670px;
    overflow: hidden;
    cursor: crosshair;
    background-color: #090c12;
    border-left: 1px solid var(--home-line);
}

.home-cube-panel::before,
.home-cube-panel::after {
    position: absolute;
    z-index: 0;
    content: "";
    background: #1d232d;
}

.home-cube-panel::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
}

.home-cube-panel::after {
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
}

#arcCube {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.home-cube-topline {
    position: absolute;
    top: 20px;
    right: 22px;
    left: 22px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    color: #707a87;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.home-cube-topline span:first-child {
    color: var(--home-white);
}

.home-corner {
    position: absolute;
    z-index: 5;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.home-corner-a {
    top: 9px;
    left: 9px;
    border-top: 1px solid var(--home-cyan);
    border-left: 1px solid var(--home-cyan);
}

.home-corner-b {
    top: 9px;
    right: 9px;
    border-top: 1px solid var(--home-purple);
    border-right: 1px solid var(--home-purple);
}

.home-corner-c {
    right: 9px;
    bottom: 9px;
    border-right: 1px solid var(--home-lime);
    border-bottom: 1px solid var(--home-lime);
}

.home-corner-d {
    bottom: 9px;
    left: 9px;
    border-bottom: 1px solid var(--home-orange);
    border-left: 1px solid var(--home-orange);
}

.home-orbit-label {
    position: absolute;
    z-index: 4;
    padding: 0.28rem 0.42rem;
    color: #07090e;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.label-labs {
    top: 27%;
    left: 11%;
    background: var(--home-cyan);
}

.label-arcannia {
    top: 39%;
    right: 8%;
    background: var(--home-purple);
}

.label-community {
    right: 18%;
    bottom: 24%;
    background: var(--home-lime);
}

.home-cube-help {
    position: absolute;
    right: 22px;
    bottom: 18px;
    z-index: 4;
    margin: 0;
    color: #727b88;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.home-cube-help span {
    color: var(--home-cyan);
}

.home-telemetry {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--home-line);
}

.home-telemetry article {
    display: grid;
    gap: 0.42rem;
    min-height: 92px;
    padding: 1.2rem;
    border-right: 1px solid var(--home-line);
}

.home-telemetry article:last-child {
    border-right: 0;
}

.home-telemetry span {
    color: #697380;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.home-telemetry strong {
    color: var(--home-white);
    font-size: 0.82rem;
}

.home-manifesto {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 250px;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: 420px;
    margin-top: 22px;
    padding: clamp(38px, 6vw, 76px);
    color: #0a0c10;
    background: var(--home-paper);
    border: 1px solid #ffffff;
}

.home-section-index-dark {
    align-self: start;
    color: #606873;
}

.home-section-index-dark > span {
    color: #7143d3;
}

.home-section-index-dark > i {
    background: #bbc1c8;
}

.home-manifesto-copy h2 {
    margin: 0;
    color: #080a0e;
    font-size: clamp(2.55rem, 5.3vw, 5.2rem);
    font-weight: 950;
    line-height: 0.92;
    letter-spacing: -0.065em;
}

.home-manifesto-copy p {
    max-width: 58ch;
    margin: 1.5rem 0 0;
    color: #404752;
    font-size: 0.98rem;
    line-height: 1.72;
}

.home-manifesto-note {
    align-self: end;
    padding-top: 1rem;
    border-top: 3px solid #0b0d11;
}

.home-manifesto-note span {
    color: #7143d3;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.home-manifesto-note p {
    margin: 0.6rem 0 0;
    color: #333943;
    font-size: 0.8rem;
    line-height: 1.6;
}

.home-experiences,
.home-ecosystem {
    margin-top: 92px;
}

.home-editorial-heading {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    margin-bottom: 28px;
}

.home-editorial-heading .home-section-index {
    align-self: start;
    padding-top: 0.6rem;
}

.home-editorial-heading h2 {
    margin: 0;
    color: var(--home-white);
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 950;
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.home-editorial-heading > a {
    padding-bottom: 0.5rem;
    color: var(--home-white);
    font-size: 0.72rem;
    font-weight: 850;
}

.home-editorial-heading > a:hover {
    color: var(--home-cyan);
}

.home-experience-list {
    border-top: 1px solid #303641;
}

.home-experience-row {
    position: relative;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 220px 34px;
    gap: 1.8rem;
    align-items: center;
    min-height: 245px;
    padding: 2rem 1.8rem;
    color: var(--home-white);
    border-right: 1px solid #303641;
    border-bottom: 1px solid #303641;
    border-left: 1px solid #303641;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-experience-row::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    content: "";
    background: var(--row-accent);
}

.home-experience-row:hover {
    z-index: 1;
    transform: translateX(6px);
    background: #0e1219;
    border-color: var(--row-accent);
}

.experience-labs {
    --row-accent: var(--home-cyan);
}

.experience-arcannia {
    --row-accent: var(--home-purple);
}

.home-experience-number {
    align-self: start;
    color: var(--row-accent);
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 900;
}

.home-experience-row small {
    color: var(--row-accent);
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.home-experience-row h3 {
    margin: 0.35rem 0 0.65rem;
    color: #ffffff;
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.home-experience-row p {
    max-width: 62ch;
    margin: 0;
    color: #9fa8b4;
    font-size: 0.84rem;
    line-height: 1.65;
}

.home-experience-row ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-experience-row li {
    padding-bottom: 0.45rem;
    color: #d9dee5;
    border-bottom: 1px solid #2d343f;
    font-size: 0.7rem;
}

.home-row-arrow {
    color: var(--row-accent);
    font-size: 1.5rem;
}

.home-ecosystem .home-editorial-heading {
    grid-template-columns: 190px minmax(0, 1fr);
}

.home-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #303641;
    border-left: 1px solid #303641;
}

.home-ecosystem-grid > a {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 1.2rem;
    min-height: 390px;
    padding: clamp(24px, 3.2vw, 42px);
    color: var(--home-white);
    background: #090c12;
    border-right: 1px solid #303641;
    border-bottom: 1px solid #303641;
    transition: color 160ms ease, background-color 160ms ease;
}

.home-ecosystem-grid > a:nth-child(1) {
    --cell-accent: var(--home-cyan);
}

.home-ecosystem-grid > a:nth-child(2) {
    --cell-accent: var(--home-purple);
}

.home-ecosystem-grid > a:nth-child(3) {
    --cell-accent: var(--home-lime);
}

.home-ecosystem-grid > a:hover {
    background: #10151d;
}

.home-ecosystem-grid > a > span {
    color: #6f7885;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.09em;
}

.home-ecosystem-grid svg {
    width: 42px;
    height: 42px;
    color: var(--cell-accent);
    stroke-width: 1.4;
}

.home-ecosystem-grid h3 {
    max-width: 10ch;
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
}

.home-ecosystem-grid p {
    margin: 0;
    color: #919aa7;
    font-size: 0.82rem;
    line-height: 1.65;
}

.home-ecosystem-grid b {
    align-self: end;
    color: var(--cell-accent);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.home-final-cta {
    display: grid;
    justify-items: center;
    margin: 92px 0 26px;
    padding: clamp(54px, 8vw, 100px) 24px;
    text-align: center;
    background: #10141b;
    border: 1px solid #303641;
}

.home-final-code {
    color: var(--home-lime);
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.home-final-cta h2 {
    margin: 1rem 0 0;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.home-final-cta > p {
    margin: 1.2rem 0 0;
    color: #9ea7b3;
}

.home-final-cta > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 1.8rem;
}

.home-final-ip,
.home-final-cta > div > a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 50px;
    padding: 0.75rem 1.1rem;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 900;
}

.home-final-ip {
    color: #080a0e;
    background: var(--home-white);
    border: 1px solid var(--home-white);
}

.home-final-ip span {
    padding-left: 1rem;
    color: #59616c;
    border-left: 1px solid #c7ccd2;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
}

.home-final-ip:hover {
    background: var(--home-lime);
    border-color: var(--home-lime);
}

.home-final-cta > div > a {
    color: var(--home-white);
    background: var(--home-purple);
    border: 1px solid var(--home-purple);
}

body[data-page="inicio"] .site-footer {
    width: min(1240px, calc(100% - 36px));
    min-height: 82px;
    margin: 0 auto;
    padding-inline: 0;
    background: transparent;
}

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

    .home-cube-panel {
        min-height: 540px;
        border-top: 1px solid var(--home-line);
        border-left: 0;
    }

    .home-manifesto {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .home-manifesto-note {
        grid-column: 2;
    }

    .home-editorial-heading {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .home-editorial-heading > a {
        grid-column: 2;
    }

    .home-experience-row {
        grid-template-columns: 48px minmax(0, 1fr) 28px;
    }

    .home-experience-row ul {
        display: none;
    }

    .home-ecosystem .home-editorial-heading {
        grid-template-columns: 150px minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    body[data-page="inicio"] .site-header {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        min-height: 0;
        padding: 9px 12px 10px;
    }

    body[data-page="inicio"] .brand {
        grid-column: 1;
        grid-row: 1;
    }

    body[data-page="inicio"] .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    body[data-page="inicio"] .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body[data-page="inicio"] .site-nav::-webkit-scrollbar {
        display: none;
    }

    body[data-page="inicio"] .site-nav a {
        min-width: max-content;
        min-height: 34px;
        padding: 0.42rem 0.68rem;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .home-page {
        width: min(100% - 22px, 1240px);
        margin-top: 12px;
    }

    .home-intro {
        padding: 38px 24px;
    }

    .home-intro h1 {
        font-size: clamp(3.25rem, 16vw, 5.5rem);
    }

    .home-connect-row,
    .home-server-address,
    .home-session.session-line {
        width: 100%;
    }

    .home-cube-panel {
        min-height: 430px;
    }

    .home-cube-help {
        display: none;
    }

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

    .home-telemetry article:nth-child(2) {
        border-right: 0;
    }

    .home-telemetry article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--home-line);
    }

    .home-manifesto {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 0;
        padding: 42px 26px;
    }

    .home-manifesto-note {
        grid-column: auto;
    }

    .home-experiences,
    .home-ecosystem {
        margin-top: 64px;
    }

    .home-editorial-heading,
    .home-ecosystem .home-editorial-heading {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-editorial-heading > a {
        grid-column: auto;
    }

    .home-experience-row {
        grid-template-columns: 34px minmax(0, 1fr) 24px;
        gap: 0.8rem;
        min-height: 220px;
        padding: 1.4rem 1rem;
    }

    .home-experience-row h3 {
        font-size: 3rem;
    }

    .home-ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .home-ecosystem-grid > a {
        min-height: 310px;
    }

    .home-final-cta {
        margin-top: 64px;
    }
}

@media (max-width: 460px) {
    body[data-page="inicio"] .header-actions .compact {
        max-width: 116px;
        padding-inline: 0.62rem;
        font-size: 0.68rem;
    }

    .home-intro h1 {
        font-size: clamp(3rem, 14vw, 4.4rem);
    }

    .home-actions,
    .home-button {
        width: 100%;
    }

    .home-cube-panel {
        min-height: 360px;
    }

    .home-orbit-label {
        font-size: 0.48rem;
    }

    .home-telemetry {
        grid-template-columns: 1fr;
    }

    .home-telemetry article,
    .home-telemetry article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .home-telemetry article:last-child {
        border-bottom: 0;
    }

    .home-experience-row {
        grid-template-columns: 1fr 24px;
    }

    .home-experience-number {
        display: none;
    }

    .home-final-cta > div,
    .home-final-ip,
    .home-final-cta > div > a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-button,
    .home-experience-row,
    .home-ecosystem-grid > a {
        transition: none;
    }
}

/* Portada central: núcleo, accesos, noticias y cuenta */

.home-stage {
    position: relative;
}

.home-stage-shell.home-cube-panel {
    min-height: 660px;
    border: 1px solid var(--home-line);
}

.home-stage-shell::before {
    left: 33.333%;
}

.home-stage-shell::after {
    top: 58%;
}

.home-stage-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: grid;
    justify-items: center;
    width: min(90%, 850px);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.home-stage-brand > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 2vw, 26px);
}

.home-stage-brand img {
    width: clamp(58px, 8vw, 92px);
    height: clamp(58px, 8vw, 92px);
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.home-stage-brand h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(4.4rem, 11vw, 9.4rem);
    font-weight: 950;
    line-height: 0.8;
    letter-spacing: -0.075em;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.72);
}

.home-stage-brand p {
    margin: 1.15rem 0 0;
    color: var(--home-cyan);
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: clamp(0.58rem, 1.2vw, 0.78rem);
    font-weight: 900;
    letter-spacing: 0.32em;
}

.home-stage-brand > span {
    margin-top: 0.7rem;
    color: #d7dce3;
    font-size: clamp(0.72rem, 1.4vw, 0.92rem);
    font-weight: 750;
    letter-spacing: 0.08em;
}

.home-cube-legend {
    position: absolute;
    bottom: 20px;
    left: 22px;
    z-index: 5;
    display: flex;
    gap: 1rem;
    color: #767f8c;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.5rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.home-cube-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-cube-legend i {
    width: 5px;
    height: 5px;
    background: var(--home-cyan);
    border-radius: 50%;
}

.home-cube-legend span:nth-child(2) i {
    background: var(--home-purple);
}

.home-cube-legend span:nth-child(3) i {
    background: var(--home-lime);
}

.home-travel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    border-left: 1px solid var(--home-line);
}

.home-travel > a {
    --travel-accent: var(--home-cyan);
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0.42rem 0.75rem;
    min-height: 152px;
    padding: 1.25rem;
    color: var(--home-white);
    background: #090c12;
    border-right: 1px solid var(--home-line);
    transition: color 160ms ease, background-color 160ms ease;
}

.home-travel > a:nth-child(2) {
    --travel-accent: var(--home-purple);
}

.home-travel > a:nth-child(3) {
    --travel-accent: var(--home-lime);
}

.home-travel > a:nth-child(4) {
    --travel-accent: var(--home-orange);
    border-right: 0;
}

.home-travel > a::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    content: "";
    background: var(--travel-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.home-travel > a:hover {
    background: #11161e;
}

.home-travel > a:hover::before {
    transform: scaleX(1);
}

.home-travel > a > span {
    grid-column: 1;
    grid-row: 1;
    color: #68727f;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.53rem;
    font-weight: 850;
}

.home-travel > a > svg {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: 28px;
    height: 28px;
    color: var(--travel-accent);
    stroke-width: 1.45;
}

.home-travel strong {
    grid-column: 1 / span 2;
    grid-row: 2;
    color: #ffffff;
    font-size: 1.05rem;
}

.home-travel small {
    grid-column: 1 / span 2;
    grid-row: 3;
    align-self: end;
    color: #7f8996;
    font-size: 0.66rem;
}

.home-travel b {
    grid-column: 3;
    grid-row: 3;
    align-self: end;
    color: var(--travel-accent);
    font-size: 0.9rem;
}

.home-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 18px;
    margin-top: 72px;
}

.home-news {
    min-width: 0;
}

.home-news > header {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 54px);
    align-items: end;
    margin-bottom: 22px;
}

.home-news > header .home-section-index {
    align-self: start;
    padding-top: 0.5rem;
}

.home-news > header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.home-news > header > a {
    padding-bottom: 0.35rem;
    color: #d9dee5;
    font-size: 0.68rem;
    font-weight: 850;
}

.home-news > header > a:hover {
    color: var(--home-cyan);
}

.home-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(230px, 0.82fr);
    grid-template-rows: repeat(2, minmax(170px, auto));
    border-top: 1px solid #303641;
    border-left: 1px solid #303641;
}

.home-news-grid article {
    display: grid;
    align-content: start;
    min-width: 0;
    padding: clamp(20px, 3vw, 32px);
    color: #f7f8fb;
    background: #0b0e14;
    border-right: 1px solid #303641;
    border-bottom: 1px solid #303641;
}

.home-news-grid article > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #727c89;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.5rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.home-news-grid article > div span {
    color: var(--home-cyan);
}

.home-news-grid article:nth-child(3) > div span {
    color: var(--home-purple);
}

.home-news-grid h3 {
    max-width: 16ch;
    margin: 1.2rem 0 0;
    color: #ffffff;
    font-size: clamp(1.3rem, 2.3vw, 2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.home-news-grid p {
    max-width: 52ch;
    margin: 1rem 0 0;
    color: #929ca9;
    font-size: 0.73rem;
    line-height: 1.62;
}

.home-news-featured {
    grid-row: 1 / span 2;
    color: #0a0c10 !important;
    background: var(--home-paper) !important;
}

.home-news-featured > div {
    color: #606975 !important;
}

.home-news-featured > div span {
    color: #7040d0 !important;
}

.home-news-featured h3 {
    max-width: 12ch;
    color: #090b0f;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.home-news-featured p {
    align-self: end;
    color: #414852;
}

.home-news-featured > a {
    align-self: end;
    width: fit-content;
    margin-top: 1.8rem;
    color: #080a0e;
    font-size: 0.65rem;
    font-weight: 900;
    border-bottom: 2px solid #080a0e;
}

.home-account-panel {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    padding: 24px;
    background: #10141b;
    border: 1px solid #303641;
}

.home-account-code {
    color: #6e7885;
    font-family: "Cascadia Mono", "Fira Code", Consolas, monospace;
    font-size: 0.52rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.home-account-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-top: 2rem;
    color: var(--home-cyan);
    background: #0a0d12;
    border: 1px solid #303a46;
}

.home-account-icon svg {
    width: 39px;
    height: 39px;
    stroke-width: 1.3;
}

.home-account-icon .home-live-dot {
    position: absolute;
    right: -4px;
    bottom: -4px;
    border: 3px solid #10141b;
}

.home-account-panel h2 {
    margin: 1.4rem 0 0;
    color: #ffffff;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.home-account-panel > p {
    margin: 0.9rem 0 0;
    color: #929ca8;
    font-size: 0.75rem;
    line-height: 1.6;
}

.home-account-action {
    min-height: 43px;
    margin-top: 1.35rem;
    color: #07090e;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 900;
}

.home-account-action:hover {
    background: var(--home-cyan);
    border-color: var(--home-cyan);
}

.home-support-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    margin-top: 8px;
    padding: 0.8rem;
    color: #e8ebef;
    border: 1px solid #303641;
}

.home-support-link > svg {
    width: 21px;
    height: 21px;
    color: var(--home-purple);
}

.home-support-link > span {
    display: grid;
    gap: 0.12rem;
}

.home-support-link strong {
    font-size: 0.68rem;
}

.home-support-link small {
    color: #78828f;
    font-size: 0.56rem;
}

.home-support-link b {
    color: var(--home-purple);
}

.home-account-panel .home-session {
    width: 100%;
    min-height: 43px;
    margin-top: auto;
}

.home-panel-ip {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 50px;
    margin-top: 8px;
    padding: 0.65rem 0.75rem;
    color: #ffffff;
    text-align: left;
    background: #0a0d12;
    border: 1px solid #303641;
    border-radius: 3px;
}

.home-panel-ip > span {
    display: grid;
    gap: 0.1rem;
}

.home-panel-ip small {
    color: #6f7986;
    font-size: 0.5rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.home-panel-ip strong {
    font-size: 0.72rem;
}

.home-panel-ip b {
    margin-left: auto;
    color: var(--home-lime);
    font-size: 0.54rem;
    letter-spacing: 0.07em;
}

@media (max-width: 980px) {
    .home-travel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-travel > a:nth-child(2) {
        border-right: 0;
    }

    .home-travel > a:nth-child(-n + 2) {
        border-bottom: 1px solid var(--home-line);
    }

    .home-news-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-account-panel {
        position: static;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) minmax(210px, 0.7fr);
        grid-template-rows: repeat(3, auto);
        gap: 0.75rem 1.2rem;
        min-height: 0;
    }

    .home-account-code {
        grid-column: 1 / -1;
    }

    .home-account-icon {
        grid-column: 1;
        grid-row: 2 / span 2;
        margin-top: 0;
    }

    .home-account-panel h2 {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        margin-top: 0;
    }

    .home-account-panel > p {
        grid-column: 2;
        grid-row: 3;
        margin-top: 0;
    }

    .home-account-action {
        grid-column: 3;
        grid-row: 2;
        margin-top: 0;
    }

    .home-support-link {
        grid-column: 3;
        grid-row: 3;
        margin-top: 0;
    }

    .home-account-panel .home-session,
    .home-panel-ip {
        display: none;
    }
}

@media (max-width: 720px) {
    .home-stage-shell.home-cube-panel {
        min-height: 470px;
    }

    .home-stage-brand {
        top: 48%;
    }

    .home-stage-brand > div {
        gap: 10px;
    }

    .home-stage-brand h1 {
        font-size: clamp(3.4rem, 17vw, 6.4rem);
    }

    .home-stage-brand img {
        width: 50px;
        height: 50px;
    }

    .home-cube-legend {
        display: none;
    }

    .home-travel > a {
        min-height: 132px;
    }

    .home-news-layout {
        margin-top: 58px;
    }

    .home-news > header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .home-news-featured {
        grid-row: auto;
        min-height: 380px;
    }

    .home-account-panel {
        display: flex;
    }

    .home-account-icon {
        margin-top: 1.2rem;
    }

    .home-account-panel .home-session,
    .home-panel-ip {
        display: flex;
    }
}

@media (max-width: 470px) {
    .home-stage-shell.home-cube-panel {
        min-height: 400px;
    }

    .home-stage-brand h1 {
        font-size: 3.25rem;
    }

    .home-stage-brand img {
        width: 42px;
        height: 42px;
    }

    .home-stage-brand p {
        letter-spacing: 0.2em;
    }

    .home-travel {
        grid-template-columns: 1fr;
    }

    .home-travel > a,
    .home-travel > a:nth-child(2),
    .home-travel > a:nth-child(4) {
        min-height: 116px;
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }
}
