/* Homepage composition. Shared navigation and product controls use the site styles. */
section.hero {
  padding: clamp(48px, 6vw, 88px) 0 0;
  background: radial-gradient(ellipse at 90% 0%, #edeafc 0%, transparent 49%), #faf8f3;
}

.hero > .container { display: block; }

.homepage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  text-align: left;
}

.homepage-eyebrow {
  margin: 0 0 20px;
  color: #414e91;
  font: 500 11px/1.5 "JetBrains Mono", monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero .homepage-hero-copy h1 {
  margin: 0;
  color: #151d46;
  font-family: Archivo, sans-serif;
  font-size: clamp(38px, 4.4vw, 61px);
  font-weight: 600;
  font-stretch: 100%;
  line-height: .99;
  letter-spacing: -.06em;
}

.hero .homepage-hero-copy h1 em {
  display: block;
  color: #404bc0;
  font-style: normal;
}

.hero .homepage-hero-copy .lede {
  margin: 24px 0 0;
  max-width: 37ch;
  color: #3e4764;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
}

.hero .homepage-hero-copy .ctas {
  justify-content: flex-start;
  margin: 26px 0 0;
  gap: 10px;
}

.hero .homepage-hero-copy .btn {
  gap: 10px;
  border-radius: 7px;
  min-height: 46px;
}

.hero .homepage-hero-copy .btn-primary {
  background: #3944b8;
  box-shadow: 0 4px 10px #28369724;
}

.hero .homepage-hero-copy .btn-primary:hover { background: #2d379d; }
.hero .homepage-hero-copy .btn-secondary { background: #ffffff62; }
.hero .homepage-hero-copy .btn-secondary:hover { background: #fff; }

.homepage-workspace {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 1.7vw, 24px);
  border: 1px solid #303965;
  border-radius: 18px;
  background: radial-gradient(ellipse at 95% 0, #333e83 0%, #181f46 54%, #111833 100%);
  box-shadow: 0 30px 52px -30px #2026537d, inset 0 1px #ffffff20;
}

.homepage-workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #fff;
}

.homepage-workspace-title {
  margin: 0;
  color: inherit;
  font: 600 15px/1.35 Archivo, sans-serif;
}

.homepage-workspace-title small {
  display: block;
  margin-top: 3px;
  color: #c3cbe9;
  font: 400 11px/1.5 var(--font-body);
}

.homepage-cloud-marks {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border-radius: 5px;
  background: #f8f7ff;
}

.homepage-cloud-marks img { display: block; flex: none; object-fit: contain; }

.homepage-workspace-image {
  display: block;
  overflow: hidden;
  border: 1px solid #6972a6;
  border-radius: 8px;
  background: #fff;
}

.homepage-workspace-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero .proof {
  margin-top: clamp(36px, 5vw, 72px);
  padding: 24px 0;
  border-block: 1px solid #dcdce6;
  gap: clamp(14px, 3vw, 42px);
}

.hero .proof .proof-stat { padding: 0; }
.hero .proof .proof-stat + .proof-stat { padding-left: clamp(14px, 3vw, 42px); border-left: 1px solid #dcdce6; }
.hero .proof .proof-n { font-size: clamp(30px, 4vw, 51px); font-weight: 600; letter-spacing: -.045em; }
.hero .proof .proof-context { margin-top: 6px; }

.hero .journey-map { display: block; margin: 0; }
.hero .journey-map-stages { margin: 0; padding: 8px 0; border: 0; }
.hero .journey-map-stages button { min-height: 48px; border-radius: 6px; }
.hero .journey-map-stages button:hover { background: #eae9f8; }
.hero .journey-map-stages button:focus-visible { outline-offset: 2px; }

section.logos { padding-block: clamp(28px, 4vw, 56px); background: #fff; }
.logos .customer-logo-heading { margin-bottom: 8px; }
.logos .customer-carousel { padding-block: 8px; }
.customer-stories { border-top: 1px solid #e4e4ed; }
.customer-stories .customer-quote { border-radius: 14px; }
.customer-stories .customer-quote blockquote { text-wrap: pretty; }
.product-story .product-story-head { max-width: 780px; }
.product-story .product-story-head h2 { text-wrap: balance; }
section.cta {
  background: radial-gradient(ellipse at 100% 0%, #303970 0%, transparent 57%), #111833;
}

section.cta .demo-close {
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

section.cta .demo-agenda {
  padding: 22px 26px 4px;
  border: 1px solid #ffffff25;
  border-radius: 12px;
  background: #ffffff08;
}

section.cta .demo-agenda li:last-child { border-bottom: 0; }

@media (max-width: 860px) {
  .homepage-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .homepage-hero-copy h1 { font-size: clamp(42px, 8.2vw, 70px); }
  .hero .homepage-hero-copy .lede { margin-top: 18px; }
  .hero .homepage-hero-copy .ctas { margin-top: 20px; }
  .hero .proof { padding-block: 18px; }
}

@media (max-width: 480px) {
  section.hero { padding-top: 36px; }
  .homepage-eyebrow { margin-bottom: 14px; }
  .hero .homepage-hero-copy h1 { font-size: clamp(31px, 10vw, 46px); }
  .homepage-hero-grid { gap: 24px; }
  .hero .homepage-hero-copy .btn { padding-inline: 12px; font-size: 13px; }
  .homepage-workspace { border-radius: 12px; }
  .homepage-workspace-header { margin-bottom: 9px; }
  .hero .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; gap: 9px; }
  .hero .proof .proof-stat + .proof-stat { padding-left: 9px; }
  .hero .proof .proof-n { font-size: clamp(21px, 6vw, 30px); white-space: nowrap; }
  .hero .proof .proof-context { font-size: 11px; line-height: 1.4; }
  .hero .journey-map-stages { gap: 2px; }
}

/* Keep the tour in the normal page flow and show the product at its actual aspect ratio. */
.product-story .fe-panel-vis.product-capture {
  height: auto;
  align-self: center;
}

.product-story .product-capture-window { height: auto; }
.product-story .product-capture-window > :is(img, video) {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}
.product-story .integrations-product-view .product-capture-window { max-width: 520px; }
.product-story .fe-panel-vis.readiness-map { height: auto; min-height: 0; }
.product-story .fe-panel-text .screen-full-link { color: #a9cfff; }
.readiness-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; }
.readiness-links a { color: #a9cfff; font-size: 13px; }

.deal-example { background: #faf8f3; }
.deal-example-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(28px, 7vw, 104px);
}
.deal-example-intro h2 {
  margin: 0;
  color: #151d46;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.deal-example-intro > p:not(.homepage-eyebrow) {
  margin: 20px 0;
  max-width: 37ch;
  color: #3e4764;
  font-size: 17px;
  line-height: 1.6;
}
.deal-example-intro a { color: #3944b8; font-weight: 600; }
.deal-example-steps {
  counter-reset: deal-step;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid #dcdce6;
}
.deal-example-steps li {
  position: relative;
  counter-increment: deal-step;
  padding: 22px 0 22px 50px;
}
.deal-example-steps li + li { border-top: 1px solid #dcdce6; }
.deal-example-steps li::before {
  content: "0" counter(deal-step);
  position: absolute;
  left: 0;
  top: 25px;
  color: #414e91;
  font: 500 12px/1.4 "JetBrains Mono", monospace;
}
.deal-example-steps h3 { margin: 0 0 8px; color: #151d46; font-size: 21px; }
.deal-example-steps p { margin: 0; color: #3e4764; font-size: 15px; line-height: 1.65; }
.deal-example-steps strong { color: #151d46; }
.deal-example [id] { scroll-margin-top: 95px; }
.deal-example-anchor { position: absolute; inset: 0 auto auto 0; }
@media (max-width: 760px) {
  .deal-example-layout { grid-template-columns: 1fr; }
  .deal-example-steps li { padding-left: 34px; }
}
