@font-face {
    font-family: "Manrope";
    src: url("/manrope-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("/space-grotesk-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --color-canvas: #080b0e;
    --color-canvas-raised: #0c1014;
    --color-surface: #11171d;
    --color-surface-strong: #182029;
    --color-ink: #f5f7fa;
    --color-ink-muted: #a8b2bc;
    --color-line: rgb(224 234 242 / 0.14);
    --color-line-strong: rgb(224 234 242 / 0.26);
    --color-accent: #ff842b;
    --color-accent-hover: #ff9b58;
    --color-accent-active: #e96d10;
    --color-accent-soft: rgb(255 132 43 / 0.12);
    --color-on-accent: #111318;
    --color-focus: #ffb27c;
    --color-positive: #53c796;
    --color-critical: #ef6a76;
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --font-display: "Space Grotesk", "Manrope", sans-serif;
    --radius-control: 8px;
    --radius-panel: 14px;
    --radius-media: 20px;
    --ease-ui: cubic-bezier(.2, .8, .2, 1);
    --ease-enter: cubic-bezier(.16, 1, .3, 1);
    --shadow-panel: 0 30px 90px rgb(0 0 0 / .42);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--color-canvas);
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--color-canvas);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    color: inherit;
    font: inherit;
}

button,
a {
    touch-action: manipulation;
}

a {
    color: var(--color-ink);
    text-decoration-color: rgb(255 132 43 / .72);
    text-decoration-thickness: .08em;
    text-underline-offset: .22em;
}

a:hover {
    color: var(--color-accent-hover);
}

.gate-shell {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
    isolation: isolate;
    background: var(--color-canvas);
}

.gate-shell::before {
    position: absolute;
    z-index: -3;
    inset: 0;
    content: "";
    background: url("/server-rack-4k.png") center / cover no-repeat;
    filter: saturate(.76) contrast(1.06);
    transform: scale(1.01);
}

.gate-shell::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgb(8 11 14 / .68) 0%, rgb(8 11 14 / .86) 49%, rgb(8 11 14 / .98) 100%),
        linear-gradient(180deg, rgb(8 11 14 / .15) 0%, rgb(8 11 14 / .9) 100%);
}

.gate-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: .38;
    background-image:
        linear-gradient(rgb(224 234 242 / .06) 1px, transparent 1px),
        linear-gradient(90deg, rgb(224 234 242 / .06) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.gate-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr);
    align-items: center;
    gap: clamp(44px, 6vw, 96px);
    width: min(calc(100% - 64px), 1320px);
    min-height: 100vh;
    min-height: 100svh;
    margin-inline: auto;
    padding-block: clamp(32px, 5vh, 64px);
}

.gate-hero {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: min(760px, calc(100svh - 64px));
    padding-block: 10px;
}

.gate-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    animation: gate-enter 480ms var(--ease-enter) both;
}

.gate-brand__eyebrow,
.gate-card__eyebrow,
.gate-kicker,
.console-topbar__eyebrow,
.console-stage__eyebrow {
    color: var(--color-accent);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .19em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gate-brand__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gate-brand__eyebrow::before {
    width: 28px;
    height: 2px;
    content: "";
    background: var(--color-accent);
}

.gate-brand img {
    display: block;
    width: min(245px, 66vw);
    height: auto;
}

.gate-copy {
    max-width: 680px;
    animation: gate-enter 540ms 80ms var(--ease-enter) both;
}

.gate-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.gate-kicker::before {
    width: 7px;
    height: 7px;
    content: "";
    background: var(--color-accent);
    box-shadow: 0 0 0 6px var(--color-accent-soft);
}

.gate-copy h1,
.gate-card h2,
.console-stage__info h1 {
    font-family: var(--font-display);
    font-weight: 560;
    letter-spacing: -.038em;
}

.gate-copy h1 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(3rem, 5.2vw, 5rem);
    line-height: .98;
    text-wrap: balance;
}

.gate-lead {
    max-width: 64ch;
    margin: 24px 0 0;
    color: var(--color-ink-muted);
    font-size: clamp(1rem, 1.35vw, 1.13rem);
    line-height: 1.72;
}

.gate-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    justify-self: end;
    padding: clamp(26px, 3vw, 38px);
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-panel);
    background: rgb(17 23 29 / .96);
    box-shadow: var(--shadow-panel);
    animation: gate-enter 580ms 120ms var(--ease-enter) both;
}

.gate-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    content: "";
    background: var(--color-accent);
}

.gate-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.gate-card__eyebrow {
    display: block;
    margin-bottom: 10px;
}

.gate-card h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    line-height: 1.06;
}

.gate-card__status {
    flex: none;
    padding: 7px 10px;
    border: 1px solid rgb(255 132 43 / .34);
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: #ffd6b9;
    font-size: .72rem;
    font-weight: 740;
    line-height: 1.2;
    white-space: nowrap;
}

.gate-card__text,
.gate-note {
    color: var(--color-ink-muted);
}

@keyframes gate-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gate-card__text {
    margin: 18px 0 0;
    font-size: .95rem;
    line-height: 1.68;
}

.gate-alert {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: var(--radius-control);
    font-size: .9rem;
    font-weight: 620;
    line-height: 1.5;
}

.gate-alert--success {
    border: 1px solid rgb(83 199 150 / .38);
    background: rgb(83 199 150 / .1);
    color: #a4e4c8;
}

.gate-alert--error {
    border: 1px solid rgb(239 106 118 / .42);
    background: rgb(239 106 118 / .1);
    color: #ffb4ba;
}

.gate-form {
    display: grid;
    gap: 15px;
    margin-top: 24px;
}

.gate-form label {
    display: grid;
    gap: 7px;
}

.gate-form label span {
    color: #dce3e9;
    font-size: .84rem;
    font-weight: 680;
}

.gate-form input {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    outline: 0;
    background: var(--color-canvas-raised);
    color: var(--color-ink);
    caret-color: var(--color-accent);
    transition:
        border-color 160ms var(--ease-ui),
        box-shadow 160ms var(--ease-ui),
        background-color 160ms var(--ease-ui);
}

.gate-form input:hover {
    border-color: var(--color-line-strong);
}

.gate-form input:focus-visible {
    border-color: var(--color-focus);
    background: #10161b;
    box-shadow: 0 0 0 3px rgb(255 178 124 / .17);
}

.gate-form button {
    min-height: 52px;
    margin-top: 3px;
    padding: 13px 18px;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-control);
    background: var(--color-accent);
    color: var(--color-on-accent);
    cursor: pointer;
    font-weight: 780;
    line-height: 1.25;
    box-shadow: 0 14px 34px rgb(255 132 43 / .18);
    transition:
        transform 90ms var(--ease-ui),
        border-color 160ms var(--ease-ui),
        background-color 160ms var(--ease-ui),
        box-shadow 160ms var(--ease-ui);
}

.gate-form button:hover {
    border-color: var(--color-accent-hover);
    background: var(--color-accent-hover);
    box-shadow: 0 18px 38px rgb(255 132 43 / .24);
}

.gate-form button:active {
    transform: translateY(1px);
    border-color: var(--color-accent-active);
    background: var(--color-accent-active);
}

.gate-form button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 3px;
}

.gate-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--color-line);
}

.gate-feature {
    min-width: 0;
    padding-inline: 15px;
}

.gate-feature:first-child {
    padding-left: 0;
}

.gate-feature:last-child {
    padding-right: 0;
}

.gate-feature + .gate-feature {
    border-left: 1px solid var(--color-line);
}

.gate-feature strong,
.gate-feature span {
    display: block;
}

.gate-feature strong {
    margin-bottom: 7px;
    color: #e9edf1;
    font-size: .79rem;
    font-weight: 730;
    line-height: 1.35;
}

.gate-feature span {
    color: var(--color-ink-muted);
    font-size: .76rem;
    line-height: 1.55;
}

.gate-note {
    margin: 20px 0 0;
    font-size: .78rem;
    line-height: 1.55;
}

.console-shell {
    min-height: 100vh;
    min-height: 100svh;
    padding: 20px;
    background: var(--color-canvas);
}

.console-topbar,
.console-stage__info,
.console-frame {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-panel);
    background: var(--color-surface);
}

.console-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    border-top-color: var(--color-accent);
}

.console-topbar__brand,
.console-topbar__meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.console-topbar__brand img {
    display: block;
    width: 145px;
}

.console-topbar__brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.console-topbar__meta {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.console-topbar__pill,
.console-topbar__link,
.console-stage__mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-canvas-raised);
    font-size: .82rem;
    font-weight: 690;
    text-decoration: none;
}

.console-topbar__pill {
    border-color: rgb(255 132 43 / .3);
    background: var(--color-accent-soft);
    color: #ffd6b9;
}

.console-stage {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.console-stage__info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 20px;
}

.console-stage__info h1 {
    margin: 0 0 7px;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    line-height: 1.05;
}

.console-stage__info p {
    max-width: 900px;
    margin: 0;
    color: var(--color-ink-muted);
    line-height: 1.62;
}

.console-frame {
    overflow: hidden;
    background: #02060d;
    box-shadow: 0 22px 58px rgb(0 0 0 / .34);
}

.console-frame iframe {
    display: block;
    width: 100%;
    min-height: calc(100vh - 220px);
    border: 0;
    background: #02060d;
}

@media (max-width: 1080px) {
    .gate-shell::after {
        background:
            linear-gradient(180deg, rgb(8 11 14 / .65) 0%, rgb(8 11 14 / .94) 48%, rgb(8 11 14 / 1) 100%);
    }

    .gate-overlay {
        mask-image: linear-gradient(#000, transparent 70%);
    }

    .gate-layout {
        grid-template-columns: 1fr;
        gap: 38px;
        width: min(calc(100% - 48px), 760px);
        padding-block: 32px 48px;
    }

    .gate-hero {
        min-height: 430px;
    }

    .gate-copy h1 {
        max-width: 14ch;
        font-size: clamp(3rem, 8vw, 4.8rem);
    }

    .gate-card {
        max-width: none;
        justify-self: stretch;
    }
}

@media (max-width: 680px) {
    .gate-layout {
        gap: 26px;
        width: min(calc(100% - 28px), 100%);
        padding-block: 22px 30px;
    }

    .gate-hero {
        min-height: 350px;
        padding: 0;
    }

    .gate-brand {
        gap: 11px;
    }

    .gate-brand img {
        width: 190px;
    }

    .gate-copy h1 {
        max-width: 12ch;
        font-size: clamp(2.35rem, 12vw, 3.35rem);
    }

    .gate-lead {
        margin-top: 18px;
        font-size: .95rem;
    }

    .gate-card {
        padding: 23px 19px;
    }

    .gate-card__header {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .gate-card__status {
        align-self: flex-start;
    }

    .gate-features {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gate-feature,
    .gate-feature:first-child,
    .gate-feature:last-child {
        padding: 13px 0;
    }

    .gate-feature:first-child {
        padding-top: 0;
    }

    .gate-feature:last-child {
        padding-bottom: 0;
    }

    .gate-feature + .gate-feature {
        border-top: 1px solid var(--color-line);
        border-left: 0;
    }

    .gate-feature strong {
        font-size: .84rem;
    }

    .gate-feature span {
        font-size: .8rem;
    }

    .console-shell {
        padding: 10px;
    }

    .console-topbar,
    .console-stage__info {
        flex-direction: column;
        align-items: stretch;
    }

    .console-topbar__brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .console-topbar__meta {
        justify-content: flex-start;
    }

    .console-frame iframe {
        min-height: calc(100vh - 300px);
    }
}

@media (max-height: 760px) and (min-width: 1081px) {
    .gate-layout {
        align-items: start;
        padding-block: 28px;
    }

    .gate-hero {
        min-height: 680px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
