/**
 * Webbotica — CRM Inbox service page
 */

:root {
    --wb-crm-primary: var(--color-primary, #496af9);
    --wb-crm-primary-dark: #3452d6;
    --wb-crm-heading: var(--color-heading, #111827);
    --wb-crm-copy: var(--color-paragraph, #6b7280);
    --wb-crm-border: var(--color-border, #e5e7eb);
    --wb-crm-soft: #f7f8fb;
    --wb-crm-container: var(--container-width, 1240px);
    --wb-crm-gutter: var(--container-padding, 24px);
    --wb-crm-radius-sm: 10px;
    --wb-crm-radius-md: 16px;
    --wb-crm-radius-lg: 22px;
}

.wb-crm-page,
.wb-crm,
.wb-crm * { box-sizing: border-box; }

.wb-crm {
    background: #fff;
    color: var(--wb-crm-heading);
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: clip;
}

.wb-crm a { color: inherit; }
.wb-crm button,
.wb-crm input { font: inherit; }

.wb-crm__container {
    width: min(calc(100% - (var(--wb-crm-gutter) * 2)), var(--wb-crm-container));
    margin-inline: auto;
}

.wb-crm__eyebrow {
    margin: 0 0 13px;
    color: var(--wb-crm-primary);
    font-size: .71rem;
    font-weight: 760;
    letter-spacing: .14em;
    line-height: 1.25;
}

.wb-crm__button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.wb-crm__button:hover { transform: translateY(-2px); }
.wb-crm__button:focus-visible,
.wb-crm button:focus-visible,
.wb-crm a:focus-visible,
.wb-crm summary:focus-visible,
.wb-crm input:focus-visible + span {
    outline: 3px solid rgba(73, 106, 249, .22);
    outline-offset: 3px;
}

.wb-crm__button--primary {
    background: var(--wb-crm-primary);
    color: #fff !important;
}

.wb-crm__button--primary:hover { background: var(--wb-crm-primary-dark); }

.wb-crm__button--text {
    padding-inline: 2px;
    border-radius: 0;
    border-bottom-color: var(--wb-crm-heading);
    background: transparent;
    color: var(--wb-crm-heading) !important;
}

.wb-crm__button--text:hover {
    border-bottom-color: var(--wb-crm-primary);
    color: var(--wb-crm-primary) !important;
}

.wb-crm-section {
    scroll-margin-top: calc(var(--site-header-height, 72px) + 58px);
    padding: clamp(76px, 6.5vw, 102px) 0;
    background: #fff;
}

.wb-crm-section + .wb-crm-section {
    border-top: 1px solid rgba(229, 231, 235, .84);
}

.wb-crm-heading {
    max-width: 870px;
    margin-bottom: clamp(34px, 3.7vw, 50px);
}

.wb-crm-heading h2 {
    max-width: 830px;
    margin: 0;
    font-size: clamp(2.2rem, 3.5vw, 3.65rem);
    font-weight: 720;
    letter-spacing: -.052em;
    line-height: 1.07;
    text-wrap: balance;
}

.wb-crm-heading > p:last-child {
    max-width: 740px;
    margin: 20px 0 0;
    color: var(--wb-crm-copy);
    font-size: clamp(.98rem, 1.25vw, 1.08rem);
    line-height: 1.72;
}

/* Hero */
.wb-crm-hero {
    display: flex;
    align-items: center;
    padding: clamp(76px, 6.8vw, 102px) 0 clamp(68px, 6vw, 88px);
    background: #fff;
}

.wb-crm-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr);
    align-items: center;
    gap: clamp(52px, 5.5vw, 78px);
}

.wb-crm-hero__copy { min-width: 0; }

.wb-crm-hero__copy h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(3rem, 4.1vw, 4.45rem);
    font-weight: 720;
    letter-spacing: -.06em;
    line-height: 1.02;
    text-wrap: balance;
}

.wb-crm-hero__lead {
    max-width: 660px;
    margin: 23px 0 0;
    color: var(--wb-crm-copy);
    font-size: clamp(1rem, 1.25vw, 1.11rem);
    line-height: 1.72;
}

.wb-crm-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.wb-crm-hero__note {
    margin: 17px 0 0;
    color: #858d99;
    font-size: .78rem;
    line-height: 1.55;
}

.wb-crm-hero__visual { min-width: 0; }

.wb-crm-board {
    padding: 20px;
    border: 1px solid var(--wb-crm-border);
    border-radius: var(--wb-crm-radius-lg);
    background: #fff;
    box-shadow: 0 22px 64px rgba(17, 24, 39, .075);
}

.wb-crm-board__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 3px 2px 17px;
    border-bottom: 1px solid var(--wb-crm-border);
}

.wb-crm-board__top small,
.wb-crm-board__label small,
.wb-crm-board__action > small {
    color: #929aa6;
    font-size: .59rem;
    font-weight: 730;
    letter-spacing: .08em;
}

.wb-crm-board__top > div small {
    display: block;
    color: var(--wb-crm-primary);
    font-weight: 780;
    letter-spacing: .12em;
}

.wb-crm-board__top strong {
    display: block;
    margin-top: 6px;
    font-size: .9rem;
    line-height: 1.4;
}

.wb-crm-board__top > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(73, 106, 249, .2);
    border-radius: 999px;
    color: var(--wb-crm-primary);
    font-size: .61rem;
    font-weight: 720;
}

.wb-crm-board__top > span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wb-crm-primary);
}

.wb-crm-board__body {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(205px, .94fr);
    gap: 13px;
    padding: 17px 0;
}

.wb-crm-board__inbox,
.wb-crm-board__next {
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 15px;
    background: #fff;
}

.wb-crm-board__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.wb-crm-board__label > span {
    font-size: .7rem;
    font-weight: 760;
}

.wb-crm-board__inbox article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 11px;
}

.wb-crm-board__inbox article + article { margin-top: 6px; }

.wb-crm-board__inbox article.is-active {
    border-color: rgba(73, 106, 249, .22);
    background: rgba(73, 106, 249, .045);
}

.wb-crm-board__avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #eef1f6;
    color: var(--wb-crm-heading);
    font-size: .59rem;
    font-weight: 760;
}

.wb-crm-board__inbox strong,
.wb-crm-board__inbox small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-crm-board__inbox strong { font-size: .68rem; }
.wb-crm-board__inbox small { margin-top: 3px; color: var(--wb-crm-copy); font-size: .57rem; }
.wb-crm-board__inbox time { color: #9aa1ad; font-size: .54rem; }

.wb-crm-board__action {
    padding: 15px;
    border: 1px solid rgba(73, 106, 249, .2);
    border-radius: 12px;
    background: rgba(73, 106, 249, .035);
}

.wb-crm-board__action strong {
    display: block;
    margin-top: 8px;
    font-size: .91rem;
    line-height: 1.35;
}

.wb-crm-board__action p {
    margin: 8px 0 0;
    color: var(--wb-crm-copy);
    font-size: .6rem;
    line-height: 1.5;
}

.wb-crm-board__reminder {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 11px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 11px;
}

.wb-crm-board__reminder > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #f1f3f8;
    color: var(--wb-crm-primary);
}

.wb-crm-board__reminder svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wb-crm-board__reminder strong,
.wb-crm-board__reminder small { display: block; }
.wb-crm-board__reminder strong { font-size: .64rem; }
.wb-crm-board__reminder small { margin-top: 3px; color: var(--wb-crm-copy); font-size: .55rem; line-height: 1.4; }

.wb-crm-board__pipeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding-top: 16px;
    border-top: 1px solid var(--wb-crm-border);
}

.wb-crm-board__pipeline > div {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 10px;
    color: #606a79;
}

.wb-crm-board__pipeline > div.is-current {
    border-color: rgba(73, 106, 249, .28);
    color: var(--wb-crm-primary);
    background: rgba(73, 106, 249, .04);
}

.wb-crm-board__pipeline span {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #f1f3f8;
    font-size: .53rem;
    font-weight: 760;
}

.wb-crm-board__pipeline strong { font-size: .58rem; }

/* Chapter navigation */
.wb-crm-chapters {
    position: sticky;
    top: var(--site-header-height, 72px);
    z-index: 30;
    border-block: 1px solid rgba(229, 231, 235, .9);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.wb-crm-chapters > .wb-crm__container {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.wb-crm-chapters__label {
    flex: 0 0 auto;
    color: #949ca8;
    font-size: .68rem;
    font-weight: 760;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.wb-crm-chapters__toggle { display: none; }
.wb-crm-chapters__links { display: flex; align-items: center; gap: 24px; margin-left: auto; }

.wb-crm-chapters__links a {
    position: relative;
    padding: 21px 0 18px;
    color: #687182;
    font-size: .73rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.wb-crm-chapters__links a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--wb-crm-primary);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.wb-crm-chapters__links a:hover,
.wb-crm-chapters__links a.is-active { color: var(--wb-crm-heading); }
.wb-crm-chapters__links a.is-active::after { transform: scaleX(1); }

/* Shared cards */
.wb-crm-purpose-grid,
.wb-crm-flex-grid,
.wb-crm-ownership {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.wb-crm-purpose-grid article,
.wb-crm-flex-grid article,
.wb-crm-ownership article,
.wb-crm-automation-grid article {
    border: 1px solid var(--wb-crm-border);
    border-radius: var(--wb-crm-radius-md);
    background: #fff;
}

.wb-crm-purpose-grid article { min-height: 205px; padding: 25px; }
.wb-crm-flex-grid article { min-height: 230px; padding: 25px; }
.wb-crm-ownership article { min-height: 180px; padding: 23px; }

.wb-crm-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.wb-crm-card-title > span {
    flex: 0 0 auto;
    color: var(--wb-crm-primary);
    font-size: .67rem;
    font-weight: 780;
    letter-spacing: .08em;
}

.wb-crm-card-title h3 {
    margin: 0;
    font-size: 1.02rem;
    letter-spacing: -.025em;
}

.wb-crm-purpose-grid article > p,
.wb-crm-flex-grid article > p,
.wb-crm-ownership article > p {
    margin: 17px 0 0;
    color: var(--wb-crm-copy);
    font-size: .86rem;
    line-height: 1.68;
}

.wb-crm-flex-grid article > small {
    display: block;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--wb-crm-border);
    color: #8d95a1;
    font-size: .65rem;
    line-height: 1.5;
}

/* Check */
.wb-crm-check {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr);
    border: 1px solid var(--wb-crm-border);
    border-radius: var(--wb-crm-radius-lg);
    overflow: hidden;
    background: #fff;
}

.wb-crm-check__questions {
    padding: clamp(27px, 3vw, 38px);
    border-right: 1px solid var(--wb-crm-border);
}

.wb-crm-check__question + .wb-crm-check__question {
    margin-top: 22px;
    padding-top: 21px;
    border-top: 1px solid var(--wb-crm-border);
}

.wb-crm-check__question > p,
.wb-crm-check__question-head p {
    margin: 0 0 13px;
    font-size: .9rem;
    font-weight: 720;
}

.wb-crm-check__question-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.wb-crm-check__question-head small { color: #929aa6; font-size: .66rem; }

.wb-crm-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.wb-crm-choice-grid--channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.wb-crm-choice-grid label,
.wb-crm-need-grid label { position: relative; cursor: pointer; }

.wb-crm-choice-grid input,
.wb-crm-need-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wb-crm-choice-grid span {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 10px;
    color: #626c7c;
    font-size: .7rem;
    font-weight: 650;
    text-align: center;
    transition: 160ms ease;
}

.wb-crm-choice-grid input:checked + span {
    border-color: rgba(73, 106, 249, .46);
    background: rgba(73, 106, 249, .055);
    color: var(--wb-crm-primary);
}

.wb-crm-need-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.wb-crm-need-grid label > span {
    min-height: 84px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-content: center;
    gap: 4px 9px;
    padding: 13px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 12px;
    transition: 160ms ease;
}

.wb-crm-need-grid b {
    grid-row: 1 / span 2;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f1f3f8;
    color: var(--wb-crm-primary);
    font-size: .59rem;
}

.wb-crm-need-grid strong { align-self: end; font-size: .77rem; }
.wb-crm-need-grid small { color: var(--wb-crm-copy); font-size: .59rem; line-height: 1.4; }

.wb-crm-need-grid input:checked + span {
    border-color: rgba(73, 106, 249, .46);
    background: rgba(73, 106, 249, .045);
}

.wb-crm-need-grid input:checked + span b {
    background: var(--wb-crm-primary);
    color: #fff;
}

.wb-crm-check__result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 3.4vw, 45px);
    background: #fbfbfc;
}

.wb-crm-check__result h3 {
    max-width: 430px;
    margin: 0;
    font-size: clamp(1.75rem, 2.6vw, 2.45rem);
    line-height: 1.13;
    letter-spacing: -.045em;
}

.wb-crm-check__result > p:not(.wb-crm__eyebrow) {
    max-width: 470px;
    margin: 15px 0 0;
    color: var(--wb-crm-copy);
    font-size: .86rem;
    line-height: 1.67;
}

.wb-crm-check__result-list {
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--wb-crm-border);
}

.wb-crm-check__result-list > small {
    color: #929aa6;
    font-size: .59rem;
    font-weight: 760;
    letter-spacing: .1em;
}

.wb-crm-check__result ul {
    display: grid;
    gap: 9px;
    margin: 12px 0 22px;
    padding: 0;
    list-style: none;
}

.wb-crm-check__result li {
    position: relative;
    padding: 10px 11px 10px 28px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 10px;
    background: #fff;
    color: #596374;
    font-size: .69rem;
    line-height: 1.45;
}

.wb-crm-check__result li::before {
    position: absolute;
    left: 12px;
    top: 15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wb-crm-primary);
    content: "";
}

.wb-crm-check__result .wb-crm__button { width: 100%; }

/* Connected journey */
.wb-crm-journey {
    display: grid;
    grid-template-columns: minmax(210px, .75fr) 70px minmax(220px, .75fr) 70px minmax(0, 1.5fr);
    align-items: center;
    gap: 0;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--wb-crm-border);
    border-radius: var(--wb-crm-radius-lg);
}

.wb-crm-journey__sources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.wb-crm-journey__sources span {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 10px;
    color: #626c7c;
    font-size: .67rem;
    font-weight: 650;
    text-align: center;
}

.wb-crm-journey__connector {
    position: relative;
    height: 1px;
    background: #ccd2de;
}

.wb-crm-journey__connector::after {
    position: absolute;
    right: -1px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1px solid #9da6b3;
    border-right: 1px solid #9da6b3;
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.wb-crm-journey__centre {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 25px;
    border: 1px solid rgba(73, 106, 249, .24);
    border-radius: 16px;
    background: rgba(73, 106, 249, .035);
    text-align: center;
}

.wb-crm-journey__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--wb-crm-primary);
    color: #fff;
}

.wb-crm-journey__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wb-crm-journey__centre small {
    margin-top: 15px;
    color: var(--wb-crm-primary);
    font-size: .61rem;
    font-weight: 780;
    letter-spacing: .11em;
}

.wb-crm-journey__centre strong {
    max-width: 190px;
    margin-top: 8px;
    font-size: .86rem;
    line-height: 1.42;
}

.wb-crm-journey__outcomes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.wb-crm-journey__outcomes article {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 12px;
}

.wb-crm-journey__outcomes article > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f1f3f8;
    color: var(--wb-crm-primary);
    font-size: .61rem;
    font-weight: 760;
}

.wb-crm-journey__outcomes strong,
.wb-crm-journey__outcomes small { display: block; }
.wb-crm-journey__outcomes strong { font-size: .75rem; }
.wb-crm-journey__outcomes small { margin-top: 3px; color: var(--wb-crm-copy); font-size: .61rem; line-height: 1.4; }


/* Retention and first-party data */
.wb-crm-retention {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
    gap: 15px;
}

.wb-crm-retention__loop,
.wb-crm-retention__value article,
.wb-crm-data {
    border: 1px solid var(--wb-crm-border);
    border-radius: var(--wb-crm-radius-md);
    background: #fff;
}

.wb-crm-retention__loop {
    padding: clamp(25px, 3vw, 36px);
}

.wb-crm-retention__customer {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--wb-crm-border);
}

.wb-crm-retention__customer > span {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--wb-crm-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 780;
}

.wb-crm-retention__customer small,
.wb-crm-data__source > small {
    display: block;
    color: var(--wb-crm-primary);
    font-size: .61rem;
    font-weight: 780;
    letter-spacing: .11em;
}

.wb-crm-retention__customer strong {
    display: block;
    margin-top: 4px;
    font-size: .94rem;
}

.wb-crm-retention__customer p {
    margin: 5px 0 0;
    color: var(--wb-crm-copy);
    font-size: .68rem;
    line-height: 1.55;
}

.wb-crm-retention__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.wb-crm-retention__steps article {
    min-height: 94px;
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 12px;
}

.wb-crm-retention__steps article > span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #f1f3f8;
    color: var(--wb-crm-primary);
    font-size: .61rem;
    font-weight: 770;
}

.wb-crm-retention__steps strong,
.wb-crm-retention__steps small { display: block; }
.wb-crm-retention__steps strong { font-size: .74rem; line-height: 1.35; }
.wb-crm-retention__steps small { margin-top: 4px; color: var(--wb-crm-copy); font-size: .61rem; line-height: 1.45; }

.wb-crm-retention__value {
    display: grid;
    gap: 10px;
}

.wb-crm-retention__value article {
    padding: 22px;
}

.wb-crm-retention__value article > p {
    margin: 13px 0 0;
    color: var(--wb-crm-copy);
    font-size: .79rem;
    line-height: 1.65;
}

.wb-crm-data {
    margin-top: 15px;
    padding: clamp(27px, 3.7vw, 42px);
}

.wb-crm-data__intro {
    max-width: 790px;
}

.wb-crm-data__intro h3 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(1.7rem, 2.7vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -.045em;
}

.wb-crm-data__intro > p:last-child {
    max-width: 720px;
    margin: 15px 0 0;
    color: var(--wb-crm-copy);
    font-size: .86rem;
    line-height: 1.7;
}

.wb-crm-data__flow {
    display: grid;
    grid-template-columns: minmax(210px, .72fr) 70px minmax(0, 1.55fr);
    align-items: center;
    gap: 0;
    margin-top: 28px;
}

.wb-crm-data__source {
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 14px;
}

.wb-crm-data__source > small { margin-bottom: 4px; }

.wb-crm-data__source span {
    min-height: 39px;
    display: flex;
    align-items: center;
    padding: 8px 11px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 9px;
    color: #606a79;
    font-size: .66rem;
    font-weight: 650;
}

.wb-crm-data__arrow {
    position: relative;
    height: 1px;
    background: #ccd2de;
}

.wb-crm-data__arrow::after {
    position: absolute;
    right: -1px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1px solid #9da6b3;
    border-right: 1px solid #9da6b3;
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.wb-crm-data__uses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.wb-crm-data__uses article {
    min-height: 104px;
    padding: 17px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 12px;
}

.wb-crm-data__uses strong,
.wb-crm-data__uses small { display: block; }
.wb-crm-data__uses strong { font-size: .76rem; }
.wb-crm-data__uses small { margin-top: 7px; color: var(--wb-crm-copy); font-size: .64rem; line-height: 1.5; }

.wb-crm-data__note {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--wb-crm-border);
    color: #7a8492;
    font-size: .68rem;
    line-height: 1.65;
}

.wb-crm-data__note a {
    color: var(--wb-crm-primary);
    font-weight: 700;
}


/* Pipeline */
.wb-crm-pipeline {
    border: 1px solid var(--wb-crm-border);
    border-radius: var(--wb-crm-radius-lg);
    overflow: hidden;
}

.wb-crm-pipeline__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--wb-crm-border);
}

.wb-crm-pipeline__tabs button {
    min-height: 59px;
    border: 0;
    border-right: 1px solid var(--wb-crm-border);
    background: #fff;
    color: #687182;
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
}

.wb-crm-pipeline__tabs button:last-child { border-right: 0; }
.wb-crm-pipeline__tabs button.is-active { color: var(--wb-crm-primary); background: rgba(73, 106, 249, .045); }

.wb-crm-pipeline__panel {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(38px, 5vw, 70px);
    padding: clamp(30px, 4vw, 50px);
}

.wb-crm-pipeline__panel h3 {
    max-width: 430px;
    margin: 0;
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.17;
    letter-spacing: -.043em;
}

.wb-crm-pipeline__panel > div:first-child > p:last-child {
    max-width: 470px;
    margin: 14px 0 0;
    color: var(--wb-crm-copy);
    font-size: .84rem;
    line-height: 1.68;
}

.wb-crm-pipeline__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.wb-crm-pipeline__steps span {
    position: relative;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 8px;
    border: 1px solid var(--wb-crm-border);
    border-radius: 11px;
    color: #5f6979;
    font-size: .66rem;
    font-weight: 680;
    line-height: 1.4;
    text-align: center;
}

.wb-crm-pipeline__steps span:not(:last-child)::after {
    position: absolute;
    right: -9px;
    top: 50%;
    width: 8px;
    height: 1px;
    background: #cfd5df;
    content: "";
}

/* Automation */
.wb-crm-automation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.wb-crm-automation-grid article { padding: 29px; }

.wb-crm-automation-grid .wb-crm-card-title > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f1f3f8;
}

.wb-crm-automation-grid svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wb-crm-automation-grid ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 23px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--wb-crm-border);
    list-style: none;
}

.wb-crm-automation-grid li {
    position: relative;
    padding-left: 16px;
    color: #5f6979;
    font-size: .75rem;
    line-height: 1.5;
}

.wb-crm-automation-grid li::before {
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wb-crm-primary);
    content: "";
}

/* Flexible / ownership */
.wb-crm-link-note {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: end;
    gap: 55px;
    margin-top: 15px;
    padding: 30px;
    border: 1px solid var(--wb-crm-border);
    border-radius: var(--wb-crm-radius-md);
}

.wb-crm-link-note h3 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(1.4rem, 2.25vw, 2.1rem);
    line-height: 1.22;
    letter-spacing: -.04em;
}

.wb-crm-link-note > p {
    margin: 0;
    color: var(--wb-crm-copy);
    font-size: .82rem;
    line-height: 1.7;
}

.wb-crm-link-note a {
    color: var(--wb-crm-primary);
    font-weight: 700;
}

/* FAQ */
.wb-crm-faq {
    max-width: 920px;
    margin: 0 auto;
    border-top: 1px solid var(--wb-crm-border);
}

.wb-crm-faq details { border-bottom: 1px solid var(--wb-crm-border); }

.wb-crm-faq summary {
    position: relative;
    padding: 23px 44px 23px 0;
    cursor: pointer;
    list-style: none;
    font-size: .9rem;
    font-weight: 700;
}

.wb-crm-faq summary::-webkit-details-marker { display: none; }

.wb-crm-faq summary::after {
    position: absolute;
    right: 4px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translateY(-65%) rotate(45deg);
    transition: transform 160ms ease;
}

.wb-crm-faq details[open] summary::after { transform: translateY(-35%) rotate(225deg); }

.wb-crm-faq details p {
    max-width: 760px;
    margin: -5px 0 23px;
    color: var(--wb-crm-copy);
    font-size: .82rem;
    line-height: 1.7;
}

.wb-crm-final-note {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 30px;
    border: 1px solid var(--wb-crm-border);
    border-radius: var(--wb-crm-radius-md);
}

.wb-crm-final-note h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -.043em;
}

.wb-crm-final-note > p:last-child {
    max-width: 720px;
    margin: 15px 0 0;
    color: var(--wb-crm-copy);
    font-size: .84rem;
    line-height: 1.7;
}

/* Reveal */
.wb-crm.is-reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.wb-crm.is-reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1120px) {
    .wb-crm-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(450px, .94fr); gap: 44px; }
    .wb-crm-board__body { grid-template-columns: 1fr; }
    .wb-crm-board__pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-crm-chapters__links { gap: 17px; }
    .wb-crm-chapters__links a { font-size: .68rem; }
    .wb-crm-purpose-grid,
    .wb-crm-flex-grid,
    .wb-crm-ownership { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-crm-check { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); }
    .wb-crm-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-crm-choice-grid--channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wb-crm-journey { grid-template-columns: minmax(190px, .7fr) 48px minmax(190px, .72fr) 48px minmax(0, 1.35fr); }
    .wb-crm-retention { grid-template-columns: 1fr; }
    .wb-crm-retention__value { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wb-crm-data__flow { grid-template-columns: minmax(190px, .68fr) 48px minmax(0, 1.45fr); }
    .wb-crm-pipeline__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wb-crm-pipeline__steps span::after { display: none; }
}

@media (max-width: 920px) {
    .wb-crm-hero__grid { grid-template-columns: 1fr; }
    .wb-crm-hero__copy { max-width: 820px; }
    .wb-crm-hero__visual { max-width: 720px; }

    .wb-crm-chapters > .wb-crm__container {
        position: relative;
        min-height: 58px;
        justify-content: space-between;
    }

    .wb-crm-chapters__label { display: block; }

    .wb-crm-chapters__toggle {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        min-height: 58px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--wb-crm-heading);
        font-size: .84rem;
        font-weight: 700;
        cursor: pointer;
    }

    .wb-crm-chapters__toggle svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        transition: transform 180ms ease;
    }

    .wb-crm-chapters.is-open .wb-crm-chapters__toggle svg { transform: rotate(180deg); }

    .wb-crm-chapters__links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin: 0;
        border: 1px solid var(--wb-crm-border);
        border-top: 0;
        border-radius: 0 0 18px 18px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 20px 45px rgba(17, 24, 39, .09);
    }

    .wb-crm-chapters.is-open .wb-crm-chapters__links { display: grid; }

    .wb-crm-chapters__links a {
        min-height: 67px;
        display: flex;
        align-items: center;
        padding: 17px 19px;
        border-right: 1px solid var(--wb-crm-border);
        border-bottom: 1px solid var(--wb-crm-border);
        font-size: .76rem;
    }

    .wb-crm-chapters__links a:nth-child(2n) { border-right: 0; }
    .wb-crm-chapters__links a:nth-last-child(-n+2) { border-bottom: 0; }
    .wb-crm-chapters__links a:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
    .wb-crm-chapters__links a:nth-last-child(2) { border-bottom: 1px solid var(--wb-crm-border); }
    .wb-crm-chapters__links a::after { display: none; }
    .wb-crm-chapters__links a.is-active { color: var(--wb-crm-primary); background: #fbfbff; }

    .wb-crm-check { grid-template-columns: 1fr; }
    .wb-crm-check__questions { border-right: 0; border-bottom: 1px solid var(--wb-crm-border); }
    .wb-crm-journey { grid-template-columns: 1fr; gap: 18px; }
    .wb-crm-journey__connector { width: 1px; height: 30px; margin: auto; }
    .wb-crm-journey__connector::after { right: auto; top: auto; bottom: -1px; left: 50%; transform: translateX(-50%) rotate(135deg); }
    .wb-crm-retention__value { grid-template-columns: 1fr; }
    .wb-crm-data__flow { grid-template-columns: 1fr; gap: 16px; }
    .wb-crm-data__arrow { width: 1px; height: 28px; margin: auto; }
    .wb-crm-data__arrow::after { right: auto; top: auto; bottom: -1px; left: 50%; transform: translateX(-50%) rotate(135deg); }
    .wb-crm-pipeline__panel { grid-template-columns: 1fr; gap: 30px; }
    .wb-crm-automation-grid { grid-template-columns: 1fr; }
    .wb-crm-link-note { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 680px) {
    :root { --wb-crm-gutter: 18px; }

    .wb-crm-section { padding: 64px 0; }
    .wb-crm-heading { margin-bottom: 30px; }
    .wb-crm-heading h2 { font-size: clamp(1.95rem, 9.4vw, 2.75rem); line-height: 1.08; }
    .wb-crm-heading > p:last-child { margin-top: 16px; font-size: .93rem; line-height: 1.68; }

    .wb-crm-hero { padding: 62px 0 56px; }
    .wb-crm-hero__grid { gap: 36px; }
    .wb-crm-hero__copy h1 { max-width: 580px; font-size: clamp(2.55rem, 11.4vw, 3.55rem); line-height: 1.03; }
    .wb-crm-hero__lead { margin-top: 19px; font-size: .96rem; }
    .wb-crm-hero__actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 24px; }

    .wb-crm-board { padding: 14px; border-radius: 18px; box-shadow: 0 16px 42px rgba(17, 24, 39, .065); }
    .wb-crm-board__top { align-items: flex-start; flex-direction: column; gap: 10px; }
    .wb-crm-board__body { grid-template-columns: 1fr; }
    .wb-crm-board__pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .wb-crm-chapters { top: var(--site-header-height-mobile, 64px); }
    .wb-crm-chapters > .wb-crm__container { width: calc(100% - 36px); }
    .wb-crm-chapters__label { font-size: .64rem; }
    .wb-crm-chapters__toggle { max-width: 68%; font-size: .78rem; }
    .wb-crm-chapters__links a { min-height: 64px; padding: 15px 18px; font-size: .72rem; }

    .wb-crm-purpose-grid,
    .wb-crm-flex-grid,
    .wb-crm-ownership { grid-template-columns: 1fr; }
    .wb-crm-purpose-grid article,
    .wb-crm-flex-grid article,
    .wb-crm-ownership article { min-height: 0; padding: 21px; }

    .wb-crm-check__questions,
    .wb-crm-check__result { padding: 22px 19px; }
    .wb-crm-check__question + .wb-crm-check__question { margin-top: 19px; padding-top: 19px; }
    .wb-crm-check__question-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .wb-crm-choice-grid,
    .wb-crm-choice-grid--channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-crm-choice-grid span { min-height: 44px; padding: 8px; font-size: .67rem; }
    .wb-crm-need-grid { grid-template-columns: 1fr; }
    .wb-crm-need-grid label > span { min-height: 0; }
    .wb-crm-check__result h3 { font-size: clamp(1.65rem, 8vw, 2.1rem); }

    .wb-crm-journey { padding: 20px; }
    .wb-crm-journey__sources,
    .wb-crm-journey__outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-crm-journey__centre { min-height: 170px; }

    .wb-crm-retention__loop,
    .wb-crm-data { padding: 21px; }
    .wb-crm-retention__steps,
    .wb-crm-data__uses { grid-template-columns: 1fr; }
    .wb-crm-retention__steps article,
    .wb-crm-data__uses article { min-height: 0; }
    .wb-crm-retention__value article { padding: 20px; }
    .wb-crm-data__intro h3 { font-size: clamp(1.65rem, 8vw, 2.25rem); }

    .wb-crm-pipeline__tabs button { min-height: 54px; font-size: .68rem; }
    .wb-crm-pipeline__panel { padding: 24px 19px; }
    .wb-crm-pipeline__steps { grid-template-columns: 1fr; }
    .wb-crm-pipeline__steps span { min-height: 54px; justify-content: flex-start; padding: 12px 15px; text-align: left; }

    .wb-crm-automation-grid article { padding: 22px; }
    .wb-crm-automation-grid ul { grid-template-columns: 1fr; }

    .wb-crm-link-note,
    .wb-crm-final-note { padding: 23px 20px; }
    .wb-crm-faq summary { padding-block: 21px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
    .wb-crm *,
    .wb-crm *::before,
    .wb-crm *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .wb-crm.is-reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
