/* Google Fonts loaded via <link> in header.php for performance */

/* Skip to content */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 1rem;
    background: #2563eb;
    color: #fff;
    padding: .5rem 1.1rem;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 9999;
}
.skip-to-content:focus {
    left: 1rem;
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
    border-radius: 3px;
}
:focus:not(:focus-visible) {
    outline: none;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.logo a {
    text-decoration: none;
    color: #000;
}

/* Consolidated font-family */
.nav-links,
.cta,
.mobile-nav {
    font-family: 'Montserrat', sans-serif;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 300;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #2c5fdd;
}

.cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cta a {
    text-decoration: none;
    color: #000;
}

.login-btn {
    background-color: #2c5fdd;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #1f49b0;
}

.get-started-btn {
    font-size: 1rem;
    font-weight: 500;
}

/* Mobile */
.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    color: inherit;
    font-family: inherit;
}

.mobile-nav {
    display: none;
    text-align: center;
}

@media (max-width: 900px) {
    .nav-links,
    .cta {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .mobile-nav {
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        background-color: #fff;
        border-top: 1px solid #eee;
    }

    .mobile-nav.show {
        display: flex;
    }

    .mobile-nav a {
        text-decoration: none;
        color: #000;
        font-weight: 500;
        padding: 0.5rem;
        transition: color 0.2s ease;
    }

    .mobile-nav a:hover {
        color: #2c5fdd;
    }
}