/* ==========================================================================
   CRM & Business landing page (Common/CRMLandingPage, /feature/crm)

   From the "CRM Business Landing v3" design canvas. Everything is scoped under
   .ch-crm so the page carries its own type scale and palette without reaching
   any other page, and the site header and footer are left exactly as they are.

   Built mobile-first: every grid is intrinsic (auto-fit + minmax) and every
   step in the type scale is a clamp(), so the only media queries are for the
   few things that cannot be expressed that way.
   ========================================================================== */

.ch-crm {
  --crm-ink: #0A0F1C;
  --crm-body: #3B4457;
  --crm-muted: #5A6478;
  --crm-faint: #8A93A6;
  --crm-line: #E4E7EC;
  --crm-line-strong: #DCE1E9;
  --crm-surface: #fff;
  --crm-page: #F5F6F8;
  --crm-blue: #2368D8;
  --crm-blue-dark: #1A54B4;
  --crm-blue-tint: #EAF1FD;
  --crm-blue-line: #D3E1FA;
  --crm-green: #1E9E6A;
  --crm-amber: #F5A524;
  --crm-red: #E5484D;
  --crm-purple: #7A2BB8;
  --crm-display: "Bricolage Grotesque", "Nunito Sans", system-ui, sans-serif;
  --crm-body-font: "Figtree", "Nunito Sans", system-ui, sans-serif;

  background: var(--crm-page);
  color: var(--crm-ink);
  font-family: var(--crm-body-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.ch-crm *,
.ch-crm *::before,
.ch-crm *::after {
  box-sizing: border-box;
}

.ch-crm img {
  max-width: 100%;
}

.ch-crm button {
  font-family: inherit;
}

.ch-crm a {
  color: var(--crm-blue);
  text-decoration: none;
}

.ch-crm a:hover,
.ch-crm a:focus {
  color: var(--crm-blue-dark);
  text-decoration: none;
}

/* Nothing on this page is underlined or struck through: the design carries state
   with colour, icons and weight instead. This also stops a theme rule that
   underlines links or buttons on hover from reaching the cards and checklist. */
.ch-crm,
.ch-crm *,
.ch-crm *::before,
.ch-crm *::after,
.ch-crm a:hover,
.ch-crm a:focus,
.ch-crm a:active,
.ch-crm button:hover,
.ch-crm button:focus,
.ch-crm button:active {
  text-decoration: none;
}

/* the icon font the design draws its glyphs from */
.ch-crm .ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
}

.ch-crm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- shared section furniture ---------- */
.ch-crm-sec {
  /* the theme gives every section 60px of its own top and bottom, which stacked
     with the wrap's padding below and left ~345px of dead space at each join */
  padding: 0;
  border-bottom: 1px solid var(--crm-line);
}

.ch-crm-sec--light { background: var(--crm-page); }
.ch-crm-sec--white { background: var(--crm-surface); }

.ch-crm-sec--dark {
  background: var(--crm-ink);
  color: #fff;
  border-bottom: 0;
}

/* the last section before the closing panel carries no rule: the panel is inset
   from the page edges, so the line would run out past it on both sides */
.ch-crm-sec:has(+ .ch-crm-end),
#crm-faq {
  border-bottom: 0;
}

.ch-crm-wrap {
  max-width: 1280px;
  margin: 0 auto;
  /* the vertical rhythm of the whole page: two of these meet at every join, so
     this is half the space between one section's content and the next */
  padding: clamp(36px, 5vw, 72px) clamp(16px, 4vw, 24px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.2vw, 36px);
}

.ch-crm-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  justify-content: space-between;
  align-items: flex-end;
}

.ch-crm-head__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}

.ch-crm-kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--crm-blue);
  background: var(--crm-blue-tint);
  border: 1px solid var(--crm-blue-line);
  border-radius: 999px;
  padding: 5px 12px;
}

.ch-crm-sec--dark .ch-crm-kicker {
  color: #B5CDF8;
  background: rgba(143, 179, 245, .12);
  border-color: rgba(143, 179, 245, .3);
}

.ch-crm .ch-crm-h2 {
  margin: 0;
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: none;
  color: inherit;
  text-wrap: balance;
}

.ch-crm .ch-crm-lead {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.6;
  color: var(--crm-muted);
  max-width: 420px;
}

.ch-crm-sec--dark .ch-crm-lead { color: #A3ADC2; }

/* ---------- buttons ---------- */
.ch-crm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.ch-crm .ch-crm-btn--primary {
  background: var(--crm-blue);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px rgba(35, 104, 216, .25);
}

.ch-crm .ch-crm-btn--primary:hover,
.ch-crm .ch-crm-btn--primary:focus {
  background: var(--crm-blue-dark);
  color: #fff;
}

.ch-crm .ch-crm-btn--ghost {
  background: var(--crm-surface);
  border-color: #D5DAE3;
  color: var(--crm-ink);
}

.ch-crm .ch-crm-btn--ghost:hover,
.ch-crm .ch-crm-btn--ghost:focus {
  border-color: var(--crm-ink);
  color: var(--crm-ink);
}

.ch-crm .ch-crm-btn--dark {
  background: var(--crm-ink);
  color: #fff;
}

.ch-crm .ch-crm-btn--dark:hover,
.ch-crm .ch-crm-btn--dark:focus {
  background: var(--crm-blue);
  color: #fff;
}

.ch-crm .ch-crm-btn--white {
  background: #fff;
  color: var(--crm-ink);
}

.ch-crm .ch-crm-btn--white:hover,
.ch-crm .ch-crm-btn--white:focus {
  background: #E8EEF8;
  color: var(--crm-ink);
}

/* ==========================================================================
   01 Hero
   ========================================================================== */
.ch-crm-hero {
  /* as .ch-crm-sec above: the header's own section padding is not wanted here */
  padding: 0;
  background: var(--crm-page);
  background-image: linear-gradient(#E9ECF1 1px, transparent 1px), linear-gradient(90deg, #E9ECF1 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center -1px;
  border-bottom: 1px solid var(--crm-line);
}

.ch-crm-hero__fade {
  background: linear-gradient(180deg, rgba(245, 246, 248, .2) 0, var(--crm-page) 92%);
}

.ch-crm-hero__in {
  max-width: 1280px;
  margin: 0 auto;
  /* a touch more air than the sections below it, since the headline sits here */
  padding: clamp(32px, 5.5vw, 76px) clamp(16px, 4vw, 24px) clamp(32px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.ch-crm .ch-crm-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--crm-surface);
  border: 1px solid var(--crm-line);
  border-radius: 999px;
  padding: 5px 14px 5px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--crm-body);
  box-shadow: 0 1px 2px rgba(10, 15, 28, .04);
  transition: border-color .18s ease, color .18s ease;
}

.ch-crm .ch-crm-hero__pill:hover,
.ch-crm .ch-crm-hero__pill:focus {
  border-color: var(--crm-blue);
  color: var(--crm-ink);
}

.ch-crm-hero__pill b {
  background: var(--crm-blue-tint);
  color: var(--crm-blue);
  border-radius: 999px;
  padding: 3px 9px;
  font-weight: 700;
}

.ch-crm-hero__pill span:last-child { color: var(--crm-faint); }

.ch-crm .ch-crm-h1 {
  margin: 0;
  padding: 0;
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: clamp(34px, 6.4vw, 84px);
  line-height: .98;
  letter-spacing: -.045em;
  max-width: 1000px;
  text-transform: none;
  color: var(--crm-ink);
  text-wrap: balance;
}

.ch-crm .ch-crm-h1 em {
  font-style: normal;
  color: var(--crm-blue);
}

.ch-crm .ch-crm-hero__sub {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--crm-muted);
  max-width: 640px;
  text-wrap: pretty;
}

.ch-crm-hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

/* the framed screenshot with its view switcher */
.ch-crm-shot {
  width: 100%;
  max-width: 1160px;
  margin-top: clamp(24px, 4vw, 48px);
  position: relative;
}

.ch-crm-shot__frame {
  background: var(--crm-surface);
  border: 1px solid var(--crm-line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 15, 28, .04), 0 40px 80px -20px rgba(10, 15, 28, .22);
}

.ch-crm-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: #FAFBFC;
  border-bottom: 1px solid var(--crm-line);
}

.ch-crm-tabs__set {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  background: #F0F2F5;
  border-radius: 9px;
  padding: 3px;
}

.ch-crm .ch-crm-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 7px;
  background: transparent;
  color: var(--crm-muted);
  transition: background-color .18s ease, color .18s ease;
}

.ch-crm .ch-crm-tab.is-on {
  background: var(--crm-surface);
  color: var(--crm-ink);
  box-shadow: 0 1px 3px rgba(10, 15, 28, .12);
}

.ch-crm-shot__stage {
  aspect-ratio: 1.93;
  background: #EEF2F7;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.ch-crm-shot__stage > * {
  display: none;
  width: 100%;
  height: 100%;
}

.ch-crm-shot__stage > .is-on { display: block; }

.ch-crm-shot__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ch-crm-shot__stage img.is-contained { object-fit: contain; }

.ch-crm-shot__phone {
  position: absolute;
  right: -12px;
  bottom: -28px;
  width: 17%;
  min-width: 92px;
  border-radius: 22px;
  border: 5px solid var(--crm-ink);
  overflow: hidden;
  background: var(--crm-surface);
  box-shadow: 0 24px 48px rgba(10, 15, 28, .28);
}

.ch-crm-shot__phone img { display: block; width: 100%; }

.ch-crm .ch-crm-shot__cap {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--crm-muted);
  text-align: left;
  max-width: 70%;
}

/* the frame stands in until a screenshot is dropped into the theme */
.ch-crm-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 160px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(35, 104, 216, .05), rgba(35, 104, 216, 0) 60%),
    repeating-linear-gradient(135deg, #EEF2F7 0 12px, #E8EDF4 12px 24px);
  color: var(--crm-faint);
  text-align: center;
}

.ch-crm-ph .ms { font-size: 30px; color: #B6C3D6; }

.ch-crm-ph span:last-child {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 260px;
}

/* ==========================================================================
   02 The problem, and what replaces it
   ========================================================================== */
.ch-crm .ch-crm-statement {
  margin: 0;
  font-family: var(--crm-display);
  font-weight: 500;
  font-size: clamp(21px, 3.2vw, 42px);
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--crm-ink);
  max-width: 1040px;
  text-wrap: pretty;
}

.ch-crm-statement i {
  font-style: normal;
  color: var(--crm-faint);
}

.ch-crm-statement b {
  font-weight: inherit;
  background: var(--crm-blue-tint);
  color: var(--crm-blue);
  border-radius: 8px;
  padding: 0 8px;
}

.ch-crm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}

.ch-crm-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--crm-page);
  border: 1px solid var(--crm-line);
  border-radius: 18px;
  padding: 22px;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ch-crm-sec--light .ch-crm-card { background: var(--crm-surface); }

.ch-crm-card:hover {
  background: var(--crm-surface);
  border-color: #B9C9E6;
  box-shadow: 0 18px 36px -18px rgba(35, 104, 216, .35);
}

.ch-crm-card__ico {
  align-self: flex-start;
  font-size: 22px;
  color: #fff;
  background: var(--crm-blue);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 14px rgba(35, 104, 216, .28);
}

.ch-crm-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ch-crm-card__t {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.015em;
}

.ch-crm-card__d {
  font-size: 15px;
  line-height: 1.6;
  color: var(--crm-muted);
}

/* ==========================================================================
   03 Workflow - the five steps and the board demo
   ========================================================================== */
.ch-crm-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}

.ch-crm-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--crm-surface);
  border: 1px solid var(--crm-line);
  border-radius: 16px;
  padding: 22px 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 15, 28, .04);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ch-crm-step:hover {
  border-color: #B9C9E6;
  box-shadow: 0 18px 36px -18px rgba(35, 104, 216, .35);
}

.ch-crm-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ch-crm-step__ico {
  font-size: 22px;
  color: var(--crm-blue);
  background: var(--crm-blue-tint);
  border-radius: 11px;
  padding: 9px;
}

.ch-crm-step__n {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -.03em;
  color: #DCE3EE;
}

.ch-crm-step__t {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.02em;
}

.ch-crm-step__d {
  font-size: 14px;
  line-height: 1.6;
  color: var(--crm-muted);
}

.ch-crm-demo {
  background: var(--crm-surface);
  border: 1px solid var(--crm-line-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 15, 28, .18);
}

.ch-crm-demo__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--crm-line);
}

.ch-crm-demo__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ch-crm-demo__title .ms {
  font-size: 20px;
  color: #fff;
  background: var(--crm-blue);
  border-radius: 8px;
  padding: 6px;
}

.ch-crm-demo__title b {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.ch-crm-demo__title span {
  display: block;
  font-size: 13px;
  color: var(--crm-muted);
}

.ch-crm .ch-crm-demo__next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--crm-ink);
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color .18s ease;
}

.ch-crm .ch-crm-demo__next:hover,
.ch-crm .ch-crm-demo__next:focus {
  background: var(--crm-blue);
}

.ch-crm-demo__body {
  display: flex;
  flex-wrap: wrap;
}

.ch-crm-board {
  flex: 3 1 560px;
  min-width: 0;
  background: var(--crm-blue);
  padding: 14px;
}

.ch-crm-board__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 10px;
}

.ch-crm-col {
  background: #F1F4F9;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 240px;
}

.ch-crm-col.is-on { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }

.ch-crm-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.ch-crm-col__head b { font-size: 14px; font-weight: 700; }

.ch-crm-col__head span {
  font-size: 12px;
  font-weight: 700;
  background: #E1E7F1;
  color: var(--crm-body);
  border-radius: 999px;
  padding: 2px 9px;
}

.ch-crm-ticket {
  background: var(--crm-surface);
  border-radius: 9px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 1px 2px rgba(10, 15, 28, .06);
}

.ch-crm-ticket--moving {
  box-shadow: 0 0 0 2px var(--crm-amber), 0 10px 24px rgba(10, 15, 28, .18);
  animation: chCrmCardIn .45s ease both;
}

@keyframes chCrmCardIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.ch-crm-ticket__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.ch-crm-tag {
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

.ch-crm-ticket__t {
  font-size: 13px;
  line-height: 1.35;
  color: #2A3346;
}

.ch-crm-ticket--moving .ch-crm-ticket__t {
  color: var(--crm-ink);
  font-weight: 600;
}

.ch-crm-ticket__who {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--crm-body);
}

.ch-crm-ticket__who i {
  font-style: normal;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--crm-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-crm-activity {
  flex: 1 1 280px;
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ch-crm-activity__h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--crm-muted);
}

.ch-crm-activity__h .ms { font-size: 18px; color: var(--crm-blue); }

.ch-crm-act {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ch-crm-act__av {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--crm-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-crm-act__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.45;
}

.ch-crm-act__time { font-size: 12px; color: var(--crm-faint); }

/* ==========================================================================
   04 Features - the bento and the built-in list
   ========================================================================== */
.ch-crm-bento {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ch-crm .ch-crm-bento__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #F7F8FA;
  border: 1px solid var(--crm-line);
  border-radius: 20px;
  overflow: hidden;
  color: var(--crm-ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ch-crm .ch-crm-bento__item:hover,
.ch-crm .ch-crm-bento__item:focus {
  border-color: #B9C9E6;
  color: var(--crm-ink);
  box-shadow: 0 20px 40px -20px rgba(35, 104, 216, .3);
}

.ch-crm-bento__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 20px;
}

.ch-crm-bento__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--crm-blue);
}

.ch-crm-bento__kicker .ms { font-size: 20px; }

.ch-crm-bento__t {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.ch-crm-bento__d {
  font-size: 15px;
  line-height: 1.55;
  color: var(--crm-muted);
  text-wrap: pretty;
}

.ch-crm-bento__shot {
  margin-top: auto;
  height: 260px;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.ch-crm-bento__shot img,
.ch-crm-bento__shot .ch-crm-ph {
  display: block;
  width: var(--crm-shot-w, 100%);
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--crm-line-strong);
  border-bottom: 0;
  box-shadow: 0 10px 30px rgba(10, 15, 28, .1);
}

.ch-crm-panel {
  background: var(--crm-page);
  border: 1px solid var(--crm-line);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ch-crm-sec--light .ch-crm-panel { background: var(--crm-surface); }

.ch-crm-panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
}

.ch-crm-panel__head b {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.02em;
}

.ch-crm-panel__head span { font-size: 14px; color: var(--crm-muted); }

.ch-crm-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 10px;
}

.ch-crm-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--crm-surface);
  border: 1px solid var(--crm-line);
  border-radius: 14px;
  padding: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ch-crm-item:hover {
  border-color: #B9C9E6;
  box-shadow: 0 12px 24px -14px rgba(35, 104, 216, .35);
}

.ch-crm-item__ico {
  flex: none;
  font-size: 20px;
  color: var(--crm-blue);
  background: var(--crm-blue-tint);
  border-radius: 10px;
  padding: 9px;
}

.ch-crm-item__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
  min-width: 0;
}

.ch-crm-item__body b {
  font-weight: 700;
  font-size: 15px;
  color: var(--crm-ink);
}

.ch-crm-item__body span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--crm-muted);
}

/* ==========================================================================
   05 Quotations
   ========================================================================== */
.ch-crm-split {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.ch-crm-qsteps {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-crm .ch-crm-qstep {
  text-align: left;
  cursor: pointer;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}

.ch-crm .ch-crm-qstep.is-on {
  background: #121A2E;
  border-color: #2E4170;
}

.ch-crm-qstep__n {
  flex: none;
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 14px;
  color: #4F5B78;
  margin-top: 2px;
}

.ch-crm-qstep.is-on .ch-crm-qstep__n { color: #8FB3F5; }

.ch-crm-qstep__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ch-crm-qstep__t {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.015em;
}

.ch-crm-qstep__d {
  font-size: 14px;
  line-height: 1.6;
  color: #A3ADC2;
}

.ch-crm-qshot {
  flex: 1.5 1 480px;
  min-width: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #121A2E;
  border: 1px solid #1F2A44;
  border-radius: 20px;
  overflow: hidden;
}

.ch-crm-qshot > * {
  position: absolute;
  inset: clamp(14px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.ch-crm-qshot > .is-on { opacity: 1; }

.ch-crm-qshot img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

.ch-crm-qshot img.is-phone { border-radius: 22px; max-width: min(100%, 240px); }
.ch-crm-qshot img.is-narrow { max-width: min(100%, 380px); }
.ch-crm-qshot img.is-medium { max-width: min(100%, 520px); }

/* ==========================================================================
   06 Customers / 10 Getting started - the two-column blocks
   ========================================================================== */
.ch-crm-two {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.ch-crm-two__media {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  justify-content: center;
  position: relative;
  padding: 24px 0;
}

.ch-crm-two__copy {
  flex: 1.2 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ch-crm .ch-crm-two__copy p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: var(--crm-muted);
  text-wrap: pretty;
}

.ch-crm-phone {
  width: min(62%, 280px);
  border-radius: 30px;
  border: 6px solid var(--crm-ink);
  overflow: hidden;
  background: var(--crm-surface);
  box-shadow: 0 40px 80px -20px rgba(10, 15, 28, .35);
  position: relative;
  z-index: 1;
}

.ch-crm-phone img { display: block; width: 100%; }

.ch-crm-phone--behind {
  position: absolute;
  left: 4%;
  top: 64px;
  width: min(46%, 210px);
  border-radius: 26px;
  border: 5px solid #C9D1DE;
  box-shadow: none;
  opacity: .95;
  z-index: 0;
}

/* ==========================================================================
   07 Calendar
   ========================================================================== */
.ch-crm-cal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.ch-crm-cal__main {
  flex: 2.4 1 520px;
  min-width: 0;
  background: var(--crm-surface);
  border: 1px solid var(--crm-line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 15, 28, .2);
}

.ch-crm-cal__main img { display: block; width: 100%; }

.ch-crm-cal__side {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--crm-page);
  border: 1px solid var(--crm-line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ch-crm-sec--light .ch-crm-cal__side { background: var(--crm-surface); }

.ch-crm-cal__phone {
  width: 100%;
  max-width: 220px;
  border-radius: 24px;
  border: 5px solid var(--crm-ink);
  overflow: hidden;
  background: var(--crm-surface);
}

.ch-crm-cal__phone img { display: block; width: 100%; }

.ch-crm-cal__note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--crm-muted);
  text-align: center;
}

.ch-crm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ch-crm-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--crm-line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--crm-body);
  background: var(--crm-surface);
}

.ch-crm-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

/* ==========================================================================
   08 Use cases
   ========================================================================== */
.ch-crm-uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.ch-crm-use {
  background: var(--crm-surface);
  border: 1px solid var(--crm-line);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ch-crm-use__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ch-crm-use__head .ms {
  font-size: 22px;
  color: #fff;
  background: var(--crm-ink);
  border-radius: 10px;
  padding: 9px;
}

.ch-crm-use__head b {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.02em;
}

.ch-crm-use__d {
  font-size: 15px;
  line-height: 1.6;
  color: var(--crm-muted);
}

.ch-crm-stages {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--crm-page);
  border-radius: 12px;
  padding: 12px;
  margin-top: auto;
}

.ch-crm-stages__h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--crm-faint);
  padding: 0 4px;
}

.ch-crm-stage {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--crm-surface);
  border: 1px solid var(--crm-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
}

.ch-crm-stage i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* ==========================================================================
   09 App
   ========================================================================== */
.ch-crm-phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 20px;
}

.ch-crm-phones__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.ch-crm-phones__screen {
  width: 100%;
  max-width: 230px;
  border-radius: 28px;
  border: 6px solid var(--crm-ink);
  overflow: hidden;
  background: var(--crm-surface);
  box-shadow: 0 24px 48px -24px rgba(10, 15, 28, .35);
}

.ch-crm-phones__screen img { display: block; width: 100%; }

.ch-crm-phones__cap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 230px;
}

.ch-crm-phones__cap b { font-weight: 700; font-size: 15px; }

.ch-crm-phones__cap span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--crm-muted);
}

.ch-crm-dl {
  background: var(--crm-blue);
  color: #fff;
  border-radius: 20px;
  padding: clamp(20px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.ch-crm-dl__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 560px;
}

.ch-crm-dl__copy b {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 32px);
  letter-spacing: -.025em;
  line-height: 1.1;
}

.ch-crm-dl__copy span {
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 1.6;
  color: #DCE7FC;
}

.ch-crm-dl__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ch-crm-dl__badges a { display: flex; border-radius: 10px; transition: opacity .18s ease; }
.ch-crm-dl__badges a:hover { opacity: .88; }

.ch-crm-dl__badges img {
  display: block;
  height: 52px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3);
}

/* ==========================================================================
   10 Getting started - the checklist
   ========================================================================== */
.ch-crm-check {
  flex: 1.2 1 400px;
  min-width: 0;
  background: var(--crm-surface);
  border: 1px solid var(--crm-line-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 15, 28, .2);
}

.ch-crm-check__head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--crm-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-crm-check__head > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ch-crm-check__head b { font-weight: 700; font-size: 15px; }

.ch-crm-check__count {
  font-size: 13px;
  font-weight: 700;
  color: var(--crm-blue);
}

.ch-crm-check__bar {
  height: 6px;
  background: #EEF0F3;
  border-radius: 999px;
  overflow: hidden;
}

.ch-crm-check__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--crm-blue);
  border-radius: 999px;
  transition: width .3s ease;
}

.ch-crm .ch-crm-check__row {
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border: 0;
  border-bottom: 1px solid #EEF0F3;
  background: var(--crm-surface);
  transition: background-color .18s ease;
}

.ch-crm .ch-crm-check__row:hover { background: #F9FAFB; }
.ch-crm .ch-crm-check__row:last-child { border-bottom: 0; }

.ch-crm-check__mark {
  flex: none;
  font-size: 24px;
  color: #C5CDDA;
}

.ch-crm-check__row.is-done .ch-crm-check__mark { color: var(--crm-green); }

.ch-crm-check__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ch-crm-check__body b {
  font-weight: 700;
  font-size: 15px;
  color: var(--crm-ink);
}

/* a ticked item reads as done from the green check and the muted title - the
   design's strike-through is dropped, as it looked like a defect on the page */
.ch-crm-check__row.is-done .ch-crm-check__body b {
  color: var(--crm-faint);
}

.ch-crm-check__body span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--crm-muted);
}

.ch-crm-check__ico {
  flex: none;
  font-size: 20px;
  color: var(--crm-faint);
}

/* ==========================================================================
   11 FAQ
   ========================================================================== */
.ch-crm-faq {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 72px);
  align-items: flex-start;
}

.ch-crm-faq__side {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* the "talk to us" card under the FAQ heading */
.ch-crm-help {
  margin-top: 4px;
  background: var(--crm-surface);
  border: 1px solid var(--crm-line-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px -28px rgba(10, 15, 28, .35);
}

.ch-crm-help__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #F7F9FC, var(--crm-surface));
  border-bottom: 1px solid var(--crm-line);
}

.ch-crm-help__head > .ms {
  flex: none;
  font-size: 22px;
  color: #fff;
  background: var(--crm-blue);
  border-radius: 11px;
  padding: 9px;
  box-shadow: 0 6px 14px rgba(35, 104, 216, .28);
}

.ch-crm-help__headbody {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ch-crm-help__headbody b {
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.015em;
  color: var(--crm-ink);
}

.ch-crm-help__headbody span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--crm-muted);
}

.ch-crm .ch-crm-help__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #EEF0F3;
  color: var(--crm-ink);
  transition: background-color .18s ease;
}

.ch-crm .ch-crm-help__row:last-child { border-bottom: 0; }

.ch-crm .ch-crm-help__row:hover,
.ch-crm .ch-crm-help__row:focus {
  background: #F7F9FC;
  color: var(--crm-ink);
}

.ch-crm-help__ico {
  flex: none;
  font-size: 20px;
  color: var(--crm-blue);
  background: var(--crm-blue-tint);
  border-radius: 10px;
  padding: 9px;
}

.ch-crm-help__ico--wa {
  color: var(--crm-green);
  background: #E6F6EF;
}

.ch-crm-help__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ch-crm-help__body b {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--crm-faint);
}

.ch-crm-help__body span {
  font-size: 16px;
  font-weight: 700;
  color: var(--crm-ink);
}

.ch-crm-help__go {
  flex: none;
  font-size: 18px;
  color: #C5CDDA;
  transition: transform .18s ease, color .18s ease;
}

.ch-crm .ch-crm-help__row:hover .ch-crm-help__go {
  color: var(--crm-blue);
  transform: translateX(2px);
}

.ch-crm-faq__list {
  flex: 1.8 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--crm-line);
}

.ch-crm-faq__row { border-bottom: 1px solid var(--crm-line); }

.ch-crm .ch-crm-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 600;
  color: var(--crm-ink);
}

.ch-crm-faq__q .ms {
  flex: none;
  font-size: 22px;
  color: var(--crm-blue);
}

.ch-crm-faq__a {
  display: none;
  padding: 0 40px 22px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--crm-muted);
}

.ch-crm-faq__row.is-open .ch-crm-faq__a { display: block; }

/* ==========================================================================
   12 Closing call to action
   ========================================================================== */
.ch-crm-end {
  background: var(--crm-surface);
  /* the extra room at the foot keeps the panel off the site footer below it */
  padding: 0 clamp(16px, 4vw, 24px) clamp(40px, 6vw, 88px);
  border-bottom: 0;
}

.ch-crm-end__in {
  max-width: 1232px;
  margin: 0 auto;
  background: var(--crm-ink);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.ch-crm-end__copy {
  flex: 1.2 1 400px;
  min-width: 0;
  padding: clamp(28px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ch-crm .ch-crm-end__copy h2 {
  margin: 0;
  font-family: var(--crm-display);
  font-weight: 600;
  font-size: clamp(28px, 4.8vw, 60px);
  line-height: 1;
  letter-spacing: -.045em;
  color: #fff;
  text-transform: none;
  text-wrap: balance;
}

.ch-crm .ch-crm-end__copy p {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.6;
  color: #A3ADC2;
  max-width: 480px;
}

.ch-crm-end__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ch-crm-end__media {
  flex: 1 1 320px;
  min-width: 0;
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.ch-crm-end__media img {
  position: absolute;
  left: 24px;
  top: 48px;
  width: 900px;
  max-width: none;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  opacity: .95;
}

.ch-crm-end__media .ch-crm-ph {
  position: absolute;
  inset: 32px 0 0 24px;
  border-radius: 12px 0 0 0;
  background:
    linear-gradient(135deg, rgba(143, 179, 245, .12), rgba(143, 179, 245, 0) 60%),
    repeating-linear-gradient(135deg, #121A2E 0 12px, #16203A 12px 24px);
  color: #5A6478;
}

.ch-crm-end__media .ch-crm-ph .ms { color: #2E4170; }

/* ==========================================================================
   Responsive - only what the intrinsic layout above cannot express
   ========================================================================== */
@media (max-width: 991px) {
  /* the board reads better as a swipeable row than as four tall stacks */
  .ch-crm-board__cols {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 60%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .ch-crm-col {
    scroll-snap-align: start;
    min-height: 220px;
  }

  .ch-crm-board { flex-basis: 100%; }
  .ch-crm-activity { flex-basis: 100%; border-top: 1px solid var(--crm-line); }
}

@media (max-width: 767px) {
  /* the decorative phone would sit on top of the caption at this width */
  .ch-crm-shot__phone { display: none; }

  .ch-crm .ch-crm-shot__cap {
    max-width: 100%;
    text-align: center;
  }

  .ch-crm-hero__cta .ch-crm-btn,
  .ch-crm-end__cta .ch-crm-btn { flex: 1 1 100%; }

  .ch-crm-bento__shot { height: 200px; }

  .ch-crm-dl { justify-content: flex-start; }

  .ch-crm-end__media { min-height: 200px; }
  .ch-crm-end__media img { left: 16px; top: 32px; width: 640px; }
}

@media (max-width: 575px) {
  .ch-crm-shot__stage { aspect-ratio: 1.4; }

  .ch-crm-tabs { padding: 8px; }
  .ch-crm .ch-crm-tab { font-size: 12px; padding: 6px 9px; }

  .ch-crm-two__media { padding: 8px 0; }
  .ch-crm-phone { width: min(72%, 240px); }
  .ch-crm-phone--behind { top: 40px; width: min(50%, 170px); }

  .ch-crm-use { padding: 20px; }
  .ch-crm-card { padding: 18px; }
  .ch-crm-step { padding: 18px 16px; }
  .ch-crm-item { padding: 14px; }

  .ch-crm-faq__a { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-crm *,
  .ch-crm *::before,
  .ch-crm *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
