:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    color: #14243a;
    background: #f4f7fb;
    font-synthesis: none;
}

* { box-sizing: border-box; }

body { margin: 0; min-height: 100vh; }

a { color: #145bd7; }

.site-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem max(1rem, calc((100% - 1120px) / 2));
    background: #fff;
    border-bottom: 1px solid #e1e8f0;
}

.brand {
    color: #10243e;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
}

nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-inline-start: auto; }
nav a, .languages a { color: #34445a; text-decoration: none; }
nav a:hover, .languages a:hover { color: #145bd7; }
.languages { display: flex; gap: .55rem; white-space: nowrap; font-size: .85rem; }
.languages [aria-current="page"] { color: #145bd7; font-weight: 700; }

.page-shell { max-width: 1060px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.hero, .card, .document { background: #fff; border: 1px solid #e1e8f0; border-radius: 16px; box-shadow: 0 10px 28px rgba(28, 48, 76, .05); }
.hero { padding: clamp(2rem, 6vw, 4.5rem); background: linear-gradient(135deg, #eaf3ff, #f5f9ff); }
.eyebrow { color: #f07822; font-weight: 800; letter-spacing: .14em; }
h1 { line-height: 1.2; font-size: clamp(2rem, 5vw, 3rem); }
.hero h1 { max-width: 760px; }
.hero p { max-width: 700px; line-height: 1.7; }
.muted { color: #66758a; font-size: .95rem; }
.button { display: inline-block; margin: .7rem 0; padding: .85rem 1.15rem; border-radius: 8px; background: #1769ed; color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { background: #0e56cb; color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.card { padding: 1.4rem; }
.card p, .document p, .document li { line-height: 1.75; color: #394a60; }
.document { padding: clamp(1.5rem, 5vw, 3rem); }
.document h1 { font-size: 2rem; }
.document h2 { margin-top: 2rem; font-size: 1.2rem; }
.document ul { padding-inline-start: 1.4rem; }
.site-footer { padding: 1.5rem; text-align: center; color: #66758a; background: #fff; border-top: 1px solid #e1e8f0; font-size: .9rem; }
.site-footer p { margin: .35rem; }

[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }

@media (max-width: 760px) {
    .site-header { flex-wrap: wrap; gap: .8rem; }
    nav { order: 3; width: 100%; margin: 0; gap: .75rem; font-size: .9rem; }
    .languages { margin-inline-start: auto; }
    .page-shell { padding-top: 1.5rem; }
    .card-grid { grid-template-columns: 1fr; }
}
