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

body {
    font-family: 'Inter', sans-serif;
    color: #262626;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background: #fff;
}

/* Background */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Desktop: SVG from Figma */
.bg-desktop {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile: SVG from Figma (hidden on desktop) */
.bg-mobile {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main container */
.container {
    position: relative;
    z-index: 1;
    max-width: 755px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* Header section */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.logo {
    margin-bottom: 4px;
}

.logo img {
    display: block;
}

.title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    max-width: 629px;
}

.title__text {
    display: block;
}

.title__text--mobile {
    display: none;
}

.subtitle {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.subtitle strong {
    font-weight: 600;
}

/* Два варианта подзаголовка: на широком экране только desktop, на узком — только mobile */
p.subtitle--desktop {
    display: block;
}

p.subtitle--mobile {
    display: none;
}

/* Buttons grid */
.buttons {
    display: grid;
    grid-template-columns: repeat(2, 335px);
    gap: 16px;
}

.buttons .btn:only-of-type {
    grid-column: 1 / -1;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 48px;
    padding: 0 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #262626;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    padding: 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile styles */
@media (max-width: 767px) {
    /* Hide desktop SVG bg, show mobile SVG bg */
    .bg-desktop {
        display: none;
    }

    .bg-mobile {
        display: block;
    }

    .container {
        padding: 40px 12px 32px;
        gap: 26px;
    }

    .header {
        gap: 16px;
    }

    .logo img {
        width: 80px;
        height: auto;
    }

    .title {
        font-size: 24px;
    }

    .title__text--desktop {
        display: none;
    }

    .title__text--mobile {
        display: block;
    }

    .subtitle {
        font-size: 16px;
    }

    p.subtitle--desktop {
        display: none;
    }

    p.subtitle--mobile {
        display: block;
    }

    .buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 352px;
        margin: 0 auto;
    }

    .btn {
        height: 48px;
        padding: 0 12px;
    }

    .btn-text {
        font-size: 16px;
        line-height: 20px;
    }
}
