html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--family-text);
    color: var(--color);
    background:
        radial-gradient(circle at top left, rgba(236, 179, 7, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(218, 99, 66, 0.12), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, var(--fon) 48%, var(--svetlyy) 100%);
}

.access-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.access-page::before,
.access-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    z-index: -1;
}

.access-page::before {
    width: 240px;
    height: 240px;
    top: 8%;
    left: -80px;
    background: rgba(236, 179, 7, 0.18);
}

.access-page::after {
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: 4%;
    background: rgba(218, 99, 66, 0.14);
}

.access-card {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.access-main,
.access-side {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(82, 65, 58, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.access-main {
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.access-main::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 179, 7, .18) 0%, rgba(236, 179, 7, 0) 68%);
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 10px 14px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(236, 179, 7, 0.12);
    color: var(--shrift);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.page-title {
    margin: 0 0 16px;
    font-family: var(--family-title);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.96;
    color: var(--shrift);
}

.page-subtitle {
    margin: 0 0 14px;
    max-width: 60ch;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color);
}

.page-note {
    margin: 0 0 30px;
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.7;
    color: var(--poluprozrachn-opisanie);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.btn {
    appearance: none;
    border: none;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    font-family: var(--family-text);
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn:focus-visible {
    box-shadow: var(--ring);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--zheltyy), #f3c641);
    color: var(--temnyy);
    box-shadow: 0 12px 24px rgba(236, 179, 7, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 16px 28px rgba(236, 179, 7, 0.32);
}

.btn-secondary {
    background: transparent;
    color: var(--shrift);
    border: 1px solid rgba(82, 65, 58, 0.16);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.6);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.feature {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(243, 238, 233, .88));
    border: 1px solid rgba(82, 65, 58, 0.08);
    box-shadow: var(--shadow-soft);
}

.feature-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--shrift);
}

.feature-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--poluprozrachn-opisanie);
}

.access-side {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(251, 250, 246, .94), rgba(243, 238, 233, .96));
    position: relative;
    overflow: hidden;
}

.access-side::before {
    content: "";
    position: absolute;
    inset: auto auto 18px 18px;
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: rgba(236, 179, 7, 0.10);
    transform: rotate(12deg);
}

.visual-box {
    position: relative;
    z-index: 1;
    padding: 24px;
    border-radius: var(--radius);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(255, 232, 188, .55));
    border: 1px solid rgba(82, 65, 58, 0.08);
    box-shadow: var(--shadow-soft);
}

.lock-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(218, 99, 66, .14), rgba(236, 179, 7, .18));
    color: var(--red);
}

.side-title {
    margin: 0 0 10px;
    font-family: var(--family-title);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;
    color: var(--shrift);
}

.side-text {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--poluprozrachn-opisanie);
}

.steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(82, 65, 58, 0.08);
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(236, 179, 7, 0.14);
    color: var(--shrift);
    font-size: 14px;
    font-weight: 800;
}

.step strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--shrift);
}

.step span {
    font-size: 14px;
    line-height: 1.6;
    color: var(--poluprozrachn-opisanie);
}

@media (max-width: 980px) {
    .access-card {
        grid-template-columns: 1fr;
    }

    .access-main,
    .access-side {
        padding: 28px;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .access-page {
        padding: 18px 14px;
    }

    .access-main,
    .access-side {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .badge {
        font-size: 13px;
        padding: 8px 12px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .page-note {
        font-size: 14px;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .visual-box {
        padding: 18px;
    }

    .lock-wrap {
        width: 74px;
        height: 74px;
        border-radius: 20px;
    }

    .step {
        grid-template-columns: 38px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .step-num {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
}