/* ─── FONTS ─── */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── VARIABLES ─── */
:root {
    --bg: #FAF8F5;
    --bg-alt: #F2EDE7;
    --bg-dark: #1C1712;
    --text: #2C2418;
    --text-secondary: #6B5D4F;
    --text-muted: #9C8E7E;
    --red: #DC2626;
    --red-dim: #B91C1C;
    --border: rgba(44,36,24,0.1);
    --border-strong: rgba(44,36,24,0.18);
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 40px;
    background: rgba(250,248,245,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { height: 27px; display: block; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-right: auto;
    margin-left: 48px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-login {
    font-weight: 600;
    color: var(--text) !important;
    text-decoration: none;
    font-size: 0.85rem;
}
.nav-cta {
    background: var(--text);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
}
.nav-actions-mobile { display: none; }
.nav-cta:hover { background: #333; }
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

/* ─── FOOTER ─── */
.footer {
    padding: 40px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-left img { height: 24px; }
.footer-copy { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; font-size: 0.82rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ─── SUBPAGE CONTENT ─── */
.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 40px 80px;
}
.page-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}
.page-content h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
}
.page-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.page-content strong { color: var(--text); }
.page-content a { color: var(--red); text-decoration: none; }
.page-content a:hover { text-decoration: underline; }
.page-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
    .nav { padding: 12px 20px; }
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .hamburger { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: white;
        padding: 20px 40px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    }
    .nav-links.open .nav-actions-mobile {
        display: list-item;
        padding-top: 8px;
    }
    .page-content { padding: 100px 20px 60px; }
    .page-content h1 { font-size: 1.8rem; }
    .footer { padding: 30px 20px; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
