.segment-product-hero {
  background:
    radial-gradient(circle at 86% 8%, rgba(37, 99, 235, .16), transparent 32%),
    radial-gradient(circle at 10% 92%, rgba(22, 163, 74, .11), transparent 30%),
    linear-gradient(135deg, #f5f9ff 0%, #ffffff 54%, #f1fbf5 100%);
  min-height: 650px;
  overflow: hidden;
  padding: 6.25rem 0 4.25rem;
}

.segment-product-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.segment-product-hero-copy,
.segment-product-figure {
  min-width: 0;
}

.segment-product-eyebrow {
  background: rgba(239, 246, 255, .9);
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 999px;
  line-height: 1.35;
  max-width: 100%;
  padding: .5rem .75rem;
}

.segment-product-title {
  font-size: clamp(2.45rem, 4.2vw, 4.35rem);
  line-height: 1.02;
  max-width: 12.5ch;
}

.segment-product-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  max-width: 640px;
}

.segment-product-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.15rem;
}

.segment-product-primary-cta {
  align-items: center;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, .22);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 850;
  gap: .55rem;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.2rem;
}

.segment-product-secondary-cta {
  align-items: center;
  color: #1d4ed8;
  display: inline-flex;
  font-weight: 800;
  gap: .45rem;
  text-decoration: none;
}

.segment-product-secondary-cta:hover,
.segment-product-secondary-cta:focus-visible {
  color: #1e40af;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.segment-product-microcopy {
  align-items: center;
  color: #475569;
  display: flex;
  font-size: .9rem;
  font-weight: 700;
  gap: .4rem;
}

.segment-product-microcopy i {
  color: #16a34a;
}

.segment-product-figure {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .38);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .16);
  overflow: hidden;
  padding: .55rem;
  transform: perspective(1400px) rotateY(-1.5deg) rotateX(.5deg);
}

.segment-product-screen {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: .35rem;
  min-height: 34px;
  padding: 0 .55rem;
}

.segment-product-screen span {
  background: #cbd5e1;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.segment-product-screen strong {
  color: #64748b;
  font-size: .72rem;
  font-weight: 750;
  margin-left: .35rem;
}

.segment-product-screen-viewport {
  background: #f8fafc;
  overflow: hidden;
}

.segment-product-screen-viewport img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.segment-product-figure figcaption {
  color: #64748b;
  font-size: .72rem;
  line-height: 1.4;
  padding: .55rem .55rem .15rem;
  text-align: center;
}

.segment-quick-flow {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  padding: 1.4rem 0 1.55rem;
}

.segment-quick-flow h2 {
  color: #0f172a;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 850;
  margin: 0 0 1rem;
  text-align: center;
}

.segment-quick-flow-track {
  display: grid;
  grid-template-columns: repeat(var(--segment-flow-columns, 4), minmax(0, 1fr));
  list-style: none;
  margin: 0 auto;
  max-width: 850px;
  padding: 0;
  position: relative;
}

.segment-quick-flow-track::before {
  background: #cbd5e1;
  content: "";
  height: 2px;
  left: calc(50% / var(--segment-flow-columns, 4));
  position: absolute;
  right: calc(50% / var(--segment-flow-columns, 4));
  top: 20px;
}

.segment-quick-flow-track li {
  align-items: center;
  color: #334155;
  display: flex;
  flex-direction: column;
  font-size: .88rem;
  font-weight: 800;
  gap: .48rem;
  line-height: 1.25;
  min-width: 0;
  padding: 0 .25rem;
  position: relative;
  text-align: center;
}

.segment-quick-flow-icon {
  align-items: center;
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  border-radius: 50%;
  color: #2563eb;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
  z-index: 1;
}

.segment-quick-flow-track li:last-child .segment-quick-flow-icon {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #15803d;
}

@media (max-width: 991.98px) {
  .segment-product-hero {
    min-height: auto;
    padding: 3.4rem 0 2.8rem;
  }

  .segment-product-hero-grid {
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .segment-product-title {
    font-size: clamp(2.15rem, 8vw, 3.4rem);
    max-width: 15ch;
  }

  .segment-product-figure {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .segment-product-hero {
    padding: 2.5rem 0 2.25rem;
  }

  .segment-product-eyebrow {
    align-items: flex-start;
    border-radius: 12px;
    font-size: .72rem;
    padding: .48rem .62rem;
  }

  .segment-product-title {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
    line-height: 1.08;
    max-width: none;
  }

  .segment-product-subtitle {
    line-height: 1.55;
  }

  .segment-product-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .segment-product-primary-cta {
    width: 100%;
  }

  .segment-product-secondary-cta {
    justify-content: center;
    min-height: 42px;
  }

  .segment-product-microcopy {
    justify-content: center;
    text-align: center;
  }

  .segment-product-figure {
    border-radius: 16px;
    padding: .35rem;
  }

  .segment-product-screen {
    min-height: 29px;
  }

  .segment-product-screen strong {
    font-size: .64rem;
  }

  .segment-product-figure figcaption {
    font-size: .66rem;
  }

  .segment-quick-flow {
    padding: 1.15rem 0 1.3rem;
  }

  .segment-quick-flow h2 {
    margin-bottom: .85rem;
  }

  .segment-quick-flow-track::before {
    left: 11%;
    right: 11%;
    top: 17px;
  }

  .segment-quick-flow-track li {
    font-size: clamp(.64rem, 2.7vw, .76rem);
    padding: 0 .12rem;
  }

  .segment-quick-flow-icon {
    border-width: 1px;
    height: 35px;
    width: 35px;
  }

  .segment-quick-flow-track[data-flow-columns="6"] {
    gap: .9rem .2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .segment-quick-flow-track[data-flow-columns="6"]::before {
    display: none;
  }
}
