:root {
    --navy: #10243e;
    --navy-dark: #091a2f;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --teal: #0f9f9a;
    --text: #172033;
    --muted: #64748b;
    --border: #e2e8f0;
    --background: #f8fafc;
    --white: #ffffff;
    --radius: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    height: 96px;
    border-bottom: 1px solid var(--border);
    background: white;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 35px;
}

.logo img {
    display: block;
    width: 130px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.main-nav a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 15px;
}

.login-link {
    font-size: 14px;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    color: white;
    background: var(--blue);
}

.btn-primary:hover {
    background: #1d4ed8;
}


/* HERO */

.hero {
    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef5ff 100%
        );

    padding: 95px 0 105px;
}

.hero-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: var(--navy);
}

.hero h1 span {
    color: var(--blue);
}

.hero-text > p {
    margin: 25px auto 32px;
    max-width: 600px;
    font-size: 20px;
    color: var(--muted);
}

.hero-search {
    max-width: 680px;
    margin: 0 auto;
}

.hero-search form {
    display: flex;
    padding: 6px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(15, 35, 60, .10);
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 18px;
    font-size: 16px;
}

.hero-search button {
    border: none;
    background: var(--blue);
    color: white;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.popular-searches {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--muted);
    font-size: 13px;
}

.popular-searches a {
    color: var(--blue);
}


/* SECTIONS */

.categories,
.how-it-works {
    padding: 90px 0;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading.centered {
    text-align: center;
}

.section-heading h2 {
    font-size: 38px;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--muted);
}


/* CATEGORY CARDS */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition: .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 15px 35px rgba(15, 35, 60, .08);
}

.category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 25px;
    margin-bottom: 20px;
}

.category-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.category-card p {
    color: var(--muted);
    font-size: 14px;
    min-height: 48px;
}

.category-link {
    display: block;
    margin-top: 20px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}


/* STEPS */

.how-it-works {
    background: var(--background);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.step-number {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
}


/* CTA */

.cta-section {
    padding: 90px 20px;
    text-align: center;
    background: var(--navy);
    color: white;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.cta-section p {
    color: #cbd5e1;
    margin-bottom: 25px;
}

.btn-light {
    background: white;
    color: var(--navy);
}


/* FOOTER */

.site-footer {
    padding: 60px 0 25px;
    background: #071525;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 800;
}

.footer-grid p {
    color: #94a3b8;
    margin-top: 10px;
}

.footer-grid h4 {
    margin-bottom: 15px;
}

.footer-grid a {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 12px;
}

.disclaimer {
    max-width: 600px;
    color: #64748b;
}


/* MOBILE */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-search form {
        flex-direction: column;
    }

    .hero-search button {
        height: 48px;
    }

    .category-grid,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .login-link {
        display: none;
    }
}
