.screenshot-tour{
  --shot-green: #35c866;
  --shot-deep: #071a10;
  --shot-panel: #102219;
  --shot-line: rgba(169, 231, 173, .18);
  --tour-stage-height: clamp(438px, calc(100svh - 227px), 749px);
  padding: clamp(34px, 2.4vw, 46px) 0;
  padding-bottom: clamp(34px, 2.4vw, 46px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #eef7f0;
  background:
    radial-gradient(circle at 15% 12%, rgba(69, 166, 93, .12), transparent 35%),
    linear-gradient(145deg, #0d1712 0%, #0f1f17 50%, #102219 100%);
}

.screenshot-tour::before,.screenshot-tour::after{
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.screenshot-tour::before{
  top: 0;
  right: var(--hero-tour-geometry-right, -1%);
  width: var(--hero-tour-geometry-size, clamp(820px, 75vw, 1440px));
  height: auto;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(69, 166, 93, .15), rgba(117, 219, 124, .04));
  border-radius: 50%;
  transform: translateY(-50%);
}

.screenshot-tour::after{
  bottom: -10%;
  left: -25%;
  width: 78%;
  height: 62%;
  background: linear-gradient(325deg, rgba(69, 166, 93, .1), rgba(117, 219, 124, .025));
  border-radius: 55% 45% 58% 42% / 52% 60% 40% 48%;
  transform: rotate(5deg);
}

.screenshot-tour.is-scroll-story{
  height: calc(100svh + var(--tour-scroll-distance, 2500px));
  padding-block: 0;
  overflow: clip;
}

.screenshot-tour.is-scroll-story .screenshot-tour-container{
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100svh;
  padding-block: clamp(18px, 2.2svh, 28px);
}

body[data-page="home"] .site-header{
  transition: transform 360ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

body[data-page="home"] .support-widget{
  transition: opacity 240ms ease, transform 360ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 0s;
  will-change: opacity, transform;
}

body[data-page="home"].screenshot-tour-header-hidden .site-header{
  transform: translateY(calc(-100% - 2px));
  pointer-events: none;
}

body[data-page="home"].screenshot-tour-header-hidden .support-widget{
  visibility: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition-delay: 0s, 0s, 240ms;
}

body[data-page="home"].screenshot-tour-header-hidden .support-widget *{
  pointer-events: none;
}

body[data-page="home"] .screenshot-tour .screenshot-tour-container{
  width: min(calc(100% - 40px), var(--wide));
  margin-inline: auto;
}

.screenshot-tour-head{
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 26px;
}

.screenshot-tour-head .eyebrow{
  grid-column: 1;
  align-self: end;
  margin-bottom: 7px;
  color: #73dd91;
}

.screenshot-tour-heading-stack{
  grid-column: 2;
  justify-self: end;
  width: min(100%, calc(var(--tour-stage-height) * 1.7779));
  max-width: none;
}

.screenshot-tour-head h2{
  margin-bottom: 0;
  color: #f3f8f4;
  font-size: clamp(32px, 3vw, 48px);
}

.screenshot-tour-stage{
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.screenshot-tour-panel{
  display: flex;
  flex-direction: column;
  min-height: var(--tour-stage-height);
  padding: 4px 0;
}

.screenshot-tour-meta{
  padding-bottom: 20px;
  border-bottom: 1px solid var(--shot-line);
}

.screenshot-tour-position{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.screenshot-tour-position::after{
  content: "";
  width: 22px;
  height: 1px;
  order: 2;
  background: var(--shot-line);
}

.screenshot-tour-position strong{
  order: 3;
  color: #d9e7dc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.screenshot-tour-count{
  display: block;
  margin-bottom: 0;
  color: #75db7c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.screenshot-tour-copy h3,.screenshot-tour-copy p{
  margin: 0;
}

.screenshot-tour-content-stack{
  display: grid;
}

.screenshot-tour-content-stack > .screenshot-tour-copy{
  grid-area: 1 / 1;
}

.screenshot-tour-copy h3{
  color: #f3f8f4;
  font-size: clamp(26px, 2.15vw, 32px);
}

.screenshot-tour-copy p{
  margin-top: 12px;
  color: #adbeb2;
  font-size: 16px;
  line-height: 1.58;
}

.screenshot-tour-tabs{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  margin: 10px 0 0;
  border-top: 1px solid var(--shot-line);
}

.screenshot-tour-tabs button{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px 10px;
  color: #91a598;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(169, 231, 173, .11);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.screenshot-tour-tabs button span{
  color: #71877a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.screenshot-tour-tabs button strong{
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .01em;
}

.screenshot-tour-tabs button:hover{
  color: #f3f8f4;
  background: rgba(69, 166, 93, .1);
}

.screenshot-tour-tabs button.is-active,.screenshot-tour-tabs button[aria-selected="true"]{
  color: #fff;
  background: rgba(69, 166, 93, .16);
  box-shadow: inset 0 2px var(--shot-green);
}

.screenshot-tour.is-scroll-story .screenshot-tour-tabs button.is-active,.screenshot-tour.is-scroll-story .screenshot-tour-tabs button[aria-selected="true"]{
  background: rgba(69, 166, 93, .2);
}

.screenshot-tour-tabs button.is-active span,.screenshot-tour-tabs button[aria-selected="true"] span{
  color: var(--shot-green);
}

.screenshot-tour-tabs button:focus-visible,.screenshot-tour-arrow:focus-visible,.screenshot-tour-rail-arrow:focus-visible,.screenshot-tour-lightbox button:focus-visible{
  outline: 3px solid rgba(53, 200, 102, .48);
  outline-offset: 3px;
}

.screenshot-tour-controls{
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: auto;
}

.screenshot-tour-controls > span{
  max-width: 170px;
  margin-left: 6px;
  color: #a7b9ad;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .015em;
  line-height: 1.35;
}

.screenshot-tour-arrow{
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  color: #75db7c;
  font: inherit;
  font-size: 20px;
  background: rgba(16, 34, 25, .72);
  border: 1px solid rgba(117, 219, 124, .35);
  border-radius: 50%;
  transition: background 180ms ease, border-color 180ms ease;
}

.screenshot-tour-arrow:hover{
  color: #fff;
  background: #19763a;
  border-color: #19763a;
}

.screenshot-tour-visual{
  position: relative;
  z-index: 0;
  justify-self: end;
  width: min(100%, calc(var(--tour-stage-height) * 1.7779));
}

.screenshot-tour-navigation{
  display: block;
  width: 100%;
  margin-top: 22px;
}

.screenshot-tour-navigation .screenshot-tour-tabs{
  margin: 0;
  background: rgba(3, 17, 9, .88);
  border-bottom: 1px solid var(--shot-line);
}

.screenshot-tour-rail-cue{
  display: none;
}

.screenshot-tour-frame{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #031109;
  border: 1px solid rgba(34, 119, 58, .38);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(17, 45, 26, .20);
  touch-action: pan-y;
  transform-origin: center;
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1), border-color 260ms ease, box-shadow 320ms ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .screenshot-tour-frame:hover{
    border-color: rgba(39, 157, 72, .64);
    box-shadow: 0 32px 72px rgba(17, 45, 26, .26), 0 0 0 1px rgba(39, 157, 72, .12);
    transform: translateY(-3px) scale(1.006);
  }
}

.screenshot-tour-viewport{
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  user-select: none;
  cursor: zoom-in;
}

.screenshot-tour-static-shell,.screenshot-tour-composite{
  position: absolute;
  inset: 0;
}

.screenshot-tour-static-shell{
  z-index: 0;
  pointer-events: none;
}

.screenshot-tour-static-shell > img{
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.screenshot-tour-slide{
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.997);
  transition: opacity 360ms ease, transform 520ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 520ms;
  pointer-events: none;
}

.screenshot-tour-slide.is-leaving{
  visibility: visible;
  pointer-events: none;
}

.screenshot-tour-slide.is-active{
  z-index: 2;
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
  pointer-events: auto;
}

.screenshot-tour-slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--shot-deep);
}

.screenshot-tour-crop{
  position: absolute;
  left: var(--crop-left);
  top: var(--crop-top);
  width: var(--crop-width);
  height: var(--crop-height);
  overflow: hidden;
}

.screenshot-tour-slide .screenshot-tour-crop > img{
  position: absolute;
  left: var(--crop-image-left);
  top: var(--crop-image-top);
  width: var(--crop-image-width);
  max-width: none;
  height: var(--crop-image-height);
  object-fit: fill;
  background: transparent;
}

.screenshot-tour-crop-neutral{
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6px, #000 calc(100% - 6px), transparent), linear-gradient(to bottom, transparent, #000 4px, #000 calc(100% - 4px), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 6px, #000 calc(100% - 6px), transparent), linear-gradient(to bottom, transparent, #000 4px, #000 calc(100% - 4px), transparent);
  mask-composite: intersect;
}

.screenshot-tour-lightbox{
  width: min(calc(100vw - 36px), 1740px);
  max-width: none;
  max-height: calc(100svh - 36px);
  padding: 0;
  overflow: hidden;
  color: #eff8f1;
  background: #06150c;
  border: 1px solid rgba(111, 199, 136, .48);
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .72);
}

.screenshot-tour-lightbox::backdrop{
  background: rgba(0, 10, 4, .82);
  backdrop-filter: blur(7px);
}

.screenshot-tour-lightbox-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding: 8px 10px 8px 18px;
  border-bottom: 1px solid var(--shot-line);
}

.screenshot-tour-lightbox-bar div{
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.screenshot-tour-lightbox-bar span{
  color: #6ee08e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.screenshot-tour-lightbox-bar strong{
  font-size: 14px;
}

.screenshot-tour-lightbox-bar button{
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  font: inherit;
  font-size: 25px;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.screenshot-tour-lightbox-bar button:hover{
  background: rgba(255, 255, 255, .08);
}

.screenshot-tour-lightbox > img{
  width: 100%;
  max-height: calc(100svh - 92px);
  object-fit: contain;
  background: var(--shot-deep);
}

@media (min-width: 1800px) and (min-height: 680px) {
  .screenshot-tour{
    --tour-stage-height: clamp(438px, calc(100svh - 202px), 774px);
  }

  .screenshot-tour-stage{
    position: relative;
  }

  .screenshot-tour-navigation{
    position: absolute;
    top: 0;
    left: calc(100% + 24px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(128px, calc((100vw - var(--wide)) / 2 - 40px));
    height: 100%;
    margin: 0;
    transform: none;
  }

  .screenshot-tour-navigation .screenshot-tour-tabs{
    position: relative;
    display: grid;
    flex: 1;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, minmax(0, 1fr));
    min-height: 0;
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid var(--shot-line);
    background: rgba(3, 17, 9, .82);
  }

  .screenshot-tour-navigation .screenshot-tour-tabs::after{
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: calc(var(--tour-scroll-progress, 0) * 100%);
    background: var(--shot-green);
    content: "";
    pointer-events: none;
    transition: height 180ms cubic-bezier(.22, 1, .36, 1);
  }

  .screenshot-tour-navigation .screenshot-tour-tabs button{
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 5px;
    align-content: center;
    align-items: center;
    min-height: 0;
    padding: 6px 7px 6px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(169, 231, 173, .11);
  }

  .screenshot-tour-navigation .screenshot-tour-tabs button span{
    grid-row: 1;
    font-size: 11px;
  }

  .screenshot-tour-navigation .screenshot-tour-tabs button strong{
    grid-row: 1;
    font-size: 13.5px;
  }

  .screenshot-tour-navigation .screenshot-tour-tabs button.is-complete{
    color: #9aada0;
  }

  .screenshot-tour-navigation .screenshot-tour-tabs button.is-complete span{
    color: #45a65d;
  }

  .screenshot-tour-navigation .screenshot-tour-tabs button.is-active,.screenshot-tour-navigation .screenshot-tour-tabs button[aria-selected="true"]{
    box-shadow: inset 2px 0 var(--shot-green);
  }

  .screenshot-tour-rail-cue{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    color: #9caf9f;
  }

  .screenshot-tour-rail-cue span,.screenshot-tour-rail-cue strong{
    grid-column: 1;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .screenshot-tour-rail-cue strong{
    color: #c8d8cc;
    font-size: 11px;
  }

  .screenshot-tour-rail-arrow{
    display: grid;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 42px;
    aspect-ratio: 1;
    padding: 0;
    place-items: center;
    color: #8bea9d;
    font: inherit;
    font-size: 22px;
    font-weight: 800;
    background: rgba(20, 59, 35, .88);
    border: 1px solid rgba(117, 219, 124, .58);
    border-radius: 50%;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
  }

  .screenshot-tour-rail-arrow:hover{
    color: #fff;
    background: #19763a;
    border-color: #19763a;
    transform: translateY(-1px);
  }

  .screenshot-tour-rail-intro{
    align-items: start;
    margin-bottom: 10px;
  }

  .screenshot-tour-rail-outro{
    align-items: end;
    margin-top: 10px;
  }

}

@media (max-width: 1100px) {
  .screenshot-tour-head,.screenshot-tour-stage{
    grid-template-columns: minmax(225px, 250px) minmax(0, 1fr);
    gap: 24px;
  }

  .screenshot-tour-panel{
    min-height: 390px;
  }

  .screenshot-tour-visual,.screenshot-tour-frame{
    width: 100%;
  }

  .screenshot-tour-copy p{
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .screenshot-tour{
    padding-block: 58px;
  }

  .screenshot-tour-head{
    display: block;
    margin-bottom: 24px;
  }

  .screenshot-tour-head .eyebrow{
    margin-bottom: 10px;
  }

  .screenshot-tour-stage{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .screenshot-tour-panel{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 178px;
    grid-template-rows: 1fr auto;
    gap: 20px;
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .screenshot-tour-meta{
    grid-row: 1 / 3;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .screenshot-tour-tabs{
    width: 100%;
    margin-top: 16px;
  }

  .screenshot-tour-tabs button{
    min-height: 38px;
  }

  .screenshot-tour-controls{
    grid-column: 2;
    grid-row: 2;
    margin-top: 4px;
  }

  .screenshot-tour-frame{
    align-self: center;
    width: 100%;
  }

  .screenshot-tour-visual{
    width: 100%;
  }

  .screenshot-tour-navigation{
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
  }
}

@media (max-height: 679px) {
  .screenshot-tour.is-scroll-story{
    height: auto;
    padding: clamp(34px, 2.4vw, 46px) 0;
  }

  .screenshot-tour.is-scroll-story .screenshot-tour-container{
    position: static;
    display: block;
    height: auto;
    padding-block: 0;
  }
}

@media (max-width: 560px) {
  .screenshot-tour{
    padding-block: 48px;
  }

  .screenshot-tour::before{
    top: 0;
    right: var(--hero-tour-geometry-right, -54%);
    width: var(--hero-tour-geometry-size, 154vw);
    height: auto;
    background: linear-gradient(145deg, rgba(69, 166, 93, .15), rgba(117, 219, 124, .035));
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }

  .screenshot-tour::after{
    bottom: -17%;
    left: -76%;
    width: 148%;
    height: 58%;
    background: linear-gradient(325deg, rgba(69, 166, 93, .1), rgba(117, 219, 124, .022));
  }

  body[data-page="home"] .screenshot-tour .screenshot-tour-container{
    width: calc(100% - 28px);
  }

  .screenshot-tour-head h2{
    font-size: 31px;
  }

  .screenshot-tour-panel{
    display: flex;
    gap: 0;
  }

  .screenshot-tour-meta{
    min-height: 142px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--shot-line);
  }

  .screenshot-tour-copy h3{
    font-size: 25px;
  }

  .screenshot-tour-copy p{
    font-size: 15px;
    line-height: 1.5;
  }

  .screenshot-tour-tabs{
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin: 12px 0 0;
    border-top: 1px solid var(--shot-line);
  }

  .screenshot-tour-tabs::before{
    display: none;
  }

  .screenshot-tour-tabs button{
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    min-width: 0;
    min-height: 54px;
    padding: 4px 2px;
    text-align: center;
  }

  .screenshot-tour-tabs button span{
    justify-self: center;
    font-size: 9px;
  }

  .screenshot-tour-tabs button strong{
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  .screenshot-tour-controls{
    order: 3;
    margin: 0;
  }

  .screenshot-tour-frame{
    border-radius: 6px;
  }

  .screenshot-tour-lightbox{
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }

  .screenshot-tour-lightbox-bar div{
    display: block;
  }

  .screenshot-tour-lightbox-bar span,.screenshot-tour-lightbox-bar strong{
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .site-header,body[data-page="home"] .support-widget,.screenshot-tour-frame,.screenshot-tour-slide{
    transition-duration: .01ms;
  }
}
