
:root {
  --bg-primary: #060913;
  --bg-card: #0d1527;
  --text-main: #f0f6fc;
  --text-muted: #8b949e;
  --accent: #38bdf8;
  --accent-light: #7dd3fc;
  --accent-bg: rgba(56, 189, 248, 0.12);
  --border: #1e293b;
  --code-bg: #030712;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-primary); color: var(--text-main); font-family: var(--font-sans); line-height: 1.7; padding-bottom: 80px; }
.top-bar { background: rgba(6, 9, 19, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.brand-link { font-weight: 700; font-size: 1.15rem; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-badge { background: var(--accent); color: #082f49; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-light); }
.container { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.page-header { margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.tag-label { display: inline-block; background: var(--accent-bg); color: var(--accent-light); font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 9999px; margin-bottom: 16px; border: 1px solid rgba(56, 189, 248, 0.25); }
h1 { font-size: 2.2rem; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 16px; font-weight: 800; }
h2 { font-size: 1.45rem; margin: 36px 0 16px; letter-spacing: -0.01em; color: var(--text-main); border-bottom: 1px solid var(--border); padding-bottom: 8px; }
p { color: #cbd5e1; margin-bottom: 20px; font-size: 1.02rem; }
ul, ol { margin: 0 0 24px 28px; color: #cbd5e1; }
li { margin-bottom: 10px; }
a.inline-target { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; transition: color 0.15s ease; }
a.inline-target:hover { color: #bae6fd; }
.code-block { background: var(--code-bg); border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin: 24px 0; overflow-x: auto; font-family: var(--font-mono); font-size: 0.88rem; color: #e2e8f0; line-height: 1.55; }
.tech-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--bg-card); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.tech-table th, .tech-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.tech-table th { background: #0f1c34; color: #e2e8f0; font-weight: 600; }
.callout-box { background: rgba(56, 189, 248, 0.08); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 28px 0; }
.callout-box p { margin-bottom: 0; color: #e0f2fe; }
.footer-nav { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-nav a { color: var(--accent-light); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
@media (max-width: 680px) { .nav-container { flex-direction: column; align-items: flex-start; gap: 12px; } .nav-links { flex-wrap: wrap; gap: 12px; } h1 { font-size: 1.8rem; } }
