.decisions {
  background: #f6f8fc;
}

.decisions .center {
  margin-bottom: 42px;
}

.tabs {
  top: 82px;
  margin-bottom: 38px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
}

.tabs {
  grid-template-columns: repeat(3, 1fr);
}

.tabs a.active,
.tabs a:hover {
  color: #fff;
  background: var(--navy);
}

.scenario-anchor {
  display: block;
  height: 0;
  pointer-events: none;
}

.scenario,
.scenario.reverse {
  position: sticky;
  top: 146px;
  min-height: clamp(500px, 68vh, 580px);
  gap: 36px;
  padding: clamp(36px, 4vw, 48px);
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 24px 66px rgba(25, 48, 86, 0.11);
  overflow: hidden;
}

.scenario:nth-of-type(1) {
  z-index: 1;
}

.scenario:nth-of-type(2) {
  top: 154px;
  z-index: 2;
}

.scenario:nth-of-type(3) {
  top: 162px;
  z-index: 3;
}

.scenario:nth-of-type(3) {
  margin-bottom: 0;
}

@media (max-height: 760px) and (min-width: 951px) {
  .scenario,
  .scenario.reverse {
    min-height: 480px;
    padding-block: 32px;
  }

  .number {
    font-size: 58px;
  }

  .copy h3 {
    margin-bottom: 14px;
    font-size: 32px;
  }

  .copy blockquote {
    margin-bottom: 12px;
  }
}

.scenario.reverse .copy,
.scenario.reverse .graphic {
  order: initial;
}

/* Match the editorial type scale used across Solution 01 and 02. */
.connection {
  padding: 40px;
  border-radius: 28px;
}

.sources,
.objects,
.choices {
  gap: 12px;
}

.sources b {
  padding: 12px 20px;
  font-size: 14px;
}

.objects span {
  padding: 9px 15px;
  font-size: 14px;
}

.choices b {
  padding: 11px 22px;
  font-size: 14px;
}

.connection > i {
  padding: 12px;
  font-size: 22px;
}

.context {
  padding: 28px;
  border-radius: 18px;
}

.context small {
  font-size: 12px;
}

.context b {
  margin: 7px 0;
  font-size: 28px;
}

.context span {
  font-size: 16px;
}

.ready-grid {
  gap: 16px;
}

.ready-grid article {
  padding: 26px;
  border-radius: 20px;
}

.ready-grid header small {
  font-size: 12px;
}

.ready-grid header b {
  font-size: 21px;
}

.ready-grid ul {
  padding-left: 21px;
  font-size: 16px;
  line-height: 1.55;
}

.ready-grid li {
  margin: 11px 0;
}

.truth {
  padding: 21px 24px;
  margin-top: 16px;
  border-radius: 16px;
}

.truth strong,
.truth span {
  font-size: 14px;
  line-height: 1.55;
}

.value {
  padding: 96px 0;
}

.value h2 {
  font-size: 44px;
}

.values {
  gap: 14px;
}

.values article {
  padding: 25px;
  border-radius: 16px;
}

.values b {
  font-size: 18px;
}

.values p {
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.5;
}

/* Use the same branded closing panel as the other Beauty solutions. */
.final .wrap > div {
  position: relative;
  padding: 72px 30px;
  border: 0;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #2463eb, #164ac5);
  overflow: hidden;
}

.final .wrap > div::before {
  content: "";
  position: absolute;
  top: -520px;
  left: 50%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 67%);
  transform: translateX(-50%);
}

.final .wrap > div > * {
  position: relative;
}

.final small {
  color: #bdd1ff;
  font-size: 12px;
}

.final h2 {
  color: #fff;
  font-size: clamp(40px, 4.2vw, 56px);
}

.final h2 em {
  color: #d3e1ff;
}

.final p {
  color: #dce7ff;
  font-size: 16px;
}

.final .btn {
  color: var(--blue) !important;
  background: #fff;
}

@media (max-width: 950px) {
  .scenario,
  .scenario.reverse {
    position: relative;
    top: auto !important;
    min-height: auto;
    padding: 40px;
    border-radius: 32px;
  }
}

@media (max-width: 640px) {
  .tabs {
    top: 62px;
    display: flex;
    margin-right: -14px;
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs a {
    min-width: 145px;
    white-space: nowrap;
  }

  .scenario {
    gap: 24px;
    padding: 28px 21px;
    margin-bottom: 28px;
    border-radius: 28px;
    scroll-margin-top: 128px;
  }

  .connection {
    padding: 24px 18px;
  }

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

  .context span {
    font-size: 14px;
  }

  .ready-grid article {
    padding: 22px;
  }

  .value {
    padding: 72px 0;
  }

  .value h2 {
    font-size: 35px;
  }

  .final .wrap > div {
    padding: 54px 20px;
    border-radius: 24px;
  }
}
