/* Preserve the supplied REMAN artwork in its original brand colours. */
:root {
  --white: #000000;
}

/* Keep all call-to-action button labels legible on the olive background. */
.button,
.button *,
.mobile-buy,
.mobile-buy * {
  color: #ffffff;
}

.nav nav a,
.language-switch a {
  color: #000000;
}

.nav .language-switch {
  margin-left: auto;
  margin-right: 16px;
  font-size: 14px;
}

.nav .button-small {
  margin-left: 0;
}

.guarantee {
  background: #ddd;
  color: #000000;
}

.guarantee-grid {
  min-height: 156px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 32px;
}

.guarantee article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.guarantee svg {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guarantee h3,
.guarantee p {
  margin: 0;
  color: #000000;
}

.guarantee h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.guarantee p {
  margin-top: 3px;
  font-size: 14px;
}

.common-problems {
  background: #ffffff;
  color: #000000;
  padding: 74px 0 82px;
}

.problems-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.problems-heading span { height: 1px; background: #000000; }

.problems-heading h2 {
  margin: 0;
  color: #000000;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: .04em;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.problems-grid article { text-align: center; }

.problems-grid img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.problems-grid h3,
.problems-grid p { color: #000000; }

.problems-grid h3 {
  margin: 22px 0 12px;
  font-size: 24px;
  text-transform: none;
  letter-spacing: 0;
}

.problems-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.what-is-reman {
  min-height: 720px;
  display: flex;
  align-items: flex-start;
  padding-top: 90px;
  background-image: url('assets/why-reman-background-220826-2.png');
  background-position: center;
  color: #000000;
}

.what-is-reman-copy {
  width: min(1200px, calc(100% - 64px));
}

.what-is-reman h2 {
  margin: 0 0 34px;
  max-width: 650px;
  color: #000000;
  font-size: clamp(42px, 4.5vw, 66px);
  letter-spacing: 0;
  line-height: 1.15;
}

.what-is-reman-text {
  width: min(650px, 55%);
}

.what-is-reman-text p {
  margin: 0 0 20px;
  color: #000000;
  font-size: 16px;
  line-height: 1.8;
}

.what-is-reman-text p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .guarantee-grid {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
    padding: 28px 0;
  }

  .guarantee article {
    justify-content: flex-start;
    gap: 10px;
  }

  .guarantee svg {
    width: 25px;
    height: 25px;
  }

  .guarantee h3 { font-size: 14px; }
  .guarantee p { font-size: 10px; }

  .common-problems { padding: 48px 0 56px; }
  .problems-heading { gap: 14px; margin-bottom: 28px; }
  .problems-heading h2 { font-size: 32px; }
  .problems-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .problems-grid img { border-radius: 18px; }
  .problems-grid h3 { font-size: 18px; margin: 13px 0 7px; }
  .problems-grid p { font-size: 12px; line-height: 1.55; }

  .what-is-reman {
    min-height: 700px;
    padding: 40px 0 68px;
    background-image: url('assets/why-reman-background-mobile-220826.png');
    background-position: center;
  }

  .what-is-reman-copy { width: min(100% - 36px, 600px); }
  .what-is-reman-copy { transform: translateY(-70px); }
  .what-is-reman h2 { margin-bottom: 24px; font-size: 36px; }
  .what-is-reman-text { width: 100%; }
  .what-is-reman-text p { font-size: 14px; line-height: 1.75; margin-bottom: 17px; }
}

/* REMAN ingredient formula section */
.formula {
  min-height: 0;
  padding: 78px 0 86px;
  background: #9fb172;
  background-image: none;
  color: #000000;
}

.formula-copy { padding-right: 0; }

.formula h2 {
  margin: 0;
  color: #000000;
  text-align: center;
  font-size: clamp(42px, 4.3vw, 64px);
  letter-spacing: .03em;
}

.formula-subheading {
  max-width: none;
  margin: 14px 0 54px;
  color: #000000;
  text-align: center;
  font-size: 17px;
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px 28px;
}

.formula-grid article { text-align: center; }

.formula-grid img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.formula-grid h3 {
  margin: 16px 0 14px;
  color: #000000;
  font-size: 22px;
  text-transform: none;
  letter-spacing: 0;
}

.formula-grid ul {
  display: inline-block;
  margin: 0;
  padding-left: 18px;
  color: #000000;
  text-align: left;
}

.formula-grid li {
  margin-bottom: 5px;
  padding-left: 2px;
  color: #000000;
  font-size: 14px;
  line-height: 1.45;
}

.formula-grid li::marker { color: #000000; }

@media (max-width: 700px) {
  .formula { padding: 55px 0 62px; }
  .formula h2 { font-size: 38px; }
  .formula-subheading { margin: 12px 0 37px; font-size: 14px; }
  .formula-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .formula-grid img { width: 92px; height: 92px; }
  .formula-grid h3 { margin: 11px 0 10px; font-size: 18px; }
  .formula-grid li { font-size: 12px; margin-bottom: 4px; }
}

.brand img,
footer img {
  mix-blend-mode: normal;
  filter: none;
}

.hero-eyebrow {
  color: #000000;
}

.hero h1 {
  line-height: 1.224;
}

.hero .price small,
.hero .proof {
  color: #000000;
}

.hero .lead {
  color: #000000;
}

.white-eyebrow {
  color: #000000;
}

html[lang="zh-Hans"] body {
  font-family: "Noto Sans SC", Montserrat, Arial, sans-serif;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 22px;
  color: #77776f;
  font-size: 10px;
  font-weight: 700;
}

.language-switch a {
  color: #000000;
}

.language-switch span {
  color: var(--olive);
}

/* Keep the pain points in the clear left-hand area of the Why REMAN image. */
.why .split-copy {
  display: block;
}

.why .pain-list {
  max-width: 590px;
  margin-top: 30px;
}

.benefits {
  padding-bottom: 55px;
}

.benefit-grid article {
  border-width: 2px;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.reviews {
  background-image: url('assets/review-slide-bg.png');
  background-position: center;
}

@media (min-width: 701px) {
  .hero {
    background-image: url('assets/hero-section-background-220826.png');
  }
}

.final-cta {
  background-image: url('assets/cta-background-220826-1.png');
}

.final-cta h2,
.final-cta h2 em {
  color: #000000;
}

.final-cta h2 {
  white-space: nowrap;
}

html[lang="en"] .final-cta h2 {
  white-space: normal;
  font-size: clamp(38px, 4.2vw, 58px);
}

html[lang="en"] .hero h1 {
  color: #000000;
}

.final-cta .lead {
  color: #000000;
}

.final-cta .purchase-card span,
.final-cta .purchase-card small {
  color: #000000;
}

.final-benefits {
  margin: 22px 0 0;
  padding-left: 20px;
  color: #000000;
}

.final-benefits li {
  margin-bottom: 6px;
  color: #000000;
  font-size: 14px;
}

footer {
  min-height: 90px;
}

.final-cta .button span {
  color: #ffffff;
}

@media (min-width: 701px) {
  .final-cta .final-copy {
    transform: translateX(-150px);
  }
}

.purchase-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.purchase-notes span {
  max-width: none;
  color: #000000;
  font-size: 10px;
}

@media (max-width: 700px) {
  .purchase-notes {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.final-cta .purchase-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.final-cta .purchase-notes span {
  max-width: none;
  color: #000000;
  font-size: 10px;
}

@media (max-width: 700px) {
  .final-cta .purchase-notes {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

.steps article {
  width: 155px;
  min-height: 125px;
  padding: 18px;
  border-width: 2px;
}

.steps b {
  font-size: 26px;
}

.steps span {
  font-size: 14px;
  line-height: 1.65;
}

/* Stack the usage facts in the same clear, editorial format as the pain list. */
.how-stats {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 0;
}

.how-stats span {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.how-stats b {
  margin: 0;
  color: #000000;
  font-size: 13px;
}

.how-stats img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  object-fit: cover;
}

.trust-grid div {
  text-align: center;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  .steps article {
    width: 33%;
    min-height: 110px;
    padding: 13px;
  }

  .steps b {
    font-size: 22px;
  }

  .steps span {
    font-size: 12px;
  }

  .how-stats span {
    gap: 10px;
  }

  .how-stats b {
    font-size: 10px;
  }

  .how-stats img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 0;
    height: 100vh;
    max-height: 100vh;
    background-image: url('assets/hero-section-background-mobile-220826.png');
    background-position: center;
  }

  .hero-content {
    transform: translateY(-80px);
  }

  .hero .proof {
    margin-top: 20px;
  }

  .why {
    min-height: 0;
    height: 100vh;
    max-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url('assets/why-reman-section-background-mobile-1.png');
    background-position: center;
  }

  .formula {
    max-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url('assets/ingredient-section-background-mobile-1.png');
    background-position: center bottom;
  }

  .how {
    max-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('assets/how-to-section-background-mobile-1.png');
    background-position: center;
  }

  .reviews {
    max-height: 100vh;
    background-image: url('assets/testimonial-section-background-mobile-1.png');
    background-position: center;
  }

  .reviews .wrap {
    transform: translateY(-45px);
  }

  .reviews .review-grid {
    width: 80%;
  }

  .reviews .disclaimer {
    transform: translateY(40px);
    font-family: Montserrat, Arial, sans-serif;
    font-style: italic;
    color: #000000;
  }

  .final-cta {
    max-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)), url('assets/final-cta-section-background-mobile-1.png');
    background-position: center;
  }

  .final-cta .final-copy {
    transform: translateY(-55px);
  }

  .faq {
    max-height: 100vh;
  }

  .benefits {
    padding-bottom: 40px;
  }
}

/* Larger desktop header presence. */
@media (min-width: 701px) {
  .nav {
    height: 120px;
  }

  .brand img {
    width: 204px;
    height: 104px;
  }

  .nav nav {
    gap: 38px;
    margin-right: 40px;
  }

  .nav nav a {
    font-size: 16px;
  }

  .nav .button-small {
    padding: 18px 24px;
    font-size: 14px;
    border-radius: 10px;
  }
}

/* Ingredient details now live in the Formula section. */
.ingredients {
  display: none;
}

.ingredient-list span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ingredient-list i {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.ingredient-list img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  object-fit: cover;
}

.ingredient-list small {
  color: #aaa99f;
  font-size: 9px;
  font-weight: 400;
  margin-top: 2px;
}

/* Use the available space before the product image for a clearer formula list. */
.formula-copy {
  padding-right: 33%;
}

.formula .ingredient-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
}

.ingredient-list img {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
}

.ingredient-list b {
  font-size: 15px;
}

.ingredient-list small {
  font-size: 11px;
}

@media (max-width: 700px) {
  .formula-copy {
    padding-right: 0;
  }

  .formula .ingredient-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .ingredient-list img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

/* Centre the redesigned formula content within the full section. */
.formula {
  justify-content: center;
  background-image: none;
}

.formula .formula-copy {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
  padding-right: 0;
}

.formula .formula-grid { width: 100%; }

@media (max-width: 700px) {
  .formula {
    height: auto;
    max-height: none;
    background-image: none;
  }

  .formula .formula-copy {
    width: min(100% - 36px, 600px);
  }

  /* Keep the mobile CTA aligned with the current desktop design. */
  .final-cta {
    min-height: 1080px;
    max-height: none;
    background-image: url('assets/cta-background-mobile-220826.png');
    background-position: center;
  }

  .final-cta .final-copy {
    transform: translateY(200px);
  }

  html[lang="en"] .hero {
    height: 800px;
    min-height: 800px;
    max-height: none;
  }

  html[lang="en"] .hero-content {
    transform: translateY(-100px);
  }

  html[lang="en"] .hero h1 {
    font-size: 38px;
  }

  html[lang="en"] .problems-heading h2 {
    text-align: center;
  }
}

.how-to-use {
  padding: 78px 0 90px;
  background: #ffffff;
  color: #9fb172;
}

.how-to-use h2 {
  margin: 0 0 52px;
  color: #9fb172;
  text-align: center;
  font-size: clamp(42px, 4.3vw, 64px);
  letter-spacing: .03em;
}

.how-to-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.how-to-use-grid img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .how-to-use { padding: 55px 0 62px; }
  .how-to-use h2 { margin-bottom: 34px; font-size: 38px; }
  .how-to-use-grid { grid-template-columns: 1fr; gap: 18px; }
}

.testimonials {
  padding: 78px 0 90px;
  background: #ffffff;
  color: #000000;
}

.testimonials h2 {
  margin: 0;
  color: #000000;
  text-align: center;
  font-size: clamp(42px, 4.3vw, 64px);
  letter-spacing: .03em;
}

.testimonials > .wrap > p {
  margin: 12px 0 52px;
  color: #000000;
  text-align: center;
  font-size: 17px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonials-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 700px) {
  .testimonials { padding: 55px 0 62px; }
  .testimonials h2 { font-size: 38px; }
  .testimonials > .wrap > p { margin: 10px 0 34px; font-size: 14px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid img { border-radius: 9px; }
}
