:root {
    --bg: #0f1720;
    --panel: #182430;
    --text: #e8edf2;
    --muted: #8ea0b3;
    --accent: #4f8cff;
    --border: #263442;
}
* { box-sizing: border-box; }
html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.topbar {
    padding: 24px 24px 0;
    display: flex;
    justify-content: center;
}
.topbar-logo { width: 220px; height: auto; display: block; }

main {
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 24px 48px;
}

.hero { text-align: center; padding: 32px 16px 8px; }
.hero h1 { font-size: 32px; margin: 0 0 12px; }
.hero-sub { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 auto; }

.downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
@media (max-width: 640px) {
    .downloads { grid-template-columns: 1fr; }
}
.download-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: border-color 0.15s;
}
.download-card.recommended { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.platform-icon { font-size: 40px; line-height: 1; margin-bottom: 4px; }
.download-card h2 { margin: 0; font-size: 20px; }
.platform-hint { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}
.meta { color: var(--muted); font-size: 12px; margin: 10px 0 0; font-family: "SF Mono", Consolas, monospace; }
.unavailable { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.smartscreen-hint {
    margin-top: 16px;
    text-align: left;
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
}
.smartscreen-hint summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 13px;
}
.smartscreen-hint p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0 2px;
}
.smartscreen-hint strong { color: var(--text); }

.steps { margin: 56px 0 24px; }
.steps-title { text-align: center; font-size: 20px; margin: 0 0 24px; }
.steps ol {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 640px) {
    .steps ol { grid-template-columns: 1fr; }
}
.steps li {
    counter-increment: step;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 18px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    position: relative;
    padding-top: 44px;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    top: 14px;
    left: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps li strong { color: var(--text); }

.site-footer {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    padding: 24px;
}
