/* ============================================================
   Product page — sub-navigation ribbon
   ============================================================ */

.prod-ribbon {
  background: transparent;
  border-bottom: 1px solid rgba(0, 119, 204, 0.12);
}

/* Stick the wrapper div that Product.cshtml generates around the ribbon,
   since position:sticky on the ribbon itself is constrained to that wrapper's height. */
.product-page > div:has(> .prod-ribbon) {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
}

.prod-ribbon__inner {
  display: flex;
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  height: 52px;
}

.prod-ribbon__name {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  white-space: nowrap;
  text-decoration: none;
  /* Fixed width so .prod-ribbon__links lines up with the "Products" item in the site header */
  flex: 0 0 274px;
}

.prod-ribbon__name:hover {
  color: var(--color-ink-muted);
}

.prod-ribbon__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
}

.prod-ribbon__link {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  color: #52525B;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease),
    background var(--duration-fast) var(--ease);
}

.prod-ribbon__link:hover,
.prod-ribbon__link.is-active {
  color: var(--color-brand);
  background: rgba(0, 119, 204, 0.08);
}

.prod-ribbon__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Ribbon buttons */
.prod-ribbon__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: var(--weight-semi);
  font-size: var(--text-sm);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
}

.prod-ribbon__btn--outline {
  padding-block: calc(var(--space-2) - 1px);
  background: transparent;
  color: var(--color-ink);
  border: 1px solid #1A6DD4;
}

.prod-ribbon__btn--outline:hover {
  background: var(--color-surface-alt);
  color: var(--color-ink);
}

.prod-ribbon__btn--primary {
  padding-block: calc(var(--space-2) - 1.5px);
  background: var(--color-brand);
  color: #fff;
  border: 1.5px solid var(--color-brand);
}

.prod-ribbon__btn--primary:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  box-shadow: var(--shadow-brand);
  color: #fff;
}

/* Scroll offset so section headings aren't hidden under the sticky ribbon + nav */
.prod-section-anchor {
  scroll-margin-top: calc(var(--nav-height) + 52px + var(--space-6));
}

/* Alternating section backgrounds — driven by the counter in Product.cshtml.
   header is excluded from the count so hero is always index 0 (white).
   Every odd content section (usecases, features, components…) gets the alt bg. */
/* Every odd content section wrapper gets the alt background.
   Also targets the direct section child so old Bootstrap sections
   (which are transparent by default) pick it up too. */
.product-page > .section-alt,
.product-page > .section-alt > section {
  background-color: #F8F8F6;
}

/* Every even content section wrapper and its direct section child are white */
.product-page > div:not(.section-alt),
.product-page > div:not(.section-alt) > section {
  background-color: #ffffff;
}

/* Sections with their own background color — excluded from the alternating scheme */
.product-page > div > section.prod-cta,
.product-page > .section-alt > section.prod-cta {
  background: #EBF3FC;
}

/* Suppress the gainsboro borders that site.css applies to .grey-row —
   v2 product page uses background color alone to separate sections. */
.product-page > div {
  border-top: none;
  border-bottom: none;
}

/* Replace the old anchor-offset ::before hack (margin-top: -110px / height: 110px)
   with the modern scroll-margin-top approach. The negative-margin pseudo-element
   collapses through sections that have no top padding, which shifts wrapper divs
   upward and breaks alternating background boundaries. */
.product-page .anchor_offset::before {
  display: none;
}

.product-page .anchor_offset {
  scroll-margin-top: calc(var(--nav-height) + 52px + var(--space-6));
}

/* Overline label — matches the hero chip text styling exactly */
.overline {
  display: block;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  text-transform: uppercase;
  color: #1A6DD4;
  text-align: center;
  margin-bottom: var(--space-3);
}

/* ============================================================
   Product hero
   ============================================================ */

.prod-hero {
  background: var(--color-surface);
  padding-block: var(--space-12);
}

.prod-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.prod-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: #EBF3FC;
  color: #1A6DD4;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.prod-hero__headline {
  font-family: var(--font-primary);
  font-size: var(--text-hero);
  font-weight: var(--weight-semi);
  line-height: var(--lh-hero);
  letter-spacing: var(--tracking-tighter);
  vertical-align: middle;
  color: var(--color-ink);
  margin-bottom: var(--space-5);
}

.prod-hero__body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--weight-normal);
  line-height: 24px;
  letter-spacing: 0;
  vertical-align: middle;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.prod-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

/* Hero buttons */
.prod-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: var(--weight-semi);
  font-size: var(--text-sm);
  line-height: var(--lh-btn);
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
}

.prod-hero__btn--primary {
  background: var(--color-brand);
  color: #fff;
  border: 1.5px solid var(--color-brand);
}

.prod-hero__btn--primary:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  box-shadow: var(--shadow-brand-lg);
  color: #fff;
}

.prod-hero__btn--outline {
  background: transparent;
  color: #18181B;
  border: 1.5px solid #D4D4D8;
}

.prod-hero__btn--outline:hover {
  border-color: #18181B;
  color: #18181B;
}

/* What's New card — re-styles the existing .whats-new-badge HTML */
.prod-hero .whats-new-badge {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: #F4F4F5;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  max-width: 480px;
}

.prod-hero .whats-new-badge__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.prod-hero .whats-new-badge__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.prod-hero .whats-new-badge b {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #18181B;
}

.prod-hero .whats-new-badge span {
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.55;
  color: #52525B;
}

.prod-hero .whats-new-badge a {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: var(--weight-semi);
  color: #1A6DD4;
  text-decoration: none;
}

.prod-hero .whats-new-badge a:hover {
  color: #1558b0;
}

/* Hero image */
.prod-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-hero__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   How It Works section
   ============================================================ */

.prod-howitworks {
  padding-block: var(--space-16);
}

.prod-howitworks__inner {
  max-width: min(78vw, 960px);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.prod-howitworks__text {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.prod-howitworks .overline {
  text-align: left;
}

.prod-howitworks__title {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: var(--weight-bold);
  line-height: 36px;
  letter-spacing: -0.75px;
  color: #18181B;
  margin-bottom: var(--space-6);
}

.prod-howitworks__body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--weight-normal);
  line-height: 24px;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-5);
}

.prod-howitworks__body:last-child {
  margin-bottom: 0;
}

.prod-howitworks__diagram {
  max-width: 640px;
  margin-inline: auto;
}

.prod-howitworks__diagram img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Use Cases section
   ============================================================ */

.prod-usecases {
  padding-block: var(--space-16);
}

.prod-usecases__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.prod-usecases__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.prod-usecases__header .overline {
  margin-bottom: var(--space-3);
}

.prod-usecases__header h2 {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: var(--weight-bold);
  line-height: 36px;
  letter-spacing: -0.75px;
  color: #18181B;
  margin-bottom: var(--space-4);
}

.prod-usecases__desc {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--weight-normal);
  line-height: 24px;
  color: #52525B;
  max-width: 640px;
  margin-inline: auto;
}

.usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.usecase-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--duration-base) var(--ease);
}

/* On beige background: white cards with no border (they stand out naturally) */
.product-page > .section-alt .usecase-card {
  border: none;
}

/* On white background: white cards need a border to be distinguishable */
.product-page > div:not(.section-alt) .usecase-card {
  border: 1px solid #EDEDEA;
}

.usecase-card:hover {
  box-shadow: var(--shadow-md);
}

.usecase-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #EBF3FC;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  flex-shrink: 0;
}

.usecase-card__icon i {
  font-size: 20px;
  color: #1A6DD4;
  line-height: 1;
}

.usecase-card__title {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: 28px;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}

.usecase-card__desc {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-ink-muted);
  margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .prod-ribbon__name {
    flex: 1 1 auto;
  }

  .prod-ribbon__links {
    display: none;
  }

  .prod-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .prod-hero__media {
    display: none;
  }

  .prod-hero__headline {
    font-size: 2.25rem;
  }

  .prod-hero__body,
  .prod-hero .whats-new-badge {
    max-width: 100%;
  }

  .prod-usecases {
    padding-block: var(--space-12);
  }

  .prod-howitworks {
    padding-block: var(--space-12);
  }

  .prod-howitworks__inner {
    max-width: 100%;
  }

  .prod-howitworks__text {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .usecases__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .prod-ribbon__btn--outline {
    display: none;
  }
}

/* ============================================================
   Features section
   ============================================================ */

.prod-features {
  padding-block: var(--space-16);
}

.prod-features__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.prod-features__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.prod-features__title {
  font-family: var(--font-primary);
  font-size: 38px;
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -1px;
  color: #18181B;
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--space-8);
  row-gap: var(--space-12);
}

.feat-item__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  line-height: 1.4;
  color: #18181B;
  margin-bottom: var(--space-3);
}

.feat-item__icon {
  flex-shrink: 0;
}

.feat-item__desc {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 24px;
  color: var(--color-ink-muted);
  margin: 0;
  padding-left: calc(20px + var(--space-3));
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feat-item__desc {
    padding-left: 0;
  }
}

/* ============================================================
   Start Building section
   ============================================================ */

.prod-startbuilding {
  background: #F8F8F6;
  padding-block: var(--space-16);
}

.prod-startbuilding__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.prod-startbuilding__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.prod-startbuilding__title {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: var(--weight-bold);
  line-height: 36px;
  letter-spacing: -0.75px;
  color: #18181B;
  margin-bottom: 0;
}

/* Resource cards (copied from homepage sections.css) */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.resource-card {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #E4E4E0;
  padding-left: var(--space-6);
}

.resource-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #EBF3FC;
  border-radius: 8px;
  flex-shrink: 0;
  margin-bottom: var(--space-6);
}

.resource-card__icon i {
  font-size: 18px;
  color: #1A6DD4;
  line-height: 1;
}

.resource-card__title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: var(--weight-bold);
  line-height: 28px;
  color: #18181B;
  margin: 0 0 var(--space-4);
}

.resource-card__desc {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--weight-normal);
  line-height: 24px;
  color: #52525B;
  margin: 0 0 var(--space-5);
  flex: 1;
}

.resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  line-height: 1;
  color: var(--color-brand);
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease);
  margin-top: auto;
}

.resource-card__link:hover {
  color: var(--color-brand-dark);
}

/* "See all" button — sits below the resource tile grid instead of taking up its own tile */
.resource-cards__more {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  text-align: center;
}

.resource-cards__more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  border: 1px solid #1A6DD4;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  line-height: var(--lh-btn);
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease);
}

.resource-cards__more-link:hover {
  background: var(--color-surface-alt);
  color: var(--color-ink);
}

/* Samples section */
.sb-samples__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-10);
}

.sb-samples__heading {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: 32px;
  color: #18181B;
  margin-bottom: var(--space-6);
}

.sb-samples__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.sb-sample-row {
  display: flex;
  align-items: stretch;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}

.sb-sample-row__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
  min-width: 0;
}

.sb-sample-row__title {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: #18181B;
  line-height: 1.4;
}

.sb-sample-row__desc {
  font-family: var(--font-primary);
  font-size: 13px;
  line-height: 20px;
  color: #52525B;
  margin: 0;
  flex: 1;
}

.sb-sample-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.sb-sample-row__tag {
  font-family: var(--font-primary);
  font-size: 12px;
  color: #52525B;
  background: #F4F4F5;
  border-radius: var(--radius-sm);
  padding: 2px var(--space-2);
  white-space: nowrap;
}

.sb-sample-row__dl {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
  opacity: 1;
  transition: opacity var(--duration-fast) var(--ease);
}

.sb-sample-row__dl:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .sb-samples__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .resource-cards {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .resource-card {
    border-left: none;
    border-top: 1px solid #E4E4E0;
    padding-left: 0;
    padding-top: var(--space-6);
  }
}

@media (max-width: 600px) {
  .sb-samples__grid {
    grid-template-columns: 1fr;
  }

  .sb-sample-row__title {
    min-width: 120px;
  }
}

/* ============================================================
   Social Proof section
   ============================================================ */

.prod-socialproof {
  padding-block: var(--space-16);
}

.prod-socialproof__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.prod-socialproof__header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.prod-socialproof__title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.75px;
  color: #18181B;
  margin: var(--space-3) 0 var(--space-4);
}

.prod-socialproof__desc {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 26px;
  color: #52525B;
  margin: 0;
}

/* Stats row */
.prod-socialproof__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: var(--space-16);
}

.sp-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-8);
  border-right: 1px solid #E4E4E7;
}

.sp-stat:first-child {
  border-left: 1px solid #E4E4E7;
}

.sp-stat:last-child {
  border-right: none;
}

.sp-stat__number {
  font-family: var(--font-primary);
  font-size: 42px;
  font-weight: var(--weight-bold);
  line-height: 1;
  color: #1A6DD4;
  letter-spacing: -1px;
}

.sp-stat__label {
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 20px;
  color: #52525B;
}

/* Testimonials */
.sp-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.sp-testimonial {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Beige background → white cards */
.product-page > .section-alt .sp-testimonial {
  background: #ffffff;
}

/* White background → beige cards */
.product-page > div:not(.section-alt) .sp-testimonial {
  background: #F8F8F6;
}

.sp-testimonial__quote {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 26px;
  color: #18181B;
  margin: 0;
}

.sp-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.sp-testimonial__name {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: var(--weight-bold);
  color: #18181B;
}

.sp-testimonial__role {
  font-family: var(--font-primary);
  font-size: 14px;
  color: #52525B;
}

/* Shipped in */
.sp-shippedin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-4);
}

.sp-shippedin__label {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: var(--weight-semi);
  letter-spacing: 0.08em;
  color: #71717A;
  text-transform: uppercase;
}

.sp-shippedin__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-2) 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-shippedin__list li {
  font-family: var(--font-primary);
  font-size: 15px;
  color: #A1A1AA;
}

@media (max-width: 900px) {
  .prod-socialproof__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-stat:nth-child(2) {
    border-right: none;
  }

  .sp-stat:nth-child(3) {
    border-right: 1px solid #E4E4E7;
    border-left: 1px solid #E4E4E7;
  }

  .sp-stat:nth-child(4) {
    border-right: none;
  }
}

@media (max-width: 600px) {
  .sp-testimonials {
    grid-template-columns: 1fr;
  }

  .prod-socialproof__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-socialproof__title {
    font-size: 28px;
  }
}

/* ============================================================
   CTA / Actions section
   ============================================================ */

.prod-cta {
  background: #EBF3FC;
  padding-block: var(--space-16);
}

.prod-cta__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  text-align: center;
}

.prod-cta__title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.75px;
  color: #18181B;
  margin: 0 0 var(--space-4);
}

.prod-cta__desc {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 26px;
  color: #52525B;
  max-width: 480px;
  margin: 0 auto var(--space-10);
}

.prod-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.prod-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  line-height: var(--lh-btn);
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease);
}

.prod-cta__btn--primary {
  background: var(--color-brand);
  color: #fff;
  border: 1.5px solid var(--color-brand);
}

.prod-cta__btn--primary:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  box-shadow: var(--shadow-brand);
  color: #fff;
}

.prod-cta__btn--outline {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid #1A6DD4;
}

.prod-cta__btn--outline:hover {
  background: rgba(26, 109, 212, 0.06);
  color: var(--color-ink);
}

/* ============================================================
   FAQ section
   ============================================================ */

.prod-faq {
  padding-block: var(--space-16);
}

.prod-faq__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.prod-faq__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.prod-faq__title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.75px;
  color: #18181B;
  margin: var(--space-3) 0 var(--space-4);
}

.prod-faq__desc {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 26px;
  color: #52525B;
  margin: 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Beige background → white cards */
.product-page > .section-alt .faq-item {
  background: #ffffff;
}

/* White background → beige cards */
.product-page > div:not(.section-alt) .faq-item {
  background: #F8F8F6;
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__question {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  line-height: 1.5;
  color: #18181B;
}

.faq-item__chevron {
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease);
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-6);
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 26px;
  color: #52525B;
}

.faq-item__answer p {
  margin: 0;
}

.faq-item__answer p + p {
  margin-top: var(--space-4);
}

.faq-item__answer ul {
  margin: var(--space-3) 0 0;
  padding-left: var(--space-6);
}

.faq-item__answer li {
  margin-bottom: var(--space-2);
}

/* ============================================================
   Platforms section
   ============================================================ */

.prod-platforms {
  padding-block: var(--space-16);
}

.prod-platforms__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.prod-platforms__header {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.prod-platforms__header h2 {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: var(--weight-semi);
  color: var(--color-ink);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.prod-platforms__desc {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* Shrink-wraps to the widest of the tabs/panel rows so both share the
   same centered bounds instead of the panel row spanning full width. */
.prod-platforms__tabset {
  display: grid;
  grid-template-columns: minmax(0, max-content);
  justify-content: center;
}

/* Tab pills strip */
.prod-platforms__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.prod-platforms__tab {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: #1A6DD4;
  background: #EBF3FC;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.prod-platforms__tab:hover,
.prod-platforms__tab.active {
  border-color: #1A6DD4;
  color: #1A6DD4;
  text-decoration: none;
}

/* Beige background variant */
.product-page > .section-alt .prod-platforms__tab {
  background: #EDEDEA;
  border-color: transparent;
  border-radius: 8px;
  color: #18181B;
}

.product-page > .section-alt .prod-platforms__tab:hover {
  border-color: #18181B;
  color: var(--color-ink);
}

.product-page > .section-alt .prod-platforms__tab.active {
  background: #EDEDEA;
  border: 1px solid #18181B;
  border-radius: 8px;
  color: var(--color-ink);
}

/* Panel container — reset Bootstrap's tab-content */
.prod-platforms__panels {
  border: none;
  min-height: 0;
  padding-left: 0;
}

/* Panel layout — flex row: logo left, content right */
.prod-platforms__panel.show.active {
  display: flex;
  gap: var(--space-12);
  align-items: center;
  justify-content: center;
}

/* Logo box */
.prod-platforms__panel-logo {
  flex-shrink: 0;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-platforms__panel-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Body */
.prod-platforms__panel-body {
  flex: 0 1 650px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.prod-platforms__panel-desc {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: var(--color-ink);
  line-height: 24px;
  letter-spacing: 0;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-platforms__doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--color-brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

.prod-platforms__doc-link:hover {
  color: var(--color-brand-dark);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .prod-platforms__panel.show.active {
    flex-direction: column;
    align-items: center;
  }

  .prod-platforms__panel-body {
    flex: 0 1 auto;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .prod-platforms__panel-logo {
    width: 64px;
    height: 64px;
  }

  .prod-platforms__header h2 {
    font-size: var(--text-3xl);
  }
}
