:root {
    color-scheme: dark;
    --background: #050817;
    --surface: #0a1025;
    --surface-strong: #101832;
    --line: rgba(157, 177, 255, 0.19);
    --text: #f7f9ff;
    --muted: #aeb7d4;
    --cyan: #20d6ff;
    --violet: #a734ff;
    --green: #38e58a;
    --focus: #fff58a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    letter-spacing: 0;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
section[id] { scroll-margin-top: 76px; }

.site-header {
    position: fixed;
    z-index: 20;
    inset: 0 0 auto;
    height: 76px;
    padding: 0 max(24px, calc((100% - 1180px) / 2));
    display: flex;
    align-items: center;
    gap: 34px;
    background: rgba(5, 8, 23, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand img { object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 22px; }
.brand small { margin-top: 5px; color: var(--cyan); font-size: 9px; font-weight: 800; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; }
.site-header nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}
.site-header nav a:hover { color: var(--text); }
.header-download,
.primary-action,
.secondary-action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, filter 160ms ease;
}
.header-download {
    padding: 0 20px;
    background: var(--text);
    color: #080b17;
}
.header-download:hover,
.primary-action:hover { transform: translateY(-2px); filter: brightness(1.08); }

.hero {
    position: relative;
    min-height: 86vh;
    max-height: 840px;
    padding: 130px max(24px, calc((100% - 1180px) / 2)) 74px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: url("assets/menu-background.jpg") center / cover no-repeat;
}
.hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 6, 20, 0.96) 0%, rgba(3, 6, 20, 0.68) 46%, rgba(3, 6, 20, 0.12) 74%), linear-gradient(0deg, rgba(5, 8, 23, 0.85), transparent 38%);
}
.hero-content { width: min(660px, 100%); }
.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 15px var(--green);
}
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: 76px; line-height: 0.98; }
.hero-copy { margin: 24px 0 30px; max-width: 620px; color: #d6dcf4; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary-action {
    min-height: 56px;
    padding: 0 26px;
    color: white;
    background: linear-gradient(110deg, #087eff, #5b35ff 52%, #b015ef);
    box-shadow: 0 16px 34px rgba(71, 57, 255, 0.25);
}
.download-mark { margin-right: 10px; font-size: 23px; line-height: 1; }
.secondary-action {
    min-height: 56px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(5, 8, 23, 0.58);
}
.secondary-action:hover { border-color: var(--cyan); transform: translateY(-2px); }
.release-line { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.release-line span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px 3px 0; border-radius: 50%; background: var(--cyan); }
.scroll-cue {
    position: absolute;
    bottom: 25px;
    left: 50%;
    color: #c4cae0;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transform: translateX(-50%);
}

.feature-band,
.install-band,
.support-band,
.showcase { padding: 96px max(24px, calc((100% - 1180px) / 2)); }
.section-heading { max-width: 720px; }
h2 { margin: 0; font-size: 44px; line-height: 1.1; }
.section-heading > p:last-child,
.showcase-copy > p,
.support-band > div > p:last-child { color: var(--muted); font-size: 17px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}
.feature-grid article {
    min-height: 238px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.feature-number { color: var(--violet); font-weight: 850; }
.feature-grid h3 { margin: 42px 0 8px; font-size: 20px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.showcase {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
    gap: 60px;
    align-items: center;
    background: #090d1e;
    border-block: 1px solid var(--line);
}
.showcase-copy ul { padding: 0; margin: 28px 0 0; list-style: none; }
.showcase-copy li { padding: 13px 0; border-bottom: 1px solid var(--line); color: #dbe0f6; }
.showcase-copy li::before { content: "\2713"; margin-right: 12px; color: var(--green); font-weight: 900; }
.showcase figure { margin: 0; }
.showcase figure img { width: 100%; border: 1px solid rgba(174, 113, 255, 0.35); border-radius: 8px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36); }
.showcase figcaption { margin-top: 10px; color: #7f89aa; font-size: 12px; text-align: right; }

.install-band { background: var(--surface-strong); }
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 42px 0 36px;
    padding: 0;
    list-style: none;
    background: var(--line);
    border: 1px solid var(--line);
}
.steps li { min-height: 150px; padding: 28px; display: grid; align-content: center; background: var(--surface-strong); }
.steps strong { margin-bottom: 7px; font-size: 19px; }
.steps span { color: var(--muted); }
.install-action { display: flex; align-items: center; gap: 22px; }
.install-action p { color: var(--muted); font-size: 14px; }

.support-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}
.release-details { margin: 0; border-top: 1px solid var(--line); }
.release-details > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.release-details dt { color: var(--muted); }
.release-details dd { margin: 0; overflow-wrap: anywhere; font-weight: 650; }
.checksum dd { color: #c6d5ff; font-family: Consolas, monospace; font-size: 12px; }

footer {
    padding: 34px max(24px, calc((100% - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
}
footer p { color: #7f89aa; font-size: 12px; }

a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (max-width: 900px) {
    .site-header nav { display: none; }
    .header-download { margin-left: auto; }
    h1 { font-size: 58px; }
    h2 { font-size: 36px; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase { grid-template-columns: 1fr; gap: 36px; }
    .support-band { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 620px) {
    section[id] { scroll-margin-top: 68px; }
    .site-header { height: 68px; padding-inline: 16px; }
    .brand strong { font-size: 18px; }
    .header-download { min-height: 40px; padding-inline: 14px; font-size: 13px; }
    .hero { min-height: 82vh; padding: 108px 20px 64px; align-items: flex-end; background-position: 63% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(3, 6, 20, 0.98) 5%, rgba(3, 6, 20, 0.67) 68%, rgba(3, 6, 20, 0.28)); }
    h1 { font-size: 46px; }
    h2 { font-size: 31px; }
    .hero-copy { font-size: 17px; }
    .hero-actions { display: grid; }
    .primary-action, .secondary-action { width: 100%; }
    .release-line { gap: 8px 14px; }
    .release-line span + span::before { display: none; }
    .scroll-cue { display: none; }
    .feature-band, .install-band, .support-band, .showcase { padding: 68px 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid article { min-height: 190px; }
    .feature-grid h3 { margin-top: 28px; }
    .steps { grid-template-columns: 1fr; }
    .install-action { display: grid; }
    .release-details > div { grid-template-columns: 92px 1fr; }
    footer { padding: 28px 20px; align-items: flex-start; flex-direction: column; }
}
