:root {
    --color-bg: #fafafa;
    --color-bg-dark: #121212;
    --color-text: #121212;
    --color-text-secondary: #555;
    --color-text-muted: #888;
    --color-border: #e0e0e0;
    --color-white: #fff;
    --color-accent: #c8963e;
    --color-accent-hover: #b5842f;
    --font-stack:
        -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial,
        sans-serif;
    --max-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ── Header ── */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-bg);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo-img {
    height: 28px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    transition: opacity 0.2s;
}

.header__nav-link:hover {
    opacity: 0.7;
}

.header__login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    background: var(--color-bg-dark);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition:
        background 0.2s,
        transform 0.1s;
}

.header__login-btn:hover {
    background: #333;
}

.header__login-btn:active {
    transform: scale(0.97);
}

.header__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text);
}

/* Mobile nav */

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 16px 24px;
    flex-direction: column;
    gap: 12px;
    z-index: 49;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav__link {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    color: var(--color-text);
}

/* ── Hero ── */

.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 24px 32px;
    text-align: center;
}

.hero__label {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero__title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero__access {
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-text-secondary);
}

.hero__access-link {
    color: var(--color-accent);
    font-weight: 600;
    transition: color 0.2s;
}

.hero__access-link:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition:
        background 0.2s,
        transform 0.1s;
    white-space: nowrap;
}

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

.btn--primary {
    background: var(--color-bg-dark);
    color: var(--color-white);
}

.btn--primary:hover {
    background: #333;
}

.btn--secondary {
    background: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    background: #f5f5f5;
}

.btn__arrow {
    font-size: 16px;
}

/* ── Trust Marquee ── */

.marquee {
    padding: 28px 24px;
    text-align: center;
}

.marquee__text {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
}

/* ── How It Works ── */

.how-it-works {
    padding: 56px 24px 80px;
}

.how-it-works__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.how-it-works__heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step__number {
    display: block;
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    color: #c1c1c1;
    margin-bottom: 12px;
}

.step__bar {
    height: 1px;
    background: #d9d9d9;
    margin-bottom: 14px;
}

.step__badge {
    display: block;
    width: fit-content;
    padding: 4px 12px;
    background: #cfcfcf;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 0;
    margin-bottom: 0;
}

.step__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.step__desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ── Footer ── */

.footer {
    border-top: 1px solid var(--color-border);
    padding: 24px 24px 0;
}

.footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer__logo img {
    height: 28px;
    width: auto;
}

.footer__nav {
    display: flex;
    gap: 24px;
}

.footer__nav-link {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

.footer__nav-link:hover {
    color: var(--color-text);
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

.footer__social-link:hover {
    color: var(--color-text);
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
}

/* ── Copyright ── */

.copyright {
    padding: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ── Responsive: mobile (< 768px) ── */

@media (max-width: 767px) {
    .header__nav {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    .hero {
        padding: 40px 20px 32px;
    }

    .hero__title {
        font-size: 34px;
    }

    .hero__subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero__buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .marquee {
        padding: 24px 20px;
    }

    .marquee__text {
        font-size: 18px;
    }

    .how-it-works {
        padding: 48px 20px 56px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__top {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .footer__left {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer__nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}
