/* Cinematic opening based on the supplied A Better Lou reference. */

html.pharma-motion-pending .site-header,
html.pharma-motion-pending .pharma-hero-copy {
  visibility: hidden;
}

.pharma-hero {
  --pharma-progress: 0;
  --pharma-exit: 0;
  --pharma-copy: 1;
  --pharma-film: 1;
  --pharma-paper: 0;
  --pharma-shell: 1;
  position: relative;
  z-index: 3;
  height: 100vh;
  height: 100svh;
  isolation: isolate;
  color: #fff;
  background: transparent;
  font-family: "Raveo", Arial, Helvetica, sans-serif;
}

.pharma-hero-sticky {
  position: relative;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #eeefeb;
  opacity: 1;
}

.pharma-hero-sticky::after {
  display: none;
}

.pharma-hero-film {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 1;
  filter: grayscale(1) brightness(1.84) contrast(.58);
  transform: scale(1.035);
  transform-origin: 50% 50%;
  will-change: transform;
}

.pharma-hero-film-loop-layer {
  transition: opacity .72s linear;
  will-change: transform, opacity;
}

.pharma-hero-film-loop-layer.is-loop-active {
  opacity: 1;
}

.pharma-hero-film-loop-layer.is-loop-standby {
  opacity: 0;
}

.pharma-hero-copy {
  position: absolute;
  z-index: 3;
  left: clamp(30px, 4.2vw, 72px);
  bottom: clamp(120px, 16vh, 168px);
  width: min(670px, 54vw);
  opacity: 1;
  transform: none;
}

.pharma-hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-bottom: clamp(20px, 2.6vh, 28px);
  padding: 7px 16px 7px 8px;
  color: #181e25;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .82),
    0 16px 38px -22px rgba(11, 20, 15, .68);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.pharma-hero-proof img {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 7px;
}

.pharma-hero-proof span {
  display: grid;
  gap: 3px;
}

.pharma-hero-proof b {
  font-size: 13px;
  line-height: 1;
}

.pharma-hero-proof small {
  color: rgba(24, 30, 37, .6);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.pharma-hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  color: #f8f7f5;
  font-family: "Raveo", Arial, Helvetica, sans-serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 500;
  line-height: .93;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.pharma-hero-title span {
  display: block;
}

.pharma-hero-title .pharma-hero-title-accent {
  color: #d6fd70;
  text-shadow: 0 4px 28px rgba(12, 20, 15, .24);
}

.pharma-hero-copy > p:not(.pharma-hero-note) {
  max-width: 48ch;
  margin: clamp(18px, 2.2vh, 26px) 0 0;
  color: rgba(248, 247, 245, .84);
  font-family: "Raveo", Arial, Helvetica, sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.42;
}

.pharma-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(22px, 3vh, 30px);
}

.pharma-hero-button {
  box-sizing: border-box;
  display: inline-flex;
  width: 158px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.pharma-hero-button:hover,
.pharma-hero-button:focus-visible {
  transform: translateY(-2px);
}

.pharma-hero-button-primary {
  color: #181e25;
  background: #d6fd70;
  border-color: #d6fd70;
  box-shadow: 0 14px 28px -18px rgba(12, 20, 15, .7);
}

.pharma-hero-button-secondary {
  color: #f8f7f5;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pharma-hero-button-secondary:hover,
.pharma-hero-button-secondary:focus-visible {
  background: rgba(255, 255, 255, .18);
}

.pharma-hero-copy > .pharma-hero-note {
  margin: 13px 0 0;
  color: rgba(248, 247, 245, .68);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

body.abl-hero-active .site-header {
  border-bottom-color: rgba(24, 30, 37, .08);
  color: #181e25;
  background: rgba(248, 247, 245, .92);
  box-shadow: 0 12px 30px -28px rgba(24, 30, 37, .4);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

body.abl-hero-active .site-header .brand img {
  filter: none;
}

body.abl-hero-active .site-header .desktop-nav a {
  color: rgba(24, 30, 37, .82);
}

body.abl-hero-active .site-header .desktop-nav a:hover,
body.abl-hero-active .site-header .desktop-nav a:focus-visible {
  color: #2d5c42;
}

body.abl-hero-active .site-header .menu-toggle {
  border-color: rgba(24, 30, 37, .1);
  background: rgba(255, 255, 255, .88);
}

body.abl-hero-active .site-header .menu-toggle span {
  background: #181e25;
}

.pharma-hero ~ .gut-intro {
  margin-top: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(214, 253, 112, .22), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f6f8f1 44%, #fff 100%);
}

.pharma-hero ~ .gut-intro .gut-intro-content,
.pharma-hero ~ .gut-intro .ggg-yc-mobile {
  opacity: 1;
}

.pharma-hero ~ .gut-intro .gut-intro-ambient::before {
  opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .1) 5%, #000 28%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .1) 5%, #000 28%);
  will-change: opacity;
}

.gut-intro-hero .gut-intro-cta-row .gut-intro-cta {
  box-sizing: border-box;
  width: 176px;
  min-height: 48px;
  margin-top: 0;
  padding: 12px 24px;
  font-size: 14px;
}

@media (max-width: 760px) {
  .ggg-inapp-webview .pharma-hero,
  .ggg-inapp-webview .pharma-hero-sticky {
    height: var(--ggg-inapp-vh, var(--app-vh, 100vh));
  }

  .pharma-hero {
    height: 100svh;
  }

  .pharma-hero-film {
    object-position: 58% 50%;
    filter: grayscale(1) brightness(1.72) contrast(.62);
  }

  .pharma-hero-copy {
    right: 20px;
    bottom: clamp(84px, 11svh, 108px);
    left: 20px;
    width: auto;
  }

  .pharma-hero-title {
    max-width: 9.6ch;
    font-size: clamp(43px, 12vw, 62px);
    line-height: .93;
  }

  .pharma-hero-title span {
    display: inline;
  }

  .pharma-hero-proof {
    min-height: 42px;
    margin-bottom: 18px;
    padding: 6px 13px 6px 7px;
  }

  .pharma-hero-proof img {
    width: 25px;
    height: 25px;
  }

  .pharma-hero-proof b {
    font-size: 11px;
  }

  .pharma-hero-proof small {
    font-size: 8.5px;
  }

  .pharma-hero-copy > p:not(.pharma-hero-note) {
    max-width: 34ch;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.4;
  }

  .pharma-hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .pharma-hero-button {
    width: min(42vw, 158px);
    min-height: 47px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .gut-intro-hero .gut-intro-cta-row .gut-intro-cta {
    width: min(40vw, 176px);
    min-height: 46px;
    padding-inline: 16px;
    font-size: 13px;
  }
}

@media (max-width: 390px) and (max-height: 720px) {
  .pharma-hero-copy {
    bottom: 68px;
  }

  .pharma-hero-title {
    font-size: clamp(39px, 11vw, 48px);
  }

  .pharma-hero-copy > p:not(.pharma-hero-note) {
    margin-top: 12px;
    font-size: 14px;
  }

  .pharma-hero-proof {
    margin-bottom: 14px;
  }

  .pharma-hero-actions {
    margin-top: 15px;
  }

  .pharma-hero-copy > .pharma-hero-note {
    margin-top: 9px;
    font-size: 11px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .pharma-hero {
    height: 100svh;
  }

  .pharma-hero-film {
    transform: none;
  }

  .pharma-hero ~ .gut-intro {
    margin-top: 0;
  }

}

/* One-button conversion hierarchy: one clear purchase action, with plan
   comparison kept as a quiet navigation link instead of a rival button. */
.pharma-hero-button-primary {
  width: auto;
  min-width: 188px;
  padding-inline: 28px;
}

.pharma-hero-button-secondary {
  width: auto;
  min-height: auto;
  padding: 8px 2px 6px;
  border: 0;
  border-bottom: 1px solid rgba(248, 247, 245, .58);
  border-radius: 0;
  color: rgba(248, 247, 245, .82);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 13px;
  font-weight: 600;
}

.pharma-hero-button-secondary:hover,
.pharma-hero-button-secondary:focus-visible {
  color: #f8f7f5;
  background: transparent;
  border-bottom-color: #f8f7f5;
}

.gut-intro-hero .gut-intro-cta-row .gut-intro-cta-hero {
  width: auto;
  min-width: 188px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
}

.gut-intro-hero .gut-intro-cta-row .gut-intro-cta-secondary {
  width: auto;
  min-width: 0;
  min-height: auto;
  padding: 7px 2px 5px;
  border: 0;
  border-bottom: 1px solid rgba(16, 19, 18, .38);
  border-radius: 0;
  color: rgba(16, 19, 18, .72);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 760px) {
  .pharma-hero-button-primary {
    width: min(58vw, 188px);
    min-width: 0;
    padding-inline: 18px;
  }

  .pharma-hero-button-secondary {
    width: auto;
    padding-inline: 2px;
  }

  .gut-intro-hero .gut-intro-cta-row .gut-intro-cta-hero {
    width: min(56vw, 188px);
    min-width: 0;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .gut-intro-hero .gut-intro-cta-row .gut-intro-cta-secondary {
    width: auto;
    min-height: auto;
    padding: 7px 2px 5px;
    font-size: 13px;
  }
}
