.product-story {
  --story-ink: #151A19;
  --story-muted: #59615F;
  --story-line: #DEE3DE;
  --story-surface: #FFFFFF;
  --story-soft: #EEF0EA;
  --story-blue: #2864DC;
  --story-teal: #18A99A;
}

.product-story .product-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  gap: clamp(56px, 7vw, 104px);
  min-height: min(680px, calc(100dvh - 72px));
  padding: 88px 0 76px;
}

.product-story .product-hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1.12;
  text-wrap: balance;
}

.product-story-agent .product-hero h1 {
  font-size: 40px;
}

.product-story .product-hero h1 > span,
.product-story .product-hero h1 > strong,
.product-story .product-section-heading h2 > span,
.product-story .product-cta-band h2 > span,
.product-story-agent .product-section-intro .product-section-heading > p:last-child > span {
  display: block;
}

.product-story .industrial-lead {
  max-width: 660px;
  font-size: 18px;
  line-height: 1.8;
  text-wrap: pretty;
}

.product-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--story-muted);
  font-size: 13px;
}

.product-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-proof span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--story-teal);
  content: "";
}

.product-scene {
  overflow: hidden;
  border: 1px solid var(--story-line);
  border-radius: 8px;
  background: var(--story-surface);
  box-shadow: 0 18px 48px rgba(21, 26, 25, 0.1);
}

.product-scene header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid var(--story-line);
  padding: 0 20px;
  color: var(--story-ink);
  font-size: 14px;
  font-weight: 650;
}

.product-scene header strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--story-muted);
  font-size: 12px;
  font-weight: 450;
}

.product-scene header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--story-teal);
}

.scene-request,
.model-prompt,
.aicore-task {
  margin: 22px 20px 18px 72px;
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--story-soft);
}

.product-scene small {
  color: #7A8380;
  font-size: 12px;
}

.product-scene p {
  margin: 6px 0 0;
  color: var(--story-ink);
  font-size: 14px;
  line-height: 1.65;
}

.scene-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--story-line);
  border-bottom: 1px solid var(--story-line);
}

.scene-process span {
  padding: 13px 8px;
  color: var(--story-muted);
  font-size: 12px;
  text-align: center;
}

.scene-process span + span {
  border-left: 1px solid var(--story-line);
}

.scene-result,
.model-output,
.aicore-recommend {
  padding: 20px;
}

.scene-result strong,
.aicore-recommend strong {
  display: block;
  margin-top: 5px;
  color: var(--story-ink);
  font-size: 19px;
}

.model-output > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--story-line);
  padding: 12px 0;
}

.model-output > div span {
  color: var(--story-blue);
  font-size: 12px;
}

.model-output > div strong {
  color: var(--story-ink);
  font-size: 14px;
  font-weight: 600;
}

.product-section {
  border-bottom: 1px solid var(--story-line);
  padding: clamp(72px, 8vw, 112px) 0;
}

.product-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.product-section-heading .industrial-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -24px;
}

.product-section-heading h2 {
  margin: 0;
  color: var(--story-ink);
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1.18;
  text-wrap: balance;
}

.product-section-heading > p:last-child {
  margin: 0;
  color: var(--story-muted);
  font-size: 17px;
  line-height: 1.8;
}

.product-section-heading.compact {
  display: block;
  max-width: 840px;
}

.product-section-heading.compact .industrial-eyebrow {
  margin-bottom: 18px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.outcome-grid article {
  min-height: 260px;
  border: 1px solid var(--story-line);
  border-radius: 8px;
  padding: 28px;
  background: var(--story-surface);
}

.outcome-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #EAF1FF;
  color: var(--story-blue);
  font-size: 12px;
  font-weight: 700;
}

.outcome-grid h3 {
  margin: 48px 0 12px;
  color: var(--story-ink);
  font-size: 22px;
}

.outcome-grid p {
  margin: 0;
  color: var(--story-muted);
  font-size: 15px;
  line-height: 1.75;
}

.product-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.product-timeline li {
  position: relative;
  border-top: 1px solid var(--story-line);
  padding: 30px 28px 0 0;
}

.product-timeline li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--story-blue);
  content: "";
}

.product-timeline li > span {
  color: var(--story-blue);
  font-size: 12px;
  font-weight: 700;
}

.product-timeline strong {
  display: block;
  margin-top: 14px;
  color: var(--story-ink);
  font-size: 18px;
}

.product-timeline p {
  margin: 10px 0 0;
  color: var(--story-muted);
  font-size: 14px;
  line-height: 1.75;
}

.transition-flow {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: stretch;
}

.transition-flow article {
  border: 1px solid var(--story-line);
  border-radius: 8px;
  padding: 26px;
  background: var(--story-surface);
}

.transition-flow > i {
  display: grid;
  place-items: center;
  color: var(--story-blue);
  font-style: normal;
}

.transition-flow article > span {
  color: var(--story-blue);
  font-size: 12px;
}

.transition-flow strong {
  display: block;
  margin-top: 22px;
  color: var(--story-ink);
  font-size: 19px;
}

.transition-flow p {
  margin: 9px 0 0;
  color: var(--story-muted);
  font-size: 14px;
  line-height: 1.7;
}

.aicore-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 20px;
}

.aicore-choice > span {
  display: grid;
  gap: 5px;
  border: 1px solid var(--story-line);
  border-radius: 8px;
  padding: 12px;
  color: var(--story-ink);
  font-size: 18px;
  font-weight: 700;
}

.aicore-choice > span.active {
  border-color: var(--story-blue);
  background: #EAF1FF;
  color: var(--story-blue);
}

.aicore-choice small {
  font-size: 11px;
  font-weight: 400;
}

.tier-choice-grid {
  display: grid;
  gap: 12px;
}

.tier-choice-grid article {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--story-line);
  border-radius: 8px;
  padding: 24px 28px;
  background: var(--story-surface);
}

.tier-choice-grid article.recommended {
  border-color: #AFC4F5;
  background: #F7F9FF;
}

.tier-choice-grid article > span {
  color: var(--story-blue);
  font-size: 42px;
  font-weight: 750;
  text-align: center;
}

.tier-choice-grid small {
  color: var(--story-blue);
  font-size: 12px;
}

.tier-choice-grid h3 {
  margin: 4px 0 6px;
  color: var(--story-ink);
  font-size: 20px;
}

.tier-choice-grid p,
.aicore-value-row p {
  margin: 0;
  color: var(--story-muted);
  font-size: 15px;
  line-height: 1.75;
}

.aicore-value-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
}

.product-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin: 64px 0;
  border-radius: 8px;
  padding: 44px 48px;
  background: var(--story-ink);
}

.product-cta-band .industrial-eyebrow {
  color: #91B2FF;
}

.product-cta-band .industrial-eyebrow::before {
  background: #91B2FF;
}

.product-cta-band h2 {
  max-width: 760px;
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
}

.product-cta-band .btn-primary {
  flex: 0 0 auto;
  border-color: #FFFFFF;
  background: #FFFFFF;
  color: var(--story-ink);
}

@media (max-width: 960px) {
  .product-story .product-hero,
  .product-section-heading {
    grid-template-columns: 1fr;
  }

  .product-section-heading .industrial-eyebrow {
    margin-bottom: -18px;
  }

  .outcome-grid,
  .product-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
}

@media (max-width: 640px) {
  .product-story .product-hero {
    padding: 56px 0;
  }

  .product-story .product-hero h1 {
    font-size: 38px;
  }

  .product-story .product-hero h1 > span,
  .product-story .product-hero h1 > strong,
  .product-story .product-section-heading h2 > span,
  .product-story .product-cta-band h2 > span,
  .product-story-agent .product-section-intro .product-section-heading > p:last-child > span {
    display: inline;
  }

  .product-story .product-hero h1 > span::after,
  .product-story .product-hero h1 > strong::after,
  .product-story .product-section-heading h2 > span::after,
  .product-story .product-cta-band h2 > span::after,
  .product-story-agent .product-section-intro .product-section-heading > p:last-child > span::after {
    content: " ";
  }

  .product-story .industrial-lead {
    font-size: 16px;
  }

  .scene-request,
  .model-prompt,
  .aicore-task {
    margin-left: 20px;
  }

  .outcome-grid,
  .product-timeline,
  .aicore-value-row {
    grid-template-columns: 1fr;
  }

  .transition-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .transition-flow > i {
    transform: rotate(90deg);
  }

  .tier-choice-grid article {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .tier-choice-grid article > span {
    font-size: 32px;
  }

  .product-cta-band {
    align-items: flex-start;
    flex-direction: column;
    margin: 40px 0;
    padding: 32px 24px;
  }
}
