:root {
    color-scheme: dark;
    --ink: #070b09;
    --panel: #101512;
    --text: #f1f4ed;
    --soft: #b8c1b7;
    --dim: #7e8b80;
    --cyan: #5ad9d0;
    --gold: #d6ad58;
    --green: #81c76b;
    --line: rgba(175, 203, 184, 0.19);
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--ink);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--ink);
}

a {
    color: inherit;
}

.site-header {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 72px);
    border-bottom: 1px solid var(--line);
    background: rgba(7, 11, 9, 0.96);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand span {
    display: grid;
    gap: 2px;
}

.brand strong {
    font-size: 15px;
    font-weight: 700;
}

.brand small {
    color: var(--dim);
    font-size: 11px;
    text-transform: uppercase;
}

.release-chip {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--soft);
    background: rgba(16, 21, 18, 0.88);
    font-size: 12px;
    font-weight: 650;
}

.release-dot,
.status-light {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(129, 199, 107, 0.72);
}

.hero {
    position: relative;
    min-height: calc(100svh - 164px);
    isolation: isolate;
    display: flex;
    align-items: center;
    padding: clamp(54px, 8vw, 120px) clamp(20px, 8vw, 148px);
    overflow: hidden;
    background: url("assets/downloads-card.webp") center 48% / cover no-repeat;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(3, 7, 6, 0.68);
    box-shadow: inset 0 -160px 130px rgba(3, 6, 5, 0.74);
}

.hero-content {
    width: min(760px, 100%);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(42px, 7vw, 92px);
    line-height: 0.98;
    font-weight: 760;
    text-wrap: balance;
}

.hero-copy {
    max-width: 650px;
    margin: 28px 0 0;
    color: #d8dfd7;
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.download-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 22px;
    overflow: hidden;
    border: 1px solid #75eee5;
    border-radius: 6px;
    color: #03100e;
    background: var(--cyan);
    box-shadow: 0 10px 28px rgba(20, 120, 113, 0.26);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.download-button:hover,
.download-button:focus-visible {
    background: #89eee7;
    box-shadow: 0 14px 34px rgba(20, 120, 113, 0.38);
    transform: translateY(-2px);
}

.download-button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.button-arrow {
    font-size: 22px;
    line-height: 1;
}

.release-meta {
    margin: 0;
    color: var(--soft);
    font-size: 12px;
}

.hero-status {
    position: absolute;
    right: clamp(20px, 4vw, 72px);
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #dfe8de;
    font-size: 12px;
    font-weight: 650;
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}

.capabilities article {
    min-height: 132px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 30px clamp(20px, 3.5vw, 56px);
    border-right: 1px solid var(--line);
}

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

.feature-index {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
}

.capabilities h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.capabilities p {
    margin: 8px 0 0;
    color: var(--dim);
    font-size: 13px;
    line-height: 1.5;
}

footer {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 clamp(20px, 4vw, 72px);
    color: var(--dim);
    font-size: 12px;
}

@media (max-width: 840px) {
    .site-header {
        height: 68px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .hero {
        min-height: calc(100svh - 132px);
        align-items: flex-end;
        background-position: 60% center;
    }

    .hero-shade {
        background: rgba(3, 7, 6, 0.72);
    }

    .hero-status {
        display: none;
    }

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

    .capabilities article {
        min-height: 108px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

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

@media (max-width: 520px) {
    .brand small,
    .release-chip .release-dot {
        display: none;
    }

    .release-chip {
        min-height: 30px;
        padding-inline: 9px;
    }

    .hero {
        padding: 48px 20px 56px;
    }

    h1 {
        font-size: 42px;
    }

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

    footer {
        min-height: 84px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
