.sfoor-site-header,
.sfoor-site-header * {
  box-sizing: border-box;
}

/* Owner baseline 2026-09-08: one navigation type system on every site page. */
html body .sfoor-site-header :is(.page-nav,.account-browse,.sfoor-service-browse,.nav-links,.top-nav)>a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

@media (max-width: 600px) {
  html body .sfoor-site-header :is(.page-nav,.account-browse,.sfoor-service-browse,.nav-links,.top-nav)>a {
    font-size: 13px !important;
  }
}

.sfoor-site-header {
  position: sticky !important;
  z-index: 1000;
  top: 0;
  display: flex !important;
  align-items: center !important;
  width: min(1180px, calc(100% - 40px));
  height: 68px !important;
  min-height: 68px !important;
  margin-right: auto;
  margin-left: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11) !important;
  background: rgba(3, 5, 7, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
}

.sfoor-site-header-created {
  position: relative !important;
  right: 0;
  left: 0;
  justify-content: space-between;
}

.sfoor-service-browse {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: 18px;
}

.sfoor-service-browse a {
  color: #fff;
  font: 700 16px/1.2 Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.sfoor-service-browse a:hover {
  color: #9fdfff;
}

body.sfoor-has-created-header {
  padding-top: 72px !important;
}

.sfoor-company-brand {
  position: relative;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #f5f7f3 !important;
  font-family: Syncopate, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}

.sfoor-company-brand::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.sfoor-company-brand:hover {
  color: #fff !important;
}

.sfoor-company-brand:focus-visible {
  border-radius: 8px;
  outline: 2px solid #7567ff;
  outline-offset: 4px;
}

.sfoor-company-logo-wrap {
  position: relative;
  display: block;
  flex: 0 0 67px;
  width: 67px;
  height: 32px;
  overflow: visible;
}

.sfoor-company-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 67px !important;
  height: 32px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  box-shadow: none;
  transform: none !important;
}

.sfoor-company-flask {
  position: relative;
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 34px;
  margin-left: -2px;
  color: #fff;
  transform-origin: 50% 10%;
  animation: sfoor-flask-rock 6.6s ease-in-out infinite;
}

.sfoor-company-flask svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sfoor-flask-outline {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

/* Canonical white flask, independent of hardware/product accent styles. */
html body:has(.sfoor-site-header){background-color:#070a0f!important}
html body .sfoor-site-header .sfoor-company-flask{color:#fff!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important}
html body .sfoor-site-header .sfoor-company-flask svg{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body .sfoor-site-header .sfoor-flask-outline{fill:none!important;stroke:#fff!important;stroke-width:6!important}
html body .sfoor-site-header .sfoor-flask-liquid{fill:rgba(255,255,255,.52)!important}

.sfoor-flask-liquid {
  fill: rgba(255, 255, 255, 0.52);
  transform-origin: center;
  animation: sfoor-liquid-wave 3.2s ease-in-out infinite alternate;
}

.sfoor-logo-bubble {
  position: absolute;
  z-index: 3;
  left: 38%;
  bottom: 29px;
  display: block;
  width: 4px;
  height: 4px;
  border: 1px solid #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: sfoor-logo-bubble-rise 2.8s ease-in infinite;
}

.sfoor-logo-bubble.two {
  left: 50%;
  width: 3px;
  height: 3px;
  animation-delay: 0.9s;
  animation-duration: 2.35s;
}

.sfoor-logo-bubble.three {
  left: 25%;
  width: 5px;
  height: 5px;
  animation-delay: 1.65s;
  animation-duration: 3.1s;
}

@keyframes sfoor-liquid-wave {
  from { transform: translate3d(-1.5px, 1px, 0) rotate(-1.2deg); }
  to { transform: translate3d(1.5px, -1.5px, 0) rotate(1.2deg); }
}

@keyframes sfoor-flask-rock {
  0%, 100% { transform: rotate(-5.2deg); }
  50% { transform: rotate(5.2deg); }
}

@keyframes sfoor-logo-bubble-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.55); }
  16% { opacity: 0.95; }
  76% { opacity: 0.85; transform: translate3d(-1px, -19px, 0) scale(1); }
  88% { opacity: 0.65; transform: translate3d(-2px, -23px, 0) scale(1.25); }
  100% { opacity: 0; transform: translate3d(-3px, -25px, 0) scale(1.8); }
}

.sfoor-company-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sfoor-company-wordmark {
  display: block;
  width: clamp(126px, 11vw, 174px);
  max-width: 28vw;
  height: auto;
  object-fit: contain;
  position: relative;
  top: 4px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}

@media (max-width: 560px) {
  body.sfoor-has-created-header {
    padding-top: 64px !important;
  }
  .sfoor-site-header {
    width: min(100% - 28px, 1180px);
  }

  .sfoor-company-brand {
    gap: 8px;
  }

  .sfoor-company-wordmark {
    width: 104px;
    max-width: 31vw;
    top: 2px;
  }

  .sfoor-company-logo {
    width: 52px !important;
    height: 26px !important;
  }

  .sfoor-company-logo-wrap {
    flex-basis: 52px;
    width: 52px;
    height: 26px;
  }

  .sfoor-company-flask {
    flex-basis: 22px;
    width: 22px;
    height: 29px;
  }
}

@media (max-width: 640px) {
  .sfoor-site-header-created {
    height: 104px !important;
    min-height: 104px !important;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sfoor-site-header-created .sfoor-service-browse {
    order: 6;
    width: 100%;
    justify-content: center;
    gap: 24px;
    margin: 0;
  }

  .sfoor-service-browse a {
    font-size: 13px;
  }

  body.sfoor-has-created-header {
    padding-top: 108px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sfoor-logo-bubble {
    display: none;
  }

  .sfoor-company-flask,
  .sfoor-flask-liquid {
    animation: none;
  }
}

/* Shared header presentation. Mirrors the current Plugins page brand system. */
.sfoor-site-header {
  isolation: isolate;
  width: min(1380px, calc(100% - 28px));
  height: 72px !important;
  min-height: 72px !important;
  padding: 0 18px;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.sfoor-site-header::before,
.sfoor-site-header::after {
  content: none !important;
}

.sfoor-company-brand {
  gap: 4px;
  transform: none !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

.sfoor-company-name {
  transform: translateY(1px);
}

.sfoor-company-logo-wrap,
.sfoor-company-logo {
  width: 78px !important;
  height: 32px !important;
}

.sfoor-company-logo-wrap {
  flex-basis: 78px;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  clip-path: none !important;
}

.sfoor-company-logo {
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  clip-path: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.sfoor-company-flask {
  flex-basis: 31px;
  width: 31px;
  height: 41px;
}

.sfoor-site-header .nav-links,
.sfoor-site-header .top-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  margin-left: auto;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.005em;
  gap: 27px;
}

.sfoor-site-header .nav-links::before,
.sfoor-site-header .top-nav::before {
  content: "" !important;
  position: absolute;
  top: -9px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.sfoor-floating-home {
  position: fixed;
  z-index: 990;
  left: clamp(14px, 2vw, 28px);
  bottom: max(16px, env(safe-area-inset-bottom));
  display: block;
  width: clamp(48px, 4.5vw, 66px);
  height: clamp(24px, 2.3vw, 33px);
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: none !important;
  box-shadow: none !important;
  opacity: 0.72;
  transition: opacity 0.22s ease, transform 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.sfoor-floating-home img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.92));
}

.sfoor-floating-home:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.04);
}

.sfoor-floating-home:focus-visible {
  border-radius: 4px !important;
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 5px;
}

@media (max-width: 560px) {
  .sfoor-floating-home {
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 50px;
    height: 25px;
  }
}

@media (max-width: 560px) {
  .sfoor-site-header {
    width: min(100% - 18px, 1380px);
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 9px;
  }

  .sfoor-company-brand {
    gap: 3px;
    font-size: 11px !important;
    letter-spacing: 0.055em !important;
  }

  .sfoor-company-logo-wrap,
  .sfoor-company-logo {
    width: 60px !important;
    height: 26px !important;
  }

  .sfoor-company-logo-wrap {
    flex-basis: 60px;
  }

  .sfoor-company-flask {
    flex-basis: 23px;
    width: 23px;
    height: 30px;
  }

  .sfoor-site-header .nav-links,
  .sfoor-site-header .top-nav {
    gap: 11px;
    font-size: 9px;
  }

  .sfoor-site-header .nav-links a,
  .sfoor-site-header .top-nav a {
    display: inline-flex !important;
  }

}

@media (max-width: 360px) {
  .sfoor-company-name {
    display: none;
  }
}

/* Canonical brand sizing. This final high-specificity layer prevents
   legacy per-page header rules from shrinking the SL mark. */
html body .sfoor-site-header .sfoor-company-brand {
  gap: 4px !important;
}

html body .sfoor-site-header .sfoor-company-logo-wrap {
  flex: 0 0 70px !important;
  width: 70px !important;
  height: 32px !important;
}

html body .sfoor-site-header .sfoor-company-logo {
  width: 70px !important;
  height: 32px !important;
  max-width: none !important;
  object-fit: contain !important;
  transform: none !important;
}

html body .sfoor-site-header .sfoor-company-flask {
  top: 2px !important;
}

/* One scroll behavior on all company pages: the entire header leaves with the
   document. No sticky bar, scroll-triggered fade, extra plate or layout jump. */
html body .sfoor-site-header[data-sfoor-site-header] {
  position: relative !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
  will-change: auto !important;
  pointer-events: auto !important;
}

html body .sfoor-site-header[data-sfoor-header-layout="overlay"] {
  position: absolute !important;
  left: 50% !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 640px) {
  html body .sfoor-site-header .sfoor-company-brand {
    gap: 3px !important;
  }

  html body .sfoor-site-header .sfoor-company-logo-wrap {
    flex-basis: 54px !important;
    width: 54px !important;
    height: 26px !important;
  }

  html body .sfoor-site-header .sfoor-company-logo {
    width: 54px !important;
    height: 26px !important;
  }
}

/* Shared browsing links, including News, remain accessible on narrow screens. */
html body .sfoor-site-header .sfoor-browse-unified{display:flex!important;align-items:center!important;gap:18px!important;flex-wrap:nowrap;min-width:0}
html body .sfoor-site-header .sfoor-browse-unified a{display:inline-flex!important;align-items:center;min-height:44px;font:700 14px/1.2 Inter,Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none!important;white-space:nowrap;text-decoration:none}
@media(max-width:1100px){html body .sfoor-site-header{flex-wrap:wrap!important;height:auto!important;min-height:72px!important}html body .sfoor-site-header .sfoor-browse-unified{order:10;flex:1 0 100%!important;width:100%;overflow-x:auto;justify-content:flex-start!important;padding:0 0 5px!important;gap:18px!important}html body .sfoor-site-header .sfoor-browse-unified a{font-size:13px!important;flex-shrink:0}}
html body .sfoor-site-header .sfoor-browse-unified a{order:4}
html body .sfoor-site-header .sfoor-browse-unified a[href="/marketplace/"]{order:0}
html body .sfoor-site-header .sfoor-browse-unified a[href="/plugins/"]{order:1}
html body .sfoor-site-header .sfoor-browse-unified a[href="/news/"]{order:2}
@media(max-width:800px){html body .hero[data-hero-sequence] .hero-copy{top:178px!important}}
html body .sfoor-site-header[data-sfoor-site-header] nav.sfoor-browse-unified>a{display:inline-flex!important;visibility:visible!important;opacity:1!important}
