/* ===== Шрифты ===== */

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "bootstrap-icons";
    src: url("../fonts/bootstrap-icons.woff2") format("woff2");
    font-display: block;
}

/* ===== Цвета и размеры (те же, что в программе: src/ui/theme.py) ===== */

:root {
    --bg: #111117;
    --surface: #16161e;
    --card: #1b1b25;
    --border: #272735;
    --border-strong: #363648;
    --control: #232330;
    --control-hover: #2c2c3c;
    --text: #ececf3;
    --muted: #8c8ca3;
    --accent: #9b7bf7;
    --accent-hover: #ac91f9;
    --accent-pressed: #8a67f0;
    --accent-soft: rgba(155, 123, 247, 0.14);
    --success: #4ade80;

    --radius: 14px;
    --radius-small: 10px;
    --container: 1160px;
    --gutter: 24px;
    --header-height: 68px;

    color-scheme: dark;
}

/* ===== Основа ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
}

.bi {
    font-family: "bootstrap-icons";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    display: inline-block;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--narrow {
    max-width: 820px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ===== Кнопки ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: var(--radius-small);
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--accent-hover);
}

.btn--primary:active {
    background: var(--accent-pressed);
}

.btn--ghost {
    background: var(--control);
    border-color: var(--border-strong);
}

.btn--ghost:hover {
    background: var(--control-hover);
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn--primary:disabled:hover {
    background: var(--accent);
}

.btn--small {
    padding: 8px 14px;
    font-size: 14px;
}

.btn--large {
    padding: 14px 24px;
    font-size: 16px;
}

/* ===== Шапка ===== */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: var(--header-height);
    background: rgba(17, 17, 23, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.brand__logo {
    border-radius: 50%;
}

.nav {
    display: flex;
    gap: 28px;
    margin-right: auto;
    font-size: 15px;
    color: var(--muted);
}

.nav a {
    white-space: nowrap;
}

.nav a:hover {
    color: var(--text);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: flex;
    padding: 3px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.lang-switch button {
    padding: 4px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.lang-switch button:hover {
    color: var(--text);
}

.lang-switch button[aria-pressed="true"] {
    background: var(--control-hover);
    color: var(--text);
}

/* ===== Первый экран ===== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
}

/* Мягкое фиолетовое свечение за первым экраном */
.hero::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -120px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(155, 123, 247, 0.18), transparent 65%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 20px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.hero__title {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero__lead {
    margin-top: 20px;
    max-width: 520px;
    color: var(--muted);
    font-size: 18px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
}

/* ===== Схематичное окно программы ===== */

.mock {
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(155, 123, 247, 0.06);
    overflow: hidden;
    font-size: 13px;
    user-select: none;
}

.mock__titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.mock__titlebar img {
    border-radius: 50%;
}

.mock__body {
    display: grid;
    grid-template-columns: 196px 1fr;
    min-height: 330px;
}

.mock__sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 10px;
    background: var(--surface);
    border-right: 1px solid var(--border);
}

.mock__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock__item .bi {
    font-size: 14px;
}

.mock__item--active {
    background: var(--accent-soft);
    color: var(--text);
}

.mock__item--active .bi {
    color: var(--accent);
}

.mock__item--bottom {
    margin-top: auto;
}

.mock__main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.mock__title {
    font-size: 18px;
    font-weight: 700;
}

.mock__drop {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--card);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-small);
}

.mock__drop > .bi {
    font-size: 24px;
    color: var(--accent);
}

.mock__file {
    font-weight: 600;
}

.mock__hint {
    color: var(--muted);
    font-size: 12px;
}

.mock__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
}

.mock__label {
    color: var(--muted);
}

.mock__chip {
    padding: 3px 10px;
    background: var(--control);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
}

.mock__progress {
    margin-top: auto;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
}

.mock__progress-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mock__count {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.mock__bar {
    height: 6px;
    background: var(--control);
    border-radius: 999px;
    overflow: hidden;
}

.mock__bar-fill {
    width: 74%;
    height: 100%;
    background: var(--accent);
    border-radius: inherit;
    animation: progress 6s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 18%; }
    70% { width: 96%; }
    100% { width: 96%; }
}

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

    .mock__bar-fill {
        animation: none;
    }
}

/* ===== Секции ===== */

.section {
    padding: 96px 0;
}

.section--alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__title {
    font-size: clamp(28px, 3.6vw, 38px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.015em;
    text-align: center;
}

.section__lead {
    max-width: 600px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 17px;
    text-align: center;
}

/* ===== Возможности: карточки по орбите вокруг логотипа ===== */

.orbit {
    /* Радиусы орбиты по умолчанию; скрипт подгоняет их под ширину блока */
    --rx: 330px;
    --ry: 200px;
    position: relative;
    height: 640px;
    margin-top: 32px;
}

.orbit__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--rx) * 2);
    height: calc(var(--ry) * 2);
    transform: translate(-50%, -50%);
    border: 1px dashed var(--border-strong);
    border-radius: 50%;
    pointer-events: none;
}

.orbit__core {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 123, 247, 0.22), transparent 68%);
}

.orbit__core::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(155, 123, 247, 0.35);
    border-radius: 50%;
    animation: orbit-pulse 4s ease-in-out infinite;
}

.orbit__logo {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(155, 123, 247, 0.4);
}

@keyframes orbit-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.12); opacity: 0.2; }
}

.orbit__card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 290px;
    z-index: var(--z, 1);
    opacity: var(--o, 1);
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) scale(var(--s, 1));
}

/* Начальные места без скрипта: четыре угла орбиты */
.orbit__card:nth-of-type(1) { --x: calc(var(--rx) * -0.7071); --y: calc(var(--ry) * -0.7071); }
.orbit__card:nth-of-type(2) { --x: calc(var(--rx) * 0.7071); --y: calc(var(--ry) * -0.7071); }
.orbit__card:nth-of-type(3) { --x: calc(var(--rx) * 0.7071); --y: calc(var(--ry) * 0.7071); }
.orbit__card:nth-of-type(4) { --x: calc(var(--rx) * -0.7071); --y: calc(var(--ry) * 0.7071); }

.orbit__card:hover {
    border-color: var(--accent);
}

.card {
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 12px;
    font-size: 20px;
}

.card__title {
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.card__text {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
    .orbit__core::before {
        animation: none;
    }
}

/* На узких экранах орбита превращается в обычную сетку */
@media (max-width: 900px) {
    .orbit {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        height: auto;
    }

    .orbit__ring {
        display: none;
    }

    .orbit__core {
        position: relative;
        left: auto;
        top: auto;
        grid-column: 1 / -1;
        justify-self: center;
        width: 170px;
        height: 170px;
        transform: none;
    }

    .orbit__logo {
        width: 110px;
        height: 110px;
    }

    .orbit__card {
        position: static;
        width: auto;
        opacity: 1;
        transform: none;
    }
}

/* ===== Шаги ===== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

/* Номер стоит в одной строке с заголовком, описание — под ними на всю ширину */
.step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    align-content: start;
    column-gap: 14px;
    padding: 28px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.step__num {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
}

.step__title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.step__text {
    grid-column: 1 / -1;
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
}

/* ===== Преимущества ===== */

.perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.perk {
    display: flex;
    gap: 16px;
}

.perk__icon {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
    font-size: 24px;
}

.perk__title {
    font-size: 17px;
    font-weight: 700;
}

.perk__text {
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
}

/* ===== Языки ===== */

.languages {
    margin-top: 64px;
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.languages__title {
    font-size: 18px;
    font-weight: 700;
}

.languages__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.languages__list li {
    padding: 6px 14px;
    background: var(--control);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 15px;
}

/* ===== Вопросы ===== */

.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.faq__item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
}

.faq__item[open] {
    border-color: var(--border-strong);
}

.faq__item summary {
    position: relative;
    padding: 18px 52px 18px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

/* Стрелка chevron-down из Bootstrap Icons */
.faq__item summary::after {
    content: "\f282";
    position: absolute;
    top: 50%;
    right: 20px;
    font-family: "bootstrap-icons";
    color: var(--muted);
    transform: translateY(-50%);
    transition: transform 0.2s;
}

.faq__item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq__item p {
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: 15px;
}

/* ===== Призыв скачать ===== */

.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.cta__logo {
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(155, 123, 247, 0.35);
}

.cta__title {
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    text-wrap: balance;
}

/* ===== Подвал ===== */

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer__links a:hover {
    color: var(--text);
}

/* ===== PRO ===== */

.badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.currency-switch {
    display: flex;
    width: fit-content;
    margin: 36px auto 0;
    padding: 3px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.currency-switch label {
    position: relative;
    cursor: pointer;
}

/* Сама радиокнопка скрыта визуально, но остаётся доступной с клавиатуры */
.currency-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.currency-switch span {
    display: block;
    padding: 6px 16px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.currency-switch label:hover span {
    color: var(--text);
}

.currency-switch input:checked + span {
    background: var(--control-hover);
    color: var(--text);
}

.currency-switch input:focus-visible + span {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.plan--pro {
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(155, 123, 247, 0.16);
}

.plan__name {
    font-size: 20px;
    font-weight: 700;
}

.plan__price {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.plan__once {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
}

.plan__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 auto;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.plan__list li {
    display: flex;
    gap: 10px;
}

.plan__list .bi {
    margin-top: 4px;
    color: var(--accent);
}

.plan form,
.plan .btn {
    width: 100%;
}

.pro__note {
    max-width: 600px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

/* ===== Страницы покупки ===== */

.panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.panel__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    font-size: 26px;
}

.panel__icon--success {
    background: rgba(74, 222, 128, 0.12);
    color: var(--success);
}

.panel__title {
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.2;
    font-weight: 800;
    text-wrap: balance;
}

.panel__text {
    color: var(--muted);
}

.panel__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: var(--control);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-small);
}

.license-key {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: var(--bg);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-small);
}

.license-key__value {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: clamp(17px, 4.4vw, 22px);
    font-weight: 600;
    letter-spacing: 0.06em;
    user-select: all;
    overflow-wrap: anywhere;
}

.notice {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: var(--radius-small);
    color: #f5d97a;
    font-size: 14px;
    text-align: left;
}

.notice .bi {
    flex-shrink: 0;
    margin-top: 3px;
}

/* ===== Адаптивность ===== */

@media (max-width: 1024px) {
    .header__inner {
        gap: 20px;
    }

    .nav {
        gap: 18px;
        font-size: 14px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__text {
        text-align: center;
    }

    .hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons,
    .hero__meta {
        justify-content: center;
    }

    .mock {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }
}

/* Пока навигация видна, кнопке «Скачать» в шапке хватает иконки */
@media (min-width: 761px) and (max-width: 900px) {
    .header__inner {
        gap: 16px;
    }

    .nav {
        gap: 14px;
        font-size: 13px;
    }

    .header .btn--small span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    :root {
        --gutter: 16px;
        --header-height: 60px;
    }

    .nav {
        display: none;
    }

    .header__inner {
        justify-content: space-between;
        gap: 12px;
    }

    .hero {
        padding: 56px 0 64px;
    }

    .section {
        padding: 64px 0;
    }

    .orbit,
    .steps,
    .perks,
    .plans {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 32px 20px;
    }

    .mock__body {
        grid-template-columns: 1fr;
    }

    .mock__sidebar {
        display: none;
    }

    .languages {
        padding: 24px 16px;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header__inner,
    .header__actions {
        gap: 8px;
    }

    .brand {
        gap: 8px;
        font-size: 16px;
    }

    .lang-switch button {
        padding: 4px 8px;
    }

    .plans {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan {
        padding: 28px 20px;
    }

    .plan .btn {
        white-space: normal;
    }

    /* На узких экранах в шапке остаётся только иконка скачивания */
    .header .btn--small span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .hero__buttons .btn {
        width: 100%;
    }
}

/* Совсем узкие экраны: от бренда в шапке остаётся логотип */
@media (max-width: 340px) {
    .brand__name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}
