:root {
  --blue-deep: #06234a;
  --blue-rich: #225fa5;
  --blue-text: #3e94ca;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

/* html {
  min-width: 320px;
  background: var(--blue-deep);
}

body {
  margin: 0;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--blue-deep);
} */

a {
  /* color: inherit; */
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 862px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero__content {
  width: min(820px, calc(100% - 56px));
  padding: 216px 0 96px;
  margin-left: clamp(28px, 8.8vw, 126px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--Blue-Light, #C8DFF2);
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  width: 48px;
  height: 2px;
  flex: 0 0 48px;
  content: "";
  background: rgba(255, 255, 255, 0.86);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--Blue, #3A8AB8);
  font-family: "Libre Baskerville";
  font-size: 54px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1px;
}

.hero__subhead {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 30px 0 30px;
  color: var(--Blue, #3A8AB8);
  font-family: "Libre Baskerville";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.hero__subhead::before {
  width: 48px;
  height: 2px;
  content: "";
  background: rgba(74, 164, 211, 0.95);
}

.hero__copy {
  max-width: 760px;
  margin: 0;
  color: var(--Gray-07, #FFF);
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 44px;
}

.hero__actions>a.button.button--primary {
  background: var(--Primary, #1A4D8F);
  display: flex;
  padding: 20px 40px;
  align-items: center;
  gap: 12px;
  color: #FFF;
  text-align: center;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 1px;
}

.hero__actions>a.button.button--secondary {
  background: var(--Gray-07, #FFF);
  display: flex;
  padding: 20px 30px;
  align-items: center;
  gap: 12px;
  color: var(--Primary, #1A4D8F);
  text-align: center;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 1px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 65px;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 1.1;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  min-width: 186px;
  gap: 14px;
  background: #245b9f;
  color: var(--white);
}

.button--primary img {
  width: 24px;
  height: 24px;
}

.button--secondary {
  width: 466px;
  gap: 18px;
  justify-content: space-between;
  background: var(--white);
  color: #154c91;
}

.button__arrow {
  font-size: 31px;
  font-weight: 300;
  line-height: 0;
}

.hero__certification {
  position: absolute;
  right: clamp(22px, 4vw, 72px);
  bottom: 38px;
  width: 120px;
  height: auto;
}

.image-section {
  background: #17261e;
}

.image-section--light {
  background: #eef8ff;
}

.image-section img {
  display: block;
  width: 100%;
  height: auto;
}

.product-feature {
  background: #ffffff;
  color: #565656;
}

.product-feature__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.product-feature__copy {
  position: relative;
  min-height: 652px;
  overflow: hidden;
  background: #f5f9fd;
}

.product-feature__copy::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, rgba(235, 246, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.product-feature__glow {
  position: absolute;
  left: -68px;
  bottom: -70px;
  width: min(570px, 74%);
  max-width: none;
  opacity: 0.82;
}

.product-feature__text {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 70px 72px 64px clamp(42px, 10.4vw, 170px);
}

.product-feature__eyebrow {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 28px;
  color: var(--Blue, #3A8AB8);
  font-family: "Libre Baskerville";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.product-feature__eyebrow::before {
  width: 48px;
  height: 2px;
  content: "";
  background: #2c8cc9;
}

.product-feature h2 {
  margin: 0 0 48px;
  color: var(--Primary, #1A4D8F);
  font-family: "Libre Baskerville";
  font-size: 54px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1px;
}

.product-feature__text p:not(.product-feature__eyebrow) {
  max-width: 750px;
  margin: 0;
  color: var(--Gray-02, #575757);
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.product-feature__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 162px;
  min-height: 62px;
  padding: 15px 24px;
  margin-top: 28px;
  border-radius: 99px;
  background: var(--Blue-Light, #C8DFF2);
  color: var(--Gray-02, #575757);
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.product-feature__media {
  min-height: 652px;
  background: #f2f2f2;
}

.product-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 652px;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 195px;
  padding: 58px 58px 48px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(92, 158, 204, 0.14);
}

.features {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 800px;
  background: #ffffff;
}

.features__media {
  min-height: 800px;
  background: #0b8c9a;
}

.features__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 800px;
  object-fit: cover;
}

.features__content {
  position: relative;
  height: 840px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  color: #333333;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 77, 143, 0.32) transparent;
}

.features__content::-webkit-scrollbar {
  width: 8px;
}

.features__content::-webkit-scrollbar-track {
  background: transparent;
}

.features__content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(26, 77, 143, 0.28);
}

.features__blur {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.features__blur--top {
  top: -84px;
  right: -10px;
  width: min(408px, 58%);
  opacity: 0.9;
}

.features__blur--bottom {
  right: -260px;
  bottom: -460px;
  width: min(960px, 112%);
  opacity: 0.72;
}

.features__inner {
  position: relative;
  z-index: 1;
  width: min(610px, calc(100% - 88px));
  margin: 0 auto;
  padding: 60px 0 80px;
}

.features h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 50px;
  color: var(--Primary, #1A4D8F);
  font-family: "Libre Baskerville";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1px;
}

.features h2 span {
  font-size: 62px;
  letter-spacing: 0;
}

.features__list {
  position: relative;
  display: grid;
  gap: 80px;
  margin: 0;
  padding: 0 0 0 80px;
  list-style: none;
}

.features__list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, #1a4d8f 0%, #ffffff 100%);
}

.features__list li {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-height: 40px;
}

.features__dot {
  position: absolute;
  top: 50%;
  left: -71px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1a4d8f;
  box-shadow: 0 0 0 8px rgba(26, 77, 143, 0.12);
  transform: translateY(-50%);
}

.features__number {
  color: #C8DFF2;
  font-family: "Libre Baskerville";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.features__label {
  color: var(--Gray-02, #333);
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.ph-balance {
  min-height: 811px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.ph-balance__content {
  width: min(610px, calc(100% - 48px));
  padding-top: clamp(170px, 18.8vw, 264px);
  margin-left: clamp(32px, 10.4vw, 150px);
}

.ph-balance h2 {
  margin: 0 0 40px;
  color: var(--Gray-07, #FFF);
  font-family: "Libre Baskerville";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1px;
}

.ph-balance p {
  max-width: 503px;
  margin: 0;
  color: var(--Blue-Light, #C8DFF2);
  text-align: justify;
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.ph-scale {
  width: min(500px, 100%);
  margin-top: 44px;
  color: #ffffff;
  text-transform: uppercase;
}

.ph-scale__bar {
  display: flex;
  gap: 8px;
  height: 36px;
}

.ph-scale__segment {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 20px;
  white-space: nowrap;
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ph-scale__segment--acidic {
  width: 168px;
  border-radius: 99px;
  background: linear-gradient(90deg, #91282C 0%, #E39F94 100%);
}

.ph-scale__segment--balanced {
  width: 104px;
  justify-content: center;
  border-radius: 99px;
  background: linear-gradient(270deg, #C8DFF2 0%, #FFF 100%);
  color: #525f68;
}

.ph-scale__segment--alkaline {
  flex: 1;
  border-radius: 99px;
  background: linear-gradient(90deg, #3A8AB8 0%, #1A4D8F 50%, #0D2C5E 100%);
}

.ph-scale__labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
  color: var(--Blue-Light, #C8DFF2);
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ph-scale__labels span:first-child {
  padding-left: 58px;
}

.ph-scale__labels span:last-child {
  padding-left: 96px;
}

.ph-scale__range {
  position: relative;
  width: fit-content;
  margin: 34px auto 0;
  color: var(--Gray-07, #FFF);
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 1px;
}

.ph-scale__range::before {
  position: absolute;
  left: 39%;
  bottom: calc(100% + 5px);
  width: 2px;
  height: 42px;
  content: "";
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
}

.usage-section {
  background: #eef4fa;
  color: #2f2f2f;
}

.scalp-types {
  padding: 58px 24px 100px;
  background: var(--Gray-01, #0D2C5E);
  color: #ffffff;
}

.scalp-types__heading {
  margin: 0 auto 78px;
  text-align: center;
}

.scalp-types__heading h2 {
  margin: 0;
  color: var(--Gray-07, #FFF);
  text-align: center;
  font-family: "Libre Baskerville";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1px;
}

.scalp-types__heading p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  color: var(--Blue-Light, #C8DFF2);
  font-family: "Libre Baskerville";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.scalp-types__heading p::before {
  width: 48px;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.65);
}

.scalp-types__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 334px));
  gap: clamp(36px, 5.6vw, 92px);
  justify-content: center;
}

.scalp-card {
  text-align: center;
}

.scalp-card__image {
  position: relative;
  margin-bottom: 34px;
}

.scalp-card__image>img:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.scalp-card__icon {
  position: absolute;
  left: -2px;
  bottom: -44px;
  width: 100px;
  height: 100px;
}

.scalp-card h3 {
  margin: 0;
  color: var(--Gray-07, #FFF);
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.recommendation {
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 56%);
  align-items: end;
  margin-top: -1px;
  background: #0D2C5E;
}

.recommendation__image {
  min-height: 720px;
}

.recommendation__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
}

.recommendation__panel {
  position: relative;
  min-height: 620px;
  margin-left: -28%;
  overflow: hidden;
  background: #ffffff;
}

.recommendation__blur {
  position: absolute;
  right: -170px;
  bottom: -280px;
  width: min(688px, 90%);
  opacity: 0.66;
  pointer-events: none;
}

.recommendation__inner {
  position: relative;
  z-index: 1;
  padding: 94px clamp(42px, 7vw, 100px) 82px;
}

.recommendation h2,
.how-to h2,
.use-method h3 {
  margin: 0;
  color: #174c92;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.8px;
}

.recommendation h2 {
  margin-bottom: 40px;
  color: var(--Primary, #1A4D8F);
  text-align: left;
  font-family: "Libre Baskerville";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1px;
}

.recommendation ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recommendation li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0;
  min-height: 58px;
  color: var(--Gray-02, #575757);
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.recommendation li:nth-child(even) {
  border-left: 1px solid var(--Primary, #1A4D8F);
  padding-left: 24px;
}

.recommendation li span {
  color: var(--Blue-Light, #C8DFF2);
  font-family: "Libre Baskerville";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.how-to {
  position: relative;
  overflow: hidden;
  background: #eef4fa;
}

.how-to::after {
  position: absolute;
  right: 12%;
  top: 10%;
  width: 620px;
  height: 620px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 196, 224, 0.35), rgba(238, 244, 250, 0) 68%);
  pointer-events: none;
}

.how-to__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 24px 48px;
}

.how-to h2 {
  padding-bottom: 34px;
  color: var(--Primary, #1A4D8F);
  font-family: "Libre Baskerville";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--Blue-Light, #C8DFF2);
}

.use-methods {
  display: grid;
  gap: 58px;
  margin-top: 46px;
}

.use-method {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.use-method img {
  width: 60px;
  height: 62px;
}

.use-method h3 {
  margin-bottom: 20px;
  color: var(--Primary, #1A4D8F);
  font-family: "Libre Baskerville";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.use-method p {
  margin: 0;
  color: var(--Gray-02, #333);
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.steps {
  position: relative;
  margin-top: 76px;
}

.steps__rail {
  position: absolute;
  top: 28px;
  right: 0;
  left: 0;
  height: 2px;
  background: #1a4d8f;
}

.steps__rail span {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a4d8f;
  box-shadow: 0 0 0 7px rgba(26, 77, 143, 0.12);
  transform: translate(-50%, -50%);
}

.steps__rail span:nth-child(1) {
  left: 32.333%;
}

.steps__rail span:nth-child(2) {
  left: 67.666%;
}

.steps__rail span:nth-child(3) {
  left: 100%;
}

.steps__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  gap: clamp(34px, 4.6vw, 72px);
  justify-content: space-between;
}

.step-card {
  text-align: center;
}

.step-card__badge {
  justify-content: center;
  max-width: 137px;
  min-height: 35px;
  margin: auto auto 12px;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--Primary, #1A4D8F);
  display: flex;
  padding: 20px 30px;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  color: var(--Gray-07, #FFF);
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 1px;
}

.step-card p {
  min-height: 38px;
  margin: 0 0 26px;
  color: var(--Gray-02, #333);
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.step-card img,
.step-card video {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}


.routine-cta {
  display: grid;
  place-items: center;
  height: 480px;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-align: center;
}

.routine-cta__content {
  transform: translateY(-10px);
}

.routine-cta h2 {
  margin: 0 0 40px;
  color: var(--Gray-07, #FFF);
  font-family: "Libre Baskerville";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1px;
}

.routine-cta__button {
  justify-content: center;
  min-width: 200px;
  min-height: 65px;
  transition: transform 180ms ease, background-color 180ms ease;
  color: #FFF;
  text-align: center;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 1px;
  background: var(--Primary, #1A4D8F);
  display: inline-flex;
  padding: 20px 40px;
  align-items: center;
  gap: 12px;
}

.routine-cta__button:hover {
  background: #174c92;
  color: #FFF;
  transform: translateY(-2px);
}

.routine-cta__button img {
  width: 24px;
  height: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about {
  position: relative;
  overflow: hidden;
  background-image: none;
  background-position: center;
  background-size: cover;
  color: #333333;
  transition: background-color 180ms ease, color 180ms ease;
  background: linear-gradient(0deg, #E6E6E6 0%, #E6E6E6 100%), linear-gradient(202deg, rgba(26, 77, 143, 0.10) 20.39%, rgba(58, 138, 184, 0.10) 100%);
}

.about::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0);
  transition: background-color 180ms ease;
  pointer-events: none;
}

.about__inner {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  padding: 66px 0 62px;
}

.about:has(.about-card:hover),
.about.is-story-hovered,
.about.is-partner-hovered {
  color: #ffffff;
}

.about:has(.about-card:hover)::before,
.about.is-story-hovered::before,
.about.is-partner-hovered::before {
  background: rgba(4, 19, 37, 0.36);
}

.about:has(.about-card--story:hover),
.about.is-story-hovered {
  background-image: url("/wp-content/uploads/section_9_img_01_cover.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.about:has(.about-card--partner:hover),
.about.is-partner-hovered {
  background-image: url("/wp-content/uploads/section_9_img_02_cover.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.about__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 24px;
  text-align: center;
  color: var(--Gray-02, #333);
  font-family: "Libre Baskerville";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.about:has(.about-card:hover) .about__eyebrow,
.about:has(.about-card:hover) h2,
.about:has(.about-card:hover) .about__intro,
.about:has(.about-card:hover) .newsletter__copy h3,
.about:has(.about-card:hover) .newsletter__copy p,
.about.is-story-hovered .about__eyebrow,
.about.is-story-hovered h2,
.about.is-story-hovered .about__intro,
.about.is-story-hovered .newsletter__copy h3,
.about.is-story-hovered .newsletter__copy p,
.about.is-partner-hovered .about__eyebrow,
.about.is-partner-hovered h2,
.about.is-partner-hovered .about__intro,
.about.is-partner-hovered .newsletter__copy h3,
.about.is-partner-hovered .newsletter__copy p {
  color: #ffffff;
}

.about__eyebrow::before {
  width: 48px;
  height: 2px;
  content: "";
  background: #333333;
}

.about:has(.about-card:hover) .about__eyebrow::before,
.about.is-story-hovered .about__eyebrow::before,
.about.is-partner-hovered .about__eyebrow::before {
  background: rgba(255, 255, 255, 0.72);
}

.about h2 {
  margin: 0;
  color: var(--Primary, #1A4D8F);
  text-align: center;
  font-family: "Libre Baskerville";
  font-size: 54px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1px;
}

.about__intro {
  max-width: 760px;
  margin: 40px auto 60px;
  color: var(--Primary, #1A4D8F);
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.about__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 560px));
  gap: 20px;
  justify-content: center;
}

.about-card {
  position: relative;
  display: block;
  min-height: 272px;
  overflow: hidden;
  color: #ffffff;
  background: #1A4D8F;
}

.about-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(4, 22, 48, 0.28);
  transition: background-color 180ms ease;
}

.about-card:hover::after {
  background: rgba(4, 22, 48, 0.18);
}

.about-card img {
  display: block;
  width: 100%;
  height: 272px;
  object-fit: cover;
  transition: opacity 180ms ease, transform 220ms ease;
}

.about-card:hover img {
  opacity: 0;
  transform: scale(1.03);
}

.about.is-story-hovered .about-card--story img,
.about.is-partner-hovered .about-card--partner img {
  opacity: 0;
  transform: scale(1.03);
}

.about-card span {
  position: absolute;
  z-index: 1;
  top: 40px;
  left: 40px;
  color: var(--Gray-07, #FFF);
  font-family: "Libre Baskerville";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1px;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 26px;
  align-items: center;
  margin-top: 42px;
}

.newsletter__copy h3 {
  margin: 0 0 12px;
  color: var(--Gray-02, #575757);
  font-family: "Libre Baskerville";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.newsletter__copy p {
  margin: 0;
  color: var(--Gray-02, #575757);
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.newsletter__form {
  display: flex;
  align-items: center;
  min-height: 50px;
  background: #ffffff;
}

.newsletter__form input#newsletter-email {
  min-width: 0;
  height: 50px;
  padding: 0 24px;
  background: #fff !important;
  font: inherit;
  outline: none;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 1px;
  width: 100% !important;
}

.newsletter__form input::placeholder {
  color: #8b8b8b;
  opacity: 1;
}

.newsletter__form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 50px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.newsletter__form button img {
  width: 24px;
  height: 24px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.stats__item+.stats__item {
  border-left: 1px solid #c9def1;
}

.stats strong {
  color: var(--Primary, #1A4D8F);
  text-align: center;
  font-family: "Libre Baskerville";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 1px;
}

.stats p {
  margin: 12px 16px 0;
  color: var(--Gray-02, #575757);
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1px;
}

.costcoBtmEmail input#form-field-email {
  background: #fff !important;
}

.costcoBtmEmail .elementor-button-icon {
  display: flex;
}

.costcoBtmEmail .elementor-button-icon svg {
  width: 2em;
}

.costcoBtmEmail .elementor-button[type="submit"] svg * {
  fill: transparent !important;
}

@media (max-width: 980px) {
  .hero {
    min-height: 780px;
    background-position: 58% center;
  }

  .hero__content {
    padding: 140px 0 222px;
  }

  .hero h1,
  .hero__copy {
    max-width: 620px;
  }

  .hero__actions {
    gap: 18px;
  }

  .button--secondary {
    min-width: min(466px, 100%);
  }

  .product-feature__intro {
    grid-template-columns: 1fr;
  }

  .product-feature__copy,
  .product-feature__media,
  .product-feature__media img {
    min-height: auto;
  }

  .product-feature__text {
    max-width: none;
    padding: 64px 42px;
  }

  .product-feature__media img {
    aspect-ratio: 1 / 1;
  }

  .stats {
    padding-right: 28px;
    padding-left: 28px;
  }

  .stats p {
    font-size: 18px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .features__media,
  .features__media img,
  .features__content {
    min-height: auto;
  }

  .features__media img {
    aspect-ratio: 1 / 1.1;
  }

  .features__inner {
    width: min(620px, calc(100% - 56px));
    min-height: 1040px;
    padding: 54px 0 76px;
  }

  .features__list {
    gap: 54px;
  }

  .ph-balance {
    background-position: 62% center;
  }

  .ph-balance__content {
    padding-top: 130px;
  }

  .ph-balance p {
    font-size: 19px;
  }

  .scalp-types {
    padding-bottom: 72px;
  }

  .scalp-types__grid {
    gap: 28px;
  }

  .recommendation {
    grid-template-columns: 1fr;
    background: #ffffff;
  }

  .recommendation__image,
  .recommendation__image img {
    min-height: auto;
  }

  .recommendation__panel {
    min-height: auto;
    margin-left: 0;
  }

  .recommendation__inner {
    padding: 64px 42px;
  }

  .steps__grid {
    gap: 28px;
  }

  .step-card p {
    min-height: 58px;
  }

  .routine-cta {
    background-position: 40% center;
  }

  .about__cards,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .about-card {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .newsletter {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 981px) and (max-width: 1350px) {
  .hero__content {
    width: 760px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero__actions {
    gap: 24px;
  }

  .button--secondary {
    width: 440px;
    padding-right: 30px;
    padding-left: 30px;
    font-size: 17px;
  }

  .product-feature__text {
    padding-right: 46px;
    padding-left: 92px;
  }

  .product-feature h2 {
    font-size: 58px;
  }

  .features__inner {
    width: min(560px, calc(100% - 72px));
  }

  .features__list {
    padding-left: 88px;
  }

  .features__dot {
    left: -82px;
  }

  .features__label {
    font-size: 17px;
  }

  .ph-balance__content {
    margin-left: 130px;
  }

  .recommendation__inner {
    padding-right: 54px;
    padding-left: 68px;
  }

  .recommendation ol {
    gap: 32px 30px;
  }

  .recommendation li {
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 720px;
    background-position: 67% center;
  }

  .hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(3, 24, 58, 0.82), rgba(3, 24, 58, 0.28));
  }

  .hero__content {
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    padding: 88px 0 132px;
    margin-left: 20px;
  }

  .hero__eyebrow {
    gap: 12px;
    margin-bottom: 22px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero__subhead {
    margin: 24px 0;
    font-size: 24px;
  }

  .hero__copy {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .hero__actions {
    align-items: stretch;
    margin-top: 32px;
  }

  .button {
    width: 100%;
    min-height: 58px;
    padding: 16px 22px;
    font-size: 16px;
  }

  .button--primary,
  .button--secondary {
    min-width: 0;
  }

  .hero__certification {
    z-index: 1;
    right: 20px;
    bottom: 22px;
    width: 88px;
  }

  .product-feature__text {
    padding: 48px 24px;
  }

  .product-feature__glow {
    left: -120px;
    bottom: -80px;
    width: 520px;
  }

  .product-feature__eyebrow {
    font-size: 23px;
  }

  .product-feature h2 {
    margin-bottom: 30px;
    font-size: 42px;
  }

  .product-feature__text p:not(.product-feature__eyebrow) {
    font-size: 17px;
    letter-spacing: 0.5px;
  }

  .product-feature__pill {
    min-width: 140px;
    min-height: 54px;
    font-size: 22px;
  }

  .stats {
    grid-template-columns: 1fr;
    padding: 34px 24px;
  }

  .stats__item {
    padding: 26px 0;
  }

  .stats__item+.stats__item {
    border-top: 1px solid #c9def1;
    border-left: 0;
  }

  .stats strong {
    font-size: 36px;
  }

  .stats p {
    margin-top: 14px;
    font-size: 17px;
  }

  .features__inner {
    width: calc(100% - 40px);
    min-height: 760px;
    padding: 42px 0 58px;
  }

  .features h2 {
    margin-bottom: 42px;
    font-size: 28px;
  }

  .features h2 span {
    font-size: 54px;
  }

  .features__list {
    gap: 38px;
    padding-left: 62px;
  }

  .features__list::before {
    bottom: -38px;
    left: 12px;
  }

  .features__list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .features__dot {
    left: -56px;
    width: 14px;
    height: 14px;
  }

  .features__number {
    font-size: 24px;
  }

  .features__label {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .features__blur--top {
    width: 260px;
  }

  .features__blur--bottom {
    right: -280px;
    bottom: -380px;
    width: 720px;
  }

  .ph-balance {
    min-height: 720px;
    background-position: 70% center;
  }

  .ph-balance__content {
    width: calc(100% - 40px);
    padding-top: 78px;
    margin-left: 20px;
  }

  .ph-balance h2 {
    margin-bottom: 28px;
    font-size: 32px;
  }

  .ph-balance p {
    max-width: 95%;
    font-size: 16px;
    letter-spacing: 1px;
  }

  .ph-scale {
    margin-top: 34px;
  }

  .ph-scale__bar {
    height: 34px;
  }

  .ph-scale__segment {
    padding: 0 12px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .ph-scale__segment--acidic {
    width: 34%;
  }

  .ph-scale__segment--balanced {
    width: 22%;
  }

  .ph-scale__labels span:first-child {
    padding-left: 34px;
  }

  .ph-scale__labels span:last-child {
    padding-left: 52px;
  }

  .ph-scale__range {
    font-size: 15px;
  }

  .scalp-types {
    padding: 44px 20px 64px;
  }

  .scalp-types__heading {
    margin-bottom: 42px;
  }

  .scalp-types__heading h2 {
    font-size: 25px;
  }

  .scalp-types__heading p {
    font-size: 13px;
  }

  .scalp-types__grid {
    grid-template-columns: 1fr;
    max-width: 334px;
    margin: 0 auto;
    gap: 52px;
  }

  .scalp-card__icon {
    left: 0;
    bottom: -36px;
    width: 82px;
    height: 82px;
  }

  .scalp-card h3 {
    font-size: 17px;
  }

  .recommendation__inner {
    padding: 48px 24px;
  }

  .recommendation h2 {
    margin-bottom: 32px;
    font-size: 27px;
  }

  .recommendation ol {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .recommendation li,
  .recommendation li:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

  .recommendation__blur {
    right: -260px;
    bottom: -260px;
    width: 620px;
  }

  .how-to__inner {
    padding: 44px 20px 52px;
  }

  .how-to h2 {
    padding-bottom: 26px;
    font-size: 26px;
  }

  .use-methods {
    gap: 38px;
    margin-top: 34px;
  }

  .use-method {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
  }

  .use-method img {
    width: 48px;
    height: auto;
  }

  .use-method h3 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .use-method p {
    font-size: 13px;
  }

  .steps {
    margin-top: 48px;
  }

  .steps__rail {
    display: none;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
    gap: 38px;
  }

  .step-card p {
    min-height: 0;
    margin-bottom: 18px;
  }

  .routine-cta {
    height: 420px;
    background-position: 36% center;
  }

  .routine-cta__content {
    width: calc(100% - 40px);
  }

  .routine-cta h2 {
    margin-bottom: 30px;
  }

  .routine-cta__button {
    min-width: 176px;
    min-height: 58px;
    font-size: 16px;
  }

  .about__inner {
    width: calc(100% - 40px);
    padding: 48px 0;
  }

  .about__eyebrow {
    align-items: flex-start;
    font-size: 20px;
    text-align: left;
  }

  .about h2 {
    font-size: 42px;
  }

  .about__intro {
    margin: 32px auto 40px;
    font-size: 16px;
    letter-spacing: 0.8px;
  }

  .about-card span {
    top: 28px;
    left: 28px;
    font-size: 28px;
  }

  .newsletter {
    margin-top: 34px;
  }

  .newsletter__copy h3 {
    font-size: 21px;
  }

  .newsletter__copy p {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .features__content {
    height: 450px;
  }
}