/* Anivya's tenant-level Fider theme. Keep selectors shallow for Fider upgrades. */
body {
  --primary-color: #6c3df4;
  --primary-color-light: #d9d0ff;
  --primary-color-dark: #5224d6;
}

body[data-theme="light"] {
  background-color: #fbfbfd;
}

body[data-theme="dark"] {
  --primary-color: #8d72ff;
  --primary-color-light: #c9bdff;
  --primary-color-dark: #7555f5;
  background-color: #0e0d13;
}

#c-header {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom-color: rgba(27, 25, 36, 0.09) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: visible;
  position: relative;
  z-index: 100;
}

body[data-theme="dark"] #c-header {
  background: rgba(18, 17, 25, 0.94) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

#c-header .c-header__brand {
  gap: 0.65rem;
  min-width: 8.75rem;
  position: relative;
}

#c-header .c-header__brand img {
  display: none;
}

#c-header .c-header__brand h1 {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#c-header .c-header__brand::before {
  background-image: url("https://anivya.health/brand/brand-logo-no-tagline-black.png?v=27b52e717196");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 2rem;
  width: 8.75rem;
}

body[data-theme="dark"] #c-header .c-header__brand::before {
  background-image: url("https://anivya.health/brand/brand-logo-no-tagline-white.png?v=4e79aae62ade");
}

#c-header .c-header__nav-link {
  letter-spacing: 0;
}

#p-home {
  padding-top: 3.25rem;
  padding-bottom: 4rem;
  background-color: transparent;
}

#p-home .p-home__welcome-title {
  max-width: 12ch;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

#p-home .p-home__welcome-title .header-emphasis {
  color: var(--colors-primary-base);
}

#p-home .p-home__welcome-body {
  max-width: 37rem;
  line-height: 1.7;
}

#p-home .p-home__welcome-body strong {
  color: var(--colors-gray-900);
}

#p-home .p-home__welcome-body a {
  color: var(--colors-primary-base);
  font-weight: 600;
}

#p-home .p-home__add-idea-btn,
#p-home .c-posts-container__post {
  border-radius: 8px;
  border: 1px solid var(--colors-gray-200);
  box-shadow: 0 8px 24px rgba(25, 20, 45, 0.06);
}

#p-home .p-home__add-idea-btn:hover,
#p-home .c-posts-container__post-link:hover .c-posts-container__post {
  border-color: var(--colors-primary-light);
  box-shadow: 0 12px 30px rgba(70, 44, 154, 0.1);
}

body[data-theme="dark"] #p-home .p-home__add-idea-btn,
body[data-theme="dark"] #p-home .c-posts-container__post {
  background-color: #17161f;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.c-button {
  border-radius: 8px;
  letter-spacing: 0;
}

.c-button--primary {
  box-shadow: 0 5px 16px rgba(82, 36, 214, 0.2);
}

@media only screen and (max-width: 767px) {
  #c-header .c-menu {
    padding: 0.85rem 1rem;
  }

  #p-home {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  #p-home .p-home__welcome-title {
    max-width: none;
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #p-home .p-home__add-idea-btn,
  #p-home .c-posts-container__post,
  .c-button {
    transition: none;
  }
}