.top-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 140;
    pointer-events: none;
}
.top-progress-track,
.top-progress-bar {
    position: absolute;
    inset: 0;
    transform-origin: left center;
}
.top-progress-track {
    opacity: 0;
    background: linear-gradient(90deg, rgba(37,99,235,0.08), rgba(245,158,11,0.08), rgba(37,99,235,0.08));
    transition: opacity .18s ease;
}
.top-progress-bar {
    opacity: 0;
    transform: scaleX(var(--top-progress-value, 0));
    background: linear-gradient(90deg, #2563eb, #1d4ed8 52%, #f59e0b);
    box-shadow: 0 0 18px rgba(45, 127, 255, 0.18);
    transition: transform .22s ease, opacity .18s ease;
}
.top-progress.is-active .top-progress-track,
.top-progress.is-active .top-progress-bar,
html.has-top-progress-pending .top-progress-track,
html.has-top-progress-pending .top-progress-bar {
    opacity: 1;
}
.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(248,251,255,0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16,33,50,0.08);
}
.header-row { display: flex; align-items: center; gap: 22px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--night), var(--primary));
    box-shadow: var(--shadow);
}
.brand-logo {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
    border-radius: 16px;
}
.brand strong,
.brand small { display: block; }
.brand-copy {
    min-width: 0;
}
.brand strong,
.hero h1,
.section-head h1,
.section-head h2,
.hero-stat strong,
.price-big,
.table strong {
    font-family: 'Space Grotesk', sans-serif;
}
.brand small,
.muted,
.breadcrumbs,
.table td,
.table th { color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 18px; flex: 1; }
.main-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--muted);
}
.main-nav a.active,
.main-nav a:hover { color: var(--ink); background: rgba(255,255,255,0.7); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-mobile-only { display: none; }
.lang-switcher { position: relative; }
.lang-switcher summary { list-style: none; cursor: pointer; }
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(16,33,50,0.12);
    background: rgba(255,255,255,0.78);
    color: var(--ink);
    font-weight: 800;
}
.lang-switcher[open] .lang-switch {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 16px 40px rgba(15,23,42,0.10);
}
.lang-switch-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    height: 16px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(148,163,184,0.18);
    box-shadow: 0 0 0 1px rgba(15,23,42,0.10);
    font-size: 0;
    line-height: 1;
}
.lang-switch-flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 188px;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(16,33,50,0.10);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 26px 56px rgba(15,23,42,0.12);
    display: grid;
    gap: 6px;
}
.lang-switcher-menu a,
.nav-mobile-languages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
}
.lang-switcher-menu a:hover,
.lang-switcher-menu a.is-active,
.nav-mobile-languages a:hover,
.nav-mobile-languages a.active {
    color: var(--primary-deep);
    background: rgba(37,99,235,0.10);
}
.nav-mobile-languages {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.menu-toggle {
    display: none;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.9);
}
.hero { padding: 78px 0 48px; }
.section { padding: 56px 0; }
.page-hero { padding: 52px 0 10px; }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head.narrow { max-width: 720px; }
.section-head h1,
.section-head h2 { margin: 0 0 12px; font-size: 46px; letter-spacing: 0; }
.section-head p { margin: 0; font-size: 17px; color: var(--muted); }
