:root {
    --text: #111111;
    --muted: #555555;
    --line: #d9d9d9;
    --brand: #008bd2;
    --brand-dark: #006da6;
    --accent: #008bd2;
    --surface: #ffffff;
}

html,
body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background: transparent;
}

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

.page {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
}

.intro {
    padding: 0 0 18px;
    color: var(--text);
    background: #ffffff;
}

.intro__content,
.downloads {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.intro__eyebrow,
.section-head p,
.modal__eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.intro h1 {
    max-width: 100%;
    margin: 0;
    color: #111111;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

.intro__lead {
    margin: 12px 0 8px;
    color: #222222;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.intro p:not(.intro__eyebrow):not(.intro__lead) {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.intro__manual {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-top: 14px;
    padding: 0 12px;
    border: 1px solid var(--brand);
    border-radius: 3px;
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.intro__manual:hover {
    background: var(--brand);
    color: #ffffff;
}

.downloads {
    padding: 8px 0 0;
}

.section-head {
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
}

.section-head h2 {
    margin: 0;
    color: #111111;
    font-size: 20px;
    line-height: 1.25;
}

.model-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px;
}

.model-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    min-height: 52px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
}

.model-card > div {
    min-width: 0;
}

.model-card h3 {
    margin: 0 0 4px;
    color: #111111;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.model-card span {
    color: var(--muted);
    font-size: 12px;
}

.download-open,
.submit-button {
    flex: 0 0 auto;
    min-height: 32px;
    border: 0;
    border-radius: 3px;
    background: var(--brand);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.download-open {
    width: auto !important;
    max-width: 130px;
    padding: 0 12px;
}

.submit-button {
    width: 100%;
    min-height: 38px;
    padding: 0 14px;
}

.download-open:hover,
.submit-button:hover {
    background: var(--brand-dark);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.is-open {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal__dialog {
    position: relative;
    width: min(420px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    border-radius: 4px;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.modal h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.modal__model {
    margin: 8px 0 18px;
    color: var(--muted);
    line-height: 1.45;
}

.lead-form {
    display: grid;
    gap: 12px;
}

.lead-form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 0 10px;
    color: var(--text);
    font: inherit;
}

.lead-form input:focus {
    border-color: var(--brand);
    outline: 2px solid rgba(0, 139, 210, 0.16);
}

.consent {
    grid-template-columns: 16px 1fr;
    align-items: start;
    color: var(--muted);
    font-weight: 400 !important;
    line-height: 1.35;
}

.consent input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.form-message {
    min-height: 18px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.form-message.is-error {
    color: #b51f12;
}

.form-message.is-success {
    color: #00652e;
}

.form-message a {
    color: var(--brand-dark);
    font-weight: 700;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 360px) {
    .intro h1 {
        font-size: 19px;
    }

    .intro__lead {
        font-size: 14px;
    }

    .download-open {
        width: 100%;
        max-width: none;
    }
}
