/* Section 3: a single personal experiment, integrated with everyday life. */
.frame-home > .frame-intro.mura-benefits-refined {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 4.5rem max(3rem, calc((100% - 70rem) / 2));
  background: var(--frame-paper, #f3efe8);
  scroll-margin-top: 5.5rem;
  contain-intrinsic-size: auto 760px;
}

.frame-home .frame-intro.mura-benefits-refined .frame-intro__copy {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 27rem;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
}

.frame-home .mura-benefits-refined__eyebrow {
  margin: 0 0 1.25rem;
  color: var(--frame-muted, #706d67);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
}

.frame-home .frame-intro.mura-benefits-refined #FrameIntroTitle {
  max-width: 100%;
  margin: 0;
  color: var(--frame-ink, #191918);
  font-size: clamp(2.125rem, 3.4vw, 2.8125rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.frame-home .frame-intro.mura-benefits-refined .frame-lede {
  max-width: 38ch;
  margin: 1.5rem 0 0 !important;
  color: var(--frame-muted, #706d67);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.frame-home .mura-experiment__visual {
  min-width: 0;
  width: 100%;
  max-width: 36rem;
  justify-self: center;
}

.frame-home .mura-experiment__scene {
  position: relative;
}

.frame-home .mura-experiment__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  object-fit: cover;
}

/* Limit the generated retouch to the wearable, preserving the original scene. */
.frame-home .mura-experiment__band-retouch {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1536' height='1024' viewBox='0 0 1536 1024'%3E%3Cdefs%3E%3Cfilter id='soften'%3E%3CfeGaussianBlur stdDeviation='3'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='486' y='431' width='172' height='109' rx='8' fill='white' filter='url(%23soften)'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.frame-home .mura-experiment__result {
  position: relative;
  width: calc(100% - 2rem);
  max-width: 34rem;
  margin: -3rem auto 0;
  padding: 1.375rem 1.5rem 1rem;
  container: mura-experiment / inline-size;
  border: 1px solid #e4e4dd;
  border-radius: 18px;
  background: var(--frame-white, #fdfcf9);
  color: #292e2b;
  box-shadow: 0 6px 24px rgb(30 32 27 / 4%);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.frame-home .mura-experiment__result :is(h3, p, dl, dt, dd) { margin: 0; }
.frame-home .mura-experiment__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}
.frame-home .mura-experiment__label {
  color: #6e7a6c;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .08em;
}
.frame-home .mura-experiment__completed {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: #6b7568;
  font-size: .75rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.frame-home .mura-experiment__completed svg {
  width: .875rem;
  height: .875rem;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.frame-home .mura-experiment__header h3 {
  margin-top: .625rem;
  color: #252a27;
  font-size: 1.4375rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.frame-home .mura-experiment__result .mura-experiment__metrics {
  display: grid;
  gap: .125rem;
  margin-top: 1rem;
  padding-top: .5rem;
  border-top: 1px solid #e8e8e1;
}
.frame-home .mura-experiment__metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 2.625rem;
  padding-block: .375rem;
}
.frame-home .mura-experiment__metric dt {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #626960;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.frame-home .mura-experiment__metric dt > svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
  color: #929c8d;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.frame-home .mura-experiment__metric dd {
  color: #2d3930;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.01em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.frame-home .mura-experiment__metric--research dd { color: #626960; }
.frame-home .mura-experiment__research {
  display: block;
  margin-top: .125rem;
  color: #6f756b;
  font-size: .75rem;
  line-height: 1.35;
  letter-spacing: 0;
}
.frame-home .mura-experiment__footer {
  margin-top: .375rem;
  padding-top: .875rem;
  border-top: 1px solid #e8e8e1;
}
.frame-home .mura-experiment__comparison {
  color: #6f756b;
  font-size: .75rem;
  line-height: 1.5;
}
.frame-home .mura-experiment__visual .mura-experiment__disclosure {
  margin: .625rem 0 0;
  text-align: center;
  color: var(--frame-muted, #706d67);
  font-size: .75rem;
  line-height: 1.45;
}

@media (min-width: 961px) {
  .frame-home > .frame-intro.mura-benefits-refined {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  }
  .frame-home .frame-intro.mura-benefits-refined .frame-intro__copy {
    grid-column: 2;
    grid-row: 1;
  }
  .frame-home .mura-experiment__visual {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 960px) {
  .frame-home > .frame-intro.mura-benefits-refined {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding: 3rem max(1.5rem, env(safe-area-inset-right)) 3rem max(1.5rem, env(safe-area-inset-left));
    scroll-margin-top: 4.5rem;
  }
  .frame-home .frame-intro.mura-benefits-refined .frame-intro__copy { max-width: 36rem; justify-self: center; }
  .frame-home .frame-intro.mura-benefits-refined #FrameIntroTitle { max-width: 28rem; }
  .frame-home .frame-intro.mura-benefits-refined .frame-lede { max-width: 48ch; font-size: 1rem; line-height: 1.6; }
  .frame-home .mura-experiment__visual { max-width: 36rem; }
}

@media (max-width: 820px) {
  .frame-home > .frame-intro.mura-benefits-refined { gap: 2rem; padding-block: 2.5rem; }
  .frame-home .frame-intro.mura-benefits-refined #FrameIntroTitle {
    font-size: clamp(1.875rem, 8vw, 2.375rem);
    line-height: 1.18;
  }
  .frame-home .mura-experiment__result {
    width: 100%;
    margin: -1.5rem auto 0;
    padding: 1.25rem 1.125rem 1rem;
    border-radius: 16px;
  }
}

@container mura-experiment (max-width: 20rem) {
  .frame-home .mura-experiment__metric { gap: .625rem; }
  .frame-home .mura-experiment__metric dt { gap: .5rem; }
}

@container mura-experiment (max-width: 16rem) {
  .frame-home .mura-experiment__metric dt > svg { display: none; }
  .frame-home .mura-experiment__metric { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Give enlarged text its own line without shrinking the type. */
@container mura-experiment (max-width: 11rem) {
  .frame-home .mura-experiment__metric { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .frame-home .mura-experiment__metric dd { text-align: left; }
}
