/* Plus Jakarta Sans, SIL Open Font License. Self-hosted; no third-party font request. */
@font-face {
  font-family:"Plus Jakarta Sans";
  src:url("/assets/fonts/PlusJakartaSans-Variable.ttf") format("truetype");
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}
:root {
  --cb-font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cb-font-display: var(--cb-font-body);
  --cb-display: var(--cb-font-body);
}
body, body.marketing-page, body.admin-body,
body :is(.cb-section-label,.cb-text-link,.brand-tagline,.cb-home-hero-side,.hero-free,.mini-logo,.cb-phone-screen strong),
body :is(button,input,select,textarea,nav,footer,label,p,li,a,strong,blockquote),
body.marketing-page main :is(.hero-subtitle,.home-handwritten,.cb-script-note,.demo-home-script,.choice-script,.demo-choice-script,.workflow-subtitle,.route-subtitle,.demo-hero-copy,.demo-home-lede) {
  font-family: var(--cb-font-body) !important;
}
body :is(h1,h2,h3,h4,h5,h6),
body.marketing-page :is(h1, #demo-app h1), body.admin-body h1,
body.marketing-page main h1,
body.marketing-page #demo-app :is(h1,h2,h3,.demo-task-title),
body.admin-body main :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--cb-font-body) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
  line-height: 1.12 !important;
  overflow-wrap: break-word;
}
body.marketing-page main :is(.hero-subtitle,.home-handwritten,.cb-script-note,.demo-home-script,.choice-script,.demo-choice-script,.workflow-subtitle,.route-subtitle,.demo-hero-copy,.demo-home-lede) {
  font-weight: 500 !important;
  line-height: 1.5 !important;
}
body.marketing-page main h1 { font-size:clamp(2rem,4.8vw,4.5rem); }
body .dashboard-offers h2 { font-size:clamp(1.5rem,3vw,2.4rem); }
body .cb-home-partner-strip h2 { font-size:clamp(2rem,4vw,3.5rem)!important; }

/* Fit the stronger type into the original photo's clear left-hand area. */
body.marketing-page.home-reference .cb-home-hero h1 {
  font-size:clamp(2.15rem,4vw,3.6rem)!important;
  max-width:650px;
  line-height:1.1!important;
}
body.marketing-page.home-reference .cb-home-hero .home-handwritten {
  font-size:clamp(1.1rem,1.8vw,1.5rem)!important;
  max-width:560px;
}
body.marketing-page.home-reference .cb-home-hero .home-local-line {
  font-size:1rem;
  max-width:560px;
}

/* Align the hero copy with the shared logo gutter, clear of the people. */
body.homepage-v3.home-reference .cb-home-hero {
  padding-inline:clamp(16px,3vw,44px);
}
body.homepage-v3.home-reference .cb-home-hero-copy {
  max-width:none;
}
@media(min-width:761px) {
  body.homepage-v3.home-reference .cb-home-hero-copy h1,
  body.homepage-v3.home-reference .cb-home-hero-copy .home-handwritten,
  body.homepage-v3.home-reference .cb-home-hero-copy .home-local-line {
    max-width:min(650px,44vw);
  }
}
