:root {
    --bg: #0d1b2a;
    --bg-deep: #0a1521;
    --accent: #ffb703;
    --accent-dark: #f59e0b;
    --text: #1b2733;
    --text-muted: #5b6b7b;
    --surface: #ffffff;
    --surface-muted: #f4f6f9;
    --border: #e5e9ef;
    --radius: 16px;
    --container: 1160px;
    --shadow: 0 18px 48px rgba(13, 27, 42, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ───────── Buttons ───────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

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

.btn--primary {
    background: var(--accent);
    color: #11202f;
    box-shadow: 0 10px 26px rgba(255, 183, 3, .35);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
    background: transparent;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--lg { padding: 17px 38px; font-size: 17px; }

/* ───────── Header ───────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 27, 42, .85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -.02em;
}
.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent);
    color: #11202f;
    font-weight: 900;
}
.brand--light .brand__name { color: #fff; }

.site-nav {
    display: flex;
    gap: 28px;
    margin-left: 24px;
}
.site-nav a {
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
    font-size: 15px;
    transition: color .15s ease;
}
.site-nav a:hover { color: #fff; }

.site-header__phone {
    margin-left: auto;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    transition: color .15s ease;
}
.site-header__phone:hover { color: var(--accent); }

/* ───────── Hero ───────── */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 600px at 75% -10%, rgba(255, 183, 3, .18), transparent 60%),
        linear-gradient(160deg, var(--bg) 0%, var(--bg-deep) 100%);
    color: #fff;
    overflow: hidden;
}
.hero__inner {
    position: relative;
    z-index: 2;
    padding: 110px 24px 130px;
}
.hero__content { max-width: 720px; }
.hero__eyebrow {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 183, 3, .14);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero__title {
    margin: 0 0 22px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.03em;
}
.hero__lead {
    margin: 0 0 36px;
    font-size: clamp(17px, 2vw, 21px);
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__overlay {
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 183, 3, .25), transparent 70%);
    z-index: 1;
}

/* ───────── Sections ───────── */
.section { padding: 96px 0; }
.section--muted { background: var(--surface-muted); }

.section__head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}
.section__eyebrow {
    display: inline-block;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -.02em;
}
.section__intro {
    margin: 0;
    font-size: 18px;
    color: var(--text-muted);
}

/* ───────── Features ───────── */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { font-size: 34px; margin-bottom: 16px; }
.feature__title { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.feature__text { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ───────── Services ───────── */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 183, 3, .14);
    font-size: 30px;
    margin-bottom: 20px;
}
.service-card__title { margin: 0 0 10px; font-size: 21px; font-weight: 700; }
.service-card__text { margin: 0; color: var(--text-muted); font-size: 15px; }
.service-card--more {
    background: linear-gradient(160deg, var(--bg) 0%, var(--bg-deep) 100%);
    color: #fff;
    border-color: transparent;
}
.service-card--more .service-card__icon { background: rgba(255, 183, 3, .2); }
.service-card--more .service-card__text { color: rgba(255, 255, 255, .75); }

/* ───────── CTA ───────── */
.cta {
    background:
        radial-gradient(900px 500px at 20% 120%, rgba(255, 183, 3, .2), transparent 60%),
        linear-gradient(160deg, var(--bg) 0%, var(--bg-deep) 100%);
    color: #fff;
}
.cta__inner {
    text-align: center;
    padding: 92px 24px;
}
.cta__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -.02em;
}
.cta__text {
    margin: 0 auto 32px;
    max-width: 560px;
    font-size: 18px;
    color: rgba(255, 255, 255, .8);
}

/* ───────── Footer ───────── */
.site-footer {
    background: var(--bg-deep);
    color: rgba(255, 255, 255, .8);
    padding: 64px 0 56px;
}
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}
.site-footer__tagline { margin: 18px 0 0; color: rgba(255, 255, 255, .55); max-width: 280px; }
.site-footer__heading {
    margin: 0 0 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.site-footer__link {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .72);
    transition: color .15s ease;
}
.site-footer__link:hover { color: var(--accent); }
.site-footer__social { display: flex; gap: 18px; margin-top: 16px; }
.site-footer__social a {
    color: rgba(255, 255, 255, .72);
    font-weight: 600;
    transition: color .15s ease;
}
.site-footer__social a:hover { color: var(--accent); }

/* ───────── How it works (steps) ───────── */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
}
.step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bg);
    color: var(--accent);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 18px;
}
.step__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.step__text { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ───────── FAQ ───────── */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq__item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px 26px;
    transition: box-shadow .18s ease;
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__q {
    list-style: none;
    cursor: pointer;
    padding: 20px 36px 20px 0;
    font-size: 17px;
    font-weight: 600;
    position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--accent-dark);
    transition: transform .18s ease;
}
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a {
    padding: 0 0 22px;
    color: var(--text-muted);
    font-size: 15px;
}
.faq__a a { color: var(--accent-dark); font-weight: 600; }
.faq__a a:hover { text-decoration: underline; }

/* ───────── Legal pages ───────── */
.legal { background: var(--surface-muted); padding: 64px 0 96px; }
.legal__container { max-width: 820px; }
.legal__back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color .15s ease;
}
.legal__back:hover { color: var(--text); }
.legal__title {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
}
.legal__updated {
    margin: 0 0 36px;
    color: var(--text-muted);
    font-size: 15px;
}
.legal__body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 48px;
    box-shadow: var(--shadow);
}
.legal__body h2 {
    margin: 34px 0 14px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin: 0 0 16px; color: var(--text); }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; color: var(--text); }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--accent-dark); font-weight: 600; }
.legal__body a:hover { text-decoration: underline; }

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .services { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .site-nav { display: none; }
    .site-header__cta { display: none; }
    .hero__inner { padding: 80px 24px 90px; }
    .section { padding: 64px 0; }
    .features, .services, .steps { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .legal__body { padding: 30px 22px; }
}
