/* Shared Veil styles — nav, footer, base */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #161618;
    --surface: #1e1e21;
    --surface2: #242428;
    --border: #2e2e33;
    --text: #ececec;
    --muted: #8b8b8b;
    --accent: #ececec;
    --green: #3ecf8e;
    --red: #e5484d;
    --code-bg: #1a1a1d;
    --blue: #6eb1f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

nav {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(22,22,24,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
}
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo img { width: 22px; height: 22px; }
.logo a {
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    margin-left: 24px;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    color: #555;
    font-size: 12px;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer a { color: #555; text-decoration: none; }
footer a:hover { color: var(--text); }
