main-header {
  display: block;
  min-height: 78px;
  position: sticky;
  top: 0;
  z-index: 1200;
}

main-header[data-ready="false"] {
  background: rgba(248, 250, 252, 0.96);
}

#find-professionals,
#how-it-works-section,
#pricing-section,
#grow-business-section {
  scroll-margin-top: 7.5rem;
}

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

.fyndii-header [hidden] {
  display: none !important;
}

.fyndii-header {
  --fyndii-navy: #101c2c;
  --fyndii-navy-soft: #162639;
  --fyndii-teal: #18bca5;
  --fyndii-teal-hover: #119b89;
  --fyndii-mint: #baf5df;
  --fyndii-text: #101c2c;
  --fyndii-muted: #607080;
  --fyndii-border: #dbe3e8;
  --fyndii-surface: #f4f8f7;
  --fyndii-radius: 8px;
  --fyndii-shadow: 0 18px 45px rgba(16, 28, 44, 0.12);
  position: relative;
  padding: 0.82rem 0;
  transition: padding 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.fyndii-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 227, 232, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: inherit;
  z-index: -1;
}

.fyndii-header.is-condensed {
  padding: 0.52rem 0;
}

.fyndii-header.is-condensed::before,
.fyndii-header[data-menu-open="true"]::before {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--fyndii-border);
  box-shadow: 0 10px 28px rgba(16, 28, 44, 0.08);
}

.fyndii-header-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.fyndii-header-brand {
  display: inline-flex;
  align-items: center;
  color: var(--fyndii-text);
  text-decoration: none;
  min-width: 0;
}

.fyndii-header-brand-mark {
  width: 118px;
  height: 46px;
  object-fit: cover;
}

.fyndii-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.55rem;
  min-width: 0;
}

.fyndii-header-nav a,
.fyndii-header-mobile-nav a,
.fyndii-header-mobile-group a,
.fyndii-header-popover a,
.fyndii-header-ghost-button,
.fyndii-header-primary-button,
.fyndii-header-mobile-close {
  font-family: "Manrope", "Inter", sans-serif;
}

.fyndii-header-nav a {
  color: var(--fyndii-text);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 0.78rem 0;
  border-bottom: 2px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.fyndii-header-nav a:hover,
.fyndii-header-nav a:focus-visible,
.fyndii-header-nav a[aria-current="page"] {
  background: transparent;
  color: var(--fyndii-navy);
  outline: none;
}

.fyndii-header-nav a:hover,
.fyndii-header-nav a:focus-visible {
  border-bottom-color: rgba(24, 188, 165, 0.42);
}

.fyndii-header-nav a[aria-current="page"] {
  border-bottom-color: var(--fyndii-teal);
}

.fyndii-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.fyndii-header-popover-group {
  position: relative;
}

.fyndii-header-ghost-button,
.fyndii-header-primary-button,
.fyndii-header-mobile-close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1;
  min-height: 46px;
  position: relative;
  white-space: nowrap;
  z-index: 1;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fyndii-header-ghost-button {
  background: transparent;
  color: var(--fyndii-text);
  padding: 0.7rem 1rem;
}

.fyndii-header-ghost-button:hover,
.fyndii-header-ghost-button:focus-visible {
  background: rgba(15, 23, 42, 0.05);
  outline: none;
}

.fyndii-header-primary-button {
  background: var(--fyndii-mint);
  color: var(--fyndii-navy);
  padding: 0.7rem 1.15rem;
  box-shadow: none;
}

.fyndii-header-primary-button:hover,
.fyndii-header-primary-button:focus-visible {
  background: #9bead1;
  box-shadow: 0 10px 24px rgba(24, 188, 165, 0.18);
  outline: none;
}

.fyndii-header-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--fyndii-border);
  border-radius: var(--fyndii-radius);
  background: #fff;
  box-shadow: var(--fyndii-shadow);
}

.fyndii-header-popover-label {
  margin: 0 0 0.25rem;
  color: var(--fyndii-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fyndii-header-popover a {
  display: grid;
  gap: 0.24rem;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  color: var(--fyndii-text);
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--fyndii-surface);
  transition: border-color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.fyndii-header-popover a:hover,
.fyndii-header-popover a:focus-visible {
  border-color: rgba(20, 184, 166, 0.3);
  background: #fff;
  transform: translateY(-1px);
  outline: none;
}

.fyndii-header-popover a span {
  color: var(--fyndii-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.fyndii-header-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--fyndii-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.fyndii-header-menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--fyndii-navy);
}

.fyndii-header-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1198;
}

.fyndii-header-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  color: var(--fyndii-navy);
  border-left: 1px solid var(--fyndii-border);
  border-radius: 0;
  box-shadow: -24px 0 60px rgba(16, 28, 44, 0.18);
  z-index: 1199;
  overflow: auto;
}

.fyndii-header-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fyndii-header-mobile-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.fyndii-header-mobile-close {
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--fyndii-surface);
  color: var(--fyndii-navy);
  font-size: 1.8rem;
}

.fyndii-header-mobile-nav,
.fyndii-header-mobile-group {
  display: grid;
  gap: 0.55rem;
}

.fyndii-header-mobile-nav a,
.fyndii-header-mobile-group a {
  color: var(--fyndii-navy);
  text-decoration: none;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  background: var(--fyndii-surface);
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
}

.fyndii-header-mobile-nav a:hover,
.fyndii-header-mobile-nav a:focus-visible,
.fyndii-header-mobile-group a:hover,
.fyndii-header-mobile-group a:focus-visible,
.fyndii-header-mobile-nav a[aria-current="page"] {
  background: rgba(186, 245, 223, 0.46);
  border-color: rgba(24, 188, 165, 0.34);
  outline: none;
}

.fyndii-header-mobile-groups {
  display: grid;
  gap: 1rem;
}

.fyndii-header-mobile-group {
  padding: 1rem;
  border-radius: 8px;
  background: #f4f8f7;
  border: 1px solid var(--fyndii-border);
}

.fyndii-header-mobile-group h2 {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fyndii-muted);
}

.fyndii-mobile-nav-open {
  overflow: hidden;
}

.fyndii-header [aria-current="page"] {
  color: var(--fyndii-navy);
}

.fyndii-header a:focus-visible,
.fyndii-header button:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.32);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .fyndii-header-shell {
    grid-template-columns: auto 1fr auto;
  }

  .fyndii-header-nav,
  .fyndii-header-actions {
    display: none;
  }

  .fyndii-header-menu-button {
    display: inline-flex;
    grid-column: 3;
  }
}

@media (max-width: 720px) {
  main-header {
    min-height: 82px;
  }

  .fyndii-header-shell {
    width: min(1240px, calc(100% - 20px));
  }

  .fyndii-header-brand-mark {
    width: 106px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fyndii-header,
  .fyndii-header::before,
  .fyndii-header a,
  .fyndii-header button,
  .fyndii-header-popover {
    transition: none;
  }
}