:root {
    color-scheme: dark;
    --bg: #020805;
    --green: #66ff76;
    --bright: #a8ffb1;
    --muted: #668e72;
    --text: #d8e9db;
    --progress: 0%;
    --progress-number: 0;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100svh;
    padding: 28px 20px;
    color: var(--text);
    background: radial-gradient(ellipse at 50% 20%, #0b2815 0, transparent 65%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 160px 30px #0009;
    z-index: 5;
}

a {
    color: var(--green);
    text-underline-offset: 4px;
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 2px solid var(--bright);
    outline-offset: 6px;
}

[hidden] {
    display: none !important;
}

svg {
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.code-rain, .ambient-light, .screen-texture {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.code-rain {
    opacity: .42;
}

.ambient-light {
    background: radial-gradient(ellipse at 50% 5%, #1eff5012, transparent 55%), linear-gradient(90deg, #0008, transparent 20% 80%, #0008);
}

.screen-texture {
    z-index: 6;
    opacity: .13;
    background: repeating-linear-gradient(0deg, transparent 0 3px, #000 3px 4px);
}

.portal {
    position: relative;
    isolation: isolate;
    width: min(100%, 780px);
    margin: 0 auto;
    padding: 26px 36px 18px;
    border: 1px solid #1a4a2a;
    background: linear-gradient(180deg, #031109cc, #020a06f5 48%, #031008f5);
    box-shadow: 0 0 0 7px #040e0870, 0 0 100px #31ff4b0a, inset 0 0 70px #0006;
}

.portal::before {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(#5cff6b03 1px, transparent 1px), linear-gradient(90deg, #5cff6b03 1px, transparent 1px);
    background-size: 38px 38px;
}

.frame-corners {
    position: absolute;
    inset: -2px;
    pointer-events: none;
}

.frame-corners i {
    position: absolute;
    width: 73px;
    height: 73px;
    border-color: var(--green);
    border-style: solid;
    filter: drop-shadow(0 0 5px #49ff6d99);
}

.frame-corners i:nth-child(1) {
    top: 0;
    left: 0;
    border-width: 3px 0 0 3px;
}

.frame-corners i:nth-child(2) {
    top: 0;
    right: 0;
    border-width: 3px 3px 0 0;
}

.frame-corners i:nth-child(3) {
    bottom: 0;
    right: 0;
    border-width: 0 3px 3px 0;
}

.frame-corners i:nth-child(4) {
    bottom: 0;
    left: 0;
    border-width: 0 0 3px 3px;
}

.frame-track {
    position: absolute;
    inset: 10px;
    border-left: 1px solid #398c483d;
    border-right: 1px solid #398c483d;
    pointer-events: none;
}

.frame-track::before, .frame-track::after {
    content: "";
    position: absolute;
    top: 26%;
    width: 3px;
    height: 90px;
    background: linear-gradient(transparent, var(--green), transparent);
    filter: drop-shadow(0 0 4px var(--green));
}

.frame-track::before {
    left: -2px;
}

.frame-track::after {
    right: -2px;
    top: 57%;
}

.portal-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.wordmark {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #d9f6de;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-mark {
    width: 29px;
    height: 29px;
    fill: #58ff6e08;
    stroke: var(--green);
    stroke-width: 1.5;
}

.wordmark-caption {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 7px;
    letter-spacing: 1.3px;
    font-weight: 400;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8ad799;
    font-size: 8px;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.connection-status i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.hero {
    position: relative;
    padding-top: 8px;
    text-align: center;
}

.hero-grid {
    position: absolute;
    inset: 0 -20px;
    opacity: .25;
    background: linear-gradient(#42ff5a10 1px, transparent 1px), linear-gradient(90deg, #42ff5a10 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse, #000 20%, transparent 70%);
}

.hooded-figure {
    position: absolute;
    left: 50%;
    top: -24px;
    width: min(85%, 520px);
    height: 350px;
    transform: translateX(-50%);
    object-fit: contain;
    object-position: top center;
    opacity: .72;
    pointer-events: none;
    mask-image: linear-gradient(#000 65%, transparent);
}

.telemetry {
    position: absolute;
    top: 55px;
    display: grid;
    gap: 5px;
    width: 170px;
    color: #5eaa71;
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-align: left;
}

.telemetry-left {
    left: -5px;
}

.telemetry-right {
    right: -5px;
    text-align: right;
}

.telemetry b {
    font-weight: 400;
    color: #86c58e;
}

.micro-label {
    color: #346a43;
    font-size: 7px;
    letter-spacing: 2px;
    margin-bottom: 9px;
}

.telemetry-bars {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 21px;
    margin-top: 8px;
}

.telemetry-bars i {
    width: 4px;
    height: 50%;
    background: #64ff7544;
}

.telemetry-bars i:nth-child(2) {
    height: 70%;
}

.telemetry-bars i:nth-child(3) {
    height: 40%;
}

.telemetry-bars i:nth-child(4) {
    height: 100%;
}

.telemetry-bars i:nth-child(5) {
    height: 65%;
}

.signal-blocks {
    display: flex;
    justify-content: end;
    gap: 6px;
    margin-top: 18px;
}

.signal-blocks i {
    width: 7px;
    height: 7px;
    background: var(--green);
    box-shadow: 0 0 8px #45ff6655;
}

.signal-blocks i:nth-child(3) {
    opacity: .3;
}

.signal-blocks i:nth-child(4) {
    opacity: .12;
}

.lock-scene {
    position: relative;
    width: 238px;
    height: 238px;
    margin: 33px auto 19px;
}

.lock-interface {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.lock-aura {
    position: absolute;
    inset: 31px;
    border-radius: 50%;
    background: #39ff5910;
    box-shadow: 0 0 65px 22px #2aff4010;
}

.scope-boundary {
    fill: none;
    stroke: #54ff6022;
    stroke-width: .7;
}

.ring {
    transform-origin: 130px 130px;
    fill: none;
    stroke: #4cff6770;
    stroke-width: 1;
}

.ring-outer rect {
    fill: var(--green);
    stroke: none;
    filter: drop-shadow(0 0 5px #69ff7e);
}

.ring-highlight {
    stroke: #84ff93;
    stroke-width: 3;
    stroke-linecap: square;
    filter: drop-shadow(0 0 3px #4aff6a80);
}

.ring-ticks {
    fill: none;
    stroke: #67fc796e;
    stroke-width: 4;
    stroke-dasharray: 1 5;
}

.scope-center {
    stroke: #58ff7459;
    stroke-width: 1;
}

.scope-fine {
    fill: none;
    stroke: #58ff742b;
    stroke-width: .5;
}

.scope-progress {
    fill: none;
    stroke: #6dff85;
    stroke-width: 1.5;
    stroke-dasharray: 100;
    stroke-dashoffset: calc(100 - var(--progress-number, 0));
    transform: rotate(-90deg);
    transform-origin: center;
    opacity: .7;
}

.lock-shackle {
    fill: none;
    stroke: #9cff9b;
    stroke-width: 8;
    stroke-linecap: round;
    transform-origin: 106px 124px;
    filter: drop-shadow(0 0 6px #65ff6e66);
}

.lock-body {
    filter: drop-shadow(0 0 13px #41ff6466);
}

.lock-keyhole {
    fill: #07351b;
}

.lock-check {
    fill: none;
    stroke: #07351b;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.scope-crosses {
    fill: var(--green);
    stroke: #63ff7980;
    stroke-width: 1;
}

.scope-line {
    position: absolute;
    top: 50%;
    width: 91px;
    height: 1px;
    background: linear-gradient(90deg, #54ff6320, #61ff7477);
}

.scope-line::after {
    content: "";
    position: absolute;
    top: -1px;
    width: 3px;
    height: 3px;
    background: #73ff86;
    box-shadow: 0 0 8px #73ff86;
}

.scope-line-left {
    right: calc(100% - 10px);
}

.scope-line-left::after {
    left: 0;
}

.scope-line-right {
    left: calc(100% - 10px);
    transform: rotate(180deg);
}

.scope-coordinate {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #69bf7b;
    font-size: 7px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.coordinate-top {
    top: -17px;
}

.coordinate-bottom {
    bottom: -10px;
    color: var(--green);
}

.hero-title {
    position: relative;
    padding-bottom: 29px;
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 0 0 10px;
    color: #83ba8d;
    font-size: 8px;
    letter-spacing: 2.3px;
}

.eyebrow span {
    width: 20px;
    height: 1px;
    background: #4a955c;
}

.glitch-title {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    color: var(--green);
    font-family: "Arial Black", "Segoe UI", sans-serif;
    font-size: clamp(48px, 10vw, 83px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 0 25px #54ff5424;
}

.glitch-title > span {
    color: #edfff0;
}

.hero-subtitle {
    margin: 14px 0 0;
    color: #6ebd84;
    font-size: 10px;
    letter-spacing: 3px;
}

.hero-subtitle span {
    color: #9fd4aa;
}

.access-strip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 19px;
    min-height: 71px;
    padding: 11px 17px;
    border: 1px solid #408c50;
    background: linear-gradient(90deg, #0c271184, #06170c50);
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.access-indicator {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--green);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 1px;
}

.access-indicator > span > span {
    display: block;
}

.access-indicator svg {
    width: 37px;
    height: 37px;
    fill: none;
    stroke: #65ff74;
    stroke-width: 1;
}

.access-indicator svg circle:nth-child(3) {
    fill: #65ff74;
}

.node-status {
    display: grid;
    gap: 5px;
    padding-left: 20px;
    border-left: 1px solid #3e75494f;
    font-size: 10px;
    letter-spacing: 1px;
}

.node-status > span {
    color: #b1c9b5;
}

.node-status strong {
    color: #6b9476;
    font-size: 8px;
    font-weight: 400;
}

.session-clock {
    margin-left: auto;
    padding: 9px;
    color: #d3f0d8;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(#53865a, #53865a) left top/6px 1px no-repeat, linear-gradient(#53865a, #53865a) left top/1px 6px no-repeat, linear-gradient(#53865a, #53865a) right bottom/6px 1px no-repeat, linear-gradient(#53865a, #53865a) right bottom/1px 6px no-repeat;
}

.console {
    position: relative;
    margin-top: 25px;
    padding: 19px 23px 22px;
    border: 1px solid #56d269;
    background: linear-gradient(135deg, #0e281155, #020b06e6 65%);
    box-shadow: 0 0 20px #46ff4b0b, inset 0 0 25px #46ff4b04;
    clip-path: polygon(17px 0, calc(100% - 17px) 0, 100% 17px, 100% calc(100% - 17px), calc(100% - 17px) 100%, 17px 100%, 0 calc(100% - 17px), 0 17px);
}

.console::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    border-left: 3px solid #9bffa2;
    border-bottom: 3px solid #9bffa2;
    filter: drop-shadow(0 0 5px #3aff5c);
    pointer-events: none;
}

.panel-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 19px;
}

.panel-heading h2 {
    margin: 0;
    color: #65a575;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
}

.heading-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #2b603a, #2b603a22);
}

.console-dots {
    display: flex;
    gap: 5px;
}

.console-dots i {
    width: 4px;
    height: 4px;
    background: #7cff8d;
    border-radius: 50%;
    box-shadow: 0 0 5px #7cff8d55;
}

.console-dots i:nth-child(2) {
    opacity: .5;
}

.console-dots i:nth-child(3) {
    opacity: .2;
}

.console-lines {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.console-lines li {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #bdcfc1;
    font-size: 12px;
    line-height: 1.35;
    opacity: .16;
    transform: translateX(-5px);
}

.console-lines li > svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #75fa84;
}

.console-lines em {
    color: #73dc83;
    font-style: normal;
}

.line-tail {
    color: #608a6a;
}

.line-check {
    margin-left: auto;
    color: #72e386;
    font-size: 10px;
    opacity: 0;
}

.console-final em {
    color: #9fffaa;
}

.terminal-cursor {
    display: inline-block;
    width: 7px;
    height: 13px;
    margin-left: 6px;
    vertical-align: -2px;
    background: #b2ffb7;
    opacity: 0;
}

.console-caption {
    position: absolute;
    bottom: 8px;
    right: 24px;
    color: #345a3e;
    font-size: 6px;
    letter-spacing: 1px;
}

.console-lines li > svg, .status-tile > svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.progress-section {
    margin-top: 24px;
}

.progress-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-bottom: 9px;
}

.progress-heading h2 {
    margin: 0 0 3px;
    color: #97d4a5;
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 400;
}

.progress-value {
    color: #c5ffd0;
    font-family: "Arial Black", "Segoe UI", sans-serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 0 15px #6eff8f55;
    font-variant-numeric: tabular-nums;
}

.percent-sign {
    font-size: .7em;
    margin-left: 2px;
}

.progress-track {
    position: relative;
    height: 27px;
    padding: 4px;
    border: 1px solid #76e986;
    background: #06160d;
    border-radius: 6px;
    box-shadow: 0 0 0 3px #4eff5f0d, inset 0 0 12px #000;
    overflow: hidden;
}

.progress-fill {
    position: relative;
    width: var(--progress);
    height: 100%;
    min-width: 0;
    background: linear-gradient(90deg, #16bb3b, #55ff65 55%, #baffbc);
    box-shadow: 0 0 12px #47ff5f77;
    overflow: hidden;
}

.progress-segments {
    position: absolute;
    inset: 4px;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 20px, #031208a8 20px 23px);
}

.progress-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, #efffffa8 45%, transparent 70%);
    transform: translateX(-100%);
}

.progress-footnote {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 9px;
    font-size: 8px;
    letter-spacing: .5px;
    color: #658f70;
}

.transfer-label {
    font-size: 8px;
    letter-spacing: 1.2px;
    color: #81bd8f;
    white-space: nowrap;
}

.transfer-label > span {
    color: #8fff9d;
    margin-left: 4px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.status-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 14px 5px 12px;
    border: 1px solid #30643d;
    background: linear-gradient(135deg, #0d25117a, #06120999);
    clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.status-tile > svg {
    width: 27px;
    height: 27px;
    margin-bottom: 9px;
    color: #5eae6b;
}

.status-tile h2 {
    margin: 0;
    color: #a2c3aa;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
}

.status-tile p {
    margin: 5px 0 0;
    color: #4d7a59;
    font-size: 8px;
    letter-spacing: 1px;
}

.tile-index {
    position: absolute;
    right: 7px;
    top: 6px;
    font-size: 6px;
    color: #3c6144;
}

.status-tile.is-complete > svg {
    color: #7aff8d;
}

.status-tile.is-complete p {
    color: #7bb587;
}

.status-tile.is-active {
    border-color: #97ff9c;
    background: radial-gradient(ellipse at top, #49fc5124, #08261166 70%);
    box-shadow: inset 0 0 22px #44ff6724;
}

.status-tile.is-active::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60%;
    height: 1px;
    background: #b9ffc1;
    box-shadow: 0 0 15px 3px #4dff66;
}

.status-tile.is-active > svg {
    color: #9dffa7;
    filter: drop-shadow(0 0 7px #74ff8b55);
}

.status-tile.is-active h2 {
    color: #e2ffe6;
}

.portal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 15px 16px;
    border: 1px solid #2e6a3c;
    clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
}

.portal-footer p {
    margin: 0;
    color: #598366;
    font-size: 9px;
    letter-spacing: 1.1px;
    text-align: center;
}

.portal-footer strong {
    color: #96d7a3;
    font-weight: 400;
}

.footer-cross {
    font-size: 15px;
    color: #79e48a;
}

.footer-divider {
    margin: 0 6px;
    color: #2c693a;
}

.footer-id {
    font-size: 7px;
    color: #43694c;
}

.disclosure {
    margin: 13px 0 0;
    text-align: center;
    color: #718c79;
    font-size: 8px;
    line-height: 1.8;
}

.disclosure > span {
    white-space: nowrap;
}

.preview-notice, .redirect-fallback {
    color: #95c7a0;
    text-align: center;
    font-size: 11px;
    line-height: 1.8;
}

.preview-notice {
    margin-bottom: 0;
    padding-top: 7px;
    font-size: 9px;
    letter-spacing: 1px;
}

.preview-notice > span {
    color: var(--green);
    padding-inline: 5px;
}

@media (max-width: 600px) {
    body {
        padding: 13px 12px;
    }

    body::after {
        box-shadow: inset 0 0 70px 5px #0005;
    }

    .portal {
        padding: 20px 20px 15px;
    }

    .portal-header {
        gap: 5px;
    }

    .wordmark {
        font-size: 11px;
        gap: 7px;
        letter-spacing: 1px;
    }

    .brand-mark {
        width: 24px;
        height: 24px;
    }

    .wordmark-caption {
        font-size: 6px;
        letter-spacing: .7px;
    }

    .connection-status {
        font-size: 6px;
        gap: 5px;
        letter-spacing: .5px;
    }

    .hero {
        padding-top: 17px;
    }

    .hooded-figure {
        width: 100%;
        top: -3px;
        height: 290px;
    }

    .telemetry {
        top: 38px;
        width: 105px;
        font-size: 6px;
        gap: 4px;
        letter-spacing: .6px;
    }

    .telemetry-left {
        left: -2px;
    }

    .telemetry-right {
        right: -2px;
    }

    .micro-label {
        font-size: 5px;
        margin-bottom: 5px;
        letter-spacing: .7px;
    }

    .telemetry-bars {
        margin-top: 2px;
        height: 15px;
    }

    .telemetry-bars i {
        width: 3px;
    }

    .signal-blocks {
        margin-top: 10px;
        gap: 4px;
    }

    .signal-blocks i {
        width: 4px;
        height: 4px;
    }

    .lock-scene {
        width: 188px;
        height: 188px;
        margin-top: 39px;
        margin-bottom: 23px;
    }

    .scope-line {
        width: 41px;
    }

    .scope-coordinate {
        font-size: 6px;
        letter-spacing: 1.5px;
    }

    .coordinate-top {
        top: -13px;
    }

    .coordinate-bottom {
        bottom: -10px;
    }

    .hero-title {
        padding-bottom: 23px;
    }

    .eyebrow {
        font-size: 6px;
        letter-spacing: 1.3px;
        gap: 7px;
        margin-bottom: 12px;
    }

    .eyebrow span {
        width: 12px;
    }

    .glitch-title {
        font-size: clamp(42px, 12.5vw, 70px);
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 7px;
        letter-spacing: 1.6px;
        margin-top: 11px;
    }

    .access-strip {
        min-height: 59px;
        padding: 10px;
        gap: 11px;
    }

    .access-indicator {
        gap: 8px;
        font-size: 8px;
        letter-spacing: .7px;
    }

    .access-indicator svg {
        width: 29px;
        height: 29px;
    }

    .node-status {
        padding-left: 10px;
        font-size: 8px;
        letter-spacing: .4px;
        gap: 4px;
    }

    .node-status strong {
        font-size: 6px;
    }

    .session-clock {
        font-size: 12px;
        padding: 6px;
    }

    .console {
        margin-top: 18px;
        padding: 17px 16px 23px;
    }

    .panel-heading {
        gap: 9px;
        margin-bottom: 16px;
    }

    .panel-heading h2 {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .console-lines {
        gap: 11px;
    }

    .console-lines li {
        font-size: 10px;
        gap: 9px;
    }

    .console-lines li > svg {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }

    .console-caption {
        font-size: 5px;
        right: 16px;
    }

    .terminal-cursor {
        width: 6px;
        height: 11px;
    }

    .progress-section {
        margin-top: 20px;
    }

    .progress-heading h2 {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .progress-value {
        font-size: 27px;
    }

    .progress-track {
        height: 24px;
    }

    .progress-segments {
        background-image: repeating-linear-gradient(90deg, transparent 0 12px, #031208a8 12px 14px);
    }

    .progress-footnote {
        font-size: 6px;
        letter-spacing: 0;
    }

    .transfer-label {
        font-size: 6px;
    }

    .status-grid {
        margin-top: 20px;
        gap: 7px;
    }

    .status-tile {
        min-height: 84px;
        padding-block: 12px;
    }

    .status-tile > svg {
        width: 24px;
        height: 24px;
        margin-bottom: 8px;
    }

    .status-tile h2 {
        font-size: 7px;
        letter-spacing: .5px;
    }

    .status-tile p {
        font-size: 6px;
        letter-spacing: .5px;
    }

    .tile-index {
        font-size: 5px;
        right: 5px;
    }

    .portal-footer {
        margin-top: 20px;
        padding: 13px 10px;
    }

    .portal-footer p {
        font-size: 6px;
        letter-spacing: .8px;
    }

    .footer-id {
        font-size: 5px;
    }

    .footer-divider {
        margin-inline: 3px;
    }

    .disclosure {
        font-size: 6px;
        margin-top: 11px;
    }
}

@media (max-width: 360px) {
    .portal {
        padding-inline: 16px;
    }

    .telemetry {
        width: 85px;
        font-size: 5px;
    }

    .lock-scene {
        width: 171px;
        height: 171px;
    }

    .scope-line {
        width: 29px;
    }

    .node-status strong {
        max-width: 65px;
        line-height: 1.4;
    }

    .console-lines li {
        font-size: 9px;
        gap: 7px;
    }

    .line-check {
        display: none;
    }

    .portal-footer p {
        font-size: 5px;
    }

    .glitch-title {
        font-size: 42px;
    }
}

/* Keep the handoff in view instead of stretching a phone layout across desktop. */
@media (min-width: 1000px) {
    body {
        display: grid;
        align-items: center;
        padding-block: 24px;
    }

    .portal {
        width: min(100%, 1120px);
        display: grid;
        grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
        column-gap: 38px;
        row-gap: 20px;
        padding: 28px 40px 20px;
    }

    .portal-header {
        grid-column: 1 / -1;
        margin-bottom: 8px;
    }

    .hero {
        grid-column: 1;
        grid-row: 2 / 5;
        align-self: center;
        padding: 0;
    }

    .lock-scene {
        width: 220px;
        height: 220px;
        margin-top: 27px;
        margin-bottom: 22px;
    }

    .hooded-figure {
        width: 100%;
        top: -25px;
    }

    .telemetry {
        top: 36px;
        width: 115px;
        font-size: 7px;
        letter-spacing: .6px;
    }

    .micro-label {
        font-size: 6px;
        letter-spacing: .9px;
    }

    .telemetry-left {
        left: -8px;
    }

    .telemetry-right {
        right: -8px;
    }

    .scope-line {
        width: 62px;
    }

    .glitch-title {
        font-size: 72px;
    }

    .eyebrow {
        font-size: 7px;
        letter-spacing: 1.8px;
    }

    .hero-subtitle {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .hero-title {
        padding-bottom: 8px;
    }

    .access-strip {
        grid-column: 2;
        grid-row: 2;
        min-height: 65px;
        padding: 10px 12px;
        gap: 12px;
    }

    .access-indicator {
        font-size: 9px;
        gap: 9px;
    }

    .access-indicator svg {
        width: 32px;
        height: 32px;
    }

    .node-status {
        padding-left: 12px;
        font-size: 9px;
    }

    .node-status strong {
        font-size: 7px;
    }

    .session-clock {
        font-size: 14px;
        padding: 7px;
    }

    .console {
        grid-column: 2;
        grid-row: 3;
        margin-top: 0;
        padding: 18px 20px 23px;
    }

    .console-lines {
        gap: 10px;
    }

    .console-lines li {
        font-size: 11px;
        gap: 10px;
    }

    .panel-heading {
        margin-bottom: 17px;
    }

    .progress-section {
        grid-column: 2;
        grid-row: 4;
        margin: 0;
    }

    .progress-heading h2 {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .status-grid {
        grid-column: 1 / -1;
        margin: 0;
        gap: 16px;
    }

    .status-tile {
        min-height: 87px;
    }

    .status-tile > svg {
        width: 25px;
        height: 25px;
        margin-bottom: 7px;
    }

    .portal-footer {
        grid-column: 1 / -1;
        margin: 0;
        padding-block: 13px;
    }

    .disclosure {
        grid-column: 1 / -1;
        margin: -9px 0 0;
    }

    .preview-notice, .redirect-fallback, noscript {
        grid-column: 1 / -1;
        margin-block: 0;
    }
}

/* Keep the animation and progress together on phones; supporting panels follow. */
@media (max-width: 600px), (max-width: 999px) and (max-height: 500px) {
    body {
        padding: 8px 10px;
    }

    .portal {
        display: flex;
        flex-direction: column;
        padding: 14px 16px 10px;
    }

    .portal-header {
        order: 0;
    }

    .hero {
        order: 1;
        padding-top: 4px;
    }

    .hooded-figure {
        top: -12px;
        height: clamp(190px, 30svh, 240px);
    }

    .lock-scene {
        width: clamp(112px, 20svh, 160px);
        height: clamp(112px, 20svh, 160px);
        margin-top: 18px;
        margin-bottom: 16px;
    }

    .telemetry {
        top: 20px;
    }

    .hero-title {
        padding-bottom: 10px;
    }

    .eyebrow {
        margin-bottom: 6px;
    }

    .glitch-title {
        font-size: clamp(38px, 11vw, 52px);
    }

    .hero-subtitle {
        margin-top: 6px;
    }

    .access-strip {
        order: 3;
        min-height: 44px;
        margin-top: 12px;
        padding-block: 7px;
    }

    .console {
        order: 4;
        margin-top: 12px;
        padding: 10px 12px 15px;
    }

    .panel-heading {
        margin-bottom: 10px;
    }

    .console-lines {
        gap: 5px;
    }

    .console-lines li > svg {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .progress-section {
        order: 2;
        margin-top: 8px;
    }

    .progress-heading {
        margin-bottom: 6px;
    }

    .progress-track {
        height: 22px;
    }

    .progress-footnote {
        margin-top: 6px;
    }

    .status-grid {
        order: 5;
        margin-top: 12px;
    }

    .status-tile {
        min-height: 62px;
        padding-block: 8px;
    }

    .status-tile > svg {
        width: 18px;
        height: 18px;
        margin-bottom: 5px;
    }

    .portal-footer {
        order: 6;
        margin-top: 12px;
        padding-block: 8px;
    }

    .disclosure {
        order: 7;
        margin-top: 6px;
    }

    .preview-notice, .redirect-fallback, .portal > noscript {
        order: 8;
    }
}

@media (max-width: 600px) and (max-height: 600px), (max-width: 999px) and (max-height: 500px) {
    .lock-scene {
        margin-top: 15px;
        margin-bottom: 14px;
    }

    .glitch-title {
        font-size: 38px;
    }
}
