/* Dark theme mirroring the desktop app palette. */
:root {
    --bg:        #13161D;
    --surface:   #1C1F26;
    --surface-2: #1A1D24;
    --text:      #D8DCE8;
    --text-dim:  #8A93A6;
    --text-mute: #555A65;
    --accent:    #5299E0;
    --accent-bg: #1A2030;
    --border:    #2A2D35;
    --critical:  #F5D128;
    --priority-p0: #E05252;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

main {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    image-rendering: -webkit-optimize-contrast;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    margin-bottom: 18px;
}

h1 {
    margin: 0 0 8px;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.tagline {
    margin: 0 0 16px;
    color: var(--text-dim);
    font-size: 16px;
}

.description {
    margin: 0 auto;
    max-width: 560px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

.download-block {
    margin: 48px auto 56px;
    text-align: center;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--accent-bg);
    color: var(--accent);
    border: 1px solid #203040;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.12s, transform 0.12s;
}

.download-button:hover {
    background: #1F2940;
    transform: translateY(-1px);
}

.download-version {
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

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

.reqs {
    margin: 6px 0 0;
    color: var(--text-mute);
    font-size: 12px;
    line-height: 1.5;
}

.smartscreen {
    margin-top: 48px;
    padding: 22px 24px 20px;
    background: rgba(245, 209, 40, 0.05);
    border: 1px solid rgba(245, 209, 40, 0.20);
    border-left: 3px solid var(--critical);
    border-radius: 8px;
}

.smartscreen h2 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--critical);
    letter-spacing: 0.2px;
}

.smartscreen p {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
}

.smartscreen-step-h {
    margin: 16px 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.smartscreen code {
    background: var(--surface);
    color: var(--text-dim);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
}

.smartscreen-quote {
    margin: 0 0 14px;
    padding: 10px 14px;
    background: var(--surface);
    border-left: 2px solid var(--text-mute);
    border-radius: 0 4px 4px 0;
    color: var(--text-dim);
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
}

.smartscreen-figure {
    margin: 0 0 16px;
    padding: 0;
    text-align: center;
}

.smartscreen-figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.smartscreen-steps {
    margin: 0 0 14px;
    padding-left: 22px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.75;
}

.smartscreen-steps li {
    padding-left: 4px;
}

.smartscreen-steps strong {
    color: var(--critical);
    font-weight: 600;
}

.smartscreen-note {
    margin: 0 !important;
    color: var(--text-mute) !important;
    font-size: 12px !important;
    line-height: 1.55;
}

.features {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.features h2 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px 24px;
}

.features li {
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
    padding-left: 16px;
    border-left: 2px solid var(--border);
}

.features li strong {
    color: var(--text);
    font-weight: 600;
}

footer {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-mute);
    font-size: 12px;
}

footer code {
    background: var(--surface-2);
    color: var(--text-dim);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
}

@media (max-width: 480px) {
    main { padding: 32px 16px 56px; }
    h1 { font-size: 28px; }
    .download-button { padding: 12px 20px; font-size: 14px; }
}
