/* ===================
   COLORS
   =================== */
:root {
    --text: #1a1a1a;
    --text-secondary: #666;
    --text-tertiary: #999;
    --border: #e5e5e5;
    --bg: #ffffff;
    --bg-subtle: #fafafa;
    --green: #16a34a;
    --mustard: #c49102;
}

[data-theme="dark"] {
    --text: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-tertiary: #707070;
    --border: #2a2a2a;
    --bg: #111111;
    --bg-subtle: #1a1a1a;
    --green: #22c55e;
    --mustard: #d9a406;
}

/* ===================
   RESET & BASE
   =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background 0.2s, color 0.2s;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================
   NAV
   =================== */
nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--text);
}

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

/* Theme toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.theme-toggle:hover {
    border-color: var(--text-tertiary);
    color: var(--text);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
}

[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
.icon-sun { display: none; }
.icon-moon { display: block; }

/* ===================
   FOOTER
   =================== */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ===================
   STATUS BADGES
   =================== */
.project-status.shipped {
    color: var(--green);
}

.project-status.dev {
    color: var(--mustard);
}

/* ===================
   RESPONSIVE
   =================== */
@media (max-width: 600px) {
    .nav-links {
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* BMC widget smaller margins on mobile */
    #bmc-wbtn {
        right: 18px !important;
        bottom: 18px !important;
    }
}
