.tours-hero {
  padding: 0 0 74px;
  background: #f3f6fd;
}

.tours-hero__inner { min-height: 0; }

.tours-jump-nav { margin: 0; padding: 40px 0 57px; }
.tours-jump-nav > span { background: #e4e9ff; color: #6040f5; }
.tours-jump-nav > div { gap: 6px; margin-top: 14px; }
.tours-jump-nav a { color: #526886; }
.tours-jump-nav a:hover,
.tours-jump-nav a:focus-visible { background: #e3e9fb; color: #4124d8; }

.tours-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 62px;
  align-items: center;
}

.tours-hero__copy { width: auto; margin: 0; padding: 0; color: var(--ink); }
.tours-hero__copy .section-kicker { color: #5266ef; }
.tours-hero__copy h1 { max-width: 590px; margin: 9px 0 18px; color: var(--ink); }
.tours-hero__copy h1 em { background: linear-gradient(94deg, #147bd0, #7242e8); background-clip: text; color: transparent; }
.tours-hero__copy > p:not(.section-kicker) { max-width: 545px; color: var(--muted); }
.tours-hero__actions .button--outline { border-color: #9eb0d3; background: #fff; color: var(--ink); box-shadow: none; }

.tours-hero__tour {
  width: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid #c8d4e8;
  border-radius: 18px;
  background: #0b1724;
  box-shadow: 0 23px 48px rgba(27, 44, 86, .16);
}

.tours-hero__tour iframe { display: block; width: 100%; height: 430px; border: 0; }
.tours-hero__caption { display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: #101227; color: #e6e9ff; font-size: 12px; }
.tours-hero__caption span,.tours-demo__frame span { color: #87d2ff; font-size: 10px; font-weight: 800; letter-spacing: .85px; }
.tours-demo__frame > img { display: block; width: 100%; height: auto; }

/* Keep the live-tour example visually separate from the next dark section. */
.tours-live { margin-bottom: 76px; }

/* Carry the viewer into the next dark sales section without an empty band. */
.tours-build { padding-top: 48px; }

/* The Studio screen is evidence of the product, not a small decoration. */
.tours-studio__grid {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: start;
}

.tours-studio figure {
  align-self: start;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .24);
}

.tours-studio__intro {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(320px, .76fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 35px;
}

.tours-studio__intro h2 { margin: 9px 0 0; }
.tours-studio__intro > p { max-width:520px; margin:0; }

.tours-studio__showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
  overflow: hidden;
  border: 1px solid #3a4160;
  border-radius: 17px;
  background: #08101f;
}

.tours-studio__showcase figure {
  align-self: stretch;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tours-studio__showcase figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.tours-studio__details {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 32px;
  border-left: 1px solid #3a4160;
  background: #0d2033;
}

.tours-studio__details .section-kicker { margin:0 0 12px; }
.tours-studio__details h3 { max-width:270px; margin:0; color:#fff; font-size:25px; line-height:1.15; }
.tours-studio__details ul { margin:23px 0 27px; }
.tours-studio__details .button { margin-top:auto; }

@media (max-width: 900px) {
  .tours-hero { padding-bottom: 60px; }
  .tours-jump-nav { padding: 32px 0 40px; }
  .tours-hero__layout { grid-template-columns: 1fr; gap: 34px; }
  .tours-hero__copy { max-width: 670px; }
  .tours-hero__tour { max-width: 780px; }
  .tours-studio__grid { grid-template-columns: 1fr; gap: 28px; }
  .tours-studio__intro,.tours-studio__showcase { grid-template-columns: 1fr; gap: 28px; }
  .tours-studio__intro { margin-bottom: 28px; }
  .tours-studio__showcase { gap: 0; }
  .tours-studio__showcase figure { order: 0; }
  .tours-studio__details { min-height:0; border-top:1px solid #3a4160; border-left:0; }
}

@media (max-width: 620px) {
  .tours-hero { padding-bottom: 45px; }
  .tours-jump-nav { padding: 25px 0 32px; }
  .tours-jump-nav > div { width: calc(100% + 32px); margin-left: -16px; padding: 0 16px; }
  .tours-hero__copy h1 { font-size: 39px; }
  .tours-hero__tour iframe { height: 365px; }
  .tours-hero__caption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .tours-live { margin-bottom: 54px; }
  .tours-build { padding-top: 42px; }
  .tours-studio__details { padding:28px 27px; }
  .tours-studio__details .button { width:100%; text-align:center; }
}
