/* Static copy of the shared SiteHeader + MarketingFooter styles from the
   Next.js app (apps/web/src/components/shared/siteHeader.css and
   marketingFooter.css in geneenroth_new), adapted for this Webflow export.
   Keep in sync with the app if the shared header/footer design changes. */

/* Offset the page content below the fixed header. */
body.body {
  padding-top: 72px;
}

/* ------- Site header ------- */

.maui__container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.maui__header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  overflow: visible;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  will-change: transform;
}

.maui__header--hidden {
  transform: translateY(-110%);
}

.maui__header--visible {
  transform: translateY(0);
}

.maui__headerInner {
  position: relative;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 24px;
  gap: 24px;
  justify-content: space-between;
  box-sizing: border-box;
}

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

.maui__brandLogo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.maui__brandName {
  font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #000;
}

.maui__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.maui__navToggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #e6e1dc;
  background: #faf8f6;
  padding: 0;
  cursor: pointer;
}

.maui__navToggleLine {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.maui__header--menuOpen .maui__navToggleLine:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.maui__header--menuOpen .maui__navToggleLine:nth-child(2) {
  opacity: 0;
}

.maui__header--menuOpen .maui__navToggleLine:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.maui__navLink {
  font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #111;
  text-decoration: none;
}

.maui__navLink:hover {
  color: #5a5a5a;
}

@media (max-width: 1100px) {
  body.body {
    padding-top: 64px;
  }

  .maui__headerInner {
    height: 64px;
    padding: 8px 18px;
    gap: 12px;
  }

  .maui__brandName {
    font-size: 18px;
  }

  .maui__brandLogo {
    width: 40px;
    height: 40px;
  }

  .maui__navToggle {
    display: inline-flex;
  }

  .maui__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1100;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e6e1dc;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .maui__nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .maui__navLink {
    font-size: 16px;
    color: #1b1b1b;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .maui__brandName {
    font-size: 17px;
  }

  .maui__brandLogo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 520px) {
  .maui__brandName {
    font-size: 16px;
  }
}

@media (max-width: 340px) {
  .maui__container {
    padding: 0 16px;
  }

  .maui__headerInner {
    padding: 0 16px;
    gap: 8px;
  }

  .maui__brandName {
    font-size: 14px;
  }

  .maui__brandLogo {
    width: 32px;
    height: 32px;
  }

  .maui__navToggle {
    width: 38px;
    height: 38px;
  }
}

/* ------- Purple marketing footer ------- */

.marketingFooter {
  border-top: 1px solid #d8d8d8;
  background: #e7e5f4;
  padding: 16px 18px 20px;
}

.marketingFooter__inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 30px;
  flex-wrap: wrap;
  text-align: center;
}

.marketingFooter__legalLinks,
.marketingFooter__socialLinks {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.marketingFooter__link,
.marketingFooter__socialLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #151515;
  text-decoration: none;
}

.marketingFooter__badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.marketingFooter__badgeIcon {
  width: 14px;
  height: 14px;
  display: block;
}

.marketingFooter__link[href^='mailto:'] span:last-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.marketingFooter__socialLinks {
  gap: 4px;
}

.marketingFooter__socialLink {
  width: 56px;
  height: 56px;
  border-radius: 0;
  border: 0;
  background: transparent;
  flex-shrink: 0;
}

.marketingFooter__socialIcon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.marketingFooter__socialLink--facebook .marketingFooter__socialIcon {
  width: 50px;
  height: 50px;
}

.marketingFooter__socialLink--substack .marketingFooter__socialIcon {
  width: 78px;
  height: 78px;
}

.marketingFooter__link:hover,
.marketingFooter__socialLink:hover {
  opacity: 0.74;
}

@media (max-width: 767px) {
  .marketingFooter {
    padding: 14px 14px 18px;
  }

  .marketingFooter__inner {
    gap: 10px 18px;
  }

  .marketingFooter__link {
    font-size: 13px;
  }

  .marketingFooter__socialLink {
    width: 52px;
    height: 52px;
  }

  .marketingFooter__socialIcon {
    width: 26px;
    height: 26px;
  }

  .marketingFooter__socialLink--facebook .marketingFooter__socialIcon {
    width: 44px;
    height: 44px;
  }

  .marketingFooter__socialLink--substack .marketingFooter__socialIcon {
    width: 70px;
    height: 70px;
  }
}
