:root {
    --ink: #1f2328;
    --muted: #5f6b7a;
    --line: #d8dee4;
    --soft: #f6f8fa;
    --accent: #0b6bcb;
    --accent-dark: #064f9e;
    --panel: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(11, 107, 203, .25);
    outline-offset: 3px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    min-height: 56px;
    margin: 0 auto;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 760;
    text-decoration: none;
}

.brand::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--soft);
    font-size: 13px;
}

.nav-links a {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    transition: background .16s ease, color .16s ease;
}

.nav-links a:hover {
    background: #fff;
    color: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 36px;
    align-items: center;
    max-width: 1180px;
    min-height: 380px;
    margin: 0 auto;
    padding: 42px 24px;
    border-bottom: 1px solid var(--line);
}

.compact-hero {
    min-height: 340px;
}

.utility-hero {
    align-items: start;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 780;
}

h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    font-weight: 760;
}

h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.lead {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.alias-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.meta-panel {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.meta-panel h2 {
    margin-bottom: 14px;
    font-size: 18px;
}

.meta-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.meta-list div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.meta-list dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.meta-list dd {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
}

.section,
.ad-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 24px;
}

.ad-section {
    min-height: 150px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.bottom-ad {
    border-bottom: 0;
}

.ad-label {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.copy-stack {
    display: grid;
    gap: 16px;
    color: var(--muted);
    font-size: 17px;
}

.copy-stack p {
    margin: 0;
}

.text-link {
    font-weight: 700;
}

.resource-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding-top: 0;
}

.resource-strip a {
    min-height: 128px;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease;
}

.resource-strip a:hover {
    transform: translateY(-2px);
    border-color: rgba(11, 107, 203, .45);
}

.resource-strip span,
.platform {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-strip strong {
    display: block;
    font-size: 20px;
    line-height: 1.25;
}

.section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-head p:last-child {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.download-card {
    min-height: 196px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.download-card p {
    min-height: 48px;
    margin: 0 0 18px;
    color: var(--muted);
}

.file-table-wrap {
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.file-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 14px;
}

.file-table th,
.file-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.file-table th {
    background: var(--soft);
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.file-table tr:last-child td {
    border-bottom: 0;
}

.primary-download {
    border-color: rgba(11, 107, 203, .42);
    background: linear-gradient(180deg, rgba(11, 107, 203, .06), #fff 58%);
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq-list summary {
    cursor: pointer;
    color: var(--ink);
    font-size: 18px;
    font-weight: 740;
}

.faq-list p {
    max-width: 780px;
    margin: 12px 0 0;
    color: var(--muted);
}

.tool-table {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.tool-row {
    display: grid;
    grid-template-columns: .7fr 1.6fr .9fr;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.tool-row:last-child {
    border-bottom: 0;
}

.header-row {
    background: var(--soft);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.tool-row span {
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--soft);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) minmax(180px, .8fr) minmax(240px, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px;
}

.footer-inner strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 15px;
}

.footer-inner p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-links,
.language-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-content: start;
}

.footer-links a,
.language-links a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover,
.language-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .topbar,
    .nav-links {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar {
        gap: 12px;
        padding: 16px 20px;
    }

    .nav-links {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        width: 100%;
        gap: 4px;
    }

    .nav-links a {
        flex: 1;
        text-align: center;
    }

    .hero,
    .two-column,
    .download-grid,
    .resource-strip,
    .tool-row {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        gap: 24px;
        padding: 34px 20px;
    }

    h1 {
        font-size: 34px;
    }

    .meta-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .section,
    .ad-section {
        padding: 34px 20px;
    }

    .tool-row {
        gap: 10px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
}
