/* Shared slide geometry and pre-refinement hero type. */
body.showcase-home.design-refined #main-content .showcase-hero{--hero-controls-height:76px;--hero-controls-bottom:65px;--hero-button-gap:44px;--hero-top-space:120px;height:calc(100svh - 15px)!important;min-height:var(--hero-required-height,900px)!important;max-height:none!important}
body.showcase-home.design-refined #main-content .showcase-content{position:absolute;left:7%;right:7%;bottom:calc(var(--hero-controls-bottom) + var(--hero-controls-height) + var(--hero-button-gap));max-width:1300px!important;width:auto!important;margin:0 auto!important;padding:0!important;display:grid;grid-template-rows:var(--hero-kicker-row,28px) var(--hero-title-row,170px) var(--hero-description-row,66px) var(--hero-note-row,54px) auto;row-gap:0;justify-items:start;align-items:start}
body.showcase-home.design-refined #main-content .showcase-title{font-size:clamp(48px,5.1vw,80px)!important;line-height:1.05!important;letter-spacing:-2.5px!important;font-weight:800!important;max-width:min(960px,100%)!important;margin:0!important;color:white!important}
body.showcase-home.design-refined #main-content .showcase-kicker{font-size:17px!important;line-height:1.5!important;margin:0!important;color:#fff!important}
body.showcase-home.design-refined #main-content .showcase-description{font-size:19px!important;line-height:1.55!important;max-width:620px!important;margin:0!important;color:white!important}
body.showcase-home.design-refined #main-content .showcase-note{font-size:17px!important;line-height:1.6!important;max-width:530px!important;margin:0!important;color:#fff!important}
body.showcase-home.design-refined #main-content .showcase-cta{min-height:52px;align-self:start;margin:0!important}
body.showcase-home.design-refined #main-content .showcase-controls{bottom:var(--hero-controls-bottom)!important;left:7%!important;right:7%!important;max-width:1300px!important;margin:0 auto!important}
@media(min-width:761px) and (max-width:1100px){body.showcase-home.design-refined #main-content .showcase-title{font-size:60px!important}}
@media(max-width:760px){
body.showcase-home.design-refined #main-content .showcase-hero{--hero-controls-bottom:32px;--hero-button-gap:36px;--hero-top-space:110px}
body.showcase-home.design-refined #main-content .showcase-content{left:6%;right:6%;padding:0!important}
body.showcase-home.design-refined #main-content .showcase-controls{left:6%!important;right:6%!important}
body.showcase-home.design-refined #main-content .showcase-title{font-size:44px!important;letter-spacing:-1.5px!important}
body.showcase-home.design-refined #main-content .showcase-description{font-size:17px!important;line-height:1.6!important}
body.showcase-home.design-refined #main-content .showcase-note{font-size:15px!important}
}

/* Anchor all four slide copy blocks higher, independently of the bottom category navigation. */
body.showcase-home.design-refined #main-content .showcase-content{top:var(--hero-top-space)!important;bottom:auto!important;height:auto!important}

/* Keep the interactive hero inside a desktop monitor shell. */
.showcase-monitor {
  --showcase-neck-height: clamp(28px, 4vw, 68px);
  position: relative;
  box-sizing: border-box;
  --showcase-gutter: max(clamp(14px, 3.5vw, 56px), calc((100% - 1312px) / 2));
  width: calc(100% - 2 * var(--showcase-gutter));
  margin: clamp(10px, 1.5vw, 24px) auto calc(var(--showcase-neck-height) + 22px);
  padding: 9px 7px 11px;
  border: 1px solid #38393a;
  border-radius: 9px;
  background:
    radial-gradient(circle, #536269 1px, #090c0d 2px, transparent 3px) center top 1px / 9px 8px no-repeat,
    linear-gradient(#292929, #151515 4%, #161616 96%, #292929);
  box-shadow: 0 10px 28px -16px #0b24298c;
}

body.showcase-home.design-refined #main-content .showcase-monitor .showcase-hero {
  position: relative;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
}

.showcase-monitor::before,
.showcase-monitor::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.showcase-monitor::before {
  top: 100%;
  width: clamp(62px, 17%, 225px);
  height: var(--showcase-neck-height);
  clip-path: polygon(22% 0, 78% 0, 80% 76%, 85% 92%, 94% 100%, 6% 100%, 15% 92%, 20% 76%);
  background: linear-gradient(#73787b, #c4c8ca 60%, #eef0f0 83%, #a8adaf);
}

.showcase-monitor::after {
  top: calc(100% + var(--showcase-neck-height) - 2px);
  width: clamp(105px, 32%, 390px);
  height: clamp(9px, 1.15vw, 17px);
  border-radius: 16% 16% 6px 6px / 70% 70% 5px 5px;
  background: linear-gradient(#a1a7aa, #e7e9ea 69%, #909698 82%, #c3c7c8);
  box-shadow: 0 5px 10px #17252b40;
}

@media (min-width: 1251px) {
  body.showcase-home.site-design > header #primary-navigation {
    gap: 10px;
  }
}

body.showcase-home.design-refined #main-content .showcase-monitor .showcase-hero {
  --hero-top-space: 64px;
  height: calc(100svh - 145px) !important;
}

@media (max-width: 760px) {
  .showcase-monitor {
    --showcase-gutter: 14px;
  }

  body.showcase-home.design-refined #main-content .showcase-monitor .showcase-hero {
    --hero-top-space: 32px;
    height: auto !important;
  }
}

/* Keep the copy comfortably inside the desktop monitor. */
@media (min-width: 761px) {
  .showcase-monitor {
    container-type: inline-size;
  }

  body.showcase-home.design-refined #main-content .showcase-monitor .showcase-hero {
    --hero-top-space: 36px;
    --hero-controls-bottom: 44px;
    --hero-button-gap: 32px;
    --hero-screen-height: min(56.25cqw, 630px);
    --hero-group-offset: max(0px, calc((var(--hero-screen-height) - var(--hero-required-height, 630px)) / 2));
    height: var(--hero-screen-height) !important;
    min-height: var(--hero-required-height, 630px) !important;
  }

  body.showcase-home.design-refined #main-content .showcase-monitor .showcase-content {
    top: calc(var(--hero-top-space) + var(--hero-group-offset)) !important;
  }

  body.showcase-home.design-refined #main-content .showcase-monitor .showcase-controls {
    bottom: calc(var(--hero-controls-bottom) + var(--hero-group-offset)) !important;
  }

  body.showcase-home.design-refined #main-content .showcase-monitor .showcase-title {
    font-size: clamp(44px, 4.55vw, 70px) !important;
  }

  body.showcase-home.design-refined #main-content .showcase-monitor .showcase-description {
    font-size: 17px !important;
    max-width: 570px !important;
  }

  body.showcase-home.design-refined #main-content .showcase-monitor :is(.showcase-kicker, .showcase-note) {
    font-size: 16px !important;
  }

  body.showcase-home.design-refined #main-content .showcase-monitor .showcase-cta {
    min-height: 46px;
    padding: 0 22px !important;
  }
}
