/* ── Shared public nav ───────────────────────────────────────────────────────
   Used by the home page and pricing page. Both pages link this file and use
   the same HTML class names: .site-nav, .nav-logo, .nav-logo-mark,
   .nav-logo-name, .nav-logo-tag, .nav-right, .nav-link, .nav-cta
   ─────────────────────────────────────────────────────────────────────────── */

:root {
    --nav-accent:     #D97757;
    --nav-accent-dim: rgba(217,119,87,0.28);
    --nav-text:       #1A1815;
    --nav-text-lt:    #7A7770;
    --nav-text-md:    #4E4B44;
    --nav-text-gh:    #968F87;
    --nav-raised:     #ECEBE2;
    --nav-border-f:   #DDD9D2;
    --nav-mono:       'IBM Plex Mono', 'Courier New', monospace;
}

nav.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: 60px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 52px;
    background: rgba(250,249,245,0.88);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(200,197,187,0.55);
}

.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo-mark { font-size: 21px; color: var(--nav-accent); line-height: 1; }
.nav-logo-name { font-size: 17px; font-weight: 700; color: var(--nav-text); letter-spacing: -0.03em; }
.nav-logo-tag  {
    font-size: 9px; font-family: var(--nav-mono); color: var(--nav-text-gh);
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--nav-raised); border: 1px solid var(--nav-border-f);
    padding: 2px 8px; border-radius: 100px; margin-left: 2px;
}

.nav-right { display: flex; align-items: center; gap: 6px; }

.nav-link {
    font-size: 14px; font-weight: 600; color: var(--nav-text-lt);
    padding: 7px 14px; border-radius: 6px; text-decoration: none;
    transition: color .15s, background .15s;
}
.nav-link:hover,
a.nav-link:hover { color: var(--nav-text); background: var(--nav-raised); }

/* Prevent body-level `a { color: inherit }` from overriding nav links */
a.nav-link        { color: var(--nav-text-lt); }
a.nav-link:visited { color: var(--nav-text-lt); }

.nav-cta,
a.nav-cta,
.site-nav a.nav-cta {
    font-size: 13px; font-weight: 600; color: #fff;
    background: var(--nav-accent); padding: 8px 18px; border-radius: 6px;
    box-shadow: 0 2px 10px var(--nav-accent-dim);
    text-decoration: none;
    transition: opacity .15s, transform .12s;
}
.nav-cta:hover,
a.nav-cta:hover,
.site-nav a.nav-cta:hover { opacity: .88; transform: translateY(-1px); color: #fff; }

/* ── Hamburger button (home page only) ───────────────────────────────────── */
.nav-hamburger {
    display: none; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: none; background: none;
    cursor: pointer; padding: 0; border-radius: 0;
    color: var(--nav-text-lt); font-size: 18px;
}
.nav-hamburger:hover { color: var(--nav-text); }

/* ── Mobile drawer (home page only) ─────────────────────────────────────── */
.nav-drawer {
    display: none; position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(250,249,245,0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--nav-border-f);
    flex-direction: column; padding: 12px 24px 20px; gap: 4px;
    z-index: 199;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer .nav-link {
    font-size: 15px; padding: 11px 14px; border-radius: 8px;
    color: var(--nav-text-md); display: block;
}
.nav-drawer .nav-cta {
    font-size: 14px; padding: 12px 18px; border-radius: 8px;
    text-align: center; margin-top: 8px; display: block;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    nav.site-nav { padding: 0 24px; }
    .nav-logo-tag { display: none; }
    .nav-right { display: none; }
    .nav-hamburger { display: flex; }
}
