/* Product pages: use the shared theme palette and open section layout. */
.mr-product-page {
  min-width: 0;
}

/* Each adjacent section contributes half of the same responsive gap. */
main.mr-product-page {
  --mr-section-padding: clamp(28px, 3vw, 40px);
  --mr-heading-gap: clamp(24px, 3vw, 40px);
}

main.mr-product-page > section {
  margin-block: 0;
}

/* Cap wide-screen content and avoid the legacy breakpoint jumps in rem sizes. */
.mr-product-page .container {
  width: 100%;
  max-width: 1320px;
  padding-inline: clamp(20px, 2.5vw, 32px);
}

.mr-product-page #hero-23 {
  margin: 0;
  padding-top: clamp(110px, 12vw, 170px);
}

.mr-product-page .mr-product-hero h1 {
  margin-bottom: 1.5rem;
}

.mr-product-page .mr-product-hero p {
  max-width: 75ch;
  padding: 0;
  margin: 0 auto 2rem;
}

:is(.mr-cati-page, .mr-sales-page) .mr-product-hero {
  padding-bottom: var(--mr-section-padding);
}

.mr-product-page .mr-product-section {
  padding-block: var(--mr-section-padding, clamp(48px, 6vw, 90px));
}

.mr-product-page h3 {
  margin-bottom: 0.75rem;
}

.mr-product-page .section-title,
.mr-product-page .mr-product-heading {
  max-width: 960px;
  margin: 0 auto var(--mr-heading-gap, clamp(28px, 4vw, 48px));
}

/* Terminal content margins must not add another gap below a section. */
main.mr-product-page :is(.mr-product-reading, .txt-block, .fbox-txt, .hero-23-txt, .section-title, .mr-product-heading) > :last-child {
  margin-bottom: 0;
}

main.mr-product-page .mr-product-list:last-child,
main.mr-product-page :is(.mr-product-list, .simple-list) li:last-child,
main.mr-product-page .simple-list li:last-child > :last-child {
  margin-bottom: 0;
}

main.mr-product-page .hero-23-img {
  margin-bottom: 0;
}

main.mr-product-page .mr-product-hero .btns-group .btn {
  margin-bottom: 0;
}

.mr-product-page .mr-product-reading {
  max-width: 960px;
  margin-inline: auto;
}

.mr-product-page .row > [class*="col"] {
  min-width: 0;
}

.mr-product-page :is(h1, h2, h3, p, li, a) {
  overflow-wrap: break-word;
}

.mr-product-page .txt-block :is(.left-column, .right-column),
.mr-product-page .txt-block.left-column,
.mr-product-page .txt-block.right-column {
  padding: 0;
}

.mr-product-page .img-block img {
  max-width: 100%;
  height: auto;
}

.mr-product-page .mr-product-list {
  list-style: disc outside;
  margin: 1rem 0 1.5rem;
  padding-left: 1.35rem;
}

.mr-product-page .mr-product-list li {
  list-style: inherit;
  margin: 0 0 0.75rem;
  padding-left: 0.25rem;
  break-inside: avoid;
}

.mr-product-page .mr-product-list-columns {
  columns: 2;
  column-gap: 3rem;
}

.mr-product-page .mr-product-steps {
  list-style-type: decimal;
}

.mr-product-page .mr-product-faq {
  margin-bottom: 2rem;
}

.mr-product-page .mr-product-faq:last-child,
.mr-product-page .mr-product-faq p:last-child {
  margin-bottom: 0;
}

.mr-product-page .mr-product-audience {
  text-align: left;
}

.mr-product-page .cbox-2 {
  align-items: flex-start;
}

.mr-product-page .cbox-2 .ico-wrap {
  flex-shrink: 0;
}

.mr-product-page .cbox-2-txt {
  min-width: 0;
}

.mr-product-page #sales-features .row.align-items-center {
  align-items: flex-start !important;
}

/* Keep the existing CTA background, extending it across the page like a section. */
.mr-product-page #banner-3 .banner-3-wrapper {
  border-radius: 0;
  margin-inline: 0;
}

.mr-product-page #banner-3 .banner-overlay {
  max-width: 960px;
  margin-inline: auto;
  padding: 0;
}

.mr-product-page #sales-overview .banner-3-wrapper {
  border-radius: 0;
  margin-inline: 0;
}

.mr-product-page #banner-3 .container,
.mr-product-page #sales-overview .container {
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.mr-product-page .banner-3-wrapper .row {
  margin-inline: 0;
}

.mr-product-page .in_tool {
  min-width: 0;
}

.mr-product-page .in_tool-txt h3 {
  margin-top: 0;
}

/* Integration and CAWI retain their tiles, with section backgrounds spanning the page. */
.mr-integrations-page #integrations-2 {
  padding-top: clamp(110px, 12vw, 170px);
}

:is(.mr-cawi-page, .mr-fraud-page) #hero-27 .hero-overlay {
  padding-top: clamp(110px, 12vw, 170px);
  padding-bottom: var(--mr-section-padding, clamp(48px, 6vw, 80px));
}

:is(.mr-cawi-page, .mr-fraud-page) .hero-27-txt p.s-20 {
  padding: 0;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-2-wrapper,
.mr-cawi-page .bc-1-wrapper .section-overlay {
  padding: 0;
  margin-inline: 0;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-2-wrapper > .row,
:is(.mr-integrations-page, .mr-cawi-page) .integrations-1-wrapper > .row {
  row-gap: 1.5rem;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-2-wrapper .in_tool {
  display: block;
  margin: 0;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-2-wrapper .in_tool_logo {
  padding: clamp(24px, 3vw, 40px) 20px;
  margin-bottom: 1rem;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-2-wrapper .in_tool p {
  margin: 0;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-1-wrapper .in_tool {
  flex-wrap: nowrap;
  height: 100%;
  margin: 0;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-1-wrapper .in_tool-logo-wrap {
  flex-shrink: 0;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-1-wrapper .in_tool-logo {
  margin-right: 1rem;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-1-wrapper .in_tool-logo img {
  width: 48px;
  height: auto;
}

:is(.mr-integrations-page, .mr-cawi-page) .integrations-1-wrapper .in_tool-txt {
  min-width: 0;
  overflow: visible;
}

.mr-cawi-page #cawi-fraud-preview h2 {
  color: #000;
}

.mr-cawi-page #cawi-fraud-preview img {
  display: block;
  margin: 0 auto 2rem;
}

.mr-cawi-page #cawi-fraud-preview img:last-child {
  margin-bottom: 0;
}

.mr-cawi-page .mr-cawi-card-section > .container {
  max-width: 1200px;
  padding-inline: 24px;
}

.mr-cawi-page .mr-cawi-card-section .mr-product-heading {
  max-width: 1100px;
  margin-bottom: var(--mr-heading-gap);
}

.mr-cawi-page .mr-cawi-card-section .mr-product-heading h2 {
  margin-bottom: 18px;
}

.mr-cawi-page .mr-cawi-card-section .mr-product-heading p {
  max-width: 900px;
  margin: 0 auto;
}

.mr-cawi-page .mr-cawi-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mr-cawi-page .mr-cawi-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(62, 177, 255, 0.25);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(53, 63, 79, 0.05);
  text-align: left;
}

.mr-cawi-page .mr-cawi-card h3 {
  font-weight: 700;
  margin: 0 0 8px;
}

.mr-cawi-page .mr-cawi-card p {
  margin: 0;
}

.mr-cawi-page .mr-cawi-card-note {
  margin: 32px 0 0;
}

.mr-cawi-page #features-5 .fbox-txt p {
  padding: 0;
}

.mr-cawi-page #features-5 .fbox-5 {
  margin: 0;
  padding: 0 clamp(0px, 2vw, 24px);
}

.mr-cawi-page #lnk-2 .section-overlay {
  padding: 0;
  margin-bottom: 0;
}

.mr-cawi-page #lnk-2 .img-block {
  margin-bottom: 0;
}

.mr-cawi-page #lnk-1 .row,
.mr-cawi-page .ct-01 .row,
.mr-cawi-page #features-5 .row {
  row-gap: 2rem;
}

/* Compact Sales steps while retaining readable copy and the existing headings. */
.mr-sales-page #sales-features .cbox-2-txt {
  margin-bottom: 1rem;
}

.mr-sales-page #sales-features .cbox-2:last-child .cbox-2-txt {
  margin-bottom: 0;
}

.mr-sales-page #sales-features .cbox-2-txt h3 {
  margin-bottom: 0.25rem;
}

.mr-sales-page #sales-features .cbox-2-txt p {
  margin-bottom: 0;
}

.mr-sales-page #sales-features .ico-wrap {
  align-self: stretch;
}

.mr-sales-page #sales-features .cbox-2-line {
  top: 3rem;
  bottom: 0.5rem;
  height: auto;
}

.mr-fraud-page .mr-fraud-check-group + .mr-fraud-check-group {
  margin-top: 2rem;
}

.mr-fraud-page .mr-fraud-previews img {
  display: block;
  margin: 2rem auto 0;
}

.mr-fraud-page #features-2 .row {
  row-gap: 2rem;
}

.mr-fraud-page #features-2 .fbox-2 {
  margin: 0;
}

.mr-fraud-page #features-2 .fbox-txt p {
  padding: 0;
}

@media (max-width: 1199px) {
  .mr-cawi-page .mr-cawi-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .mr-cawi-page .mr-cawi-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mr-cawi-page .mr-cawi-card {
    padding: 24px;
  }
}

@media (min-width: 992px) {
  .mr-sales-page #sales-features .mr-sales-feature-image {
    align-self: stretch;
  }

  .mr-sales-page #sales-features .mr-sales-feature-image .img-block {
    position: sticky;
    top: 110px;
    margin: 0;
  }
}

@media (max-width: 991px) {
  .mr-product-page .mr-product-section .txt-block,
  .mr-product-page .mr-product-section .img-block {
    margin: 0;
    padding: 0;
  }

  .mr-product-page #sales-features .img-block {
    margin-top: 2rem;
  }

  .mr-product-page .mr-product-section .img-block img {
    display: block;
    max-width: min(100%, 560px);
    margin-inline: auto;
  }

  .mr-product-page .ct-03 .img-block {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575px) {
  .mr-product-page .mr-product-list-columns {
    columns: 1;
  }

  .mr-product-page .hero-23-txt {
    padding: 0;
  }

  .mr-product-page .btn {
    max-width: 100%;
    white-space: normal;
  }

  .mr-product-page .cbox-2 .ico-wrap {
    margin-right: 1rem;
  }

  .mr-product-page .fbox-wrapper .col + .col {
    margin-top: 1.5rem;
  }
}

/* Follow the production theme's existing responsive typography. The retained
   .s-* classes now supply their original sizes instead of page-wide reductions.
   These variables map newer, unclassified content to the same live roles. */
.mr-product-page {
  --mr-live-section-size: 3.125rem; /* .s-50 */
  --mr-live-card-size: 1.25rem; /* .s-20 */
  --mr-live-cati-hero-size: 3.625rem; /* production CATI hero .s-58 */
  --mr-live-card-leading: 1.25;
}

.mr-cati-page .mr-product-hero h1 {
  font-size: var(--mr-live-cati-hero-size);
}

/* Production uses an h1 here. Keep the local h2 semantics without the
   legacy mobile banner rule reducing its .s-50 type size. */
.mr-product-page #banner-3 h2.s-50 {
  font-size: var(--mr-live-section-size) !important;
}

.mr-product-page :is(.section-title, .mr-product-heading) h2 {
  letter-spacing: normal;
}

/* These headings were h2 on production; preserve the improved h3 semantics
   while retaining their original visual line height. */
.mr-product-page h3[class*="s-"],
.mr-cawi-page .mr-cawi-card h3 {
  line-height: var(--mr-live-card-leading);
}

.mr-cawi-page .mr-product-heading h2:not([class*="s-"]) {
  font-size: var(--mr-live-section-size);
}

.mr-cawi-page .mr-cawi-card h3 {
  font-size: var(--mr-live-card-size);
}

/* The respondent cards use production's .p-sm description scale. */
.mr-cawi-page #features-7 .mr-cawi-card p {
  font-size: 0.9375rem;
}

@media (max-width: 991.98px) {
  .mr-cawi-page #features-7 .mr-cawi-card p { font-size: 1rem; }
}

@media (min-width: 992px) and (max-width: 1199.95px) {
  .mr-product-page {
    --mr-live-section-size: 2.875rem;
    --mr-live-card-size: 1.18755rem;
    --mr-live-cati-hero-size: 3.375rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .mr-product-page {
    --mr-live-section-size: 2.64705rem;
    --mr-live-card-size: 1.397058rem;
    --mr-live-cati-hero-size: 3.08823rem;
  }
}

@media (max-width: 767.98px) {
  .mr-product-page { --mr-live-card-leading: 1.35; }
}

@media (min-width: 480px) and (max-width: 767.98px) {
  .mr-product-page {
    --mr-live-section-size: 2.375rem;
    --mr-live-card-size: 1.4375rem;
    --mr-live-cati-hero-size: 2.5rem;
  }
}

@media (min-width: 414px) and (max-width: 479.98px) {
  .mr-product-page {
    --mr-live-section-size: 2.0625rem;
    --mr-live-card-size: 1.3125rem;
    --mr-live-cati-hero-size: 2.0625rem;
  }
}

@media (min-width: 390px) and (max-width: 413.98px) {
  .mr-product-page {
    --mr-live-section-size: 2rem;
    --mr-live-card-size: 1.3125rem;
    --mr-live-cati-hero-size: 2rem;
  }
}

@media (min-width: 321px) and (max-width: 389.98px) {
  .mr-product-page {
    --mr-live-section-size: 1.923076rem;
    --mr-live-card-size: 1.217948rem;
    --mr-live-cati-hero-size: 1.923076rem;
  }
}

@media (max-width: 320.98px) {
  .mr-product-page {
    --mr-live-section-size: 1.92857rem;
    --mr-live-card-size: 1.285714rem;
    --mr-live-cati-hero-size: 1.92857rem;
  }
}
