:root {
    --nav-height: 64px;
}

/* === STICKY NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* === LOGO === */
.logo {
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #111827;
    letter-spacing: -0.02em;
}

/* === LINKS === */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    /* background: #f3f4f6;
    color: #111827; */
    background: #eef2ff;
    color: #4338ca;
}


/* === HAMBURGER === */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111827;
    margin: 5px 0;
}

/* === MOBILE MENU === */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        flex-direction: column;
        gap: 0;
        padding: 12px 16px;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        padding: 12px;
        border-radius: 10px;
    }
}

/* === PAGE OFFSET FOR FIXED NAV === */
.page {
    /* padding-top: calc(var(--nav-height) + 24px); */
    padding-top: calc(var(--nav-height) + 4px);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

* {
    box-sizing: border-box;
}

body {
    /* font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; */
    background: var(--bg);
    margin: 0;
    padding: 32px 0;
    color: #0f172a;
}

:root {
    --font-heading: "Poppins", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body, button, input, textarea, select, date {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.45;
}

/* Headings */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    /* margin: .4em 0 .6em; */
}
