/* Connect Bro shared visual system
   Loaded last on public, Demo, account, workspace and Admin routes. */
:root {
  --cb-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cb-font-display: "Caveat Brush", ui-sans-serif, system-ui, sans-serif;
  --cb-navy: #092d72;
  --cb-blue: #086bff;
  --cb-blue-deep: #0756c8;
  --cb-cyan: #22b8e8;
  --cb-sky: #eaf5ff;
  --cb-sky-soft: #f5faff;
  --cb-line: #d4e8f7;
  --cb-yellow: #ffd42a;
  --cb-ink: #173b78;
  --cb-muted: #587392;
  --cb-surface: #fff;
  --cb-canvas: #f8fbff;
}

body.marketing-page,
body.admin-body {
  color: var(--cb-navy);
  font-family: var(--cb-font-body);
  font-synthesis: none;
}

body.marketing-page :is(main, header, nav, footer, section, article, aside, form, label, button, input, select, textarea),
body.admin-body :is(main, header, nav, footer, section, article, aside, form, label, button, input, select, textarea) {
  font-family: var(--cb-font-body);
}

body.marketing-page main :is(h2, h3, h4, h5, h6),
body.admin-body main :is(h1, h2, h3, h4, h5, h6) {
  color: var(--cb-navy);
  font-family: var(--cb-font-body) !important;
  font-style: normal !important;
  font-weight: 750 !important;
  letter-spacing: -.03em;
  line-height: 1.12;
}

body.marketing-page main h1 {
  color: var(--cb-navy) !important;
  font-family: var(--cb-font-display) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: -.015em !important;
  line-height: .98;
}

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) {
  color: var(--cb-blue-deep) !important;
  font-family: var(--cb-font-display) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.12;
}

/* One palette for the public shell and all demo routes. */
body.marketing-page {
  background: #fff;
}
body.marketing-page #demo-app {
  --demo-navy: var(--cb-navy);
  --demo-blue: var(--cb-blue);
  --demo-ice: var(--cb-sky);
  --demo-line: var(--cb-line);
  --demo-copy: var(--cb-muted);
  --demo-yellow: var(--cb-yellow);
  color: var(--cb-navy);
  font-family: var(--cb-font-body);
}
body.marketing-page #demo-app :is(h2, h3, h4, button, input, select, textarea, .demo-budget, .demo-rating, .demo-owner-name, .demo-trust, .demo-mode, .demo-layout-toggle button, .demo-map-pin, .demo-map-popup, .demo-map-dialog-title, .demo-map-dialog-close, .demo-people-filters h2, .demo-people-filters h3, .demo-task-title, .demo-content-card h2, .demo-home-card-heading h2, .demo-home-category-head h2) {
  font-family: var(--cb-font-body) !important;
  font-style: normal !important;
}
body.marketing-page #demo-app :is(.demo-hero h1, .demo-home-hero h1, .demo-profile-copy h1, .demo-detail-copy h1, .demo-task-title) {
  font-family: var(--cb-font-display) !important;
  font-style: normal !important;
}
body.marketing-page #demo-app :is(.demo-copy, .demo-meta, .demo-map-note, .demo-side-action p, .demo-side-safe p, .demo-detail-article p, .demo-profile-main p) {
  color: var(--cb-muted);
}

/* Shared header and footer treatment; preserve page-specific navigation layout. */
body.marketing-page :is(.marketing-header, .canonical-site-header, .marketing-footer, .canonical-site-footer),
body.admin-body :is(.marketing-header, .canonical-site-header, .marketing-footer, .canonical-site-footer) {
  color: var(--cb-navy);
  font-family: var(--cb-font-body);
  border-color: var(--cb-line);
}
body.marketing-page :is(.marketing-header, .canonical-site-header) nav a,
body.admin-body :is(.marketing-header, .canonical-site-header) nav a {
  color: var(--cb-navy);
  font-family: var(--cb-font-body);
  font-weight: 650;
}
body.marketing-page :is(.marketing-header, .canonical-site-header) :is(.marketing-cta, .marketing-login) {
  font-family: var(--cb-font-body);
  font-weight: 700;
}
body.marketing-page :is(.marketing-header, .canonical-site-header) img[src*="connectbro-logo-transparent-20261014.png"],
body.admin-body :is(.marketing-header, .canonical-site-header) img[src*="connectbro-logo-transparent-20261014.png"],
body.marketing-page :is(.marketing-footer, .canonical-site-footer, footer) img[src*="connectbro-logo-transparent-20261014.png"],
body.admin-body :is(.marketing-footer, .canonical-site-footer, footer) img[src*="connectbro-logo-transparent-20261014.png"] {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: normal;
}
body.marketing-page :is(.marketing-header, .canonical-site-header) img[src*="connectbro-logo-transparent-20261014.png"],
body.admin-body :is(.marketing-header, .canonical-site-header) img[src*="connectbro-logo-transparent-20261014.png"] {
  width: clamp(118px, 12vw, 150px) !important;
  max-height: 74px !important;
}
body.marketing-page :is(.marketing-footer, .canonical-site-footer, footer) img[src*="connectbro-logo-transparent-20261014.png"],
body.admin-body :is(.marketing-footer, .canonical-site-footer, footer) img[src*="connectbro-logo-transparent-20261014.png"] {
  width: clamp(96px, 11vw, 138px) !important;
  max-height: 68px !important;
}

/* Forms share label rhythm, control sizing, border, focus and selection colors. */
body:is(.marketing-page, .admin-body) label {
  color: var(--cb-navy);
  font-family: var(--cb-font-body);
  font-weight: 700;
  line-height: 1.35;
}
body:is(.marketing-page, .admin-body) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--cb-line) !important;
  border-radius: 13px !important;
  padding: 12px 15px;
  background: var(--cb-surface);
  color: var(--cb-navy);
  font-family: var(--cb-font-body) !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(9, 45, 114, .03);
}
body:is(.marketing-page, .admin-body) textarea { min-height: 132px; }
body:is(.marketing-page, .admin-body) :is(input, select, textarea)::placeholder { color: #7186a3; opacity: 1; }
body:is(.marketing-page, .admin-body) :is(input, select, textarea):focus-visible {
  border-color: var(--cb-blue) !important;
  outline: 3px solid rgba(8, 107, 255, .18);
  outline-offset: 2px;
}
body:is(.marketing-page, .admin-body) :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--cb-blue); }

/* Keep cards soft and consistent while allowing their own layouts and imagery. */
body:is(.marketing-page, .admin-body) :is(.route-card, .filter-panel, .detail-card, .post-choice-panel, .demo-request-choice-panel, .demo-request-choice-card, .panel, .community-card, .demo-card, .demo-map-card, .demo-side-action, .demo-side-safe, .member-account, .member-community, .member-profile-visual, .member-community__rail, .community-pane, .account-overview, .account-activity, .demo-content-card) {
  border-color: var(--cb-line);
  border-radius: 20px;
}
body.marketing-page :is(.marketplace-result-card, .marketplace-search-form, .marketplace-filters, .detail-card, .panel, .community-card, .filter-panel) {
  border-color: var(--cb-line);
}
body.marketing-page #demo-app :is(.demo-home-card, .demo-journey, .demo-card, .demo-filter-bar, .demo-map-card, .demo-content-card) {
  border-color: var(--cb-line);
}

body:is(.marketing-page, .admin-body) :is(button, .route-button, .route-button-outline, .choice-action, .demo-button, .button, .marketing-cta, .marketing-login) {
  font-family: var(--cb-font-body) !important;
}
body:is(.marketing-page, .admin-body) :is(.route-button, .choice-action-blue, .demo-button:not(.demo-button-secondary), .button:not(.button-light), .marketing-cta) {
  background-color: var(--cb-blue);
  border-color: var(--cb-blue);
}
body:is(.marketing-page, .admin-body) :is(.route-button, .choice-action-blue, .demo-button:not(.demo-button-secondary), .button:not(.button-light), .marketing-cta):hover {
  background-color: var(--cb-blue-deep);
  border-color: var(--cb-blue-deep);
}
body:is(.marketing-page, .admin-body) :is(.route-button-outline, .demo-button-secondary, .button-light, .marketing-login) {
  background: #fff;
  color: var(--cb-blue-deep);
}
body:is(.marketing-page, .admin-body) :is(button, a, input, select, textarea):focus-visible {
  outline-color: var(--cb-yellow);
}

/* A11y: keep visually hidden headings available to assistive technology. */
.visually-hidden:not(:focus):not(:active) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
}


/* Shared form rhythm: consistent labels, fields, and focus across public flows. */
body.marketing-page main label {
  color: var(--cb-navy);
  font-family: var(--cb-font-body);
  font-weight: 700;
}
body.marketing-page main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea) {
  color: var(--cb-navy);
  background-color: #fff;
  border: 1px solid var(--cb-line);
  border-radius: 14px;
  font: inherit;
}
body.marketing-page main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), select) {
  min-height: 48px;
}
body.marketing-page main textarea {
  min-height: 120px;
}

/* Cohesive public journey defaults: shared type scale and primary actions. */
body.marketing-page {
  background: var(--cb-surface);
  color: var(--cb-navy);
  font-family: var(--cb-font-body);
}
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-size: clamp(1.55rem, 2.8vw, 2.15rem) !important;
  line-height: 1.08 !important;
}
body.marketing-page :is(.canonical-site-header, .marketing-header, .home-header-v2) nav :is(.marketing-cta, .marketing-login) {
  min-height: 48px;
  border-radius: 17px;
  font-family: var(--cb-font-body) !important;
  font-weight: 700;
}
body.marketing-page :is(.canonical-site-header, .marketing-header, .home-header-v2) nav .marketing-cta {
  background: var(--cb-blue) !important;
  border: 1px solid var(--cb-blue) !important;
  box-shadow: 0 4px 0 var(--cb-yellow) !important;
  color: #fff !important;
}
body.marketing-page :is(.canonical-site-header, .marketing-header, .home-header-v2) nav .marketing-cta:hover {
  background: var(--cb-blue-deep) !important;
  border-color: var(--cb-blue-deep) !important;
}
body.marketing-page :is(.canonical-site-header, .marketing-header, .home-header-v2) nav .marketing-login {
  background: #fff !important;
  border: 1px solid var(--cb-line) !important;
  color: var(--cb-navy) !important;
}
body.marketing-page main :is(.route-button, .route-button-outline, .choice-action, .demo-button, .button, .button-light) {
  min-height: 48px;
  border-radius: 16px;
  font-family: var(--cb-font-body) !important;
  font-weight: 700;
}

/* Keep the homepage on the canonical brand tokens as well. */
body.marketing-page.homepage-v2,
body.marketing-page.homepage-v3 {
  --cb-blue: #086bff !important;
  --cb-blue-2: #0756c8 !important;
  --cb-cyan: #22b8e8 !important;
  --cb-yellow: #ffd42a !important;
  --cb-ink: #173b78 !important;
}
body.marketing-page :is(.canonical-site-header, .marketing-header, .home-header-v2) nav .marketing-cta {
  background: #086bff !important;
  border-color: #086bff !important;
}

/* One finished visual language across every Connect Bro route. */
body.marketing-page, body.admin-body {
  color: var(--cb-navy);
  font-family: var(--cb-font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body.marketing-page :is(p, li, label, button, input, select, textarea, small, summary, legend, a, th, td),
body.admin-body :is(p, li, label, button, input, select, textarea, small, summary, legend, a, th, td) {
  font-family: var(--cb-font-body) !important;
}
body.marketing-page main h1, body.admin-body main h1 {
  color: var(--cb-navy) !important;
  font-family: var(--cb-font-display) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: -.015em !important;
  line-height: .98;
}
body.marketing-page main :is(h2, h3, h4, h5, h6),
body.admin-body main :is(h1, h2, h3, h4, h5, h6) {
  color: var(--cb-navy) !important;
  font-family: var(--cb-font-body) !important;
  font-style: normal !important;
  font-weight: 750 !important;
  letter-spacing: -.03em !important;
  line-height: 1.12;
}
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) {
  color: var(--cb-blue-deep) !important;
  font-family: var(--cb-font-display) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
body:is(.marketing-page, .admin-body) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]), select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--cb-line) !important;
  border-radius: 14px !important;
  background: var(--cb-surface) !important;
  color: var(--cb-navy) !important;
  font: 500 1rem/1.4 var(--cb-font-body) !important;
  padding: 12px 15px;
  box-shadow: inset 0 1px 2px rgba(9,45,114,.03);
}
body:is(.marketing-page, .admin-body) textarea { min-height: 132px; resize: vertical; }
body:is(.marketing-page, .admin-body) :is(input, select, textarea)::placeholder { color: var(--cb-muted); opacity: 1; }
body:is(.marketing-page, .admin-body) :is(input, select, textarea):focus-visible {
  border-color: var(--cb-blue) !important;
  outline: 3px solid rgba(8,107,255,.18);
  outline-offset: 2px;
}
body:is(.marketing-page, .admin-body) main :is(.form-field, .form-group, .field-group, .helper-profile-field, .request-field, .demo-form-field) {
  min-width: 0;
  margin-block: 0 18px;
}
body:is(.marketing-page, .admin-body) main form label {
  color: var(--cb-navy);
  font-weight: 700;
  line-height: 1.35;
}
body:is(.marketing-page, .admin-body) :is(.route-card, .filter-panel, .detail-card, .post-choice-panel, .demo-request-choice-panel, .demo-request-choice-card, .panel, .community-card, .demo-card, .demo-map-card, .demo-side-action, .demo-side-safe, .member-account, .member-community, .member-profile-visual, .member-community__rail, .community-pane, .account-overview, .account-activity, .demo-content-card) {
  border-color: var(--cb-line);
  border-radius: 20px;
}
body:is(.marketing-page, .admin-body) :is(.route-button, .route-button-outline, .choice-action, .demo-button, .button, .button-light, .marketing-cta, .marketing-login) {
  min-height: 48px;
  border-radius: 16px;
  font-family: var(--cb-font-body) !important;
  font-weight: 700;
}
body.marketing-page img[src*="connectbro-logo-transparent-20261014.png"],
body.admin-body img[src*="connectbro-logo-transparent-20261014.png"] {
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Legal pages use the same brand tokens and typography as the marketplace. */
body.legal-page {
  background: var(--cb-sky-soft, #f5faff);
  color: var(--cb-navy, #092d72);
  font-family: var(--cb-font-body, Inter, ui-sans-serif, system-ui, sans-serif);
}
body.legal-page :is(p, li, a, nav, footer) {
  font-family: var(--cb-font-body, Inter, ui-sans-serif, system-ui, sans-serif);
}
body.legal-page :is(.legal-header, footer) {
  border-color: var(--cb-line, #d4e8f7);
}
body.legal-page .legal-header { background: var(--cb-surface, #fff); }
body.legal-page :is(.legal-nav a, main a) { color: var(--cb-blue-deep, #0756c8); }
body.legal-page .legal-hero {
  background-image: linear-gradient(90deg, rgba(234,245,255,.94), rgba(234,245,255,.58)), url('/assets/connect-bro-whangarei-town-basin-hero-v1.jpg');
}
body.legal-page :is(.legal-hero h1, main h1) {
  color: var(--cb-navy, #092d72);
  font-family: var(--cb-font-display, 'Caveat Brush', system-ui, sans-serif);
  font-style: normal;
  font-weight: 400;
}
body.legal-page main h2 {
  color: var(--cb-navy, #092d72);
  font-family: var(--cb-font-body, Inter, ui-sans-serif, system-ui, sans-serif);
  font-style: normal;
  font-weight: 750;
}
body.legal-page main {
  border-color: var(--cb-line, #d4e8f7);
  border-radius: 20px;
}
body.legal-page .legal-header img {
  width: clamp(112px, 12vw, 138px);
  max-height: 68px;
  object-fit: contain;
  background: transparent;
}


/* Cohesive Connect Bro visual system: shared typography, colour, controls and brand sizing. */
:root {
  --cb-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cb-font-display: "Caveat Brush", ui-sans-serif, system-ui, sans-serif;
  --cb-navy: #092d72;
  --cb-ink: #082b52;
  --cb-blue: #086bff;
  --cb-blue-deep: #073e94;
  --cb-yellow: #ffd62e;
  --cb-sky-soft: #f0f8ff;
  --cb-line: #d6e7f5;
}

body.marketing-page, body.admin-body, body.legal-page {
  color: var(--cb-ink);
  font-family: var(--cb-font-body);
}
body.marketing-page :is(h2, h3, h4, p, label, button, input, select, textarea, a),
body.admin-body :is(h2, h3, h4, p, label, button, input, select, textarea, a) {
  font-family: var(--cb-font-body);
}
body.marketing-page :is(h1, #demo-app h1), body.admin-body h1 {
  color: var(--cb-navy);
  font-family: var(--cb-font-display) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: -.02em;
}
body.marketing-page :is(.demo-results-head h2, .demo-card h3, .demo-map-card h2, .demo-side-action h2, .demo-side-safe h2, .demo-journey h2, .demo-detail-article h2, .demo-profile-main h2) {
  color: var(--cb-navy);
  font-family: var(--cb-font-body) !important;
  font-style: normal !important;
}
body.marketing-page :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]), textarea, select),
body.admin-body :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]), textarea, select) {
  min-height: 46px;
  border: 1px solid var(--cb-line);
  border-radius: 14px;
  padding: 11px 14px;
  background: #fff;
  color: var(--cb-ink);
  font: 500 1rem/1.4 var(--cb-font-body);
  box-shadow: none;
}
body.marketing-page textarea, body.admin-body textarea { min-height: 116px; resize: vertical; }
body.marketing-page :is(button, .button, .route-button, .demo-button, .admin-button, [type=submit]),
body.admin-body :is(button, .button, .route-button, .demo-button, .admin-button, [type=submit]) {
  font-family: var(--cb-font-body);
  font-weight: 750;
  border-radius: 999px;
}
body.marketing-page :is(.demo-card, .demo-journey, .demo-map-card, .demo-side-action, .demo-side-safe, .demo-person-rail, .demo-profile-rail),
body.admin-body :is(.admin-card, .admin-panel, .admin-section) {
  border-color: var(--cb-line);
  border-radius: 22px;
}
body.marketing-page :is(.marketing-brand img, .canonical-site-header img, .marketing-footer .marketing-brand img, .site-footer .marketing-brand img) {
  display: block;
  width: clamp(118px, 13vw, 174px);
  height: auto;
  max-height: 74px;
  object-fit: contain;
  background: transparent;
}
body.marketing-page :is(button, a, input, select, textarea):focus-visible,
body.admin-body :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid var(--cb-yellow);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  body.marketing-page :is(.marketing-brand img, .canonical-site-header img) { width: 126px; max-height: 62px; }
  body.marketing-page :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]), textarea, select),
  body.admin-body :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]), textarea, select) { font-size: 16px; }
}

body.marketing-page .brand-mark img { display: block; width: clamp(118px, 13vw, 174px); height: auto; max-height: 74px; object-fit: contain; background: transparent; }
@media (max-width: 640px) { body.marketing-page .brand-mark img { width: 126px; max-height: 62px; } }

/* Visual integration: approved Good Stuff preview on the homepage. */
.cb-home-good-stuff{padding:clamp(42px,6vw,84px) clamp(20px,5vw,72px);background:#fff}
.cb-home-good-stuff-heading{text-align:center;max-width:920px;margin:0 auto 28px}
.cb-home-good-stuff-heading h2{margin:.35rem 0 0;color:#07165f;font:800 clamp(1.7rem,3vw,2.7rem)/1.1 system-ui,sans-serif}
.cb-home-good-stuff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1240px;margin:0 auto}
.cb-home-good-card{display:block;overflow:hidden;border:1px solid #d5e8fa;border-radius:22px;background:#fff;color:#07165f;text-decoration:none;box-shadow:0 10px 28px rgb(7 22 95 / 8%)}
.cb-home-good-card img{display:block;width:100%;aspect-ratio:1.55;object-fit:cover}
.cb-home-good-card span{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;font:800 1.15rem/1.2 system-ui,sans-serif}
.cb-home-good-card b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e7f2ff;font-size:1.4rem}
.cb-home-good-stuff-cta{display:inline-flex;align-items:center;gap:12px;margin:26px auto 0;padding:14px 26px;border-radius:999px;background:#1464e8;color:#fff;font:800 1rem/1 system-ui,sans-serif;text-decoration:none}
.cb-home-good-stuff>.cb-home-good-stuff-cta{display:flex;width:max-content}
.cb-home-partner-strip{min-height:250px;display:grid;align-items:center;padding:48px clamp(20px,10vw,160px);background:linear-gradient(135deg,#07165f,#0b4a9b);color:#fff}
.cb-home-partner-strip>div{max-width:680px}.cb-home-partner-strip h2{margin:.35rem 0;color:#fff;font:italic 800 clamp(2rem,4vw,3.4rem)/1.05 "Caveat Brush",system-ui,sans-serif}.cb-home-partner-strip p{font-size:1.1rem}.cb-home-partner-strip .cb-eyebrow{color:#ffd42a}.cb-home-partner-strip .cb-home-good-stuff-cta{background:#fff;color:#092d72;margin-top:10px}
@media(max-width:760px){.cb-home-good-stuff-grid{grid-template-columns:1fr}.cb-home-partner-strip{padding:42px 24px}}


/* Homepage Good Stuff: compact, consistent card proportions. */
.cb-home-good-stuff{padding:clamp(36px,5vw,64px) clamp(20px,5vw,72px);background:#fff}
.cb-home-good-stuff-heading{max-width:980px;margin:0 auto 24px;text-align:center}
.cb-home-good-stuff-heading h2{font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.08}
.cb-home-good-stuff-grid{width:min(1120px,100%);grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cb-home-good-card{width:100%;border-radius:18px}
.cb-home-good-card img{width:100%;height:210px;aspect-ratio:auto;object-fit:cover}
.cb-home-good-card span{min-height:74px;padding:16px 18px;font-size:1.05rem}
.cb-home-partner-strip{width:100%;min-height:220px;max-height:290px;padding:42px clamp(20px,8vw,120px);background-image:linear-gradient(90deg,rgb(7 22 95 / 74%),rgb(7 22 95 / 16%)),url('/assets/connect-bro-whangarei-town-basin-hero-v1.jpg')}
.cb-home-partner-strip h2{font-size:clamp(1.9rem,3.4vw,3rem)}
@media(max-width:760px){.cb-home-good-stuff-grid{grid-template-columns:1fr}.cb-home-good-card img{height:190px}.cb-home-partner-strip{max-height:none}}


/* Homepage card sizing override: keep the Good Stuff preview compact at every breakpoint. */
body.marketing-page .cb-home-good-stuff{padding:clamp(36px,5vw,64px) clamp(20px,5vw,72px)!important;overflow:hidden}
body.marketing-page .cb-home-good-stuff-grid{display:grid!important;width:min(1120px,100%)!important;max-width:1120px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
body.marketing-page .cb-home-good-card{display:block!important;width:100%!important;min-width:0!important;overflow:hidden!important}
body.marketing-page .cb-home-good-card img{display:block!important;width:100%!important;height:210px!important;max-height:210px!important;aspect-ratio:auto!important;object-fit:cover!important}
body.marketing-page .cb-home-good-card span{min-height:74px!important;padding:16px 18px!important}
body.marketing-page .cb-home-partner-strip{width:100%!important;min-height:220px!important;max-height:290px!important;overflow:hidden!important;background-image:linear-gradient(90deg,rgb(7 22 95 / 74%),rgb(7 22 95 / 16%)),url('/assets/connect-bro-whangarei-town-basin-hero-v1.jpg')!important}
@media(max-width:760px){body.marketing-page .cb-home-good-stuff-grid{grid-template-columns:1fr!important}body.marketing-page .cb-home-good-card img{height:190px!important;max-height:190px!important}body.marketing-page .cb-home-partner-strip{max-height:none!important}}

/* Demo banner and secondary navigation sit below the main site header. */
body.marketing-page .demo-navigation-shell { width:100%; }
body.marketing-page .demo-navigation-banner { display:block; }
body.marketing-page .demo-navigation-links { font-family:var(--cb-font-body); }

.demo-navigation-shell{border-bottom:1px solid var(--cb-line,#d4e8f7);background:#fff}.demo-navigation-banner{display:flex;align-items:center;justify-content:center;min-height:82px;padding:16px 20px;background:linear-gradient(135deg,#07165f,#0b4a9b);color:#fff;text-align:center}.demo-navigation-banner::before{content:'Demo · Connect Bro marketplace preview';font:800 clamp(1.35rem,3vw,2.1rem)/1.1 "Caveat Brush",system-ui,sans-serif;letter-spacing:.02em}.demo-navigation-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 28px;padding:14px 20px;font-family:var(--cb-font-body)}.demo-navigation-links a{color:var(--cb-navy);font-weight:750;text-decoration:none;padding:9px 12px;border-bottom:3px solid transparent}.demo-navigation-links a:hover,.demo-navigation-links a:focus-visible{color:var(--cb-blue);border-bottom-color:var(--cb-yellow)}.demo-navigation-links a[aria-current=page]{color:#fff;background:var(--cb-blue);border-bottom-color:var(--cb-yellow)}@media(max-width:620px){.demo-navigation-banner{min-height:72px}.demo-navigation-links{justify-content:flex-start;gap:4px 10px;padding:10px 14px}}

/* Cohesive partner banner: readable content over a clean, lightly framed local image. */
.cb-home-partner-strip{
  min-height:220px;
  display:grid;
  align-items:center;
  padding:38px clamp(24px,8vw,120px);
  background:#eaf5ff url('/assets/connect-bro-whangarei-town-basin-hero-v1.jpg') center right/52% 100% no-repeat;
  color:#082b68;
  position:relative;
  overflow:hidden;
}
.cb-home-partner-strip::after{
  content:"";
  position:absolute;
  inset:0 48% 0 0;
  background:linear-gradient(90deg,#eaf5ff 0%,#eaf5ff 78%,rgba(234,245,255,.86) 100%);
  pointer-events:none;
}
.cb-home-partner-strip>div{position:relative;z-index:1;max-width:680px}
.cb-home-partner-strip h2{margin:.35rem 0;color:#082b68;font:italic 800 clamp(2rem,4vw,3.3rem)/1.05 "Caveat Brush",system-ui,sans-serif}
.cb-home-partner-strip p{color:#173d72;font-size:1.08rem}
.cb-home-partner-strip .cb-eyebrow{color:#0871b5;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.cb-home-partner-strip .cb-home-good-stuff-cta{display:inline-flex;background:#086bff;color:#fff;margin-top:10px;border-radius:12px;padding:12px 22px;font-weight:800}
@media(max-width:760px){
  .cb-home-partner-strip{min-height:300px;padding:34px 24px;background-position:center bottom;background-size:100% 52%}
  .cb-home-partner-strip::after{inset:0 0 46% 0;background:linear-gradient(180deg,#eaf5ff 0%,#eaf5ff 82%,rgba(234,245,255,.75) 100%)}
}

/* Keep live Search on the same compact, task-forward rhythm as Demo. */
.marketplace-search-page .marketplace-search-hero{
  min-height:205px;
  padding:26px clamp(20px,6vw,88px) 20px;
}
.marketplace-search-page .marketplace-search-hero h1{
  max-width:760px;
  font-size:clamp(2rem,3.8vw,3.25rem)!important;
  line-height:1.02!important;
  margin:0 0 8px!important;
}
.marketplace-search-page .marketplace-search-hero p{max-width:760px;margin:0 0 12px;font-size:1rem}
.marketplace-search-page .marketplace-category-row{
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  overflow-x:auto;
  padding:4px 0 8px;
  scrollbar-width:thin;
}
.marketplace-search-page .marketplace-category-row button{
  flex:0 0 112px;
  min-height:72px;
  padding:7px 6px;
  gap:4px;
  border-radius:12px;
  font-size:.74rem;
}
.marketplace-search-page .marketplace-category-row button img{width:28px;height:28px}
.marketplace-search-page .marketplace-search-shell{padding:18px 24px 46px}
.marketplace-search-page .marketplace-filters{padding:14px 18px}
@media(max-width:780px){
  .marketplace-search-page .marketplace-search-hero{min-height:190px;padding:24px 18px 16px}
  .marketplace-search-page .marketplace-category-row button{flex-basis:96px;min-height:66px}
}

/* Use the square workflow-card language on live Offer Your Help choices. */
.choice-page .helper-method-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.choice-page .helper-method-option{
  min-height:220px;
  padding:24px;
  border:2px solid #cfe2f7;
  border-radius:12px;
  background:#fff;
  color:#092d72;
  text-align:left;
  box-shadow:none;
}
.choice-page .helper-method-option:hover,.choice-page .helper-method-option:focus-visible{border-color:#086bff;box-shadow:0 0 0 3px rgba(8,107,255,.12)}
.choice-page .helper-method-option strong{display:block;margin-top:18px;font-size:1.35rem}
.choice-page .helper-method-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:10px;background:#eaf4ff;color:#086bff;font-size:1.8rem}
@media(max-width:700px){.choice-page .helper-method-options{grid-template-columns:1fr}.choice-page .helper-method-option{min-height:180px}}


/* Final cascade guard for the readable business partner banner. */
.cb-home-partner-strip{
  min-height:220px!important;
  max-height:none!important;
  padding:38px clamp(24px,8vw,120px)!important;
  background:#eaf5ff url('/assets/connect-bro-whangarei-town-basin-hero-v1.jpg') center right/52% 100% no-repeat!important;
  color:#082b68!important;
}
.cb-home-partner-strip h2{color:#082b68!important}
.cb-home-partner-strip p{color:#173d72!important}
.cb-home-partner-strip .cb-eyebrow{color:#0871b5!important}
.cb-home-partner-strip .cb-home-good-stuff-cta{background:#086bff!important;color:#fff!important}
@media(max-width:760px){
  .cb-home-partner-strip{min-height:300px!important;padding:34px 24px!important;background-position:center bottom!important;background-size:100% 52%!important}
}


/* Keep workflow choices as four-sided cards even when the shared button token loads later. */
.choice-page .helper-method-option{border-radius:18px!important}
.choice-page .helper-method-symbol{border-radius:12px!important}
.helper-form-step-navigation{display:flex;align-items:center;gap:10px;margin:24px 0 14px;padding-top:18px;border-top:1px solid #d8e9f8}
.helper-form-step-status{flex:1;margin:0;color:#315778;font-weight:800}
.helper-form-step-navigation .route-button,.helper-form-step-navigation .route-button-outline{margin:0}
@media(max-width:620px){.helper-form-step-navigation{align-items:stretch;flex-wrap:wrap}.helper-form-step-status{flex-basis:100%}.helper-form-step-navigation button{flex:1}}


/* Supplied route banners: shared by the live journeys and their demo equivalents. */
.post-request-page .route-hero.post-choice-hero {
  background-image: linear-gradient(90deg,#f3faff 0%,#f3faffed 36%,#f3faff28 76%), url('/assets/Request%20Help.png') !important;
  background-position: center center;
}
.choice-page .choice-hero.helper-setup-hero {
  background-image: linear-gradient(90deg,#f4fbff 0%,#f4fbffeb 33%,#f4fbff22 62%), url('/assets/connect-bro-offer-cleaning-help-banner-2188x718.png') !important;
  background-position: center center;
}
.marketplace-search-page .marketplace-search-hero,
body[data-demo-page="search"] .demo-hero {
  background-image: linear-gradient(92deg,#e8f7ffe8 0%,#e8f7ffb5 43%,#e8f7ff1a 100%), url('/assets/Browse.png') !important;
  background-position: center center;
}
@media (max-width: 620px) {
  .post-request-page .route-hero.post-choice-hero {
    background-image: linear-gradient(90deg,#f3fafff2 0%,#f3faffc9 72%,#f3faff55), url('/assets/Request%20Help.png') !important;
    background-position: 66% center;
  }
  .choice-page .choice-hero.helper-setup-hero {
    background-image: linear-gradient(90deg,#f4fbfff4 0%,#f4fbffba 72%,#f4fbff48), url('/assets/connect-bro-offer-cleaning-help-banner-2188x718.png') !important;
    background-position: 64% center;
  }
  .marketplace-search-page .marketplace-search-hero,
  body[data-demo-page="search"] .demo-hero {
    background-position: 64% center;
  }
}
