:root {
    --bg: #08090d;
    --bg-soft: #11131a;
    --panel: #151821;
    --panel-2: #1b1e28;
    --paper: #f5f6f8;
    --text: #15171d;
    --muted: #626875;
    --white: #ffffff;
    --gold: #f4bf2a;
    --gold-light: #ffe38a;
    --red: #ef1e2d;
    --red-dark: #a80f1b;
    --line: #e2e4e9;
    --dark-line: rgba(255, 255, 255, 0.10);
    --shadow: 0 20px 55px rgba(0, 0, 0, 0.13);
    --shadow-dark: 0 25px 60px rgba(0, 0, 0, 0.30);
    --radius: 22px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.72;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #f0f1f3;
    font-size: 0.9em;
}

.container {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--dark-line);
    background: rgba(8, 9, 13, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--white);
    text-decoration: none;
    font-weight: 950;
    letter-spacing: 0.02em;
}

.brand img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    object-fit: cover;
    background: #000;
}

.brand span {
    white-space: nowrap;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.nav-links a {
    color: #e7e8ec;
    text-decoration: none;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    outline: none;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: rgba(244, 191, 42, 0.75);
    outline: none;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(244, 191, 42, 0.24), transparent 25%),
        radial-gradient(circle at 20% 80%, rgba(239, 30, 45, 0.16), transparent 28%),
        linear-gradient(135deg, #08090d 0%, #141720 58%, #4c0b12 100%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -240px;
    top: -230px;
    border: 90px solid rgba(244, 191, 42, 0.08);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 550px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    align-items: center;
    gap: 54px;
    padding: 82px 0 90px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--gold);
}

.hero h1 {
    max-width: 760px;
    margin: 17px 0 18px;
    font-size: clamp(2.65rem, 5.3vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero p {
    max-width: 680px;
    margin: 0;
    color: #d9dbe1;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 29px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 950;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #1a1507;
    background: linear-gradient(135deg, #ffe073, var(--gold));
    box-shadow: 0 12px 28px rgba(244, 191, 42, 0.20);
}

.btn-dark {
    color: #fff;
    background: #20232c;
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-light {
    color: var(--text);
    background: #fff;
    border-color: var(--line);
}

.hero-logo-wrap {
    display: grid;
    place-items: center;
}

.hero-logo {
    width: min(380px, 72vw);
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.42));
}

.page-hero {
    padding: 58px 0 50px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 15%, rgba(244, 191, 42, 0.15), transparent 25%),
        linear-gradient(135deg, #0a0b10, #171922 70%, #33090d);
}

.breadcrumbs {
    margin-bottom: 18px;
    color: #aeb1ba;
    font-size: 0.86rem;
}

.breadcrumbs a {
    color: #dfe0e5;
    text-decoration: none;
}

.page-hero h1 {
    max-width: 820px;
    margin: 11px 0 10px;
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.page-hero > .container > p {
    max-width: 760px;
    margin: 0;
    color: #c8cad1;
}

.section {
    padding: 78px 0;
}

.section-tight {
    padding: 52px 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: 30px;
}

.section-head h2 {
    margin: 7px 0 11px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.kicker {
    color: var(--red-dark);
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.grid {
    display: grid;
    gap: 18px;
}

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

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

.card {
    min-width: 0;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.card h2,
.card h3 {
    margin-top: 0;
    line-height: 1.25;
}

.card p:last-child {
    margin-bottom: 0;
}

.card .btn {
    margin-top: 12px;
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: 21px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.stat-strip {
    position: relative;
    z-index: 5;
    margin-top: -44px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.stat {
    padding: 22px 18px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    margin-bottom: 2px;
    font-size: 1.05rem;
}

.stat span {
    color: var(--muted);
    font-size: 0.82rem;
}

.notice {
    padding: 20px 22px;
    border: 1px solid #f0c7ca;
    border-left: 4px solid var(--red);
    border-radius: 14px;
    background: #fff5f6;
}

.steps {
    counter-reset: step;
    display: grid;
    gap: 15px;
}

.step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #242731, #0d0e12);
    font-weight: 950;
}

.step h3 {
    margin: 0 0 4px;
}

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

.faq {
    border-top: 1px solid var(--line);
}

details {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

summary {
    cursor: pointer;
    padding-right: 30px;
    color: var(--text);
    font-weight: 900;
}

details p {
    max-width: 850px;
    margin: 10px 0 0;
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.info-table th,
.info-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.info-table th {
    width: 34%;
    background: #fafafa;
}

.article {
    max-width: 900px;
}

.article h2 {
    margin-top: 42px;
    line-height: 1.2;
}

.article h3 {
    margin-top: 28px;
}

.article a {
    color: var(--red-dark);
    font-weight: 800;
}

.list-clean {
    padding-left: 21px;
}

.list-clean li {
    margin: 7px 0;
}

.contact-box {
    display: grid;
    gap: 8px;
}

.contact-box a {
    color: var(--red-dark);
    font-weight: 950;
}

.center {
    text-align: center;
}

.footer {
    padding: 55px 0 28px;
    color: #d4d6dc;
    background: #0a0b0f;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 38px;
}

.footer h3 {
    margin-top: 0;
    color: #fff;
}

.footer p {
    max-width: 520px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer a {
    color: #d4d6dc;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid var(--dark-line);
    color: #92959f;
    font-size: 0.86rem;
}

@media (max-width: 1000px) {
    .nav-links a {
        padding-inline: 8px;
        font-size: 0.82rem;
    }

    .hero-inner {
        gap: 30px;
    }

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

@media (max-width: 860px) {
    .nav {
        min-height: 70px;
    }

    .menu-toggle {
        display: grid;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: 12px;
        left: 12px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 16px;
        background: rgba(14, 15, 20, 0.98);
        box-shadow: var(--shadow-dark);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 11px 13px;
        font-size: 0.95rem;
    }

    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 62px 0 70px;
        text-align: center;
    }

    .hero p {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-logo {
        width: min(330px, 62vw);
    }

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

@media (max-width: 640px) {
    .container {
        width: min(var(--max), calc(100% - 24px));
    }

    .brand img {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand span {
        font-size: 0.93rem;
    }

    .nav-links {
        top: 68px;
    }

    .hero-inner {
        padding: 48px 0 58px;
    }

    .hero h1 {
        margin-top: 14px;
        font-size: clamp(2.3rem, 12vw, 3.25rem);
    }

    .hero p {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 9px;
        margin-top: 23px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 50px;
    }

    .hero-logo {
        width: min(285px, 70vw);
    }

    .stat-strip {
        margin-top: -26px;
    }

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

    .stat {
        padding: 17px 10px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .stat:nth-child(2n) {
        border-right: 0;
    }

    .stat:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .section {
        padding: 58px 0;
    }

    .section-tight {
        padding: 40px 0;
    }

    .page-hero {
        padding: 42px 0 38px;
    }

    .page-hero h1 {
        font-size: clamp(2.05rem, 10vw, 2.8rem);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 21px;
        border-radius: 17px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

/* Final mobile hero polish */
.hero-logo-wrap {
    min-width: 0;
    margin: 0;
}

.hero-logo {
    width: min(340px, 62vw);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 860px) {
    .hero-inner {
        gap: 18px;
    }

    .hero-logo {
        width: min(245px, 64vw);
    }
}

@media (max-width: 640px) {
    .hero-inner {
        gap: 14px;
        padding: 42px 0 50px;
    }

    .hero-logo {
        width: min(225px, 62vw);
    }
}
