:root {
    color-scheme: dark;
    --bg: #0f1115;
    --bg-elevated: #171a21;
    --border: #2a2e38;
    --text: #e8e8ec;
    --text-dim: #9a9ea8;
    --accent: #4d6bff;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

a { color: var(--accent); }

.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}

header.hero {
    text-align: center;
    padding: 4rem 1.25rem 2rem;
}

header.hero h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
}

header.hero p.tagline {
    color: var(--text-dim);
    font-size: 1.15rem;
    max-width: 480px;
    margin: 0 auto 2rem;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    text-decoration: none;
    color: var(--text);
    min-width: 160px;
}

.download-btn:hover {
    border-color: var(--accent);
}

.download-btn.primary {
    border-color: var(--accent);
    background: linear-gradient(180deg, #1c2440, var(--bg-elevated));
}

.download-btn .os {
    font-weight: 600;
}

.download-btn .arch {
    font-size: 0.8rem;
    color: var(--text-dim);
}

section {
    margin-top: 3rem;
}

section h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.feature-grid .feature h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.feature-grid .feature p {
    color: var(--text-dim);
    margin: 0;
    font-size: 0.92rem;
}

pre {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.85rem;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.copy-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    cursor: pointer;
    float: right;
}

footer {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    padding: 3rem 1.25rem;
}
