:root {
    --bg: #0f1419;
    --bg-elevated: #161d26;
    --surface: #1c2633;
    --text: #e8edf4;
    --text-muted: #9aa8b8;
    --accent: #f5c542;
    --accent-hover: #ffd45c;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max: 1120px;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--accent-hover);
}

code {
    font-size: 0.9em;
    padding: 0.15em 0.4em;
    background: var(--surface);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: #111;
    font-weight: 600;
    border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
}

.container {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 20, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: auto;
    max-height: 48px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    margin-inline: auto;
    background: var(--text);
    border-radius: 1px;
}

.site-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .site-nav.is-open {
        max-height: 320px;
    }

    .site-nav__list {
        flex-direction: column;
        padding: 1rem 1.5rem 1.25rem;
        gap: 0;
    }

    .site-nav a {
        display: block;
        padding: 0.65rem 0;
        border-bottom: 1px solid var(--border);
    }

    .site-nav li:last-child a {
        border-bottom: 0;
    }
}

.hero {
    position: relative;
    min-height: min(88vh, 760px);
    display: flex;
    align-items: flex-end;
    padding: 5rem 0 4.5rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at top center, rgba(15, 20, 25, 0.0) 0%, rgba(15, 20, 25, 0.65) 55%, rgba(15, 20, 25, 0.9) 100%),
        linear-gradient(180deg, rgba(15, 20, 25, 0.4) 0%, rgba(15, 20, 25, 0.95) 80%),
        url("../images/2_chicken-road.webp");
    background-size: cover;
    background-position: center top;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero__lead {
    margin: 0 0 1.5rem;
    max-width: 36rem;
    color: #dde6f2;
    font-size: 1.05rem;
}

.hero__cta {
    margin-top: 0.25rem;
}

.cta-block {
    margin-top: 1.5rem;
}

.btn--bonus {
    display: inline-flex;
    min-width: min(100%, 22rem);
    justify-content: center;
    padding-block: 0.95rem;
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #f5c542, #ff9f1c);
    color: #111;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.btn--bonus:hover {
    background: linear-gradient(135deg, #ffd45c, #ffb347);
    color: #111;
}

/* Главная CTA в герое — крупнее и заметнее */
.btn--bonus-hero {
    width: 100%;
    max-width: min(100%, 32rem);
    min-height: 3.75rem;
    padding: 1.15rem 1.75rem;
    font-size: clamp(1.05rem, 2.8vw, 1.35rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.05em;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.2),
        0 16px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 0, 0, 0.15) inset,
        0 1px 0 rgba(255, 255, 255, 0.35) inset;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn--bonus-hero:hover {
    filter: brightness(1.05);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.18),
        0 22px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 0, 0, 0.12) inset,
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.btn--bonus-hero:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.25),
        0 10px 28px rgba(0, 0, 0, 0.45);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
    transform: scale(0.98);
}

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

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

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn--ghost:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
}

.section {
    padding: 4rem 0;
}

.section--alt {
    background: var(--bg-elevated);
    border-block: 1px solid var(--border);
}

.section__head {
    max-width: 640px;
    margin-bottom: 2rem;
}

.section h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}

.section__intro {
    margin: 0;
    color: var(--text-muted);
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid--stats {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
    padding: 1.25rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-card__label {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.stat-card__value {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.stat-card__hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.steps__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.35rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.steps__num {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--accent);
    color: #111;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.steps__title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.steps__item p {
    margin: 0;
    color: var(--text-muted);
}

.grid--cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.card__title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

.card__text {
    margin: 0;
    color: var(--text-muted);
}

.notice-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
    max-width: 52rem;
}

.notice-list li {
    margin-bottom: 0.5rem;
}

.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-footer__note {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 28rem;
}
