:root {
    --bg: #0b1020;
    --panel: rgba(255, 255, 255, 0.06);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.68);
    --border: rgba(255, 255, 255, 0.12);
    --brand: #7c5cff;
    --brand2: #41d1ff;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans",
        "Apple Color Emoji", "Segoe UI Emoji";
    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(124, 92, 255, 0.25), transparent 55%),
        radial-gradient(900px 500px at 90% 20%, rgba(65, 209, 255, 0.2), transparent 55%),
        radial-gradient(900px 700px at 40% 90%, rgba(124, 92, 255, 0.16), transparent 60%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.container {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(6, 10, 22, 0.65);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand__mark {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 1), rgba(65, 209, 255, 0.9));
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}

.nav {
    display: flex;
    gap: 14px;
    color: var(--muted);
}

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

main.container {
    padding: 28px 0 56px;
}

.hero {
    padding: 46px 26px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(65, 209, 255, 0.12));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero--wide {
    padding: 56px 32px;
    background:
        radial-gradient(900px 500px at 50% 10%, rgba(65, 209, 255, 0.22), transparent 55%),
        radial-gradient(1000px 600px at 30% 30%, rgba(124, 92, 255, 0.22), transparent 60%),
        rgba(255, 255, 255, 0.04);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--muted);
    font-size: 13px;
    width: fit-content;
}

.hero__title {
    margin: 0 0 8px;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -0.6px;
}

.hero__desc {
    margin: 0 0 18px;
    color: var(--muted);
    max-width: 60ch;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.card {
    margin-top: 18px;
    padding: 22px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}

.card--tight {
    padding: 18px 22px;
}

.page h1 {
    margin: 0 0 12px;
}

.lead {
    margin: 0 0 16px;
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.download {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
}

.download__label {
    font-weight: 650;
}

.download__version {
    color: var(--muted);
    font-size: 13px;
}

.download__notes {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.download__actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.download__sha {
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-weight: 600;
}

.btn--primary {
    border-color: rgba(124, 92, 255, 0.45);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.55), rgba(65, 209, 255, 0.22));
}

.btn--pill {
    border-radius: 999px;
    padding: 10px 16px;
}

.btn--ghost:hover,
.btn--primary:hover {
    filter: brightness(1.08);
}

.hero__download-row {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.download-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.18);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.download-pill:hover {
    filter: brightness(1.06);
}

.download-pill__icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.download-pill__title {
    font-weight: 700;
}

.download-pill__sub {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.hint {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(11, 16, 32, 0.6);
}

.site-footer__inner {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 16px 0;
    color: var(--muted);
    font-size: 13px;
    flex-wrap: wrap;
}

.sep {
    opacity: 0.55;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.muted-link {
    color: var(--muted);
}

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