:root {
    color-scheme: light;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: #f5f7fb;
    color: #172033;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
}

.topbar {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #172033;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #1d4ed8;
    color: #fff;
    font-size: 13px;
}

.language-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #526179;
    font-size: 14px;
}

select,
input,
textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font: inherit;
    padding: 10px 12px;
}

.language-picker select {
    width: 190px;
}

main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 48px;
}

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 36px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #1d4ed8;
    font-weight: 700;
}

h1,
h2 {
    margin: 0;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.95;
}

h2 {
    font-size: 28px;
}

.lead {
    max-width: 680px;
    margin: 22px 0 0;
    font-size: 20px;
    line-height: 1.55;
    color: #46546d;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.feature-list {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: #334155;
}

.feature-list li::before {
    content: "+";
    display: inline-block;
    width: 18px;
    color: #1d4ed8;
    font-weight: 800;
}

.button {
    min-height: 44px;
    min-width: 154px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    white-space: normal;
    text-align: center;
}

.button.primary {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.button.secondary {
    background: #fff;
    border-color: #cbd5e1;
    color: #172033;
}

.download-panel,
.license-form {
    border: 1px solid #d9e1ee;
    border-radius: 8px;
    background: #fff;
    padding: 24px;
}

.download-panel p,
.license-section p {
    color: #526179;
    line-height: 1.55;
}

.download-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.download-list a {
    color: #1d4ed8;
    font-weight: 700;
}

.section {
    margin-top: 34px;
}

.overview-section {
    border-top: 1px solid #d9e1ee;
    padding-top: 34px;
}

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 28px;
    align-items: start;
    margin-top: 18px;
}

.overview-copy {
    display: grid;
    gap: 14px;
    color: #334155;
    font-size: 17px;
    line-height: 1.68;
}

.overview-copy p {
    margin: 0;
}

.overview-points {
    display: grid;
    gap: 10px;
    border: 1px solid #d9e1ee;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.overview-points div {
    border-left: 3px solid #1d4ed8;
    padding: 10px 0 10px 12px;
    color: #172033;
    font-weight: 700;
    line-height: 1.35;
}

[dir="rtl"] .overview-points div {
    border-left: 0;
    border-right: 3px solid #1d4ed8;
    padding: 10px 12px 10px 0;
}

.pricing-wrap {
    overflow-x: auto;
    margin-top: 16px;
}

.pricing {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #d9e1ee;
}

.pricing th,
.pricing td {
    padding: 16px;
    border-bottom: 1px solid #e5eaf2;
    text-align: start;
    vertical-align: top;
}

.pricing th {
    background: #eef3fb;
    color: #172033;
}

.pricing th span {
    display: inline-block;
    margin-top: 4px;
    color: #1d4ed8;
    font-size: 16px;
}

.license-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 28px;
    align-items: start;
}

.license-form {
    display: grid;
    gap: 14px;
}

.activation-badge {
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
    padding: 12px 14px;
    font-weight: 800;
    line-height: 1.4;
}

.activation-contact h3 {
    margin: 0;
    font-size: 22px;
}

.activation-contact p {
    margin: 0;
}

.license-form label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-weight: 700;
}

textarea {
    min-height: 140px;
    resize: vertical;
    font-family: Consolas, monospace;
    font-size: 13px;
}

.error {
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff1f2;
    color: #9f1239;
    padding: 10px 12px;
}

.faq-section {
    border-top: 1px solid #d9e1ee;
    padding-top: 34px;
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.faq-list details {
    border: 1px solid #d9e1ee;
    border-radius: 8px;
    background: #fff;
    padding: 0;
}

.faq-list summary {
    cursor: pointer;
    padding: 16px 18px;
    color: #172033;
    font-size: 17px;
    font-weight: 800;
}

.faq-list p {
    margin: 0;
    padding: 0 18px 18px;
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 820px) {
    .topbar {
        height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .language-picker,
    .language-picker select {
        width: 100%;
    }

    .hero,
    .license-section,
    .overview-grid {
        min-height: 0;
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

    h1 {
        font-size: 46px;
    }
}
