:root {
  --bg-abyss: #05080b;
  --bg-deep: #080d13;
  --bg-surface: rgba(13, 21, 30, 0.72);
  --bg-surface-strong: rgba(16, 26, 38, 0.88);
  --text-bone: #f3f6fa;
  --text-mist: #94a3b8;
  --text-muted: #64748b;
  --accent-emerald: #10b981;
  --accent-emerald-bright: #34d399;
  --accent-cyan: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-rose: #fb7185;
  --accent-violet: #a78bfa;

  --glass-border-light: rgba(255, 255, 255, 0.16);
  --glass-border-subtle: rgba(255, 255, 255, 0.08);
  --glass-specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.06);

  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-abyss);
  color: var(--text-bone);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg-abyss);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  line-height: 1.6;
}

main,
header,
section,
footer {
  max-width: 100%;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.mono-num,
.mono-tag,
code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Scrolltide Interactive Canvas & Ambient Aurora */
#tide-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

.ambient-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 14%, rgba(16, 185, 129, 0.16), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.13), transparent 44%),
    radial-gradient(circle at 50% 78%, rgba(16, 185, 129, 0.09), transparent 50%);
}

.container {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Top Announcement Bar (scrolltide.co style) */
.top-announcement {
  position: relative;
  z-index: 40;
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.45), rgba(12, 74, 110, 0.45));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  font-size: 0.82rem;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald-bright);
  box-shadow: 0 0 12px var(--accent-emerald-bright);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.28); opacity: 0.65; }
}

.ann-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #a7f3d0;
}

.ann-text {
  color: #e2e8f0;
}

.ann-link {
  color: var(--accent-emerald-bright);
  font-weight: 600;
  text-decoration: none;
}

.ann-link:hover {
  text-decoration: underline;
}

/* Floating Liquid Glass Pill Navbar (navbar.gallery + glass.samasante.com) */
.navbar-wrapper {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  margin-top: 14px;
}

.liquid-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(15, 23, 34, 0.76) 48%,
    rgba(16, 185, 129, 0.09) 100%
  );
  backdrop-filter: blur(22px) saturate(185%);
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  border: 1px solid var(--glass-border-light);
  box-shadow:
    var(--glass-specular),
    0 20px 45px -15px rgba(0, 0, 0, 0.72);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-bone);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.32), rgba(6, 78, 59, 0.45));
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-version {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(5, 8, 12, 0.52);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-pill-glider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(56, 189, 248, 0.22));
  border: 1px solid rgba(52, 211, 153, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 14px rgba(16, 185, 129, 0.28);
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
  pointer-events: none;
  z-index: 0;
}

.nav-pill {
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: var(--text-mist);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  transition: color 0.25s var(--ease-out-expo);
  white-space: nowrap;
}

.nav-pill:hover {
  color: var(--text-bone);
}

.nav-pill.active {
  color: #ecfdf5;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.45);
}

#workbench,
#features,
#architecture,
#download,
#opensource {
  scroll-margin-top: 108px;
}

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

.lang-pill-group {
  display: inline-flex;
  background: rgba(5, 8, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-mist);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent-emerald);
  color: #03150e;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45);
}

.nav-github-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-bone);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.22s ease;
}

.nav-github-pill:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.mit-mini-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.nav-cta-btn {
  text-decoration: none;
  background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #059669 100%);
  color: #03130d;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 22px -4px rgba(16, 185, 129, 0.55);
  transition: all 0.25s var(--ease-out-expo);
}

.nav-cta-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 28px -4px rgba(16, 185, 129, 0.75);
}

/* HERO SECTION (supahero.io + scrolltide.co) */
.hero-section {
  padding: 58px 0 60px;
  text-align: center;
}

.hero-eyebrow-row {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.liquid-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-specular);
  backdrop-filter: blur(16px);
  color: #d1fae5;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald-bright);
  box-shadow: 0 0 10px var(--accent-emerald-bright);
}

.badge-sep {
  opacity: 0.4;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 6.2vw, 5.15rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 1040px;
  margin: 0 auto 24px;
  color: var(--text-bone);
}

.inline-3d-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  padding: 4px 14px;
  margin: 0 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(52, 211, 153, 0.25), rgba(6, 78, 59, 0.55));
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.4),
    0 12px 30px rgba(16, 185, 129, 0.35);
  transform: translateY(-4px) rotate(-3deg);
  transition: transform 0.35s var(--ease-out-expo);
}

.inline-3d-capsule:hover {
  transform: translateY(-6px) rotate(4deg) scale(1.06);
}

.gradient-display-text {
  display: block;
  margin-top: 6px;
  background: linear-gradient(95deg, #ffffff 0%, #6ee7b7 48%, #38bdf8 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subheadline {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  color: var(--text-mist);
  line-height: 1.68;
}

/* Hero CTA Cluster */
.hero-cta-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary-glow,
.btn-glass-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 18px;
  transition: all 0.28s var(--ease-out-expo);
  text-align: left;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #047857 100%);
  color: #02140d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 18px 40px -10px rgba(16, 185, 129, 0.62);
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 24px 48px -8px rgba(16, 185, 129, 0.8);
}

.btn-glass-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: var(--text-bone);
  border: 1px solid var(--glass-border-light);
  box-shadow: var(--glass-specular), 0 14px 35px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.btn-glass-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(255, 255, 255, 0.06));
}

.btn-label-stack {
  display: flex;
  flex-direction: column;
}

.btn-main-text {
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.2;
}

.btn-sub-text {
  font-size: 0.73rem;
  opacity: 0.82;
  font-family: var(--font-mono);
}

.btn-outline-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: #a7f3d0;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.32);
  transition: all 0.25s ease;
}

.btn-outline-live:hover {
  background: rgba(16, 185, 129, 0.16);
  transform: translateY(-2px);
}

.live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}

/* Telemetry Metric Strip */
.hero-metrics-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 14px 28px;
  border-radius: 20px;
  background: rgba(11, 18, 27, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  margin-bottom: 46px;
}

.metric-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.metric-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: #6ee7b7;
}

.metric-lbl {
  font-size: 0.76rem;
  color: var(--text-mist);
}

.metric-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

/* Liquid Glass Shared Panel (glass.samasante.com) */
.liquid-glass-panel {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(11, 18, 28, 0.84) 38%,
    rgba(9, 15, 23, 0.92) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border-light);
  box-shadow:
    var(--glass-specular),
    0 32px 80px -20px rgba(0, 0, 0, 0.85);
}

/* INTERACTIVE WORKBENCH (styles.refero.design + supahero.io) */
.workbench-container {
  margin-top: 8px;
}

.workbench-shell {
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
}

.workbench-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: rgba(5, 9, 14, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.w-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.w-dot.red { background: #fb7185; }
.w-dot.yellow { background: #fbbf24; }
.w-dot.green { background: #34d399; }

.window-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-mist);
}

.workbench-crawl-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 560px;
  background: rgba(15, 23, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 4px 6px 4px 12px;
}

.protocol-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
  padding: 3px 7px;
  border-radius: 6px;
}

.sim-url-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-bone);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
}

.sim-run-btn {
  border: none;
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #03150e;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sim-run-btn:hover {
  transform: scale(1.03);
}

.workbench-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
}

.status-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

/* Workbench Tabs */
.workbench-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(8, 13, 20, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.wb-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-mist);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.wb-tab:hover {
  color: var(--text-bone);
  background: rgba(255, 255, 255, 0.08);
}

.wb-tab.active {
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wb-pane {
  display: none;
  padding: 20px;
  min-height: 370px;
}

.wb-pane.active {
  display: block;
}

/* BitSet Filter Chips */
.bitset-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.bitset-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-mist);
  margin-right: 4px;
}

.bitset-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-mist);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bitset-chip.active,
.bitset-chip:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  border-color: rgba(52, 211, 153, 0.45);
}

.wb-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 7, 11, 0.65);
}

.wb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.81rem;
}

.wb-table th,
.wb-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  white-space: nowrap;
}

.wb-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mist);
  background: rgba(15, 23, 35, 0.85);
}

.wb-table tbody tr:hover {
  background: rgba(16, 185, 129, 0.07);
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.status-pill.s200 { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.status-pill.s301 { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.status-pill.s404 { background: rgba(244, 63, 94, 0.22); color: #fda4af; }

.bit-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}

/* CWV Workbench Tab */
.cwv-workbench-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  align-items: center;
}

.cwv-gauges-card,
.cwv-vitals-bars {
  background: rgba(6, 10, 16, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px;
}

.cwv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.cwv-card-header h3 {
  font-size: 0.98rem;
}

.cwv-strategy-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 2px;
}

.cwv-strat-btn {
  border: none;
  background: transparent;
  color: var(--text-mist);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.cwv-strat-btn.active {
  background: var(--accent-emerald);
  color: #03150e;
}

.cwv-rings-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.cwv-ring {
  width: 74px;
  height: 74px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #6ee7b7;
  border: 4px solid #10b981;
  box-shadow: inset 0 0 18px rgba(16, 185, 129, 0.25), 0 0 20px rgba(16, 185, 129, 0.2);
}

.cwv-ring-label {
  font-size: 0.76rem;
  color: var(--text-mist);
}

.vital-metric-row {
  margin-bottom: 14px;
}
.vital-metric-row:last-child {
  margin-bottom: 0;
}

.vital-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.vital-val.good {
  font-family: var(--font-mono);
  color: #6ee7b7;
  font-weight: 700;
}

.vital-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.vital-fill.good {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #38bdf8);
  border-radius: 999px;
  transition: width 0.4s var(--ease-out-expo);
}

/* Force Graph Tab */
.graph-stage-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08), rgba(4, 7, 12, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.graph-overlay-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.78rem;
  background: rgba(5, 9, 14, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.graph-legend {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

.lg-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
}
.lg-dot.root { background: #10b981; }
.lg-dot.hub { background: #38bdf8; }
.lg-dot.orphan { background: #f59e0b; }
.lg-dot.broken { background: #fb7185; }

#wbForceGraph {
  width: 100%;
  height: 320px;
  display: block;
  cursor: grab;
}

/* SERP Simulator Tab */
.serp-workbench-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.serp-field {
  margin-bottom: 16px;
}

.serp-field-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--text-mist);
}

.serp-input,
.serp-textarea {
  width: 100%;
  background: rgba(5, 9, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-bone);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
}

.serp-meter-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
}

.serp-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: width 0.2s ease;
}

.serp-card-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-mist);
  margin-bottom: 8px;
}

.google-serp-box {
  background: #ffffff;
  color: #202124;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.g-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.g-favicon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f3f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-site-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #202124;
}

.g-url-line {
  font-size: 0.76rem;
  color: #4d5156;
}

.g-title {
  color: #1a0dab;
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
}

.g-desc {
  color: #4d5156;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Proxy & Security Tab */
.proxy-workbench-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.proxy-pool-card,
.security-audit-card {
  background: rgba(6, 10, 16, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px;
}

.proxy-pool-card h3,
.security-audit-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.proxy-pool-card p {
  font-size: 0.84rem;
  color: var(--text-mist);
  margin-bottom: 14px;
}

.proxy-node-row,
.sec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 8px;
  font-size: 0.81rem;
}

.p-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.sec-item.pass span { color: #6ee7b7; font-weight: 600; }
.sec-item.warn span { color: #fcd34d; font-weight: 600; }

/* INFINITE MARQUEE TICKER (scrolltide.co) */
.ticker-section {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(6, 10, 15, 0.65);
  position: relative;
  z-index: 2;
}

.ticker-mask {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: tickerScroll 36s linear infinite;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-mist);
  white-space: nowrap;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-emerald-bright);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-mist);
  font-size: 1.04rem;
}

/* 3D VOLUMETRIC BENTO GRID (3dicons.co + glass.samasante.com) */
.features-section {
  padding: 96px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(12, 20, 30, 0.78) 50%,
    rgba(8, 13, 20, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--glass-specular), 0 20px 50px -15px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(18px);
  transition: transform 0.28s var(--ease-out-expo), border-color 0.28s ease;
  transform-style: preserve-3d;
}

.bento-card:hover {
  border-color: rgba(52, 211, 153, 0.45);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-3d-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.35),
    0 14px 28px -8px rgba(0, 0, 0, 0.65);
  transform: translateZ(18px);
}

.bento-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.bento-meta h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-bone);
}

.bento-meta p {
  font-size: 0.92rem;
  color: var(--text-mist);
  line-height: 1.65;
}

/* COMPARISON SECTION */
.comparison-section {
  padding: 70px 0 96px;
}

.comparison-table-card {
  border-radius: 24px;
  overflow: hidden;
  padding: 10px;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.comp-table th,
.comp-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-bone);
}

.comp-table .highlight-col {
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
}

/* DOWNLOAD SECTION (cta.gallery) */
.download-section {
  padding: 60px 0 96px;
}

.cta-spotlight-box {
  border-radius: 32px;
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
}

.cta-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.dl-card {
  background: rgba(6, 11, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--ease-out-expo);
}

.dl-card.recommended {
  border-color: rgba(52, 211, 153, 0.65);
  box-shadow: 0 0 40px -10px rgba(16, 185, 129, 0.35);
}

.dl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.dl-os-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.dl-recommended-pill,
.dl-arch-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.dl-recommended-pill {
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.dl-arch-pill {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.dl-card h3 {
  font-family: var(--font-mono);
  font-size: 1.14rem;
  margin-bottom: 10px;
  color: var(--text-bone);
}

.dl-card-desc {
  font-size: 0.9rem;
  color: var(--text-mist);
  margin-bottom: 18px;
}

.dl-specs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-mist);
  margin-bottom: 22px;
}

.dl-action-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: 14px;
  transition: all 0.22s ease;
}

.dl-action-btn.primary {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #03150e;
  box-shadow: 0 12px 28px -6px rgba(16, 185, 129, 0.55);
}

.dl-action-btn.secondary {
  background: rgba(56, 189, 248, 0.16);
  color: #e0f2fe;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.dl-action-btn:hover {
  transform: translateY(-2px);
}

.cli-quickstart-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(4, 7, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cli-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-mist);
}

.cli-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(167, 139, 250, 0.2);
  color: #ddd6fe;
}

.cli-code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 8px 6px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.cli-code-box code {
  font-size: 0.78rem;
  color: #a7f3d0;
}

.cli-copy-btn {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-bone);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
}

/* OPEN SOURCE & AUTHOR SECTION */
.opensource-section {
  padding: 20px 0 96px;
}

.author-showcase {
  border-radius: 28px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.author-col-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.author-col-info p {
  color: var(--text-mist);
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.author-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.author-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-bone);
  font-size: 0.84rem;
  padding: 9px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dev-signature-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), rgba(5, 9, 15, 0.9));
  border: 1px solid rgba(52, 211, 153, 0.4);
  position: relative;
}

.dev-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #34d399, #059669);
  color: #03150e;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #6ee7b7;
  text-transform: uppercase;
}

.dev-details h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.dev-handle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mist);
}

.mit-seal {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

/* MONUMENTAL FOOTER (Inspired by footer.design) */
.monumental-footer {
  position: relative;
  z-index: 2;
  padding: 72px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.9) 0%, #020406 100%);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.footer-tagline {
  color: var(--text-mist);
  font-size: 0.9rem;
  max-width: 340px;
  margin-bottom: 16px;
}

.footer-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #a7f3d0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-bone);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-mist);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-emerald-bright);
}

.footer-monument-wordmark {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 14.5rem);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-align: center;
  user-select: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(16, 185, 129, 0.08) 65%,
    rgba(255, 255, 255, 0.01) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 18px 0 26px;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Responsive Breakpoints & Mobile Perfection */
.bento-card,
.cwv-gauges-card,
.cwv-vitals-bars,
.serp-inputs-col,
.serp-preview-col,
.proxy-pool-card,
.security-audit-card,
.dl-card,
.author-col-info,
.author-col-card,
.footer-col,
.footer-col-brand {
  min-width: 0;
}

.sim-url-input {
  min-width: 0;
}

.comparison-table-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

@media (max-width: 980px) {
  .navbar-wrapper {
    top: 10px;
    padding: 0 10px;
    margin-top: 10px;
  }

  .liquid-navbar {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 10px 12px;
    gap: 10px;
  }

  .nav-brand {
    font-size: 1.08rem;
  }

  .nav-actions {
    gap: 8px;
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 4px;
    border-radius: 14px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-pill {
    font-size: 0.78rem;
    padding: 6px 12px;
    flex-shrink: 0;
  }

  #workbench,
  #features,
  #architecture,
  #download,
  #opensource {
    scroll-margin-top: 132px;
  }

  .bento-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .cwv-workbench-grid,
  .serp-workbench-grid,
  .proxy-workbench-grid,
  .download-cards-grid,
  .author-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
  }

  .top-announcement {
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  .announcement-inner {
    gap: 6px;
  }

  .ann-badge {
    font-size: 0.64rem;
    padding: 2px 6px;
  }

  .hero-section {
    padding: 32px 0 40px;
  }

  .hero-eyebrow-row {
    margin-bottom: 16px;
  }

  .liquid-pill-badge {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 6px 8px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.68rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .badge-sep {
    display: none;
  }

  .hero-headline {
    font-size: clamp(1.95rem, 8.2vw, 2.85rem);
    line-height: 1.08;
    margin-bottom: 18px;
    overflow-wrap: break-word;
  }

  .inline-3d-capsule {
    padding: 3px 10px;
    margin: 0 3px;
    transform: translateY(-2px) rotate(-3deg);
  }

  .inline-3d-capsule svg {
    width: 34px;
    height: 34px;
  }

  .hero-subheadline {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta-cluster {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 28px;
  }

  .btn-primary-glow,
  .btn-glass-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 16px;
  }

  .btn-main-text {
    font-size: 0.9rem;
  }

  .btn-sub-text {
    font-size: 0.68rem;
  }

  /* Telemetry Metrics 2x2 Grid on Mobile */
  .hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    width: 100%;
    padding: 16px 12px;
    border-radius: 18px;
    margin-bottom: 32px;
  }

  .metric-divider {
    display: none;
  }

  .metric-chip {
    text-align: center;
    padding: 4px;
  }

  .metric-val {
    font-size: 0.94rem;
  }

  .metric-lbl {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* Workbench Mobile Layout */
  .workbench-shell {
    border-radius: 18px;
  }

  .workbench-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .window-dots {
    width: 100%;
    min-width: 0;
  }

  .window-title {
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
  }

  .workbench-crawl-bar {
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    padding: 6px 8px;
    gap: 6px;
  }

  .sim-url-input {
    font-size: 0.76rem;
    flex: 1 1 140px;
    min-width: 0;
  }

  .sim-run-btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.76rem;
    text-align: center;
  }

  .workbench-status-pill {
    align-self: flex-start;
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .workbench-tabs {
    padding: 8px 10px;
    gap: 6px;
    scrollbar-width: none;
  }

  .workbench-tabs::-webkit-scrollbar {
    display: none;
  }

  .wb-tab {
    font-size: 0.75rem;
    padding: 7px 11px;
  }

  .wb-pane {
    padding: 14px 12px;
    min-height: auto;
  }

  .bitset-filter-bar {
    gap: 6px;
  }

  .bitset-label {
    width: 100%;
    margin-bottom: 2px;
    font-size: 0.72rem;
  }

  .bitset-chip {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .wb-table th,
  .wb-table td {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  /* CWV Tab Mobile */
  .cwv-gauges-card,
  .cwv-vitals-bars {
    padding: 14px;
  }

  .cwv-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .cwv-rings-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .cwv-ring {
    width: 64px;
    height: 64px;
    font-size: 1.1rem;
  }

  .vital-meta {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.76rem;
  }

  /* Force Graph Tab Mobile */
  .graph-overlay-controls {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
    gap: 8px;
    font-size: 0.72rem;
  }

  .graph-legend {
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 0.68rem;
  }

  #wbForceGraph {
    height: 230px;
  }

  /* SERP Tab Mobile */
  .serp-field-top {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.74rem;
  }

  .google-serp-box {
    padding: 14px;
    overflow-wrap: anywhere;
  }

  .g-title {
    font-size: 1.02rem;
  }

  .g-desc {
    font-size: 0.82rem;
  }

  /* Proxy & Security Tab Mobile */
  .proxy-pool-card,
  .security-audit-card {
    padding: 14px;
  }

  .proxy-node-row,
  .sec-item {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .sec-item code,
  .proxy-node-row .mono-num {
    word-break: break-all;
    overflow-wrap: anywhere;
    font-size: 0.7rem;
  }

  /* Sections & Bento Grid Mobile */
  .features-section,
  .comparison-section,
  .download-section,
  .opensource-section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(1.65rem, 6.5vw, 2.3rem);
  }

  .section-desc {
    font-size: 0.94rem;
  }

  .bento-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .bento-3d-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 14px;
  }

  .bento-meta h3 {
    font-size: 1.15rem;
  }

  .bento-meta p {
    font-size: 0.88rem;
  }

  /* Comparison Table Mobile */
  .comparison-table-card {
    padding: 4px;
    border-radius: 18px;
  }

  .comp-table {
    font-size: 0.78rem;
  }

  .comp-table th,
  .comp-table td {
    padding: 11px 10px;
    word-break: break-word;
  }

  .comp-table th {
    font-size: 0.84rem;
  }

  /* Download Section & CLI Box Mobile */
  .cta-spotlight-box {
    padding: 26px 16px;
    border-radius: 22px;
  }

  .cta-header {
    margin-bottom: 26px;
  }

  .dl-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .dl-card-top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .dl-card h3 {
    font-size: 0.96rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .dl-card-desc {
    font-size: 0.85rem;
  }

  .dl-specs {
    gap: 8px 12px;
    font-size: 0.72rem;
  }

  .cli-quickstart-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 10px;
  }

  .cli-left {
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 0.78rem;
  }

  .cli-code-box {
    width: 100%;
    max-width: 100%;
    padding: 6px 8px 6px 10px;
    gap: 8px;
  }

  .cli-code-box code {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
    display: block;
    font-size: 0.71rem;
    scrollbar-width: none;
  }

  .cli-code-box code::-webkit-scrollbar {
    display: none;
  }

  .cli-copy-btn {
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  /* Open Source & Author Card Mobile */
  .author-showcase {
    padding: 24px 16px;
    border-radius: 22px;
    gap: 20px;
  }

  .author-links-row {
    flex-direction: column;
    gap: 8px;
  }

  .author-pill {
    width: 100%;
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  .dev-signature-card {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .dev-avatar {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 14px;
    flex-shrink: 0;
  }

  .dev-details {
    min-width: 0;
    flex: 1;
  }

  .dev-details h3 {
    font-size: 1.1rem;
  }

  .mit-seal {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  /* Footer Mobile */
  .monumental-footer {
    padding: 48px 0 28px;
  }

  .footer-telemetry {
    border-radius: 12px;
    font-size: 0.69rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .footer-monument-wordmark {
    font-size: clamp(2.8rem, 15vw, 6rem);
    margin: 12px 0 18px;
  }
}

@media (max-width: 520px) {
  .nav-github-pill span:not(.mit-mini-tag),
  .nav-github-pill .mit-mini-tag {
    display: none;
  }

  .nav-github-pill {
    padding: 7px;
    width: 32px;
    height: 32px;
    justify-content: center;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 0.69rem;
  }

  .nav-cta-btn {
    padding: 6px 12px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .brand-orb {
    width: 30px;
    height: 30px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}
