.why-home {
  color: var(--ivory, #fbf8f0);
  background: var(--green, #153e32);
  padding-block: clamp(48px, 6vw, 92px);
}

.why-home > .wrap {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 104px);
  padding-block: 0;
}

.why-home .why-showcase,
.why-home .why-copy {
  min-width: 0;
}

.why-home #why-use {
  margin: 0;
}

.why-home #why-use span {
  white-space: nowrap;
}

.why-home .demo-player {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, clamp(255px, 23vw, 295px));
  margin: clamp(24px, 3vw, 40px) auto 0;
}

.why-home .app-phone {
  width: 100%;
  aspect-ratio: 546 / 1034;
}

.why-home .app-phone video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--green, #153e32);
}

.why-home .demo-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid var(--rule, #d9d9c8);
  border-radius: 999px;
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.2;
  color: var(--green, #153e32);
  background: var(--paper, #fffdf8);
  cursor: pointer;
}

.why-home .demo-toggle:hover {
  border-color: var(--green, #153e32);
}

.why-home .demo-toggle:focus-visible {
  outline: 2px solid var(--ivory, #fbf8f0);
  outline-offset: 3px;
}

.why-home .demo-glyph {
  position: relative;
  width: 13px;
  height: 13px;
  flex: none;
}

.why-home .demo-glyph::before {
  content: "";
  position: absolute;
  inset: 1px 0 1px 3px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.why-home [data-state="playing"] .demo-glyph::before {
  inset: 1px 2px;
  background: linear-gradient(to right, currentColor 0 33%, transparent 33% 67%, currentColor 67%);
  clip-path: none;
}

.why-home [data-state="ended"] .demo-glyph::before {
  inset: 1px;
  border: 1.6px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  background: transparent;
  clip-path: none;
}

.why-home [data-state="ended"] .demo-glyph::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 6px;
  background: currentColor;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.why-home [hidden] {
  display: none;
}

.why-home .why-copy .why-intro {
  margin: 0 0 clamp(20px, 3vw, 36px);
  max-width: 47ch;
  font-size: clamp(1.075rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: #e2eadf;
}

.why-home .why-copy dl {
  margin: 0;
}

.why-home .why-copy dl > div {
  --icon-size: 44px;
  --icon-gap: clamp(12px, 1.2vw, 18px);
  position: relative;
  margin: 0;
  padding: clamp(17px, 2vw, 26px) 0 clamp(17px, 2vw, 26px) calc(var(--icon-size) + var(--icon-gap));
  border-block-start: 1px solid #527062;
}

.why-home .why-copy dt {
  margin: 0 0 5px;
  font-weight: 700;
  line-height: 1.25;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
}

.why-home .why-copy dd {
  margin: 0;
  line-height: 1.55;
  max-width: 52ch;
  color: #e2eadf;
}

.why-home .why-icon {
  position: absolute;
  inset-inline-start: 0;
  top: clamp(17px, 2vw, 26px);
  display: grid;
  place-items: center;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 12px;
  color: var(--ivory, #fbf8f0);
  background: #315547;
}

.why-home .why-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .why-home > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .why-home .demo-player {
    width: min(100%, clamp(245px, 66vw, 280px));
  }

  .why-home .why-copy dl > div {
    --icon-size: 40px;
  }
}
