/* BeastBrowser industrial clarity layer
   Direction: blunt · workshop-precise · operator desk
   Product: desktop anti-detect browser — one isolated profile per account
   Moments: profile list + LIVE rack dots
   Signature: ● Live status on profile rows
   Unslop credit: Damir Sokolovsky / CC BY 4.0
*/

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root,
html,
body.nb-site,
body.nb-inner,
.bb-demo,
.bb-demo[data-vibe],
.bb-demo[data-vibe="cream"],
.bb-demo[data-vibe="midnight"],
.bb-demo[data-vibe="acid"],
.bb-demo[data-vibe="blush"],
.bb-demo[data-vibe="industrial"] {
  /* Blue + white system
     white = surfaces · soft blue = wash · cobalt = action only */
  --bb-blue: #2b58f9;
  --bb-blue-deep: #1e40d6;
  --bb-blue-ink: #1536b8;
  --bb-blue-soft: #eef3ff;
  --bb-blue-mid: #dbe6ff;
  --bb-blue-line: rgba(43, 88, 249, 0.22);
  --bg: #ffffff !important;
  --bg2: #f5f8ff !important;
  --card: #ffffff !important;
  --ink: #0f172a !important;
  --mut: #475569 !important;
  --line: rgba(43, 88, 249, 0.14) !important;
  --red: #2b58f9 !important;
  --red-dark: #1e40d6 !important;
  --accent: #2b58f9 !important;
  --paper: #ffffff !important;
  --cream: #f5f8ff !important;
  --font-display: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: light;
}

body,
body.nb-site,
body.nb-inner,
.bb-demo {
  background: #ffffff !important;
  color: #0f172a !important;
  font-family: var(--font-ui) !important;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased;
}

.saas-sky-blob,
.blob,
.bb-diwali-glow,
[class*="glow"]:not(.rk-live),
.scene.hero::before,
.scene.hero::after,
body.nb-inner::before,
body.bb-premium-site main::before,
.bb-demo .hey-bubble,
.bb-demo .float-stage .blob,
.plat-marquee,
.vibe,
.vibe-row,
.theme-switch,
[aria-label="Page theme"],
[aria-label="Page theme — pick a vibe"],
[aria-label="Login screen theme switcher"] {
  display: none !important;
  opacity: 0 !important;
}

.mono,
.viz-cap .mono,
.bb-demo .g-cap b,
.bb-demo .rk-fp,
.bb-demo .fc-count {
  font-family: var(--font-mono) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
}

/* ——— Nav ——— */
.bb-demo .nav,
header.nav,
body.nb-site header,
body.nb-site .nb-nav,
body.bb-premium-site header {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--bb-blue-line) !important;
  backdrop-filter: blur(10px);
  box-shadow: none !important;
}
.bb-demo .nav a,
.bb-demo .nav nav a {
  font-family: var(--font-ui) !important;
  color: #0f172a !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}
.bb-demo .nav nav a:hover {
  color: #2b58f9 !important;
}
.bb-demo .brand .wm,
.bb-demo .brand .wm em {
  font-family: var(--font-ui) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
}
.bb-demo .brand .wm em {
  color: #2b58f9 !important;
}
.bb-demo .brand .tag {
  display: inline !important;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #2b58f9 !important;
  background: #eef3ff !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

/* ——— Hero split (clarity) ——— */
.bb-demo .scene.hero {
  text-align: left !important;
  padding: 64px 24px 56px !important;
  max-width: none !important;
  margin: 0 !important;
  background:
    linear-gradient(180deg, #eef3ff 0%, #ffffff 42%, #ffffff 100%) !important;
  border-bottom: 1px solid var(--bb-blue-line) !important;
}
.bb-demo .scene.hero > .hero-split,
.bb-demo .scene.hero > .demo-panel {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.bb-demo .hero-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: 40px 48px !important;
  align-items: start !important;
  text-align: left !important;
}
@media (max-width: 960px) {
  .bb-demo .hero-split {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

.bb-demo .h-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
  padding: 6px 10px !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: #1536b8 !important;
  background: #eef3ff !important;
  border: 1px solid var(--bb-blue-line) !important;
  border-radius: 999px !important;
}
.bb-demo .h-eyebrow .sq {
  width: 8px !important;
  height: 8px !important;
  background: #2b58f9 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  flex-shrink: 0;
}

.bb-demo .h-big,
.bb-demo .h-big .ln,
.bb-demo .h-big .out {
  font-family: var(--font-display) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  line-height: 1.12 !important;
  text-align: left !important;
}
.bb-demo .h-big {
  max-width: none !important;
  margin: 0 0 20px !important;
  font-size: clamp(32px, 4.6vw, 48px) !important;
}
.bb-demo .h-big .ln {
  display: block !important;
}
.bb-demo .h-big .out {
  color: #2b58f9 !important;
  font-weight: 600 !important;
}
.bb-demo .h-big .h-lion,
.bb-demo .h-big .h-lion img {
  display: none !important;
}

.bb-demo .h-sub {
  font-family: var(--font-ui) !important;
  color: #475569 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  max-width: 42rem !important;
  margin: 0 0 24px !important;
  text-align: left !important;
}
.bb-demo .h-sub b {
  color: #0f172a !important;
  font-weight: 600 !important;
}

.bb-demo .h-cta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  margin: 0 0 12px !important;
}
.bb-demo .h-note {
  font-family: var(--font-ui) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #525252 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin: 0 0 8px !important;
  text-align: left !important;
}
.bb-demo .h-tp {
  display: inline-flex !important;
  font-family: var(--font-ui) !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #171717 !important;
}

/* Hero product viz */
.bb-demo .hero-viz {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.bb-demo .viz-cap {
  margin: 0 !important;
  color: #1536b8 !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.bb-demo .viz-cap .mono {
  color: #2b58f9 !important;
  background: #eef3ff !important;
  border: 1px solid var(--bb-blue-line) !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
}
.bb-demo .hero-viz {
  padding: 12px !important;
  border-radius: 16px !important;
  background: linear-gradient(160deg, #eef3ff 0%, #ffffff 55%) !important;
  border: 1px solid var(--bb-blue-line) !important;
}
.bb-demo .hero-fcard,
.bb-demo .hero-viz .fcard,
.bb-demo .hero-viz .fcard.hero-fcard {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  animation: none !important;
  --rot: 0deg !important;
  box-shadow: 0 10px 28px rgba(43, 88, 249, 0.12) !important;
  border: 1px solid var(--bb-blue-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.bb-demo .hero-viz .fcard .fc-head {
  padding: 14px 16px 0 !important;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%) !important;
}
.bb-demo .hero-viz .fcard .fc-search,
.bb-demo .hero-viz .fcard .fc-row {
  margin-left: 16px !important;
  margin-right: 16px !important;
}
.bb-demo .hero-viz .fcard .fc-search {
  border-radius: 8px !important;
  border-color: var(--bb-blue-line) !important;
  background: #f5f8ff !important;
}
.bb-demo .hero-viz .fcard .fc-row {
  border-bottom-color: rgba(43, 88, 249, 0.1) !important;
}
.bb-demo .hero-viz .fcard .fc-row:last-child {
  margin-bottom: 12px !important;
}
.bb-demo .hero-viz .fcard .fc-count {
  border-radius: 4px !important;
  background: #eef3ff !important;
  color: #2b58f9 !important;
  letter-spacing: 0.04em !important;
  border: 1px solid var(--bb-blue-line) !important;
}
.bb-demo .hero-viz .fcard .fc-launch {
  border-radius: 6px !important;
  animation: none !important;
  background: #2b58f9 !important;
  color: #fff !important;
}
.bb-demo .hero-viz .fcard .fc-row.hot {
  background: #f5f8ff !important;
  border-radius: 8px !important;
  margin-bottom: 4px !important;
}
.bb-demo .hero-viz .fcard .fc-row .nm {
  font-weight: 600 !important;
  color: #0f172a !important;
}
.bb-demo .hero-viz .fcard .dotok {
  background: #2b58f9 !important;
}
.bb-demo .hero-viz .fcard .rdy {
  color: #2b58f9 !important;
}
.bb-demo .hero-viz .rack {
  margin: 0 !important;
  box-shadow: none !important;
  border: 1px solid var(--bb-blue-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: hidden;
}
.bb-demo .hero-viz .rack-row {
  border-color: rgba(43, 88, 249, 0.1) !important;
}
.bb-demo .rack-row.focus {
  border-color: #2b58f9 !important;
  background: #eef3ff !important;
}
.bb-demo .rk-live {
  color: #2b58f9 !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}
.bb-demo .viz-foot {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  color: #475569 !important;
}
.bb-demo .viz-foot b {
  color: #2b58f9 !important;
  font-weight: 600 !important;
}

/* Click-to-play demos */
.bb-demo .demo-play-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding: 10px 16px !important;
  min-height: 40px !important;
  border-radius: 8px !important;
  border: 1.5px solid #2b58f9 !important;
  background: #ffffff !important;
  color: #2b58f9 !important;
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.bb-demo .hero-copy .demo-play-btn {
  margin-top: 0 !important;
}
.bb-demo .demo-play-btn:hover {
  background: #eef3ff !important;
}
.bb-demo .demo-play-btn[aria-pressed="true"],
.bb-demo .demo-play-btn[aria-expanded="true"] {
  background: #2b58f9 !important;
  border-color: #2b58f9 !important;
  color: #fff !important;
}
.bb-demo .demo-panel {
  margin-top: 28px !important;
  padding: 16px !important;
  border: 1px solid var(--bb-blue-line) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 40%) !important;
}
.bb-demo .demo-panel[hidden] {
  display: none !important;
}
.bb-demo .demo-panel-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}
.bb-demo .demo-panel-title {
  margin: 0 !important;
  font-size: 13px !important;
  color: #525252 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.bb-demo .demo-close-btn {
  border: 1px solid var(--bb-blue-line) !important;
  background: #ffffff !important;
  color: #2b58f9 !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: var(--font-ui) !important;
}
.bb-demo .demo-gal {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr !important;
  gap: 16px !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  .bb-demo .demo-gal {
    grid-template-columns: 1fr !important;
  }
}
.bb-demo .demo-gal .g-app,
.bb-demo .demo-gal .g-rackw {
  grid-column: auto !important;
}
.bb-demo .demo-gal .float-stage {
  position: relative !important;
  min-height: 360px !important;
  border: 1px solid var(--bb-blue-line) !important;
  border-radius: 12px !important;
  background: linear-gradient(160deg, #eef3ff, #ffffff) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.bb-demo .demo-gal .float-stage .fcard {
  position: absolute !important;
  left: 5% !important;
  top: 48px !important;
  width: min(320px, 72%) !important;
  animation: bbd-floaty 6.5s ease-in-out infinite !important;
}
.bb-demo .demo-gal .float-stage .gwin {
  position: absolute !important;
}

/* Buttons — solid blue / white outline */
.bb-demo .btn-red,
.bb-demo a.btn-red,
.bb-demo .btn.btn-red,
body.nb-inner .bb-cta-solid,
body.nb-inner a.bb-cta-solid,
.bb-demo .nav .btn-red,
body.nb-site a.btn-primary,
body.bb-premium-site a[href*="download"].btn {
  background: #2b58f9 !important;
  color: #fff !important;
  border: 1px solid #2b58f9 !important;
  box-shadow: 0 8px 20px rgba(43, 88, 249, 0.22) !important;
  border-radius: 8px !important;
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 12px 20px !important;
  min-height: 44px !important;
}
/* Footer text links must never inherit CTA chrome */
body.nb-site footer.bb-foot .bb-foot-col a,
body.nb-site footer.bb-foot .bb-foot-tools-grid a,
body.nb-site footer.bb-foot .bb-foot-copy a,
body.nb-site footer.bb-foot .bb-foot-contact a,
footer.bb-foot .bb-foot-col a,
footer.bb-foot .bb-foot-tools-grid a,
footer.bb-foot .bb-foot-copy a,
footer.bb-foot .bb-foot-contact a {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}
.bb-demo .btn-red:hover,
body.nb-inner .bb-cta-solid:hover,
.bb-demo .nav .btn-red:hover {
  background: #1e40d6 !important;
  border-color: #1e40d6 !important;
}
.bb-demo .btn-ghost,
body.nb-inner .bb-cta-outline {
  background: #ffffff !important;
  color: #2b58f9 !important;
  border: 1.5px solid #2b58f9 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
}
.bb-demo .btn-ghost:hover {
  background: #eef3ff !important;
}

/* Sections — alternate white / soft blue */
.bb-demo .scene {
  background: #ffffff !important;
}
.bb-demo .scene:nth-of-type(even) {
  background: #f5f8ff !important;
}
.bb-demo .scene-no {
  color: rgba(43, 88, 249, 0.12) !important;
}
.bb-demo h2,
.bb-demo .kicker + h2,
body.nb-inner h1,
body.nb-inner h2 {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
  text-transform: none !important;
}
.bb-demo h2 .r,
.bb-demo h2 .y,
.bb-demo .r,
.bb-demo .y {
  color: #2b58f9 !important;
  font-style: normal !important;
}
.bb-demo .kicker,
.bb-demo .saas-kicker,
body.nb-inner .saas-kicker,
.bb-demo .g-cap b {
  font-family: var(--font-mono) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #2b58f9 !important;
  font-weight: 500 !important;
  font-size: 11px !important;
}
.bb-demo .kicker {
  display: inline-block !important;
  padding: 4px 8px !important;
  background: #eef3ff !important;
  border: 1px solid var(--bb-blue-line) !important;
  border-radius: 4px !important;
}
.bb-demo .lede,
.bb-demo .nb-lead,
body.nb-inner .nb-page-lead,
body.nb-inner p {
  font-family: var(--font-ui) !important;
  color: #475569 !important;
}

.bb-demo figure,
.bb-demo .fcard,
.bb-demo .gwin,
.bb-demo .rack,
.bb-demo .lg-stage,
.bb-demo .app-stage,
body.nb-inner .bb-pricing-card {
  box-shadow: 0 10px 28px rgba(43, 88, 249, 0.08) !important;
  border-color: var(--bb-blue-line) !important;
  border-radius: 12px !important;
}

.bb-demo .lg-stage,
.bb-demo .lg-stage[data-theme],
.bb-demo .lg-stage[data-theme="cream"],
.bb-demo .lg-stage[data-theme="midnight"],
.bb-demo .lg-stage[data-theme="acid"],
.bb-demo .lg-stage[data-theme="blush"] {
  --lgs-bg: #eef3ff !important;
  --lgs-win: #ffffff !important;
  --lgs-chrome: #f5f8ff !important;
  --lgs-line: #dbe6ff !important;
  --lgs-side: #1536b8 !important;
  --lgs-side-ink: #ffffff !important;
  --lgs-side-mut: #c7d4ff !important;
  --lgs-accent: #2b58f9 !important;
  --lgs-accent-ink: #ffffff !important;
  --lgs-ink: #0f172a !important;
  --lgs-mut: #475569 !important;
  --lgs-field: #f5f8ff !important;
  --lgs-lionring: transparent !important;
}

body.nb-inner .nb-page-kicker {
  display: inline-block !important;
  border: 1px solid var(--bb-blue-line) !important;
  background: #eef3ff !important;
  color: #2b58f9 !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
body.nb-inner h1 .nb-h1-red,
body.nb-inner .nb-h1-red,
body.nb-inner .text-violet-500,
body.nb-inner .text-blue-600 {
  color: #2b58f9 !important;
}
body.nb-inner .bb-pricing-card.popular {
  border: 1.5px solid #2b58f9 !important;
  box-shadow: 0 12px 32px rgba(43, 88, 249, 0.14) !important;
}
body.nb-inner .bb-pricing-card.popular [class*="from-violet"],
body.nb-inner .bb-pricing-card.popular .absolute.bg-gradient-to-r,
body.nb-inner .bb-pricing-card .absolute.-top-3 {
  background: #2b58f9 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* App stage chrome in blue/white */
.bb-demo .app-chrome {
  background: #1536b8 !important;
  color: #fff !important;
  border-color: #1536b8 !important;
}
.bb-demo .app-side {
  background: #f5f8ff !important;
  border-color: var(--bb-blue-line) !important;
}
.bb-demo .as-item.on,
.bb-demo .tbtn,
.bb-demo .fc-launch,
.bb-demo .at-prem {
  background: #2b58f9 !important;
  color: #fff !important;
  border-color: #2b58f9 !important;
}
.bb-demo .tstat.run,
.bb-demo .dotok {
  color: #2b58f9 !important;
}

.curtain .tg {
  font-family: var(--font-mono) !important;
  letter-spacing: 0.06em !important;
  color: #c7d4ff !important;
}
.curtain .wm {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
}
.curtain .wm em {
  color: #93b0ff !important;
  font-style: normal !important;
}
.curtain .half {
  background: #1536b8 !important;
}

.animate-pulse:not(.rk-live),
.animate-ping {
  animation: none !important;
}

.bb-demo .scroll-hint {
  margin-top: 32px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  color: #2b58f9 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}
.bb-demo .h-note b {
  color: #2b58f9 !important;
}

/* Old hero leftovers only — demos keep .gal */
.bb-demo .h-top,
.bb-demo .h-row,
.bb-demo .scene.hero > .img-frame {
  display: none !important;
}

@media (max-width: 768px) {
  .bb-demo .scene.hero {
    padding-top: 40px !important;
  }
  .bb-demo .h-big {
    font-size: 30px !important;
  }
}

/* LOCAL REDESIGN PASS — blue CTAs + quiet chrome */
.bb-demo .btn-red,
.bb-demo a.btn-red,
.btn.btn-red {
  background: var(--bb-blue) !important;
  border-color: var(--bb-blue) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(43, 88, 249, 0.22) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.bb-demo .btn-red:hover {
  background: var(--bb-blue-deep) !important;
}
.bb-demo .h-big .out,
.bb-demo .r,
.bb-demo span.r {
  color: var(--bb-blue) !important;
}
.bb-demo .fc-launch,
.bb-demo .tbtn {
  background: var(--bb-blue) !important;
  color: #fff !important;
  border-radius: 6px !important;
}
.bb-demo .curtain .tg {
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: var(--bb-blue-ink) !important;
}
.bb-demo .h-eyebrow .sq {
  background: var(--bb-blue) !important;
}
.bb-partner-home h2 {
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
}

/* ——— Navbar unslop (quiet chrome, one accent CTA) ——— */
#bb-nav-shell,
body.nb-site #bb-nav-shell {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#bb-nav-shell.is-scrolled,
body.nb-site #bb-nav-shell.is-scrolled {
  background: #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
#bb-nav-shell #main-nav > .flex {
  height: 56px !important;
  gap: 12px !important;
}
#bb-nav-spacer,
.bb-nav-spacer {
  height: 56px !important;
}

/* Brand: ink + cobalt Browser only */
#bb-nav-shell a.nb-nav-brand,
#bb-nav-shell .nb-nav-brand span {
  color: #111827 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  font-size: 16px !important;
}
#bb-nav-shell .nb-nav-brand .fire-word {
  color: #2b58f9 !important;
  font-weight: 500 !important;
}
#bb-nav-shell .nb-nav-brand img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

/* Primary nav links — quiet, no colored hover wash.
   Exclude auth CTAs: they also sit under .hidden.lg:flex and were getting flattened. */
#bb-nav-shell .hidden.lg\:flex > a:not(.bb-nav-cta):not(.bb-nav-login),
#bb-nav-shell .hidden.lg\:flex > .group\/menu > button {
  color: #4b5565 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
#bb-nav-shell .hidden.lg\:flex > a:not(.bb-nav-cta):not(.bb-nav-login):hover,
#bb-nav-shell .hidden.lg\:flex > .group\/menu > button:hover {
  color: #111827 !important;
  background: #eceff4 !important;
}

/* Mega menus */
#bb-nav-shell .fire-mega,
#bb-nav-shell .group\/menu > div > div {
  background: #fff !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06) !important;
  padding: 8px !important;
}
#bb-nav-shell .fire-mega-item {
  border-radius: 8px !important;
  padding: 10px 12px !important;
  gap: 10px !important;
}
#bb-nav-shell .fire-mega-item:hover,
#bb-nav-shell .group\/menu a:hover {
  background: #f5f7fa !important;
  color: #111827 !important;
}
#bb-nav-shell .fire-mega-ico,
#bb-nav-shell .group\/menu a span.w-9 {
  background: #eceff4 !important;
  color: #4b5565 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
#bb-nav-shell .fire-mega-title {
  color: #111827 !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}
#bb-nav-shell .fire-mega-sub {
  color: #6b7487 !important;
  font-weight: 400 !important;
  font-size: 12px !important;
}

/* Log in = quiet text link (not a second button) */
#bb-nav-shell a.bb-nav-login,
#mobile-panel a.bb-nav-login,
.nb-mobile-actions a.bb-nav-login {
  display: inline-flex !important;
  align-items: center !important;
  height: 36px !important;
  min-width: 0 !important;
  padding: 0 10px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #4b5565 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
#bb-nav-shell a.bb-nav-login:hover,
#mobile-panel a.bb-nav-login:hover,
.nb-mobile-actions a.bb-nav-login:hover {
  color: #111827 !important;
  background: #eceff4 !important;
  box-shadow: none !important;
}

/* Sign up = only accent action (higher specificity than .hidden.lg:flex > a) */
#bb-nav-shell .hidden.lg\:flex > a.bb-nav-cta,
#bb-nav-shell a.bb-nav-cta,
#mobile-panel a.bb-nav-cta,
.nb-mobile-actions a.bb-nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  min-width: 0 !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #ffffff !important;
  background: #2b58f9 !important;
  border: 1px solid #2b58f9 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  text-decoration: none !important;
}
#bb-nav-shell .hidden.lg\:flex > a.bb-nav-cta:hover,
#bb-nav-shell a.bb-nav-cta:hover,
#mobile-panel a.bb-nav-cta:hover,
.nb-mobile-actions a.bb-nav-cta:hover {
  color: #ffffff !important;
  background: #1e40d6 !important;
  border-color: #1e40d6 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

/* Language switcher — not a pill, no emoji glow */
#bb-nav-shell .bb-lang-switch__trigger {
  height: 36px !important;
  padding: 0 10px !important;
  gap: 6px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  background: #fff !important;
  color: #4b5565 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}
#bb-nav-shell .bb-lang-switch__trigger:hover,
#bb-nav-shell .bb-lang-switch__trigger[aria-expanded='true'] {
  color: #111827 !important;
  background: #f5f7fa !important;
  border-color: rgba(17, 24, 39, 0.14) !important;
  box-shadow: none !important;
}
#bb-nav-shell .bb-lang-switch__trigger .bb-lang-ico {
  width: 14px;
  height: 14px;
  color: #6b7487;
}
#bb-nav-shell .bb-lang-switch__panel {
  border-radius: 12px !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08) !important;
}

/* Mobile hamburger */
body.nb-site #mobile-menu-btn.fire-hamburger {
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111827 !important;
  box-shadow: none !important;
}
.nb-mobile-actions a.bb-nav-login,
.nb-mobile-actions a.bb-nav-cta,
#mobile-panel a.bb-nav-login,
#mobile-panel a.bb-nav-cta {
  width: 100% !important;
  height: 44px !important;
  justify-content: center !important;
  border-radius: 10px !important;
}
.nb-mobile-actions a.bb-nav-login {
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  background: #fff !important;
}
