:root {
    --brand: #182442;
    --brand-light: #f8fafc;
    --brand-accent: #0b98eb;
    --brand-2: #22D3EE;
    --text: #0f172a;
    --muted: #475569;
    --bg: #f8fafc;
    --bg-dark: #0f172a;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.5
}

a {
    color: inherit;
    text-decoration: none
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 30px
}

.brand {
    color: var(--brand);
    font-weight: 800;
    font-size: 20px
}

.brand img{
    max-width: 5rem;
}

.brand:hover {
    color: var(--brand)
}

.brand-accent {
    color: var(--brand-accent)
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.nav a {
    margin-left: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.06)
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: white;
    padding: 10px;
}

.nav-toggle:focus {
    outline: 2px solid var(--brand-accent);
    outline-offset: 3px;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand);
    border-radius: 999px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-2));
    color: white;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25)
}

.btn-secondary {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text)
}

.hero {
    padding: 60px 24px;
    text-align: center
}

.hero h1 {
    margin: 10px auto 16px;
    max-width: 900px;
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.02em
}

.hero p {
    margin: 0 auto 28px;
    max-width: 780px;
    color: var(--muted);
    font-size: 18px
}

.ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap
}

.section {
    padding: 24px 24px
}

.legal .card {
    padding: 3rem 4rem;
}

.section-heading {
    text-align: center;
    margin: 0 auto 32px;
    max-width: 720px;
}

.section-heading h2 {
    margin: 2rem 0 10px;
    font-size: 32px;
    letter-spacing: -0.01em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.grid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto
}

.card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 20px
}

.card h3 {
    margin: 6px 0 8px;
    font-size: 18px
}

.card p {
    margin: 0;
    color: var(--muted)
}

.card ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.card li {
    margin-bottom: 6px;
}

.mobile-overview {
    display: none;
    padding-top: 0;
}

.overview-grid {
    display: grid;
    gap: 12px;
}

.overview-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: white;
    border-radius: 14px;
    padding: 14px;
}

.overview-step {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--brand);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.overview-body h4 {
    margin: 2px 0 4px;
    font-size: 16px;
}

.overview-body p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.badge {
    display: inline-block;
    font-size: 12px;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--brand-accent);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase
}

.footer {
    margin-top: 4rem;
    padding: 36px 24px;
    background: var(--bg-dark);
    color: var(--brand-light);
    font-size: 14px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var( --brand-light);
}

.footer-logo:hover {
    color: #f8fafc;
}

.footer-logo .brand-accent {
    color: var(--brand-accent);
}

.footer-copy {
    color: #94a3b8;
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links > a {
    color: #e2e8f0;
    font-weight: 600;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #94a3b8;
}

.footer-contact a {
    color: #f8fafc;
    font-weight: 600;
}

.legal {
    margin: 2rem 5rem;
}

.sidebar {
    .brand {
        color: var(--brand-light);
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 10px;
    }

    .nav.is-open {
        display: grid;
    }

    .nav a {
        margin: 0;
        text-align: center;
        padding: 12px 14px;
    }

    .hero {
        text-align: left;
        padding: 36px 16px 18px;
    }

    .hero h1 {
        font-size: 30px;
        margin: 8px 0 12px;
    }

    .hero p {
        font-size: 16px;
        max-width: none;
    }

    .badge {
        margin-bottom: 6px;
        font-size: 11px;
    }

    .ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .ctas .btn {
        width: 100%;
        text-align: center;
    }

    .section, section.legal {
        padding: 18px 16px;
        margin: 0;
    }

    .section-heading {
        text-align: left;
        margin-bottom: 18px;
    }

    .section-heading h2 {
        margin: 12px 0 6px;
        font-size: 24px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card, .legal .card {
        padding: 16px;
    }

    .mobile-overview {
        display: block;
    }

    .footer {
        margin-top: 32px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-links {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
