.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header {
    padding-top: env(safe-area-inset-top);
}

.header .container {
    gap: 18px;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
}

.logo,
.language-switcher,
.mobile-menu-btn {
    flex-shrink: 0;
}

.language-switcher {
    display: inline-flex;
}

.language-select {
    width: 132px;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: #101522;
    color: #fff;
    font: 800 13px/1 'Inter', Arial, sans-serif;
    cursor: pointer;
}

.language-select option {
    background: #101522;
    color: #fff;
}

.hero {
    margin-top: calc(72px + env(safe-area-inset-top));
}

h1,
h2,
h3 {
    overflow-wrap: break-word;
    text-wrap: balance;
}

.btn-primary,
.btn-secondary,
.btn-download,
.header-download-btn {
    text-align: center;
    white-space: normal;
}

.swiper-wrapper {
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.screenshotSwiper {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.screenshotSwiper:active {
    cursor: grabbing;
}

.swiper-pagination-bullet {
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 10px;
    border: 0;
    background: #fff !important;
    background-clip: content-box !important;
    cursor: pointer;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #ffd166;
    outline-offset: 3px;
}

.footer {
    padding-bottom: max(46px, env(safe-area-inset-bottom));
}

@media (max-width: 992px) {
    .nav,
    .header-download-btn {
        display: none;
    }

    .language-switcher {
        margin-left: auto;
    }

    .mobile-menu-btn {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
    }

    .mobile-menu {
        top: calc(72px + env(safe-area-inset-top));
    }
}

@media (max-width: 768px) {
    .header .container {
        gap: 8px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .language-switcher {
        margin-left: auto;
    }

    .language-select {
        width: 116px;
        font-size: 12px;
    }

    .mobile-menu-btn {
        width: 44px;
        height: 44px;
        align-items: center;
    }

    .mobile-menu {
        top: calc(72px + env(safe-area-inset-top));
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .hero h1 {
        font-size: 34px;
    }

    .section-heading h2,
    .premium-copy h2,
    .download-box h2 {
        font-size: 28px;
    }

    .hero-badge,
    .section-kicker {
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .unlock-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (max-width: 420px) {
    .mobile-menu {
        top: calc(64px + env(safe-area-inset-top));
    }

    .hero {
        margin-top: calc(64px + env(safe-area-inset-top));
    }

    .language-select {
        width: 110px;
    }

    .hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 360px) {
    .logo span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
