.home-page .home-products {
  padding: clamp(82px, 10vw, 150px) 0;
  overflow: clip;
  background:
    radial-gradient(circle at 82% 12%, rgba(168, 136, 79, .18), transparent 30%),
    linear-gradient(145deg, #f1ebdf 0%, var(--home-paper) 100%);
}

.home-page .product-layout {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(600px, 1.3fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
}

.home-page .product-copy h2 {
  margin-top: 18px;
  color: var(--home-forest);
  font-size: clamp(2.8rem, 5.6vw, 6rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
  text-transform: uppercase;
}

.home-page .product-copy > p {
  max-width: 42ch;
  margin-top: 26px;
  color: var(--home-copy);
  font-size: 1.04rem;
}

.home-page .product-benefits {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  list-style: none;
}

.home-page .product-benefits li {
  position: relative;
  padding-left: 24px;
  color: var(--home-forest);
  font-size: .9rem;
  font-weight: 800;
}

.home-page .product-benefits li::before {
  content: '';
  position: absolute;
  top: .52em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-brass-deep);
  box-shadow: 0 0 0 5px rgba(168, 136, 79, .14);
}

.home-page .product-stage {
  position: relative;
  min-width: 0;
  min-height: 590px;
  margin: 0;
  perspective: 1600px;
}

.home-page .product-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(15, 45, 38, .18);
  border-radius: 18px;
  background: var(--home-ivory);
  box-shadow: 0 34px 74px rgba(8, 35, 29, .27);
  transition: transform .9s cubic-bezier(.2, .75, .2, 1), opacity .7s ease;
}

.home-page .product-window-os {
  z-index: 3;
  bottom: 10px;
  left: 0;
  width: 88%;
  height: 420px;
  transform: rotateY(6deg) rotateZ(-1.5deg);
}

.home-page .product-window-launchpad {
  top: 12px;
  right: 0;
  width: 76%;
  height: 380px;
  transform: rotateY(-7deg) rotateZ(2deg);
  opacity: .96;
}

.home-page .product-stage.reveal:not(.in) .product-window-os {
  transform: translate3d(-38px, 18px, 0) rotateY(6deg) rotateZ(-1.5deg);
  opacity: .5;
}

.home-page .product-stage.reveal:not(.in) .product-window-launchpad {
  transform: translate3d(38px, -14px, 0) rotateY(-7deg) rotateZ(2deg);
  opacity: .45;
}

.home-page .product-window-bar {
  height: 38px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--home-forest);
  color: rgba(247, 245, 240, .82);
  font-size: .56rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home-page .product-window-bar strong {
  color: inherit;
  font-size: inherit;
}

.home-page .product-window-bar span {
  padding: 4px 7px;
  border: 1px solid rgba(247, 245, 240, .24);
  border-radius: 999px;
  color: var(--home-brass);
  font-size: .44rem;
  font-weight: 800;
}

.home-page .kc-demo-product {
  height: calc(100% - 38px);
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  background: var(--home-ivory);
}

.home-page .kc-demo-sidebar {
  padding: 22px 14px;
  background: #10342c;
  color: rgba(247, 245, 240, .76);
}

.home-page .kc-demo-logo {
  margin-bottom: 25px;
  color: var(--home-white);
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.home-page .kc-demo-nav {
  margin: 7px 0;
  padding: 7px 8px;
  border-radius: 6px;
  color: inherit;
  font-size: .42rem;
  font-weight: 700;
}

.home-page .kc-demo-nav.selected {
  background: rgba(247, 245, 240, .11);
  color: var(--home-white);
}

.home-page .kc-demo-main {
  min-width: 0;
  padding: 24px 26px;
  background: var(--home-ivory);
}

.home-page .kc-demo-eyebrow {
  color: #789086;
  font-size: .42rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-page .kc-demo-main h3 {
  max-width: 370px;
  margin-top: 7px;
  color: var(--home-forest);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.home-page .kc-demo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 17px;
}

.home-page .kc-demo-card,
.home-page .kc-demo-list,
.home-page .kc-demo-panel {
  border: 1px solid #dfdbd2;
  border-radius: 8px;
  background: var(--home-white);
}

.home-page .kc-demo-card {
  min-height: 72px;
  padding: 11px;
}

.home-page .kc-demo-card small,
.home-page .kc-demo-list small {
  display: block;
  color: #7d8b85;
  font-size: .36rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-page .kc-demo-card strong {
  display: block;
  margin-top: 9px;
  color: var(--home-forest);
  font-size: .62rem;
}

.home-page .kc-demo-list {
  margin-top: 10px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-page .kc-demo-list strong {
  display: block;
  margin-top: 4px;
  color: var(--home-forest);
  font-size: .5rem;
}

.home-page .kc-demo-list > span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #dce7df;
  color: var(--home-forest);
  font-size: .36rem;
  font-weight: 900;
  white-space: nowrap;
}

.home-page .kc-demo-launchpad h3 {
  font-size: 1.2rem;
}

.home-page .kc-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.home-page .kc-demo-panel {
  min-height: 92px;
  padding: 11px;
}

.home-page .kc-demo-panel > strong {
  color: var(--home-forest);
  font-size: .5rem;
}

.home-page .kc-demo-bars {
  height: 48px;
  margin-top: 11px;
  display: flex;
  align-items: end;
  gap: 5px;
}

.home-page .kc-demo-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #b6c8be;
}

.home-page .kc-demo-bars i:nth-child(1) { height: 34%; }
.home-page .kc-demo-bars i:nth-child(2) { height: 52%; }
.home-page .kc-demo-bars i:nth-child(3) { height: 45%; }
.home-page .kc-demo-bars i:nth-child(4) { height: 72%; background: var(--home-brass-deep); }
.home-page .kc-demo-bars i:nth-child(5) { height: 88%; background: var(--home-forest); }

.home-page .kc-demo-lines {
  margin-top: 15px;
  display: grid;
  gap: 8px;
}

.home-page .kc-demo-lines i {
  width: 88%;
  height: 8px;
  border-radius: 999px;
  background: #e1e7e3;
}

.home-page .kc-demo-lines i:nth-child(2) {
  width: 66%;
  background: #d5c49e;
}

.home-page .kc-demo-lines i:nth-child(3) {
  width: 78%;
}

.home-page .product-stage figcaption {
  position: absolute;
  right: 3%;
  bottom: -28px;
  color: #65736d;
  font-size: .65rem;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .home-page .product-layout {
    grid-template-columns: minmax(260px, .75fr) minmax(500px, 1.25fr);
    gap: 36px;
  }

  .home-page .product-stage {
    min-height: 520px;
  }

  .home-page .product-window-os {
    height: 390px;
  }

  .home-page .product-window-launchpad {
    height: 350px;
  }
}

@media (max-width: 880px) {
  .home-page .product-layout {
    grid-template-columns: 1fr;
  }

  .home-page .product-copy {
    max-width: 640px;
  }

  .home-page .product-stage {
    min-height: 0;
    display: grid;
    gap: 22px;
    margin-top: 16px;
    perspective: none;
  }

  .home-page .product-window {
    position: relative;
    inset: auto;
    width: 100%;
    height: min(410px, 74vw);
    transform: none;
  }

  .home-page .product-window-os {
    order: 1;
  }

  .home-page .product-window-launchpad {
    order: 2;
  }

  .home-page .product-stage.reveal:not(.in) .product-window-os,
  .home-page .product-stage.reveal:not(.in) .product-window-launchpad {
    transform: translateY(18px);
  }

  .home-page .product-stage figcaption {
    position: static;
    order: 3;
  }
}

@media (max-width: 520px) {
  .home-page .product-window {
    height: 330px;
  }

  .home-page .kc-demo-product {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .home-page .kc-demo-sidebar {
    padding: 16px 9px;
  }

  .home-page .kc-demo-main {
    padding: 18px 14px;
  }

  .home-page .kc-demo-main h3 {
    font-size: 1rem;
  }

  .home-page .kc-demo-cards {
    grid-template-columns: 1fr;
  }

  .home-page .kc-demo-card {
    min-height: 48px;
  }

  .home-page .kc-demo-card:nth-child(3),
  .home-page .kc-demo-list:last-child,
  .home-page .kc-demo-grid > :nth-child(n + 3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .product-window,
  .home-page .product-stage.reveal:not(.in) .product-window-os,
  .home-page .product-stage.reveal:not(.in) .product-window-launchpad {
    transition: none;
    opacity: 1;
  }

  .home-page .product-stage.reveal:not(.in) .product-window-os {
    transform: rotateY(6deg) rotateZ(-1.5deg);
  }

  .home-page .product-stage.reveal:not(.in) .product-window-launchpad {
    transform: rotateY(-7deg) rotateZ(2deg);
  }
}

@media (max-width: 880px) and (prefers-reduced-motion: reduce) {
  .home-page .product-stage.reveal:not(.in) .product-window-os,
  .home-page .product-stage.reveal:not(.in) .product-window-launchpad {
    transform: none;
  }
}
