:root {
    --bg: #071319;
    --bg-elevated: #0d212b;
    --bg-panel: rgba(10, 24, 31, 0.82);
    --bg-panel-solid: #0e2631;
    --text: #edf8ff;
    --muted: #98b1bd;
    --line: rgba(167, 205, 222, 0.14);
    --line-strong: rgba(167, 205, 222, 0.24);
    --accent: #3de0c0;
    --accent-2: #ffb454;
    --accent-3: #8ed7ff;
    --success: #95f7dd;
    --shadow: 0 30px 90px rgba(3, 9, 12, 0.44);
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --width: min(1180px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Space Grotesk", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(61, 224, 192, 0.18), transparent 30%),
        radial-gradient(circle at 88% 16%, rgba(142, 215, 255, 0.18), transparent 28%),
        radial-gradient(circle at 70% 82%, rgba(255, 180, 84, 0.15), transparent 25%),
        linear-gradient(180deg, #061118 0%, #08151d 45%, #071319 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.64), transparent 100%);
    opacity: 0.72;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 55%),
        linear-gradient(135deg, rgba(61, 224, 192, 0.03), rgba(255, 180, 84, 0.02));
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

main {
    overflow: clip;
}

.topbar {
    position: sticky;
    top: 16px;
    z-index: 20;
    width: var(--width);
    margin: 16px auto 0;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(5, 15, 19, 0.74);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.96rem;
}

.topnav a {
    transition: color 0.2s ease;
}

.topnav a:hover {
    color: var(--text);
}

.section {
    width: var(--width);
    margin: 0 auto;
    padding: 72px 0;
}

.hero {
    padding-top: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 42px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

h1 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(3.1rem, 6vw, 6rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.lede,
.section-heading p:last-child,
.proof-card p,
.feature-card p,
.release-band-copy p:last-child,
.download-card p,
.floating-card p,
.shell-mini p,
.footer,
.hero-note {
    color: var(--muted);
    line-height: 1.72;
}

.lede {
    max-width: 62ch;
    margin: 22px 0 0;
    font-size: 1.08rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}

.button-small {
    min-height: 46px;
    padding: 12px 18px;
}

.primary {
    background: linear-gradient(135deg, var(--accent), #1dbbc3);
    color: #062127;
    box-shadow: 0 12px 34px rgba(61, 224, 192, 0.22);
}

.secondary,
.button-outline {
    background: rgba(11, 26, 33, 0.7);
    color: var(--text);
}

.hero-actions,
.hero-trust,
.feature-meta,
.download-links,
.bottom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin: 28px 0 16px;
}

.hero-note {
    margin: 0;
    font-size: 0.92rem;
}

.hero-trust {
    margin-top: 18px;
}

.hero-trust span,
.feature-meta span,
.download-links a {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(14, 35, 45, 0.65);
    font-size: 0.82rem;
}

.hero-trust span {
    font-family: "IBM Plex Mono", monospace;
    color: #d3eef8;
}

.release-strip {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.release-strip article,
.proof-card,
.feature-card,
.release-band-copy,
.release-band-panel,
.download-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(14, 34, 44, 0.82), rgba(7, 17, 22, 0.94));
    box-shadow: var(--shadow);
}

.release-strip article {
    padding: 18px 20px;
    border-radius: var(--radius-md);
}

.release-strip span,
.proof-label,
.floating-label,
.feature-kicker,
.download-os,
.release-facts span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 10px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--accent-3);
}

.release-strip strong {
    display: block;
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
}

.terminal-stage {
    position: relative;
    min-height: 640px;
}

.shell-window {
    overflow: hidden;
    border: 1px solid rgba(167, 205, 222, 0.16);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(15, 39, 50, 0.98), rgba(7, 18, 24, 0.98));
    box-shadow: 0 30px 100px rgba(1, 7, 9, 0.45);
}

.shell-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.shell-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.shell-dot-red {
    background: #ff7b72;
}

.shell-dot-amber {
    background: #ffb454;
}

.shell-dot-green {
    background: #3de0c0;
}

.shell-title {
    margin-left: 4px;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.86rem;
}

.shell-body {
    display: grid;
    grid-template-columns: 164px 1fr;
    min-height: 450px;
}

.shell-sidebar {
    padding: 18px 16px;
    border-right: 1px solid var(--line);
    background: rgba(4, 10, 13, 0.34);
}

.shell-nav-title {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.shell-nav {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shell-nav li {
    padding: 11px 12px;
    border-radius: 14px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shell-nav li.is-active {
    color: var(--text);
    border-color: rgba(61, 224, 192, 0.24);
    background: rgba(61, 224, 192, 0.12);
}

.shell-main {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(142, 215, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(9, 21, 27, 0.78), rgba(7, 17, 22, 0.96));
}

.shell-output {
    padding: 18px 18px 8px;
    border-radius: 24px;
    border: 1px solid rgba(142, 215, 255, 0.16);
    background: #061219;
}

.shell-output p {
    margin: 0 0 10px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b8cfda;
}

.prompt {
    color: var(--accent);
}

.success {
    color: var(--success);
}

.shell-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.shell-mini {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(16, 40, 52, 0.56);
}

.token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 180, 84, 0.12);
    color: #ffe6c1;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.shell-mini strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.shell-mini p {
    margin: 0;
    font-size: 0.88rem;
}

.floating-card {
    position: absolute;
    max-width: 255px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid var(--line-strong);
    background: rgba(7, 18, 24, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.floating-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.18rem;
    line-height: 1.2;
}

.floating-card p {
    margin: 0;
    font-size: 0.92rem;
}

.card-release {
    top: 22px;
    right: -18px;
}

.card-platforms {
    left: -22px;
    bottom: 40px;
}

.card-free {
    right: 20px;
    bottom: -18px;
    background: linear-gradient(135deg, rgba(255, 180, 84, 0.16), rgba(61, 224, 192, 0.12));
}

.proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 10px;
}

.proof-card,
.feature-card,
.release-band-copy,
.release-band-panel,
.download-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.proof-card h2,
.feature-card h3,
.download-card h3 {
    margin: 0 0 12px;
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.proof-card h2 {
    font-size: 1.42rem;
}

.proof-card p {
    margin: 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2,
.release-band-copy h2,
.bottom-banner h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.section-heading p:last-child {
    margin: 12px 0 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.showcase-card,
.storage-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(14, 34, 44, 0.82), rgba(7, 17, 22, 0.94));
    box-shadow: var(--shadow);
}

.showcase-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.showcase-wide {
    grid-column: span 2;
}

.showcase-card h3,
.storage-card h3 {
    margin: 0 0 12px;
    font-size: 1.46rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.showcase-card p,
.storage-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.showcase-card p {
    flex: 1;
}

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.showcase-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(14, 35, 45, 0.65);
    color: #d3eef8;
    font-size: 0.82rem;
}

.storage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.storage-card {
    min-height: 220px;
}

.feature-grid,
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    min-height: 252px;
    display: flex;
    flex-direction: column;
}

.feature-kicker {
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(142, 215, 255, 0.18);
    background: rgba(142, 215, 255, 0.08);
}

.feature-card h3 {
    font-size: 1.36rem;
}

.feature-card p {
    margin: 0;
    flex: 1;
}

.feature-meta {
    margin-top: 18px;
}

.release-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 18px;
    align-items: stretch;
}

.release-band-copy,
.release-band-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.release-band-copy p:last-child {
    margin: 16px 0 0;
}

.release-band-panel {
    background: linear-gradient(180deg, rgba(255, 180, 84, 0.11), rgba(7, 17, 22, 0.98));
}

.release-status {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    font-size: 0.95rem;
    font-weight: 700;
}

.release-status.is-live {
    color: #d8fff6;
    background: rgba(61, 224, 192, 0.1);
    border-color: rgba(61, 224, 192, 0.22);
}

.release-status.is-fallback {
    color: #fff2de;
    background: rgba(255, 180, 84, 0.11);
    border-color: rgba(255, 180, 84, 0.24);
}

.release-facts {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.release-facts div {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(8, 21, 27, 0.54);
}

.release-facts span {
    margin-bottom: 7px;
    color: var(--muted);
}

.release-facts strong {
    display: block;
    line-height: 1.4;
}

.text-link {
    color: var(--accent-3);
    font-weight: 700;
}

.text-link:hover {
    color: var(--accent);
}

.download-status-bar {
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(14, 34, 44, 0.82), rgba(7, 17, 22, 0.94));
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.download-status-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-status-meta {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.download-card {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.download-card.recommended {
    border-color: rgba(61, 224, 192, 0.32);
    box-shadow:
        0 30px 90px rgba(3, 9, 12, 0.44),
        0 0 0 1px rgba(61, 224, 192, 0.12) inset;
}

.download-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.download-top h3 {
    font-size: 1.58rem;
}

.download-card p {
    margin: 0;
}

.download-badge {
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(61, 224, 192, 0.2);
    background: rgba(61, 224, 192, 0.1);
    color: #dcfff7;
    font-size: 0.76rem;
    font-weight: 700;
}

.download-meta {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
}

.download-meta-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: #d8edf7;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.84rem;
}

.download-meta-item span:last-child {
    color: var(--muted);
    text-align: right;
}

.download-card .button {
    margin-top: auto;
}

.download-empty {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 180, 84, 0.2);
    background: rgba(255, 180, 84, 0.1);
    color: #fff0db;
    line-height: 1.6;
}

.bottom-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(61, 224, 192, 0.14), rgba(10, 22, 30, 0.96) 48%, rgba(255, 180, 84, 0.16));
    box-shadow: var(--shadow);
}

.footer {
    width: var(--width);
    margin: 0 auto 34px;
    padding: 20px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.92rem;
}

.footer p {
    margin: 0;
}

.footer a {
    color: var(--accent-3);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .hero,
    .release-band {
        grid-template-columns: 1fr;
    }

    .showcase-grid,
    .storage-grid,
    .feature-grid,
    .download-grid,
    .proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-wide {
        grid-column: span 2;
    }

    .terminal-stage {
        min-height: 0;
    }

    .card-release {
        right: 18px;
    }

    .card-platforms {
        left: 18px;
        bottom: 104px;
    }

    .card-free {
        right: 18px;
        bottom: 16px;
    }
}

@media (max-width: 820px) {
    .topbar {
        top: 10px;
        width: calc(100% - 20px);
        margin-top: 10px;
        padding: 12px 14px;
        border-radius: 26px;
        flex-wrap: wrap;
    }

    .topnav {
        order: 3;
        width: 100%;
        padding-top: 10px;
        justify-content: space-between;
        border-top: 1px solid var(--line);
    }

    .hero {
        padding-top: 28px;
    }

    h1 {
        max-width: none;
        font-size: clamp(2.7rem, 12vw, 4.4rem);
    }

    .showcase-grid,
    .storage-grid,
    .release-strip,
    .feature-grid,
    .download-grid,
    .proof {
        grid-template-columns: 1fr;
    }

    .showcase-wide {
        grid-column: span 1;
    }

    .shell-body {
        grid-template-columns: 1fr;
    }

    .shell-sidebar {
        display: none;
    }

    .shell-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        position: static;
        max-width: none;
        margin-top: 14px;
    }

    .terminal-stage {
        display: flex;
        flex-direction: column;
    }

    .bottom-banner,
    .download-status-bar,
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    :root {
        --width: calc(100% - 20px);
    }

    .section {
        padding: 54px 0;
    }

    .hero-actions,
    .bottom-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .topnav {
        gap: 14px;
        font-size: 0.88rem;
    }

    .release-strip article,
    .proof-card,
    .feature-card,
    .release-band-copy,
    .release-band-panel,
    .download-card,
    .bottom-banner {
        padding: 20px;
    }

    .download-meta-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-meta-item span:last-child {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
