/* Reduced CSS generated from current page */

/* From: http://127.0.0.1:5500/styles/main.css */
:root { --bg: #0a0f1a; --card: #0f1625; --soft: #0c1423; --ink: #e5e7eb; --muted: #94a3b8; --border: #0b2a55; --radius: 22px; --shadow: 0 10px 30px rgba(2,6,23,.45); --cta: #3b82f6; --cta-shadow: #1e40af; --cta-grad-start: #2563eb; --cta-grad-end: #1e40af; --chip-bg: rgba(30,58,138,.25); --chip-ink: #e2e8f0; --fx-blue: #60a5fa; --fx-blue-soft: #3b82f6; --fx-grid-stroke: rgba(96,165,250,.35); --fx-trace-grad-1: #93c5fd; --fx-trace-grad-2: #3b82f6; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0px; overflow-x: hidden; }
body { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; background: var(--bg); color: var(--ink); }
header { position: sticky; top: 0px; z-index: 10; backdrop-filter: saturate(120%) blur(6px); }
#plan-badge, .user-email { display: none; padding: 4px 10px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); border: 1px solid var(--border); font-size: 11px; font-weight: 600; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pill { font-size: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35); color: rgb(191, 219, 254); }
.actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.btn { cursor: pointer; border: 1px solid var(--border); background: rgb(12, 20, 35); color: rgb(203, 213, 225); border-radius: 12px; padding: 10px 12px; }
footer { margin-top: 18px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; }
@keyframes fadeUp {
0% { opacity: 0; transform: translateY(20px); }
100% { opacity: 1; transform: translateY(0px); }
}
@media (max-width: 980px) {
header { backdrop-filter: none; }
}

@keyframes wiggle {
0% { transform: rotate(0deg) translateY(0px); }
25% { transform: rotate(-5deg) translateY(-1px); }
50% { transform: rotate(0deg) translateY(0px); }
75% { transform: rotate(5deg) translateY(-1px); }
100% { transform: rotate(0deg) translateY(0px); }
}
header { transition: box-shadow 0.25s, background 0.25s; }
.btn.btn-primary { background: linear-gradient(135deg, var(--cta-grad-start), var(--cta-grad-end)); color: rgb(230, 240, 255); border: 1px solid var(--cta-shadow); box-shadow: rgba(0, 0, 0, 0.28) 0px 8px 18px, rgba(59, 130, 246, 0.35) 0px 0px 12px; transition: transform 0.12s, box-shadow 0.2s, background 0.2s; }
a.btn.btn-primary { display: inline-flex; align-items: center; justify-content: center; line-height: 1; text-decoration: none !important; }
.btn.btn-ghost { background: transparent; color: rgb(191, 219, 254); border: 1px solid rgba(59, 130, 246, 0.35); text-decoration: none; }
@media (any-hover: none) {
@keyframes lift-on-enter {
0% { transform: translateY(10px); box-shadow: var(--shadow, 0 6px 16px rgba(0,0,0,.25)); }
40% { transform: translateY(-6px); box-shadow: rgba(0, 0, 0, 0.28) 0px 10px 28px; }
100% { transform: translateY(0px); box-shadow: var(--shadow, 0 6px 16px rgba(0,0,0,.25)); }
}
}
@keyframes drift {
0% { transform: translateY(0px); }
50% { transform: translateY(-6px); }
100% { transform: translateY(0px); }
}
header { position: relative; z-index: 2; }
* { transition-property: opacity, transform, box-shadow, border-color, background, color; transition-duration: 0.4s; transition-timing-function: ease; }
.pill, .btn { opacity: 0; transform: translateY(10px); will-change: transform, opacity; }
.pill, .btn { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
* { transition: none !important; }
.pill, .btn { transform: none !important; opacity: 1 !important; }
}
textarea { width: 100%; background: rgb(12, 20, 35); color: var(--ink); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font-size: 15px; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; appearance: none; }
.site-shell { max-width: 1120px; margin-inline: auto; padding: 20px 20px 64px; }
.why-box {
  padding: 16px 20px;
  background: var(--card);
  border-left: 4px solid var(--cta);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--muted);
  line-height: 1.6;
}

.why-box strong { color: var(--cta); font-weight: 800; }
.tech-hex { position: fixed; right: -40vw; top: 0px; width: 200vw; height: 120vh; opacity: 0.2; animation: 120s linear 0s infinite normal none running tech-drift; }
.tech-map { position: fixed; inset: 0px; opacity: 0.18; }
.tech-traces { position: fixed; inset-inline: 0px; bottom: 0px; height: 55vh; }
.tech-glow { position: fixed; left: 50%; top: 33%; transform: translate(-50%, -50%); width: 60vmin; height: 60vmin; border-radius: 9999px; filter: blur(28px); background: radial-gradient(circle, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.08) 45%, transparent 60%); }
.tech-particles { position: fixed; inset: 0px; }
@keyframes tech-drift {
0% { transform: translateX(0px); }
100% { transform: translateX(-10%); }
}
@keyframes tech-floatY {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-6px); }
}
@keyframes tech-twinkle {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
@keyframes fadeSlide {
0% { opacity: 0; transform: translateY(14px); }
100% { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
h1 { font-size: 1.6rem; line-height: 1.25; }
.why-box { padding: 12px 14px; border-left-width: 3px; }
.site-shell { padding: 14px 14px 56px; }
.user-email { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid.md\:grid-cols-2, .grid.md\:grid-cols-3 { grid-template-columns: 1fr !important; gap: 16px !important; }
.p-6 { padding: 16px !important; }
.text-lg { font-size: 1.05rem !important; }
.text-xl { font-size: 1.15rem !important; }
}

.grid { display: grid; }
.flex { display: flex; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }
@media (min-width: 768px) {
.md\:p-6 { padding: 1.5rem; }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
}
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-semibold { font-weight: 600; }
.tracking-tight { letter-spacing: -0.01em; }
.text-blue-300 { color: rgb(147, 197, 253); }
.text-blue-200 { color: rgb(191, 219, 254); }
.text-slate-300 { color: rgb(203, 213, 225); }
.text-slate-400 { color: rgb(148, 163, 184); }
.bg-\[\#0f1625\]\/90 { background: rgba(15, 22, 37, 0.9); }
.border { border: 1px solid var(--border, rgba(148,163,184,.2)); }
.border-blue-900 { border-color: rgb(11, 23, 48); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow-inner { box-shadow: rgba(0, 0, 0, 0.35) 0px 1px 3px inset; }
.why-box { margin-top: 2.5rem; }
a.pl-btn, button.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: 600 0.95rem / 1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 0.75rem 1.25rem; border-radius: var(--radius, .75rem); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, background 0.2s; user-select: none; -webkit-tap-highlight-color: transparent; }
.pl-btn--primary { color: rgb(255, 255, 255); background: linear-gradient(90deg,var(--cta-grad-start,#2563eb),var(--cta-grad-end,#1e40af)); box-shadow: rgba(2, 6, 23, 0.45) 0px 8px 18px; }
.grid { display: grid; }
.flex { display: flex; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.tracking-tight { letter-spacing: -0.01em; }
@media (min-width: 768px) {
.md\:p-6 { padding: 1.5rem; }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
}
.text-blue-300 { color: rgb(147, 197, 253); }
.text-blue-200 { color: rgb(191, 219, 254); }
.text-slate-300 { color: rgb(203, 213, 225); }
.text-slate-400 { color: rgb(148, 163, 184); }
.bg-\[\#0f1625\]\/90 { background: rgba(15, 22, 37, 0.9); }
.border { border: 1px solid var(--border, rgba(148,163,184,.22)); }
.border-blue-900 { border-color: rgb(11, 23, 48); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow-inner { box-shadow: rgba(0, 0, 0, 0.35) 0px 1px 3px inset; }
.why-box { margin-top: 2.5rem; }
.hero-stack { max-width: 1120px; margin-inline: auto; }
.hero-lede { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0px; }
.hero-sub { color: var(--muted); margin: 0.6rem 0px 0px; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.7rem; font: 700 11px / 1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0.2px; border: 1px solid var(--border); border-radius: 999px; background: rgba(15, 22, 37, 0.75); color: rgb(207, 224, 255); box-shadow: rgba(2, 6, 23, 0.25) 0px 6px 18px inset, rgba(0, 0, 0, 0) 0px 0px 0px; transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s; }
.pill--blue { background: rgba(30, 58, 138, 0.28); border-color: rgb(31, 59, 115); color: rgb(199, 210, 254); }
.pill--sm { padding: 0.35rem 0.7rem; font-size: 11px; }
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pg-head h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.pg-head .tagline { color: var(--muted); font-weight: 600; }
.pg-card { background: rgba(15, 22, 37, 0.88); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 20px 22px; transition: transform 0.18s, box-shadow 0.2s, border-color 0.2s; }
.pg-icon { font-size: 24px; display: block; opacity: 0.95; margin-bottom: 0.35rem; }
.pg-title { margin: 0px 0px 0.5rem; color: rgb(207, 224, 255); font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 800; }
.pg-sub { color: var(--ink); opacity: 0.9; }
.pg-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; font: 700 11px / 1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; border: 1px solid rgba(59, 130, 246, 0.45); color: rgb(207, 224, 255); background: rgba(30, 58, 138, 0.28); border-radius: 999px; }
.pg-link { display: inline-block; margin-top: 0.75rem; color: rgb(158, 197, 255); text-decoration: underline; font-weight: 600; }
.hidden { display: none !important; }
.flex { display: flex !important; }
@keyframes sidebarPulse {
0%, 100% { box-shadow: 0 3px 0 var(--cta-shadow),
      0 0 12px rgba(59,130,246,.3); }
50% { box-shadow: 0 4px 0 var(--cta-shadow),
      0 0 20px rgba(59,130,246,.55),
      0 0 30px rgba(104,181,255,.25) inset; }
}
.lb-row { display: grid; grid-template-columns: 64px 1fr 140px 140px; gap: 8px; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.btn { cursor: pointer; }
.site-shell { padding-top: 70px; }
@media (prefers-reduced-motion: reduce) {
#side-nav { transition: none; }
}
.techy-title { color: var(--fx-blue); font-weight: 800; letter-spacing: -0.01em; line-height: 1.12; text-shadow: rgba(77, 166, 255, 0.35) 0px 0px 12px, rgba(77, 166, 255, 0.2) 0px 0px 24px; }
#plans .pg-head h2 { color: var(--ink); margin: 0px 0px 4px; }
#plans .pg-head .tagline { color: var(--muted); }
.plan-grid { display: grid; gap: 16px; }
@media (min-width: 900px) {
.plan-grid { grid-template-columns: 1fr 1fr; }
}
.plan { position: relative; border: 1px solid var(--border); background: var(--card); border-radius: 18px; padding: 18px; }
.plan--pro { outline: rgba(77, 166, 255, 0.25) solid 2px; box-shadow: rgba(77, 166, 255, 0.25) 0px 0px 0px 1px inset; }
.plan-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.plan-title { margin: 0px; color: var(--ink); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.price-main { font-size: 2rem; font-weight: 800; color: var(--ink); }
.price-sub { color: var(--muted); font-size: 0.9rem; }
.feature-list { margin: 10px 0px 14px; padding-left: 18px; display: grid; gap: 6px; }
.feature-list li { color: var(--ink); }
.plan-cta { display: grid; gap: 8px; align-items: center; }
.fineprint { color: var(--muted); }
html, body { overflow-x: hidden; }
video { max-width: 100%; height: auto; }
@media (max-width: 640px) {
header .actions #btnSignIn, header .actions #btnSignOut { display: none !important; }
#side-nav #menuSignIn, #side-nav #menuSignOut { display: block !important; }
#topbar .bar { min-height: 56px; align-items: center; }
#topbar #who.user-email { display: none !important; }
#topbar #upgrade-btn { font-size: 0.85rem !important; padding: 8px 12px !important; border-radius: 14px !important; }
#topbar .actions { gap: 8px; }
.site-shell { padding-top: 72px; }
}

@media (max-width: 640px) {
.techy-title, .hero-lede { margin-top: 1.25rem; margin-bottom: 0.75rem; font-size: 1.75rem; line-height: 1.2; text-align: center; text-shadow: rgba(80, 140, 255, 0.25) 0px 0px 18px; }
}
@media (max-width: 640px) {
.btn, button { min-height: 42px; padding: 10px 14px; }
}
@media (max-width: 640px) {
body { font-size: 1rem; line-height: 1.6; }
}
#side-nav .menu-item { display: block; width: 100%; text-align: left; padding: 0.75rem 1rem; border-radius: 12px; font: inherit; background: var(--card, #0f1a2b); color: var(--ink, #e7eefc); border: 1px solid var(--border, #24304d); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
#side-nav .menu-item.danger { background: rgb(27, 15, 18); border-color: rgb(59, 26, 26); color: rgb(255, 210, 210); }
.menu-sep { border-right: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; border-top: 1px solid var(--border, #24304d); margin: 0.75rem 0px; }
.btn.btn-primary, #upgrade-btn { background: rgb(0, 7, 19) !important; color: rgb(250, 250, 255) !important; border-color: rgb(0, 24, 51) !important; }
@media (prefers-reduced-motion: reduce) {
.tech-bg animate { display: none !important; }
}
@keyframes tech-floatY {
0%, 100% { transform: translateY(-2px); }
50% { transform: translateY(2px); }
}
@keyframes tech-twinkle {
0%, 100% { opacity: 0.45; }
50% { opacity: 1; }
}
.login-toast { position: fixed; top: 50%; left: 50%; z-index: 99999; transform: translate(-50%, -40%) scale(0.92); opacity: 0; visibility: hidden; display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 18px; background: color-mix(in srgb, var(--card, #020617) 80%, var(--cta, #38bdf8) 20%); border: 1px solid color-mix(in srgb, var(--border, #1f2937) 60%, var(--cta, #38bdf8) 40%); color: var(--ink, #e5e7eb); box-shadow: rgba(56, 189, 248, 0.25) 0px 0px 0px 1px, rgba(15, 23, 42, 0.65) 0px 18px 45px, rgba(56, 189, 248, 0.45) 0px 0px 36px; font-size: 1.05rem; letter-spacing: 0.02em; pointer-events: none; transition: opacity 0.35s ease-out, transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28); }
@keyframes debug-pulse {
0% { transform: translateY(0px); box-shadow: rgba(59, 130, 246, 0.28) 0px 8px 24px; }
50% { transform: translateY(-2px); box-shadow: rgba(59, 130, 246, 0.45) 0px 14px 40px; }
100% { transform: translateY(0px); box-shadow: rgba(59, 130, 246, 0.28) 0px 8px 24px; }
}
@media (max-width: 640px) {
#topbar .bar { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; padding: 10px 16px !important; }
#topbar .brand { flex-shrink: 0; }
#topbar .actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; max-width: 70%; }
#topbar .actions #btnSignIn, #topbar .actions #btnSignOut { display: none !important; }
#upgrade-btn, #plan-badge, .user-email { max-width: 150px; font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex !important; }
}
@media (max-width: 640px) {
header .actions #btnSignIn, header .actions #btnSignOut { display: none !important; }
#side-nav #menuSignIn, #side-nav #menuSignOut { display: block !important; }
}

/* From: <inline style> */
.hero-lede.techy-title { color: var(--fx-blue) !important; text-shadow: rgba(77, 166, 255, 0.35) 0px 0px 12px, rgba(77, 166, 255, 0.2) 0px 0px 24px; }
.hero-lede.techy-title { position: relative; z-index: 10; }
.hero-stack, .hero-lede { position: relative; z-index: 10; }


/* =========================
   Topbar + nav drawer
   (Hamburger nav)
   ========================= */

#topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(11, 18, 32, .85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

#topbar .bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.brand .dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(77, 166, 255, .25);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


/* Overlay — visibility controlled by [hidden] attribute via JS */
#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 999;
  pointer-events: auto;
}

/* optional but explicit: */
#nav-overlay[hidden] {
  display: none !important;
}


/* Drawer */
#side-nav {
  position: fixed;
  top: 0;
  left:0;
  bottom: 0;
  width: 300px;
  max-width: 88vw;
  background: var(--card, #0e1628);
  z-index: 1000;
  overflow: auto;
  transform: translateX(100%);        /* off-screen by default */
  transition: transform .25s ease-out;
  display: flex;
  flex-direction: column;
}

/* keep this so hidden really hides it */
#side-nav[hidden] {
  display: none !important;
}

/* 🔥 NEW: open state based on [hidden] instead of body.nav-open */
#side-nav:not([hidden]) {
  transform: translateX(0);
}


#side-nav .mobile-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#side-nav .title {
  color: var(--ink);
  font-weight: 600;
}

#side-nav nav {
  padding: 16px;
  overflow-y: auto;
}

#side-nav nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 6px;
}

#side-nav nav a:hover {
  background: rgba(77, 166, 255, .1);
  color: var(--ink);
}

#side-nav .menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: .75rem 1rem;
  border-radius: 12px;
  font: inherit;
  background: var(--card, #0f1a2b);
  color: var(--ink, #e7eefc);
  border: 1px solid var(--border, #24304d);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

#side-nav .menu-item.danger {
  background: rgb(27, 15, 18);
  border-color: rgb(59, 26, 26);
  color: rgb(255, 210, 210);
}

.menu-sep {
  border: 0;
  border-top: 1px solid var(--border, #24304d);
  margin: .75rem 0;
}

/* Open state */
body.nav-open #side-nav {
  transform: translateX(0);
}

body.nav-open #nav-overlay {
  display: block;
}

/* Content offsets */
.site-shell {
  padding-top: 70px;
}

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  #side-nav {
    transition: none;
  }
}

/* Hamburger icon */
.hamburger {
  width: 20px;
  height: 3px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
  content: "";
  width: 20px;
  height: 3px;
  background: var(--ink);
  position: absolute;
  left: 0;
  border-radius: 2px;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.brand:hover .hamburger,
.brand:hover .hamburger::before,
.brand:hover .hamburger::after {
  background: var(--accent);
}
/* ===== Tech BG FX should NEVER eat input ===== */
.tech-hex,
.tech-map,
.tech-traces,
.tech-glow,
.tech-particles {
  pointer-events: none !important;
  user-select: none;
  z-index: -1;         /* keep behind everything */
}

/* if these are inside a wrapper, also protect it */
.tech-bg,
.bgfx {
  pointer-events: none !important;
  z-index: -1;
}
/* =========================
   End Topbar + nav drawer
   ========================= */