/* Request a demo, rebuilt on the homepage's look (/request-a-demo-v2/).

   Everything else comes from the global sheets: the dark form hero and the
   form card (.form-hero, .form-card, .mkto-form), the logo strip, section
   headers, the highlight band, the corner marks and the numbered frame grid
   (.frame, .frame-grid) in css/components.css; section ledes are
   .section-body (--type-intro). This file only adds the form's reserved
   height, the section surfaces and the customer stories carousel, sized with
   the css/type.css tokens only. */

/* Form #1920's height, reserved while the form script loads. */
.dv-form-wrap {
  --form-min-height: 461px;
}

/* ---------- Surfaces (as pricing: white, then ivory) ---------- */

.dv-features {
  /* ground: .surface-wash (css/site-sections.css) */
  border-top: 1px solid var(--kit-ivory-medium);
}

.dv-stories {
  background: var(--kit-ivory-tint);
  border-top: 1px solid var(--kit-ivory-medium);
}

/* Features: no box, no dividers (2026-10-13); the three sit on the
   section's white with the grid's type. Three columns from 1024px. */
.dv-feature-list {
  gap: 40px 48px;
  border-radius: 0;
  overflow: visible;
  background: none;
}

.dv-feature-list > li {
  padding: 0;
  background: none;
}

/* The live page's magenta feature icons, in place of 01/02/03
   (2026-10-13). */
.dv-feature-icon {
  display: block;
  width: 56px;
  height: 56px;
}

/* The header button jumps to the form; leave room for the sticky header. */
#request-demo {
  scroll-margin-top: 96px;
}

/* ---------- Customer stories carousel ---------- */
/* The live page's layout (2026-10-13): one story at a time, a dark
   circle with the industry icon beside a teal-highlight card, arrows either
   side; js/demo-v2.js slides the track. Values from the global look: 12px
   radius, kit colours, the story at Intro size and the industry as a card
   title (H4, as the frame grid's titles). */

.dv-carousel {
  position: relative;
  padding: 0 56px;
}

.dv-viewport {
  overflow: hidden;
}

.dv-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform .5s ease;
}

.dv-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 0 0 100%;
  min-width: 0;
}

.dv-slide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 214px;
  height: 214px;
  border-radius: 50%;
  background: var(--kit-teal-dark);
}

.dv-slide-icon img {
  display: block;
  width: 110px;
  height: 110px;
}

.dv-slide-card {
  flex: 0 1 976px;
  min-width: 0;
  padding: 48px;
  border-radius: 12px;
  background: var(--kit-teal-highlight);
}

.dv-slide-text {
  margin: 0;
  font-size: var(--type-intro);
  line-height: var(--type-body-lh);
  color: var(--kit-text-medium);
}

.dv-slide-tag {
  margin: 32px 0 0;
  font-size: var(--type-h4);
  font-weight: var(--type-heading-weight);
  line-height: var(--type-h4-lh);
  letter-spacing: var(--type-h4-ls);
  color: var(--kit-text-strong);
}

.dv-arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--kit-text-subtle);
  cursor: pointer;
  transition: color .15s ease;
}

.dv-arrow:hover {
  color: var(--kit-text-strong);
}

.dv-arrow:focus-visible {
  outline: 2px solid var(--kit-teal-medium);
  outline-offset: 2px;
}

.dv-arrow svg {
  display: block;
  width: 14px;
  height: 25px;
}

.dv-arrow--prev { left: 0; }
.dv-arrow--next { right: 0; }

@media (prefers-reduced-motion: reduce) {
  .dv-track { transition: none; }
}

/* Tablet: a smaller circle. */
@media (max-width: 1023.98px) {
  .dv-slide-icon { width: 150px; height: 150px; }
  .dv-slide-icon img { width: 78px; height: 78px; }
  .dv-slide-card { padding: 40px; }
}

/* Phones: the circle sits on top of the card, the arrows go under it. */
@media (max-width: 759.98px) {
  .dv-carousel { padding: 0 0 64px; }

  .dv-slide {
    flex-direction: column;
    align-items: center;
  }

  .dv-slide-icon {
    position: relative;
    z-index: 1;
    width: 110px;
    height: 110px;
    margin-bottom: -40px;
  }

  .dv-slide-icon img { width: 56px; height: 56px; }

  .dv-slide-card {
    flex: none;
    width: 100%;
    padding: 56px 24px 28px;
  }

  .dv-slide-tag { margin-top: 20px; }

  .dv-arrow {
    top: auto;
    bottom: 0;
    margin-top: 0;
  }

  .dv-arrow--prev { left: calc(50% - 52px); }
  .dv-arrow--next { right: calc(50% - 52px); }
}
