/* ─── site.css — Sessemi shared styles ─── */

:root {
  --bg-deep: #0a0a0c;
  --bg-surface: #111115;
  --bg-raised: #18181e;
  --bg-hover: #1e1e26;
  --border: #2a2a35;
  --border-bright: #3a3a48;
  --text-primary: #e8e8ed;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --green: #00ff88;
  --green-dim: #00cc6a;
  --green-glow: rgba(0, 255, 136, 0.15);
  --green-subtle: rgba(0, 255, 136, 0.06);
  --red: #ff4466;
  --amber: #f0c000;
  --cyan: #00d4ff;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ─── BASE ─── */
html {
  background: var(--bg-deep);
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-display);
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── NOISE TEXTURE ─── */
body::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem;
  color: var(--text-primary); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-size: 0.88rem; color: var(--text-secondary);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

/* ─── BASE TYPOGRAPHY ─── */
h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; }
h2 {
  font-size: 1.15rem; font-weight: 600;
  margin-top: 2.5rem; margin-bottom: 0.75rem;
  color: var(--text-primary);
}
p { margin-bottom: 1.2rem; color: var(--text-secondary); font-size: 0.95rem; }
p strong { color: var(--text-primary); font-weight: 600; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: var(--font-mono); font-size: 0.85rem;
  background: var(--bg-surface); padding: 0.15rem 0.4rem;
  border-radius: 4px; border: 1px solid var(--border);
}
pre {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.25rem; margin-bottom: 1.5rem;
  overflow-x: auto; font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--text-secondary); line-height: 1.6;
}
.subtitle { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 3rem; }

/* ─── FOOTER ─── */
footer {
  padding: 3rem 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1080px; margin: 0 auto;
}
.footer-left { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.82rem; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }

@media (max-width: 640px) {
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
