/* ==========================================================================
   Nexora Official Website (https://nexora.usereeve.si)
   Restrained Engineering Minimalism x Machined Double-Bezel x Dark/Light
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #05080d;
  --bg-surface: #0a1018;
  --bg-elevated: #101824;
  --bg-hover: #162131;
  --bg-code: #060b11;

  --bezel-outer: rgba(16, 185, 129, 0.045);
  --glass-bg: rgba(10, 16, 24, 0.88);
  --glass-sidebar: rgba(12, 20, 30, 0.84);
  --glass-nav: rgba(7, 12, 18, 0.82);
  --mobile-menu-bg: rgba(9, 15, 22, 0.97);

  --hairline: rgba(148, 163, 184, 0.12);
  --hairline-strong: rgba(148, 163, 184, 0.22);
  --rim-top: linear-gradient(90deg, transparent 8%, rgba(16, 185, 129, 0.42) 50%, transparent 92%);
  --specular: inset 0 1px 0 rgba(255, 255, 255, 0.07);

  --text-primary: #ecf3f8;
  --text-secondary: #9fb0c3;
  --text-muted: #6b7d92;
  --title-grad: linear-gradient(180deg, #ffffff 0%, #c8d6e5 100%);
  --title-muted-grad: linear-gradient(180deg, #8aa0b8 0%, #5c7086 100%);

  --accent: #10b981;
  --accent-rgb: 16, 185, 129;
  --accent-2: #06b6d4;
  --accent-2-rgb: 6, 182, 212;
  --accent-soft: rgba(var(--accent-rgb), 0.13);
  --accent-border: rgba(var(--accent-rgb), 0.36);

  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --green-border: rgba(52, 211, 153, 0.28);

  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);
  --amber-border: rgba(251, 191, 36, 0.28);

  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.12);
  --red-border: rgba(248, 113, 113, 0.32);

  --btn-primary-bg: #10b981;
  --btn-primary-text: #031a12;
  --btn-primary-hover: #34d399;
  --btn-primary-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 8px 26px -8px rgba(16, 185, 129, 0.5);

  --btn-secondary-bg: rgba(148, 163, 184, 0.06);
  --btn-secondary-text: #ecf3f8;
  --btn-secondary-hover: rgba(148, 163, 184, 0.12);

  --shadow-window: 0 40px 100px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--hairline-strong);
  --shadow-nav: 0 12px 36px -12px rgba(0, 0, 0, 0.78), 0 0 0 1px var(--hairline-strong);

  --container: 1180px;
  --nav-h: 64px;
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 9999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="light"] {
  color-scheme: light;

  --bg: #f3f6f9;
  --bg-surface: #ffffff;
  --bg-elevated: #e9eff4;
  --bg-hover: #dfe7ee;
  --bg-code: #edf2f6;

  --bezel-outer: rgba(15, 23, 42, 0.035);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-sidebar: rgba(242, 246, 250, 0.92);
  --glass-nav: rgba(255, 255, 255, 0.84);
  --mobile-menu-bg: rgba(255, 255, 255, 0.97);

  --hairline: rgba(15, 23, 42, 0.09);
  --hairline-strong: rgba(15, 23, 42, 0.16);
  --rim-top: linear-gradient(90deg, transparent 8%, rgba(5, 150, 105, 0.45) 50%, transparent 92%);
  --specular: inset 0 1px 0 rgba(255, 255, 255, 0.95);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --title-grad: linear-gradient(180deg, #0f172a 0%, #334155 100%);
  --title-muted-grad: linear-gradient(180deg, #475569 0%, #64748b 100%);

  --accent: #059669;
  --accent-rgb: 5, 150, 105;
  --accent-2: #0891b2;
  --accent-2-rgb: 8, 145, 178;

  --green: #059669;
  --green-soft: rgba(5, 150, 105, 0.09);
  --green-border: rgba(5, 150, 105, 0.24);

  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.1);
  --amber-border: rgba(217, 119, 6, 0.26);

  --red: #dc2626;
  --red-soft: rgba(220, 38, 38, 0.09);
  --red-border: rgba(220, 38, 38, 0.24);

  --btn-primary-bg: #0f172a;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #059669;
  --btn-primary-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 10px 26px -10px rgba(15, 23, 42, 0.35);

  --btn-secondary-bg: rgba(15, 23, 42, 0.04);
  --btn-secondary-text: #0f172a;
  --btn-secondary-hover: rgba(15, 23, 42, 0.08);

  --shadow-window: 0 36px 90px -28px rgba(15, 23, 42, 0.16), 0 0 0 1px var(--hairline-strong);
  --shadow-nav: 0 10px 30px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px var(--hairline-strong);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color 0.28s var(--ease-out), color 0.28s var(--ease-out);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }
code, pre, .mono { font-family: var(--font-mono); }

p code, li code, .cell-desc code {
  font-size: 0.86em;
  padding: 1.5px 5.5px;
  border-radius: 5px;
  border: 1px solid var(--hairline);
  background: var(--bg-code);
  color: var(--text-primary);
}

.tabular { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.page-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    radial-gradient(ellipse 68% 40% at 50% -4%, rgba(var(--accent-rgb), 0.16), transparent 68%),
    radial-gradient(ellipse 46% 32% at 86% 18%, rgba(var(--accent-2-rgb), 0.11), transparent 64%),
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M120 0H0v120' fill='none' stroke='rgba(148,163,184,0.12)' stroke-width='1'/%3E%3Cpath d='M-4 0h8M0 -4v8M116 0h8M120 -4v8M-4 120h8M0 116v8M116 120h8M120 116v8' fill='none' stroke='rgba(16,185,129,0.28)' stroke-width='1.1'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(148, 163, 184, 0.048) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.048) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 120px 120px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.08) 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.08) 92%);
}

[data-theme="light"] .page-grid-bg {
  background-image:
    radial-gradient(ellipse 68% 40% at 50% -4%, rgba(var(--accent-rgb), 0.09), transparent 68%),
    radial-gradient(ellipse 46% 32% at 86% 18%, rgba(var(--accent-2-rgb), 0.07), transparent 64%),
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M120 0H0v120' fill='none' stroke='rgba(15,23,42,0.08)' stroke-width='1'/%3E%3Cpath d='M-4 0h8M0 -4v8M116 0h8M120 -4v8M-4 120h8M0 116v8M116 120h8M120 116v8' fill='none' stroke='rgba(5,150,105,0.28)' stroke-width='1.1'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(15, 23, 42, 0.036) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.036) 1px, transparent 1px);
}

.page-radar-sweep {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.page-radar-sweep::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 180px;
  top: -180px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(var(--accent-rgb), 0.055) 78%,
    rgba(var(--accent-2-rgb), 0.14) 98%,
    transparent 100%
  );
  animation: radarSweep 14s linear infinite;
}

[data-theme="light"] .page-radar-sweep::before {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(var(--accent-rgb), 0.03) 78%,
    rgba(var(--accent-2-rgb), 0.08) 98%,
    transparent 100%
  );
}

@keyframes radarSweep {
  0% { transform: translateY(0); }
  100% { transform: translateY(120vh); }
}

@media (prefers-reduced-motion: reduce) {
  .page-radar-sweep::before,
  .topo-flow-line,
  .topo-pulse-dot {
    animation: none !important;
  }
}

.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-theme="light"] .page-grain { opacity: 0.015; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.brand-mark-light { display: none; }
[data-theme="light"] .brand-mark-dark { display: none; }
[data-theme="light"] .brand-mark-light { display: inline-block; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
}

/* ==========================================================================
   Floating Island Navbar
   ========================================================================== */
.navbar-wrap {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 24px;
  margin-top: 12px;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  max-width: var(--container);
  margin: 0 auto;
  height: 54px;
  padding: 0 12px 0 16px;
  border-radius: var(--r-pill);
  background: var(--glass-nav);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-nav), var(--specular);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.navbar.scrolled { border-color: rgba(var(--accent-rgb), 0.28); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 640;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-icon { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; }

.version-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-secondary);
}

.nav-links a {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color 0.18s var(--ease-out), background-color 0.18s var(--ease-out);
}

.nav-links a:hover { color: var(--text-primary); background: var(--btn-secondary-bg); }
.nav-links a.active { color: var(--text-primary); background: var(--btn-secondary-hover); }
.nav-ext-arrow { font-size: 10.5px; opacity: 0.65; margin-left: 2px; }

.nav-actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 30px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--btn-secondary-bg);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 500;
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), transform 0.15s var(--ease-out);
}

.icon-btn:hover { background: var(--btn-secondary-hover); color: var(--text-primary); border-color: var(--hairline-strong); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn svg { width: 14px; height: 14px; }
.mobile-menu-btn { display: none; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 550;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.16s var(--ease-out), box-shadow 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.btn:active { transform: scale(0.975); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-sm { height: 32px; padding: 0 14px; font-size: 12.5px; }

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--btn-primary-shadow);
}

.btn-primary:hover { background: var(--btn-primary-hover); transform: translateY(-1px); }

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--specular);
}

.btn-secondary:hover { background: var(--btn-secondary-hover); }

/* ==========================================================================
   Double-Bezel Container
   ========================================================================== */
.bezel-shell {
  position: relative;
  padding: 7px;
  border-radius: var(--r-xl);
  background: var(--bezel-outer);
  border: 1px solid var(--hairline);
  box-shadow: var(--specular);
}

.bezel-shell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rim-top);
  pointer-events: none;
}

/* ==========================================================================
   Hero & Interactive Nexora Workbench
   ========================================================================== */
.hero { padding: 48px 0 36px; }
.hero-header { max-width: 880px; margin: 0 auto 30px; text-align: center; }

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong);
  background: var(--bg-surface);
  box-shadow: var(--specular);
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.release-pill:hover { border-color: var(--accent-border); color: var(--text-primary); transform: translateY(-1px); }

.release-pill-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-title-main { background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title-muted { background: var(--title-muted-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-subtitle {
  margin: 0 auto 24px;
  max-width: 680px;
  font-size: clamp(15px, 1.55vw, 16.5px);
  line-height: 1.66;
  color: var(--text-secondary);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-metrics span { display: inline-flex; align-items: center; gap: 6px; }
.hero-metrics .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.85; }

.hero-telemetry-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero-telemetry-meta .topo-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   Live Signal Topology Showcase (NOC Telemetry Style)
   ========================================================================== */
.topo-stage {
  margin-bottom: 26px;
}

.topo-shell {
  position: relative;
  border-radius: calc(var(--r-xl) - 7px);
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.11), transparent 62%), var(--glass-bg);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  box-shadow: var(--shadow-window), var(--specular);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.topo-shell::before,
.topo-shell::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-color: var(--accent);
  opacity: 0.58;
}

.topo-shell::before {
  top: 8px;
  left: 8px;
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.topo-shell::after {
  bottom: 8px;
  right: 8px;
  border-bottom: 1.5px solid var(--accent-2);
  border-right: 1.5px solid var(--accent-2);
}

.topo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.topo-title-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
}

.topo-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
  animation: topoPing 1.9s ease-in-out infinite;
}

@keyframes topoPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.22); opacity: 0.55; }
}

.topo-chip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topo-chip {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-code);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.18s var(--ease-out);
}

.topo-chip:hover {
  border-color: var(--hairline-strong);
  color: var(--text-primary);
}

.topo-chip.active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.topo-svg-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--bg-code);
  padding: 8px 10px;
}

.topo-svg {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
}

@keyframes topoFlow {
  0% { stroke-dashoffset: 36; }
  100% { stroke-dashoffset: 0; }
}

.topo-flow-line {
  fill: none;
  stroke-dasharray: 6 6;
  animation: topoFlow 1.05s linear infinite;
  transition: opacity 0.22s ease, stroke-width 0.22s ease;
}

.topo-flow-line.is-dim {
  opacity: 0.22;
  animation: none;
}

.topo-flow-line.is-active {
  opacity: 1;
  stroke-width: 2.2;
}

.topo-packet {
  transition: opacity 0.22s ease;
}

.topo-packet.is-dim {
  opacity: 0.12;
}

.topo-node-box {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.topo-node-box.is-dim {
  opacity: 0.42;
}

.topo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  padding-top: 2px;
}

.topo-readout {
  color: var(--text-primary);
}

.wb-mode-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.wb-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.2s var(--ease-out);
}

.wb-mode-btn:hover { color: var(--text-primary); border-color: var(--hairline-strong); transform: translateY(-1px); }
.wb-mode-btn.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 6px 18px -10px rgba(var(--accent-rgb), 0.5);
}

.wb-mode-btn .cmd { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }

.workbench-window {
  border-radius: calc(var(--r-xl) - 7px);
  background: var(--glass-bg);
  box-shadow: var(--shadow-window), var(--specular);
  overflow: hidden;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 490px;
}

.wb-sidebar {
  background: var(--glass-sidebar);
  border-right: 1px solid var(--hairline);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.wb-sidebar-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 6px;
}
.traffic-lights { display: flex; align-items: center; gap: 7px; }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-red { background: #ff5f57; }
.tl-yellow { background: #febc2e; }
.tl-green { background: #28c840; }

.wb-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-size: 13px;
  font-weight: 640;
}

.wb-nav-list { display: flex; flex-direction: column; gap: 3px; }
.wb-nav-group-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 8px 4px;
}

.wb-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: left;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.wb-nav-item:hover { background: var(--btn-secondary-bg); color: var(--text-primary); }
.wb-nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 560;
}

.wb-nav-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  color: var(--text-muted);
}

.wb-status-pill {
  margin-top: auto;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: var(--bg-code);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.wb-status-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

.wb-main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.wb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.wb-seg-five {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-sm);
  background: var(--bg-code);
  border: 1px solid var(--hairline);
}

.wb-seg-btn {
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.16s ease;
}

.wb-seg-btn:hover { color: var(--text-primary); }
.wb-seg-btn.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: var(--specular);
}

.wb-pane { display: none; flex-direction: column; gap: 12px; }
.wb-pane.active { display: flex; }

.wb-cards-2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.wb-card {
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wb-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 560;
}

.wb-metric-big {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 660;
  letter-spacing: -0.03em;
}

.wb-spark-bars {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  align-items: end;
  gap: 3px;
  height: 52px;
  padding-top: 6px;
}

.wb-spark-bar {
  border-radius: 3px 3px 1px 1px;
  background: var(--accent-soft);
  border-top: 2px solid var(--accent);
  transition: height 0.28s var(--ease-out);
}

.wb-spark-bar.is-up {
  background: var(--green-soft);
  border-top-color: var(--green);
}

.wb-row-list { display: flex; flex-direction: column; }

.wb-scroll-list {
  max-height: 215px;
  overflow-y: auto;
  padding-right: 4px;
}

.wb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--hairline);
  font-size: 12px;
}

.wb-row > span.mono:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wb-row:last-child { border-bottom: none; }

.wb-node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wb-node-card {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: var(--bg-code);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.wb-node-card.selected {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.wb-node-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 560; }
.wb-node-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }

.proto-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.proto-tag.is-reality { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }
.proto-tag.is-hy2 { color: var(--green); border-color: var(--green-border); background: var(--green-soft); }
.proto-tag.is-anytls { color: var(--amber); border-color: var(--amber-border); background: var(--amber-soft); }
.proto-tag.is-ss22 { color: #38bdf8; border-color: rgba(56, 189, 248, 0.32); background: rgba(56, 189, 248, 0.12); }
.proto-tag.is-reject { color: var(--red); border-color: var(--red-border); background: var(--red-soft); }

.delay-text { font-family: var(--font-mono); font-size: 11px; color: var(--green); }
.delay-text.is-mid { color: var(--amber); }

.mini-action-btn {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong);
  background: var(--bg-elevated);
  font-size: 11px;
  color: var(--text-primary);
  white-space: nowrap;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.mini-action-btn:hover { border-color: var(--accent-border); background: var(--accent-soft); color: var(--accent); }

/* ==========================================================================
   Specs Strip & Compat Ecosystem
   ========================================================================== */
.specs-strip {
  margin-top: 40px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-surface);
}

.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.spec-stat {
  padding: 26px 22px;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-stat:last-child { border-right: none; }
.spec-stat-val { font-family: var(--font-mono); font-size: clamp(1.45rem, 2.3vw, 1.95rem); font-weight: 660; letter-spacing: -0.04em; }
.spec-stat-label { font-size: 13px; font-weight: 560; }
.spec-stat-sub { font-size: 12px; color: var(--text-muted); }

.compat-strip { padding: 30px 0; border-bottom: 1px solid var(--hairline); }
.compat-heading { text-align: center; font-size: 12.5px; color: var(--text-muted); margin: 0 0 14px; }
.compat-groups { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }

.compat-item {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.compat-item:hover { border-color: var(--hairline-strong); color: var(--text-primary); }
.compat-item strong { color: var(--text-primary); font-weight: 600; }

/* ==========================================================================
   Sections & Spotlight 1px Hairline Bento Grid
   ========================================================================== */
.section { padding: 88px 0; }
.section-bordered { border-top: 1px solid var(--hairline); }
.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 660;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.section-desc { margin: 0; font-size: 15.5px; color: var(--text-secondary); line-height: 1.66; }

.arch-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--hairline);
  gap: 1px;
}

.bento-cell {
  position: relative;
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: background-color 0.25s var(--ease-out);
}

.bento-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.08), transparent 62%);
}

.bento-cell:hover::after { opacity: 1; }
.bento-span-6 { grid-column: span 6; }
.bento-span-4 { grid-column: span 4; }
.bento-span-8 { grid-column: span 8; }
.bento-span-12 { grid-column: span 12; }

.cell-kicker { font-family: var(--font-mono); font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 0.04em; }
.cell-title { margin: 0; font-size: 18px; font-weight: 620; letter-spacing: -0.02em; }
.cell-desc { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.62; }

.pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.feature-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

/* ==========================================================================
   Rule Simulator Interactive Panel
   ========================================================================== */
.sim-box {
  border-radius: calc(var(--r-xl) - 7px);
  background: var(--bg-surface);
  padding: 24px;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sim-input {
  flex: 1 1 260px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline-strong);
  background: var(--bg-code);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
}

.sim-input:focus { outline: none; border-color: var(--accent); }

.sim-presets { display: flex; flex-wrap: wrap; gap: 7px; }
.sim-chip {
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-code);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  transition: all 0.16s ease;
}

.sim-chip:hover { border-color: var(--accent-border); color: var(--accent); }

.sim-result {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--bg-code);
}

.sim-res-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sim-res-k { font-size: 11px; color: var(--text-muted); }
.sim-res-v { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--text-primary); word-break: normal; overflow-wrap: break-word; }

/* ==========================================================================
   Matrix Tables & Docs & Download Cards
   ========================================================================== */
.page-hero { padding: 54px 0 36px; border-bottom: 1px solid var(--hairline); }
.page-hero-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 670;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.page-hero-desc { margin: 0; max-width: 680px; font-size: 16px; color: var(--text-secondary); line-height: 1.65; }

.table-wrap {
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.matrix-table th {
  padding: 14px 18px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-code);
  white-space: nowrap;
}

.matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-secondary);
  vertical-align: top;
}

.matrix-table tr:last-child td { border-bottom: none; }
.matrix-table td strong { color: var(--text-primary); }

.dl-spec-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  background: radial-gradient(circle at 0% 50%, rgba(var(--accent-rgb), 0.1), transparent 55%), var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dl-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dl-card.is-detected {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 14px 34px -18px rgba(var(--accent-rgb), 0.45);
}

.dl-card.is-detected::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
  pointer-events: none;
}

.dl-card:hover { border-color: var(--hairline-strong); transform: translateY(-2px); }

.dl-index-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.dl-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dl-card-title { font-size: 17px; font-weight: 640; margin: 0; }
.dl-card-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

.dl-verify-box {
  margin-top: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-verify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
}

.docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.doc-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.doc-card h3 { margin: 0; font-size: 16.5px; font-weight: 620; }
.doc-card p, .doc-card li { margin: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; }
.doc-card ul { margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

.code-block {
  margin: 6px 0 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: var(--bg-code);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-primary);
  max-width: 100%;
  overflow-x: auto;
}

/* ==========================================================================
   FAQ Accordion & CTA & Footer
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 15px;
  font-weight: 560;
}

.faq-q svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; transition: transform 0.22s var(--ease-out); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.68; }
.faq-item.open .faq-a { display: block; }

.cta-panel {
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline-strong);
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.12), transparent 65%), var(--bg-surface);
  padding: 52px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-panel h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 660; letter-spacing: -0.03em; }
.cta-panel p { margin: 0; max-width: 560px; color: var(--text-secondary); }

.footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 48px;
  color: var(--text-muted);
  font-size: 13px;
}

.nsgo-inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.nsgo-inline-link:hover { color: var(--accent-2); }

.compat-link { cursor: pointer; }
.compat-link:hover { border-color: var(--accent-border); color: var(--accent); }

.nsgo-card {
  position: relative;
  border-radius: calc(var(--r-xl) - 7px);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-2-rgb), 0.11), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(var(--accent-rgb), 0.10), transparent 55%),
    var(--bg-surface);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.nsgo-card::before,
.nsgo-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  opacity: 0.58;
}

.nsgo-card::before {
  top: 8px;
  left: 8px;
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

.nsgo-card::after {
  bottom: 8px;
  right: 8px;
  border-bottom: 1.5px solid var(--accent-2);
  border-right: 1.5px solid var(--accent-2);
}

.nsgo-content { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nsgo-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.nsgo-stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.nsgo-layer {
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--bg-code);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nsgo-layer.is-highlight {
  border-color: var(--accent-border);
  background: radial-gradient(circle at 0% 50%, rgba(var(--accent-rgb), 0.12), transparent 70%), var(--bg-code);
}

.nsgo-layer-k { font-family: var(--font-mono); font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 0.05em; }
.nsgo-layer-t { font-size: 14px; font-weight: 620; color: var(--text-primary); }
.nsgo-layer-d { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-secondary); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--text-primary); }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 12.5px;
  box-shadow: var(--shadow-nav);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   Responsive Breakpoints (Desktop -> Tablet -> 375px Mobile)
   ========================================================================== */
@media (max-width: 960px) {
  .workbench-window { grid-template-columns: 192px minmax(0, 1fr); }
  .wb-cards-2, .dl-grid, .docs-grid, .nsgo-card { grid-template-columns: minmax(0, 1fr); }
  .nsgo-card { padding: 22px; gap: 20px; }
  .wb-node-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-stat:nth-child(2n) { border-right: none; }
  .spec-stat:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .bento-span-4, .bento-span-6, .bento-span-8 { grid-column: span 12; }
  .sim-result { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .workbench-window { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .wb-sidebar { border-right: none; border-bottom: 1px solid var(--hairline); padding: 10px 12px; gap: 10px; }
  .wb-sidebar-top { padding: 0 2px; }
  .wb-nav-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .wb-nav-item { flex: 0 0 auto; white-space: nowrap; gap: 6px; padding: 6px 10px; }
  .wb-nav-group-label, .wb-status-pill { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .navbar-wrap { padding: 0 12px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: var(--r-lg);
    background: var(--mobile-menu-bg);
    border: 1px solid var(--hairline-strong);
    box-shadow: var(--shadow-window);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
  }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-actions .btn-primary { display: none; }
  .section { padding: 60px 0; }
  .wb-node-grid, .specs-grid, .sim-result { grid-template-columns: minmax(0, 1fr); }
  .spec-stat { border-right: none; border-bottom: 1px solid var(--hairline); }
  .spec-stat:last-child { border-bottom: none; }
}

@media (max-width: 520px) {
  .wb-row { flex-wrap: wrap; }
}
