.guide-hero h1 {
  font-size: clamp(2.9rem, 7.5vw, 7.5rem);
  text-wrap: balance;
}

.guide-hero .sales-lead {
  max-width: 44ch;
}

.guide-example {
  min-height: 8rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  border-top: 1px solid var(--sales-rule);
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.chapter-after .guide-example { border-color: #dab871; }
.guide-example h4 { margin: 0 0 .5rem; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.15; }
.guide-example p, .plan-list dd p { margin: 0; color: var(--sales-copy); }
.sales-hero.guide-editorial-hero {
  padding-block: clamp(4.9rem, 8vw, 7rem) clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.guide-editorial-hero::before { content: none; }
.guide-editorial-hero::after {
  inset: clamp(1.4rem, 3vw, 2.5rem) auto auto 50%;
  width: clamp(3.4rem, 6vw, 5rem);
  transform: translateX(-50%);
  background: var(--amber);
  opacity: .58;
}
.guide-editorial-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.065em;
}
.guide-editorial-hero .sales-lead {
  margin: .9rem auto 0;
  color: var(--sales-copy);
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.guide-editorial-hero .sales-actions { justify-content: center; }
.guide-editorial-hero .sales-button { border-radius: 99px; }

.guide-article.wrap {
  --guide-tint: #fff9eb;
  --guide-tint-border: #ead4a7;
  display: grid;
  grid-template-columns: minmax(10rem, .25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 69rem;
  padding-block: 2.25rem clamp(3rem, 7vw, 5.5rem);
  border-block-start: 1px solid var(--sales-rule);
}
@media (min-width: 80rem) {
  main:has(> .guide-article) { overflow-x: clip; }
  .guide-article { position: relative; isolation: isolate; }
  .guide-article::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    right: calc((100% - 100vw) / 2);
    width: clamp(9rem, calc((100vw - 72rem) / 2), 24rem);
    aspect-ratio: 4 / 5;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='50 117 744 461'%3E%3Cpath d='M66 358L264 292L386 150L376 273L777 134L350 355L282 421L451 323L536 323L140 561L208 409Z' fill='%23f5a615'/%3E%3C/svg%3E") left center / auto 100% no-repeat;
    opacity: .12;
    pointer-events: none;
  }
}
.guide-contents { position: sticky; top: 1.5rem; }
.guide-contents p {
  margin: 0 0 .55rem;
  color: var(--sales-copy);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.guide-contents ul {
  margin: 0;
  padding: 0 0 0 .8rem;
  border-inline-start: 1px solid var(--sales-rule);
  list-style: none;
}
.guide-contents a {
  display: flex;
  align-items: center;
  min-block-size: 2.75rem;
  color: var(--sales-copy);
  font-size: .9375rem;
  text-underline-offset: .22em;
}
.guide-contents a:hover { color: var(--sales-accent); }
.guide-article-body > section {
  margin-block-start: clamp(2.25rem, 5vw, 3.75rem);
  padding-block-start: clamp(1.55rem, 3vw, 2.25rem);
  border-block-start: 1px solid var(--sales-rule);
}
.guide-article-body > section h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  letter-spacing: -.045em;
  text-align: start;
}
.guide-article-body .sales-faq.wrap { width: 100%; max-width: none; padding-block-end: 0; }
.guide-article-body .questions { gap: 0; margin-block-start: .9rem; }
.guide-article-body .questions details {
  padding-inline: 0;
  border: 0;
  border-block-end: 1px solid var(--sales-rule);
  border-radius: 0;
  background: transparent;
}
.guide-takeaway {
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  background: var(--guide-tint);
  border: 1px solid var(--guide-tint-border);
  border-radius: 12px;
}
.website-sales .guide-takeaway :is(h2, h3) {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: -.018em;
}
.guide-takeaway p { margin: .4rem 0 0; line-height: 1.65; color: var(--sales-copy); }
.rinsehq-plans.plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block-start: 1rem; }
.rinsehq-plans.plan-list dt { margin-bottom: .55rem; }
.rinsehq-plans.plan-list dd strong { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.rinsehq-pricing { margin-block-end: 1.2rem; }
.rinsehq-table.crm-table { width: 100%; min-width: 0; }
.rinsehq-table.crm-table tr > :first-child {
  position: static;
  width: 40%;
  box-shadow: none;
}
.rinsehq-table.crm-table thead th { padding-block: .7rem; vertical-align: middle; }
.rinsehq-table.crm-table th,
.rinsehq-table.crm-table td {
  padding: .6rem clamp(.35rem, 1.5vw, .9rem);
  font-size: .875rem;
  overflow-wrap: break-word;
}
.rinsehq-table.crm-table tbody tr:last-child > * { border-block-end: 1px solid var(--sales-rule); }
.rinsehq-table tbody tr:last-child > :first-child { border-end-start-radius: 12px; }
.rinsehq-table tbody tr:last-child > :last-child { border-end-end-radius: 12px; }
.rinsehq-active-jobs { margin-block-start: 1rem; }
.rinsehq-readiness-intro { margin: .55rem 0 1.25rem; color: var(--sales-copy); }
.rinsehq-readiness {
  margin: 0 0 1rem;
  border: 1px solid var(--sales-rule);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px #1b1b1510;
}
.rinsehq-questions { padding-inline: clamp(.9rem, 3vw, 1.55rem); }
.rinsehq-questions fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: .9rem 0 1rem;
  border: 0;
}
.rinsehq-questions fieldset + fieldset { border-block-start: 1px solid var(--sales-rule); }
.rinsehq-questions legend {
  float: left;
  width: 100%;
  margin: 0 0 .55rem;
  padding: 0;
  font-weight: 750;
}
.rinsehq-options { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.rinsehq-options label {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-block-size: 2.9rem;
  padding: .5rem .7rem;
  background: #fff;
  border: 1px solid var(--sales-rule);
  border-radius: 8px;
  font-size: .9375rem;
  line-height: 1.35;
  cursor: pointer;
}
.rinsehq-options label:hover { border-color: #a9874b; }
.rinsehq-options label:has(input:checked) {
  border-color: #ba852c;
  background: var(--guide-tint);
  font-weight: 700;
}
.rinsehq-options label:has(input:focus-visible) { outline: 2px solid var(--sales-accent); outline-offset: 2px; }
.rinsehq-options input {
  flex: none;
  inline-size: 1rem;
  block-size: 1rem;
  margin: 0;
  accent-color: var(--sales-accent);
}
.rinsehq-result {
  padding: 1rem clamp(.9rem, 3vw, 1.55rem) 1.2rem;
  border-radius: 0 0 15px 15px;
  background: #242017;
  color: #fff9eb;
}
.rinsehq-result-label { color: #ffd689; font-size: .8125rem; font-weight: 750; letter-spacing: .065em; text-transform: uppercase; }
.rinsehq-result h3 { margin: .25rem 0; font-size: clamp(1.25rem, 3vw, 1.65rem); letter-spacing: -.025em; }
.rinsehq-result p { margin: .35rem 0 0; color: #f1e8d7; }
.rinsehq-result ul { margin: .45rem 0 0; padding-inline-start: 1.2rem; }
.rinsehq-result li::marker { color: #ffd689; }
.guide-article + .sales-contact { background: #fff9eb; border-block-start: 1px solid #ead4a7; }
.guide-article + .sales-contact::before { content: none; }
.guide-article + .sales-contact .wrap { max-width: 69rem; }

@media (max-width: 50rem) {
  .guide-article.wrap { grid-template-columns: minmax(0, 1fr); }
  .guide-contents { position: static; }
  .guide-contents ul { display: flex; flex-wrap: wrap; gap: 0 .95rem; padding: 0; border: 0; }
}
@media (max-width: 31rem) {
  .rinsehq-plans.plan-list,
  .rinsehq-options { grid-template-columns: minmax(0, 1fr); }
}

.crm-scroll-hint { display: none; }
.crm-table-note { margin: 0 0 .25rem; color: var(--sales-copy); font-size: .875rem; }
.crm-comparison-intro, .crm-managed-intro { margin: .6rem 0 1rem; color: var(--sales-copy); }
.crm-table-frame { container: crm-comparison / inline-size; }
.crm-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.crm-table-navigation {
  flex: none;
  display: flex;
  gap: .4rem;
}
.crm-table-navigation[hidden] { display: none; }
.crm-table-navigation button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--sales-rule);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
}
.crm-table-navigation button:hover { border-color: var(--sales-accent); }
.crm-table-navigation button[aria-disabled="true"] { opacity: .65; cursor: default; }
.crm-table-page { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.crm-table-scroll {
  overflow-x: auto;
  padding-block: .85rem .35rem;
}
.crm-table-scroll:focus-visible {
  outline: 2px solid var(--sales-accent);
  outline-offset: 3px;
}

.crm-table {
  --crm-highlight: #fffaed;
  --crm-highlight-stripe: #fff2d3;
  --crm-highlight-border: #c88a19;
  width: 100%;
  min-width: 48rem;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: .875rem;
  line-height: 1.24;
}

.crm-table th,
.crm-table td {
  padding: .34rem .58rem;
  vertical-align: middle;
  text-align: center;
  background: #fff;
  border-inline-start: 1px solid var(--sales-rule);
}
.crm-table tr > :last-child { border-inline-end: 1px solid var(--sales-rule); }
.crm-table tr > :first-child {
  width: 10.6rem;
  text-align: start;
}
.crm-table thead th {
  position: relative;
  padding-block: .85rem 2.8rem;
  vertical-align: top;
  background: #fbfbfc;
  border-block: 1px solid var(--sales-rule);
}
.crm-table thead th:first-child { padding-block: .7rem; vertical-align: middle; border-start-start-radius: 12px; }
.crm-table thead th:last-child { border-start-end-radius: 12px; }
.crm-table tbody th { font-weight: 750; }
.crm-table tbody td { color: var(--sales-copy); font-size: .8125rem; }
.crm-table tbody tr:nth-child(odd) > * { background: #f3f4f6; }
.crm-table tbody tr:not(.crm-pro-row) + .crm-pro-row > * { border-block-start: 1px solid var(--sales-rule); }
.crm-table tfoot td {
  padding-block: .6rem;
  background: #fbfbfc;
  border-block: 1px solid var(--sales-rule);
}
.crm-table tfoot td:first-child { border-end-start-radius: 12px; }
.crm-table tfoot td:last-child { border-end-end-radius: 12px; }
.crm-table .crm-featured {
  background: var(--crm-highlight);
  border-inline: 1px solid var(--crm-highlight-border);
}
.crm-table .crm-featured + * { border-inline-start: 0; }
.crm-table thead .crm-featured { border-block-start-color: var(--crm-highlight-border); border-radius: 12px 12px 0 0; }
.crm-table tbody tr:nth-child(odd) > .crm-featured { background: var(--crm-highlight-stripe); }
.crm-table tfoot .crm-featured { border-block-end-color: var(--crm-highlight-border); border-radius: 0 0 12px 12px; }
.crm-featured-badge {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  padding: .19rem .6rem;
  border-radius: 99px;
  background: var(--amber);
  color: var(--ink);
  font-size: .6875rem;
  white-space: nowrap;
}
.crm-name { display: block; font-size: .9375rem; }
.crm-plan { display: block; margin-block-start: .19rem; color: var(--sales-copy); font-size: .75rem; font-weight: 500; }
.crm-price {
  position: absolute;
  inset-block-end: .65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .2rem .55rem;
  border-radius: 99px;
  background: #e9edf2;
  color: var(--ink);
  font-size: 1rem;
  white-space: nowrap;
}
.crm-featured .crm-price { background: #ffe4a5; font-size: 1.25rem; }
.crm-feature-label { display: flex; align-items: center; gap: .45rem; }
.crm-feature-label svg {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.crm-mark {
  display: inline-grid;
  place-items: center;
  width: .95rem;
  height: .95rem;
  border-radius: 50%;
  vertical-align: middle;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
}
.crm-mark-yes, .crm-mark-service { color: #1b663b; background: #e8f4ec; }
.crm-mark-tier { color: #774800; background: #ffecbc; }
.crm-mark-unknown, .crm-mark-software { color: #55565c; background: #edeef0; }
.crm-table-action {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  padding-inline: .35rem;
  border: 1px solid var(--sales-rule);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}
.crm-table-action:hover { border-color: var(--sales-accent); text-decoration: underline; }
.crm-featured .crm-table-action { border-color: var(--ink); background: var(--ink); color: #fff; }
.crm-sources, .crm-citations { font-size: .875rem; }
.crm-sources { display: flex; flex-wrap: wrap; gap: .25rem .55rem; }
.crm-sources a { color: var(--sales-accent); text-decoration: underline; text-underline-offset: .2em; }
.crm-citations { margin-top: .6rem; color: var(--sales-copy); }
.crm-citations summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.crm-citations ul { display: grid; gap: .45rem; margin-block: .65rem 0; padding-inline-start: 1.25rem; }
.crm-citations strong { margin-inline-end: .5rem; }
.crm-citations .crm-sources { display: inline-flex; }

.crm-deliverables {
  margin: 0;
  padding: 0;
  list-style: none;
}
.crm-deliverables li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .85rem;
  padding-block: 1rem;
  border-block-end: 1px solid var(--sales-rule);
}
.crm-deliverable-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--guide-tint);
}
.crm-deliverable-icon svg {
  width: 60%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.crm-deliverables h3 { margin: 0; font-size: 1.125rem; letter-spacing: -.02em; }
.crm-deliverables p { margin: .35rem 0 0; color: var(--sales-copy); }
.crm-managed-footer {
  margin-block-start: 1.2rem;
}
.crm-managed-footer .scope-note { margin: 0; }
.crm-managed-footer .text-link { margin-block-start: .6rem; }
.crm-call-button { margin-top: 1.1rem; }

@container crm-comparison (width < 48rem) {
  .crm-scroll-hint { display: block; margin: 0; color: var(--sales-copy); font-size: .875rem; }
  .crm-table-scroll { --crm-feature-width: clamp(5.75rem, 25cqi, 10.6rem); }
  .crm-table-scroll[data-paged] { overflow-x: hidden; touch-action: pan-y pinch-zoom; }
  .crm-table {
    /* Feature labels plus five equal columns, two of which fit in the viewport. */
    width: calc(250cqi - var(--crm-feature-width) * 1.5);
    min-width: 0;
  }
  .crm-table tr > :first-child { position: sticky; inset-inline-start: 0; z-index: 1; box-shadow: 1px 0 var(--sales-rule); }
  .crm-table tr > :first-child { width: var(--crm-feature-width); }
}

@media (max-width: 600px) {
  .crm-table th, .crm-table td { padding-inline: .35rem; }
  .crm-table tbody th { font-size: .8125rem; }
  .crm-feature-label { gap: .32rem; }
  .guide-chapters a {
    flex: 1;
    min-width: 0;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Match the integration guide to the editorial article layout. */
.guide-integration .guide-article-body > .work-section.wrap,
.guide-integration .guide-article-body .sales-section.wrap { width: 100%; max-width: none; }
.guide-integration .guide-article-body > .work-section.wrap { padding-inline: 0; padding-block-end: 0; }
.guide-integration .guide-article-body .offers-band,
.guide-integration .guide-article-body .care { background: transparent; }
.guide-integration .guide-article-body .offers-band .sales-section,
.guide-integration .guide-article-body .care .sales-section { padding: 0; }
.guide-integration .sales-section-heading { margin-bottom: 1.4rem; }
