:root {
    --bg: #f4f6f8;
    --card-bg: #ffffff;
    --text: #22282e;
    --muted: #5f6a75;
    --accent: #4472a4;
    --accent-text: #3a648f;
    --border: #dde3e9;
    --panel: #eaeef2;
    --shadow: 0 1px 3px rgba(20, 30, 40, .08), 0 8px 24px rgba(20, 30, 40, .06);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #12161a;
        --card-bg: #1b2127;
        --text: #e5e9ed;
        --muted: #9aa5b0;
        --accent: #4472a4;
        --accent-text: #85aed6;
        --border: #2c343c;
        --panel: #222a32;
        --shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    line-height: 1.55;
}
.page { width: 100%; max-width: 960px; }
header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 1.5rem;
}
header .logo img { height: 55px; width: auto; display: block; }
@media (prefers-color-scheme: dark) {
    header .logo img { background: #fff; padding: 6px 10px; border-radius: 8px; }
}
nav a {
    color: var(--accent-text);
    text-decoration: none;
    font-weight: 600;
    margin-left: 1.1rem;
    font-size: 1rem;
}
nav a:hover, nav a.active { text-decoration: underline; }
.banner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 1.75rem;
    display: block;
}
h1 {
    color: var(--accent-text);
    text-align: center;
    font-size: clamp(1.4rem, 4vw, 2rem);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
.lead {
    font-size: 1.15rem;
    max-width: 46rem;
    margin: 0 auto 2rem;
}
.lead ul { margin-left: 1.4rem; }
.lead li { margin-bottom: .5rem; }
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.card.panel { background: var(--panel); }
.card h2 { color: var(--accent-text); font-size: 1.3rem; margin-bottom: 1rem; }
.card ul { margin: .5rem 0 0 1.2rem; }
.card li { margin-bottom: .5rem; }
.card a { color: var(--accent-text); }
.devices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 1.25rem;
    margin-bottom: 1rem;
}
.devices img {
    height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.split { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.split .img-col { flex: 0 0 auto; text-align: center; margin: 0 auto; }
.split .text-col { flex: 1 1 260px; }
.download-table { width: 100%; border-collapse: collapse; }
.download-table th, .download-table td {
    text-align: left;
    padding: .5rem .75rem;
    border-bottom: 1px solid var(--border);
}
.download-table th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.download-table td.size, .download-table td.date { white-space: nowrap; color: var(--muted); }
.download-table a { font-weight: 600; }
.partners { text-align: center; }
.partners h2 { color: var(--accent-text); margin-bottom: 1rem; }
.partners .logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.partners img {
    max-height: 45px;
    width: auto;
    max-width: 220px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.contact-grid .card { margin-bottom: 0; }
footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: .85rem;
    color: var(--muted);
}
footer a { color: var(--accent-text); }
