:root {
    color-scheme: dark;
    --bg: #08131d;
    --bg-deep: #060d14;
    --panel: #0c1b27;
    --panel-soft: #102331;
    --text: #f3f7f8;
    --muted: #9aabb7;
    --subtle: #617583;
    --line: rgba(179, 207, 220, .13);
    --mint: #58e0c1;
    --blue: #70b8ff;
    --content-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background:
        radial-gradient(ellipse at 82% 13%, rgba(35, 101, 115, .18), transparent 34rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 5px;
}

.container {
    width: min(var(--content-width), calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    z-index: 10;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-160%);
    border-radius: 6px;
    background: var(--mint);
    color: var(--bg-deep);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 19, 29, .74);
}

.header-inner,
.main-nav,
.brand,
.nav-cta,
.card-topline,
.card-bottom,
.footer-inner {
    display: flex;
    align-items: center;
}

.header-inner {
    min-height: 82px;
    justify-content: space-between;
}

.brand {
    gap: 11px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(88, 224, 193, .55);
    border-radius: 12px 4px 12px 4px;
    color: var(--mint);
    font-size: 22px;
    font-weight: 800;
    transform: skew(-5deg);
}

.brand-name {
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.05;
}

.brand-name > span {
    color: var(--mint);
}

.brand-name small {
    display: block;
    margin-top: 5px;
    color: var(--subtle);
    font-size: 9px;
    letter-spacing: .34em;
}

.main-nav {
    gap: 34px;
    color: #b7c4cc;
    font-size: 13px;
}

.main-nav > a {
    text-decoration: none;
    transition: color .2s ease;
}

.main-nav > a:hover {
    color: var(--mint);
}

.main-nav .nav-cta {
    gap: 10px;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: var(--text);
}

.nav-cta span,
.button span,
.text-link span {
    color: var(--mint);
}

.hero {
    display: grid;
    min-height: 570px;
    grid-template-columns: 1.03fr .97fr;
    align-items: center;
    gap: 36px;
    padding-block: 74px 80px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 610px;
}

.eyebrow {
    margin: 0 0 19px;
    color: var(--mint);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .19em;
}

.status-dot,
.server-indicator {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 14px rgba(88, 224, 193, .7);
    vertical-align: 1px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(42px, 4.4vw, 56px);
    font-weight: 650;
    letter-spacing: -.055em;
    line-height: 1.07;
}

h1 span,
.section-heading h2 span {
    color: #8ca3b1;
}

.hero-description {
    max-width: 465px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 16px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 19px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--mint);
    color: #06201c;
}

.button-primary span {
    color: #06201c;
    font-size: 17px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 42px;
    color: var(--subtle);
    font-size: 11px;
    letter-spacing: .04em;
}

.note-line {
    width: 29px;
    height: 1px;
    background: var(--mint);
}

.hero-art {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    isolation: isolate;
}

.hero-art::before {
    position: absolute;
    z-index: -1;
    inset: 12% 9%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 116, 121, .2), transparent 67%);
    content: "";
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(132, 178, 191, .15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 220px;
    height: 220px;
}

.orbit-two {
    width: 330px;
    height: 330px;
}

.orbit-three {
    width: 430px;
    height: 270px;
    transform: translate(-50%, -50%) rotate(-32deg);
}

.core-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 100px;
    height: 100px;
    place-items: center;
    border: 1px solid rgba(88, 224, 193, .56);
    border-radius: 30px 8px 30px 8px;
    background: linear-gradient(140deg, rgba(24, 57, 67, .94), rgba(8, 25, 34, .94));
    box-shadow: 0 0 60px rgba(48, 177, 154, .15), inset 0 0 26px rgba(88, 224, 193, .08);
    color: var(--mint);
    font-size: 57px;
    font-weight: 700;
    transform: translate(-50%, -50%) rotate(-8deg);
}

.core-mark span {
    transform: rotate(8deg);
}

.orbit-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(181, 207, 215, .15);
    border-radius: 7px;
    background: rgba(8, 19, 29, .86);
    color: #dce7ea;
    font-size: 11px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
}

.label-dev {
    top: 18%;
    right: 4%;
}

.label-network {
    bottom: 17%;
    left: 1%;
}

.label-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 5px;
    background: rgba(88, 224, 193, .12);
    color: var(--mint);
    font-size: 10px;
    font-weight: 800;
}

.art-caption {
    position: absolute;
    right: 0;
    bottom: 4px;
    color: #536978;
    font-size: 8px;
    letter-spacing: .22em;
}

.projects-section {
    padding-block: 92px 100px;
    border-block: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(13, 30, 43, .76), rgba(8, 19, 29, .8));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}

.section-heading .eyebrow {
    margin-bottom: 15px;
}

.section-heading h2,
.detail-block h2 {
    margin-bottom: 0;
    font-size: clamp(31px, 3.8vw, 45px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.15;
}

.section-intro {
    max-width: 300px;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.project-card {
    position: relative;
    display: flex;
    min-height: 365px;
    flex-direction: column;
    padding: 27px 29px 23px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background:
        radial-gradient(circle at 92% 9%, rgba(60, 137, 139, .12), transparent 13rem),
        var(--panel);
    transition: border-color .2s ease, transform .2s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(88, 224, 193, .43);
}

.card-topline {
    justify-content: space-between;
    gap: 10px;
}

.project-number {
    color: #536977;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.project-category {
    color: #78909e;
    font-size: 9px;
    letter-spacing: .14em;
}

.project-symbol {
    display: grid;
    width: 56px;
    height: 56px;
    margin-top: 35px;
    place-items: center;
    border: 1px solid rgba(88, 224, 193, .25);
    border-radius: 14px 5px 14px 5px;
    background: rgba(88, 224, 193, .07);
    color: var(--mint);
}

.project-symbol svg {
    width: 30px;
    height: 30px;
}

.network-symbol {
    border-color: rgba(112, 184, 255, .26);
    background: rgba(112, 184, 255, .07);
    color: var(--blue);
}

.project-card h3 {
    margin: 19px 0 9px;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -.025em;
}

.project-description {
    max-width: 430px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
}

.card-bottom {
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.project-status {
    color: #9aadb8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
}

.network-card .status-dot {
    background: var(--blue);
    box-shadow: 0 0 14px rgba(112, 184, 255, .65);
}

.text-link {
    color: var(--text);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.text-link:hover {
    color: var(--mint);
}

.text-link span {
    margin-left: 5px;
}

.details-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    padding-block: 100px;
}

.detail-block {
    scroll-margin-top: 35px;
}

.detail-block .eyebrow {
    margin-bottom: 16px;
}

.detail-block h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 3vw, 36px);
}

.detail-block > p:not(.eyebrow, .access-note) {
    max-width: 395px;
    margin-bottom: 23px;
    color: var(--muted);
    font-size: 13px;
}

.detail-block .text-link {
    display: inline-block;
    margin-top: 3px;
}

.network-detail {
    padding-left: 36px;
    border-left: 1px solid var(--line);
}

.server-list {
    display: grid;
    gap: 9px;
    margin-top: 24px;
}

.server-row {
    display: grid;
    min-height: 55px;
    grid-template-columns: 12px minmax(100px, 1fr) minmax(70px, .7fr) auto;
    align-items: center;
    gap: 11px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(14, 30, 42, .65);
}

.server-indicator {
    width: 7px;
    height: 7px;
    margin: 0;
}

.server-name {
    color: #e2ebee;
    font-size: 12px;
    font-weight: 650;
}

.server-type,
.server-state {
    color: #708592;
    font-size: 8px;
    letter-spacing: .1em;
}

.server-state {
    color: var(--mint);
    font-weight: 700;
    text-align: right;
}

.server-locked {
    opacity: .58;
}

.lock-icon {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border: 1px solid #71838d;
    border-radius: 50%;
    color: #a0afb7;
    font-size: 12px;
    line-height: 1;
}

.server-locked .server-state {
    color: #8b9aa2;
}

.access-note {
    margin: 14px 0 0;
    color: var(--subtle);
    font-size: 11px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
}

.footer-inner {
    min-height: 90px;
    justify-content: space-between;
    gap: 22px;
}

.footer-brand .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 9px 3px 9px 3px;
    font-size: 18px;
}

.footer-brand .brand-name {
    font-size: 11px;
}

.footer-brand .brand-name small {
    font-size: 8px;
}

.footer-inner > p {
    margin: 0;
    color: var(--subtle);
    font-size: 10px;
}

.footer-year {
    color: #536977;
    font-size: 9px;
    letter-spacing: .16em;
}

@media (max-width: 850px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 5px;
        padding-block: 72px 50px;
    }

    .hero-art {
        min-height: 350px;
    }

    .details-section {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .network-detail {
        padding: 0;
        border: 0;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 36px, var(--content-width));
    }

    .header-inner {
        min-height: 72px;
    }

    .main-nav {
        gap: 15px;
        font-size: 11px;
    }

    .main-nav .nav-cta {
        padding: 8px 10px;
    }

    .main-nav > a:first-child {
        display: none;
    }

    .hero {
        padding-top: 59px;
    }

    h1 {
        font-size: clamp(39px, 11vw, 54px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-art {
        min-height: 300px;
        margin-inline: -18px;
    }

    .orbit-one {
        width: 180px;
        height: 180px;
    }

    .orbit-two {
        width: 270px;
        height: 270px;
    }

    .orbit-three {
        width: 345px;
        height: 220px;
    }

    .core-mark {
        width: 78px;
        height: 78px;
        font-size: 45px;
    }

    .label-dev {
        right: 2%;
    }

    .label-network {
        left: 2%;
    }

    .projects-section {
        padding-block: 68px 74px;
    }

    .section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .section-intro {
        margin-top: 16px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 345px;
        padding: 22px 20px 19px;
    }

    .project-category {
        font-size: 8px;
    }

    .details-section {
        padding-block: 72px;
    }

    .server-row {
        grid-template-columns: 10px minmax(100px, 1fr) auto;
        gap: 8px;
    }

    .server-type {
        display: none;
    }

    .server-state {
        font-size: 7px;
    }

    .footer-inner {
        min-height: 110px;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-block: 20px;
    }

    .footer-inner > p {
        order: 1;
        width: 100%;
    }

    .footer-year {
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
