/* Custom Builder AI additions on top of the Total Talent Source stylesheets.
   Only what TTS has no style for: the brand mark, the Services menu, the
   trainings list, CAM plans, real builds, the booking layout and the policy
   column. Every color is a TTS theme token (--tts-*), so both themes keep the
   contrast TTS already checked. Never hard-code a color here. */

/* Brand mark: the letters CB in the TTS heading face. */
.cbai .cb-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--tts-line);
  border-radius: 6px;
  background: var(--tts-surface);
  color: var(--tts-cyan-bright);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cbai .cb-brand-mark--small { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }

/* Services menu (a <details> element in partials/nav.html). */
.cbai .cb-menu { position: relative; }
.cbai .cb-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
}
.cbai .cb-menu > summary::-webkit-details-marker { display: none; }
.cbai .cb-menu > summary[data-active='true'] { color: var(--tts-text); background: rgba(138, 214, 255, 0.1); }
.cbai .cb-menu__chevron { transition: transform 150ms ease; }
.cbai .cb-menu[open] .cb-menu__chevron { transform: rotate(180deg); }
.cbai .cb-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 200;
  width: min(860px, calc(100vw - 32px));
  transform: translateX(-50%);
  padding: 20px;
  border: 1px solid var(--tts-line);
  border-radius: var(--tts-radius-lg);
  background: var(--tts-surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.cbai .cb-menu__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.cbai .cb-menu__label {
  margin: 0 0 8px;
  color: var(--tts-cyan-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cbai .cb-menu__group ul { margin: 0; padding: 0; list-style: none; }
.cbai .cb-menu__link {
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--tts-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.cbai .cb-menu__link:hover,
.cbai .cb-menu__link:focus-visible,
.cbai .cb-menu__link[aria-current='page'] { background: rgba(138, 214, 255, 0.12); }
.cbai .cb-menu__all {
  display: inline-block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--tts-line);
  width: 100%;
  color: var(--tts-cyan-bright);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .cbai .tts-nav-open .px-nav-links { flex-direction: column; align-items: stretch; }
  .cbai .cb-menu__panel {
    position: static;
    width: 100%;
    margin-top: 8px;
    transform: none;
    box-shadow: none;
  }
  .cbai .cb-menu__groups { grid-template-columns: 1fr; }
}

/* Breadcrumb and hero note on service pages. */
.cbai .cb-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(calc(100% - 48px), var(--tts-max));
  margin: 22px auto 0;
  color: var(--tts-muted);
  font-size: 14px;
}
.cbai .cb-crumbs a { color: var(--tts-cyan-bright); }
.cbai .cb-hero-note { margin: 18px 0 0; color: var(--tts-muted); }

/* Home: the "Choose where to start" panel in The Advisor's place. */
.cbai .cb-start__panel { display: grid; gap: 18px; padding: 22px; }
.cbai .cb-start__title {
  margin: 0 0 6px;
  color: var(--tts-cyan-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cbai .cb-start__group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cbai .cb-start__link {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--tts-line);
  border-radius: var(--tts-radius-md);
  color: var(--tts-text);
  text-decoration: none;
}
.cbai .cb-start__link strong { font-size: 16px; }
.cbai .cb-start__link span { color: var(--tts-muted); font-size: 14px; line-height: 1.45; }
.cbai .cb-start__link:hover,
.cbai .cb-start__link:focus-visible { border-color: var(--tts-cyan); }
.cbai .cb-card-category,
.cbai .cb-project__who {
  display: block;
  margin-bottom: 6px;
  color: var(--tts-cyan-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cbai .cb-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cbai .cb-center-actions { justify-content: center; margin-top: 28px; }

/* On-demand trainings. */
.cbai .cb-guides__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cbai .cb-guide { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.cbai .cb-guide__poster { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--tts-radius-md); }
.cbai .cb-guide h3 { margin: 4px 0 0; font-size: 19px; }
.cbai .cb-guide p { margin: 0; color: var(--tts-muted); }
.cbai .cb-guide__price { color: var(--tts-text) !important; font-size: 22px; font-weight: 700; }
.cbai .cb-guide__price span { color: var(--tts-muted); font-size: 14px; font-weight: 500; }
.cbai .cb-guide__buy { margin-top: auto; text-align: center; }
.cbai .cb-bundle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 20px 22px;
}
.cbai .cb-bundle h3 { margin: 0 0 4px; font-size: 20px; }
.cbai .cb-bundle p { margin: 0; color: var(--tts-muted); }

/* CAM plans. */
.cbai .cb-pricing__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: 12px; }
.cbai .cb-plan { display: grid; gap: 4px; padding: 22px; text-align: center; }
.cbai .cb-plan strong { font-family: var(--font-heading); font-size: 32px; }
.cbai .cb-plan span { color: var(--tts-muted); }
.cbai .cb-pricing__note { max-width: 680px; margin: 18px auto 0; text-align: center; }
.cbai .cb-pricing__source { margin: 8px auto 0; color: var(--tts-muted); font-size: 14px; text-align: center; }
.cbai .cb-partner-note { max-width: 680px; margin: 18px auto 0; color: var(--tts-muted); font-size: 14px; }

/* Real builds. */
.cbai .cb-projects__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cbai .cb-project h3 { margin: 0 0 8px; }
.cbai .cb-project p { margin: 0 0 12px; }

/* Related links under a service. */
.cbai .cb-related ul { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 10px 0 0; padding: 0; list-style: none; }

/* Booking page. */
.cbai .cb-book-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.cbai .cb-book-copy h2 { margin-top: 0; }
.cbai .cb-book-copy h3 { margin: 28px 0 0; }
.cbai .cb-book-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; padding: 0; list-style: none; }
.cbai .cb-book-topics a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--tts-line);
  border-radius: 4px;
  color: var(--tts-text);
  font-size: 14px;
  text-decoration: none;
}
.cbai .cb-book-alt { color: var(--tts-muted); }
.cbai .cb-book-alt a { color: var(--tts-cyan-bright); }
.cbai .cb-book-calendar {
  min-height: 640px;
  padding: 12px;
  border: 1px solid var(--tts-line);
  border-radius: var(--tts-radius-lg);
  background: var(--tts-surface);
}
.cbai .cb-contact-email { margin: 14px 0 0; }
.cbai .cb-contact-email a { color: var(--tts-cyan-bright); }

/* Policy pages: the TTS reading column. */
.cbai .cb-legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px; }
.cbai .cb-legal__updated { margin-bottom: 36px; color: var(--tts-muted); font-size: 14px; }
.cbai .cb-legal__body { color: var(--tts-muted); font-size: 17px; line-height: 1.75; }
.cbai .cb-legal__body h2 { margin: 36px 0 12px; color: var(--tts-text); font-size: 22px; }
.cbai .cb-legal__body a { color: var(--tts-cyan-bright); }
.cbai .cb-footer-links { grid-template-columns: repeat(3, minmax(0, auto)); }

@media (max-width: 1120px) {
  .cbai .cb-guides__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbai .cb-projects__list,
  .cbai .cb-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cbai .cb-guides__grid,
  .cbai .cb-projects__list,
  .cbai .cb-card-grid,
  .cbai .cb-pricing__plans,
  .cbai .cb-book-layout { grid-template-columns: 1fr; }
  .cbai .cb-crumbs { width: calc(100% - 28px); }
  .cbai .cb-footer-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cbai .cb-menu__chevron { transition: none; }
}

/* Four-part pages (2026-10-27): value cards, CAM plans, comparison tables and the calculator. */
.cbai .cb-value__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.cbai .cb-value__grid > div { margin: 0; }
.cbai .cb-value__grid dt {
  margin-bottom: 8px;
  color: var(--tts-cyan-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cbai .cb-value__grid dd { margin: 0; color: var(--tts-text); font-size: 17px; line-height: 1.55; }
.cbai .cb-value__note { margin: 14px 0 0; color: var(--tts-muted); font-size: 14px; text-align: center; }
.cbai .cb-value__link { margin: 14px 0 0; text-align: center; }
.cbai .cb-value .cb-projects__list { margin-top: 22px; }

.cbai .cb-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(calc(100% - 48px), var(--tts-max));
  margin: 18px auto 0;
  padding: 0;
  list-style: none;
}
.cbai .cb-facts li {
  padding: 14px 16px;
  border: 1px solid var(--tts-line);
  border-radius: var(--tts-radius-md);
  background: var(--tts-surface);
  color: var(--tts-text);
  font-size: 15px;
  line-height: 1.5;
}

.cbai .cb-plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 12px; }
.cbai .cb-plan { display: flex; flex-direction: column; gap: 10px; padding: 24px; text-align: left; }
.cbai .cb-plan h3 { margin: 0; font-size: 20px; }
.cbai .cb-plan p { margin: 0; color: var(--tts-muted); }
.cbai .cb-plan .cb-plan__price { color: var(--tts-text); font-size: 17px; }
.cbai .cb-plan__price strong { font-family: var(--font-heading); font-size: 32px; }
.cbai .cb-plan .px-cta { margin-top: auto; text-align: center; }
.cbai .cb-plan--best { border-color: var(--tts-cyan); }

.cbai .cb-cam-value { max-width: 980px; margin: 34px auto 0; }
.cbai .cb-cam-value h3 { margin: 34px 0 10px; font-size: 22px; }
.cbai .cb-cam-value > p { color: var(--tts-muted); }
.cbai .cb-table-wrap { overflow-x: auto; }
.cbai .cb-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cbai .cb-table th,
.cbai .cb-table td { padding: 12px 14px; border-bottom: 1px solid var(--tts-line); color: var(--tts-text); text-align: left; vertical-align: top; }
.cbai .cb-table thead th { color: var(--tts-cyan-bright); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.cbai .cb-table__win th,
.cbai .cb-table__win td { background: rgba(138, 214, 255, 0.08); font-weight: 600; }
.cbai .cb-num { white-space: nowrap; }
.cbai .cb-fine { max-width: 820px; margin: 14px auto 0; color: var(--tts-muted); font-size: 14px; line-height: 1.6; }
.cbai .cb-fine a { color: var(--tts-cyan-bright); }

/* Content budget planner (2026-10-28): sliders on the left, the budget and the ads comparison on the right,
   two equal panels. Spacing steps: 4 inside a pair, 8 between rows, 24 between groups. */
.cbai .cb-budget .cb-calc { max-width: 980px; margin: 0 auto; }
.cbai .cb-calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.cbai .cb-calc__form { display: flex; flex-direction: column; gap: 4px; padding: 28px; }
.cbai .cb-calc__plan { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 12px; padding: 0; border: 0; color: var(--tts-text); font-size: 17px; }
.cbai .cb-calc__plan legend { margin-bottom: 8px; padding: 0; color: var(--tts-cyan-bright); font-size: 14px; font-weight: 700; }
.cbai .cb-calc__plan label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; }
.cbai .cb-calc__plan input { width: 18px; height: 18px; margin: 0; accent-color: var(--tts-cyan); }
.cbai .cb-range { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; color: var(--tts-text); font-size: 17px; }
.cbai .cb-range output { color: var(--tts-text); font-family: var(--font-heading); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cbai .cb-calc__form input[type='range'] { width: 100%; height: 28px; margin: 0; accent-color: var(--tts-cyan); cursor: pointer; }
.cbai .cb-calc__fine { margin: auto 0 0; padding-top: 16px; color: var(--tts-muted); font-size: 14px; line-height: 1.55; }
.cbai .cb-calc__result { display: flex; flex-direction: column; padding: 28px; }
.cbai .cb-calc__label { margin: 0; color: var(--tts-cyan-bright); font-size: 14px; font-weight: 700; }
.cbai .cb-calc__total { margin: 4px 0 0; color: var(--tts-text); font-family: var(--font-heading); font-size: 44px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cbai .cb-calc__sub { margin: 8px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--tts-line); color: var(--tts-muted); font-size: 17px; line-height: 1.5; }
.cbai .cb-calc__sub strong { color: var(--tts-text); font-variant-numeric: tabular-nums; }
.cbai .cb-compare { display: grid; gap: 16px; margin: 12px 0 0; padding: 0; list-style: none; }
.cbai .cb-compare__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'name value' 'track track';
  gap: 4px 12px;
  align-items: baseline;
}
.cbai .cb-compare__name { grid-area: name; color: var(--tts-text); font-size: 17px; }
.cbai .cb-compare__value { grid-area: value; color: var(--tts-text); font-family: var(--font-heading); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cbai .cb-compare__track { grid-area: track; display: block; height: 10px; border-radius: 4px; background: color-mix(in srgb, var(--tts-muted) 14%, transparent); }
.cbai .cb-compare__bar { display: block; height: 100%; min-width: 4px; border-radius: 4px; background: color-mix(in srgb, var(--tts-muted) 55%, transparent); }
.cbai .cb-compare__row--cam .cb-compare__name { font-weight: 700; }
.cbai .cb-compare__row--cam .cb-compare__bar { background: linear-gradient(90deg, var(--tts-cyan), var(--tts-violet)); }
.cbai .cb-calc__verdict { margin: auto 0 0; padding-top: 24px; color: var(--tts-text); font-size: 17px; line-height: 1.55; }
.cbai .cb-budget > .cb-fine { margin-top: 16px; text-align: center; }

@media (max-width: 1120px) {
  .cbai .cb-value__grid,
  .cbai .cb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cbai .cb-value__grid,
  .cbai .cb-facts,
  .cbai .cb-plans__grid,
  .cbai .cb-calc { grid-template-columns: 1fr; }
  .cbai .cb-facts { width: calc(100% - 28px); }
}

/* Phone: each table row becomes a small card with its column names, as on David's CAM page. */
@media (max-width: 760px) {
  .cbai .cb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cbai .cb-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--tts-line); }
  .cbai .cb-table th,
  .cbai .cb-table td { display: block; padding: 4px 0; border: 0; }
  .cbai .cb-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--tts-cyan-bright);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .cbai .cb-num { white-space: normal; }
  .cbai .cb-table__win th,
  .cbai .cb-table__win td { background: transparent; }
  .cbai .cb-table__win { background: rgba(138, 214, 255, 0.08); padding-left: 10px; padding-right: 10px; }
}

/* CAM reach chart (2026-10-27). One series, so no legend; the title names it. Bars in the
   violet token (validated with the dataviz validator against both theme surfaces), text in text tokens. */
.cbai .cb-reach { margin-top: 30px; }
.cbai .cb-reach > p { color: var(--tts-muted); }
.cbai .cb-chart { margin: 18px 0 0; padding: 20px; border: 1px solid var(--tts-line); border-radius: var(--tts-radius-lg); background: var(--tts-surface); }
.cbai .cb-chart__title { margin-bottom: 16px; color: var(--tts-text); font-weight: 700; }
.cbai .cb-chart__bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  height: 260px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--tts-line);
}
.cbai .cb-chart__col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.cbai .cb-chart__bar {
  display: block;
  width: min(56px, 70%);
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--tts-violet);
}
.cbai .cb-chart__col:hover .cb-chart__bar { background: var(--tts-violet-bright); }
.cbai .cb-chart__value { margin-bottom: 6px; color: var(--tts-text); font-family: var(--font-heading); font-size: 18px; font-weight: 700; }
.cbai .cb-chart__label { position: relative; top: 12px; height: 0; color: var(--tts-muted); font-size: 14px; white-space: nowrap; }
.cbai .cb-chart { padding-bottom: 44px; }
.cbai .cb-reach__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.cbai .cb-reach__stats li { display: flex; flex-direction: column; gap: 6px; }
.cbai .cb-reach__stats strong { color: var(--tts-text); font-size: 19px; line-height: 1.35; }
.cbai .cb-reach__stats span:not(.cb-project__who) { color: var(--tts-muted); }
.cbai .cb-reach__source { margin-top: auto; color: var(--tts-cyan-bright); font-size: 13px; }
.cbai .cb-cam-costs { max-width: 980px; margin: 30px auto 0; }
.cbai .cb-cam-costs h3 { margin: 0 0 10px; font-size: 22px; }
@media (max-width: 760px) {
  .cbai .cb-reach__stats { grid-template-columns: 1fr; }
  .cbai .cb-chart__bars { gap: 8px; height: 220px; }
  .cbai .cb-chart__label { font-size: 12px; line-height: 1.3; white-space: normal; text-align: center; top: 10px; }
  .cbai .cb-chart { padding-bottom: 58px; }
}

/* ---------------------------------------------------------------------------
   Light mode, brighter (David, 2026-10-27: "more vibrant using my brand color
   palette while keeping a tech look to it. Clean and simple.")
   Clean white surfaces, the brand cyan and violet for buttons, labels, glows
   and the call-to-action band. David, 2026-10-28: no grid; the hero panels and
   the band carry the brand wave instead (see "Brand waves" below). Text keeps
   at least 4.5:1 contrast (checked in tests/contrast).
   --------------------------------------------------------------------------- */
[data-theme='light'] body.tts-public.cbai {
  --tts-bg: #f6f7ff;
  --tts-bg-deep: #eef0ff;
  --tts-surface: #ffffff;
  --tts-surface-2: #f2efff;
  --tts-panel: rgba(255, 255, 255, 0.96);
  --tts-text: #0b1330;
  --tts-muted: #2a3352;
  --tts-subtle: #3a4466;
  --tts-line: rgba(91, 63, 209, 0.24);
  --tts-cyan: #0a6fb8;
  --tts-cyan-bright: #075592;
  --tts-violet: #5b3fd1;
  --tts-violet-bright: #4a2fb8;
  --tts-glow: rgba(91, 63, 209, 0.18);
  --cb-grad: linear-gradient(120deg, #0a6fb8 0%, #5b3fd1 100%);
  --cb-grad-hover: linear-gradient(120deg, #0b7cce 0%, #6a4ee6 100%);
  --cb-shadow: 0 14px 40px rgba(76, 52, 180, 0.10);
  --cb-border: rgba(91, 63, 209, 0.18);
  background:
    radial-gradient(70% 45% at 0% 0%, rgba(70, 180, 245, 0.20), transparent 70%),
    radial-gradient(60% 45% at 100% 0%, rgba(124, 77, 255, 0.18), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(70, 180, 245, 0.10), transparent 70%),
    #f8f9ff;
}

/* Navigation and footer */
[data-theme='light'] .cbai.tts-public .tts-site-nav { background: rgba(255, 255, 255, 0.86); border-bottom-color: var(--cb-border); }
[data-theme='light'] .cbai.tts-public .px-nav-link { color: var(--tts-muted); }
[data-theme='light'] .cbai.tts-public .px-nav-link:hover,
[data-theme='light'] .cbai.tts-public .px-nav-link:focus-visible,
[data-theme='light'] .cbai.tts-public .px-nav-link[aria-current='page'],
[data-theme='light'] .cbai.tts-public .cb-menu > summary[data-active='true'] { color: #3d27a6; background: rgba(91, 63, 209, 0.10); }
[data-theme='light'] .cbai.tts-public .cb-menu__panel { border-color: var(--cb-border); box-shadow: 0 24px 60px rgba(76, 52, 180, 0.16); }
[data-theme='light'] .cbai.tts-public .cb-menu__label { color: #5b3fd1; }
[data-theme='light'] .cbai.tts-public .cb-menu__link:hover,
[data-theme='light'] .cbai.tts-public .cb-menu__link:focus-visible,
[data-theme='light'] .cbai.tts-public .cb-menu__link[aria-current='page'] { background: rgba(91, 63, 209, 0.08); }
[data-theme='light'] .cbai.tts-public .cb-brand-mark { color: #ffffff; background: var(--cb-grad); border-color: transparent; }
[data-theme='light'] .cbai.tts-public .tts-site-footer { background: #f3f1ff; border-top: 1px solid var(--cb-border); }
[data-theme='light'] .cbai.tts-public #theme-toggle { border-color: var(--cb-border); color: #3d27a6; background: #ffffff; }

/* Buttons: the brand gradient, white lettering */
[data-theme='light'] .cbai.tts-public .px-cta:not(.tts-btn-secondary) {
  color: #ffffff;
  background: var(--cb-grad);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(91, 63, 209, 0.28);
}
[data-theme='light'] .cbai.tts-public .px-cta:not(.tts-btn-secondary):hover,
[data-theme='light'] .cbai.tts-public .px-cta:not(.tts-btn-secondary):focus-visible { background: var(--cb-grad-hover); }
[data-theme='light'] .cbai.tts-public .px-cta.tts-btn-secondary {
  color: #3d27a6;
  background: #ffffff;
  border-color: rgba(91, 63, 209, 0.45);
  box-shadow: none;
}
[data-theme='light'] .cbai.tts-public .px-cta.tts-btn-secondary:hover { background: #f2efff; border-color: #5b3fd1; }
[data-theme='light'] .cbai.tts-public .px-cta-text { color: #4a2fb8; }

/* Labels */
[data-theme='light'] .cbai.tts-public .tts-kicker,
[data-theme='light'] .cbai.tts-public .cb-value__grid dt,
[data-theme='light'] .cbai.tts-public .cb-start__title,
[data-theme='light'] .cbai.tts-public .cb-card-category,
[data-theme='light'] .cbai.tts-public .cb-project__who,
[data-theme='light'] .cbai.tts-public .cb-calc__plan legend,
[data-theme='light'] .cbai.tts-public .cb-calc__label,
[data-theme='light'] .cbai.tts-public .cb-table thead th { color: #5b3fd1; }

/* Hero panels: white, a brand glow and the brand wave along the bottom */
[data-theme='light'] .cbai.tts-public .tts-home-hero,
[data-theme='light'] .cbai.tts-public .tts-service-hero,
[data-theme='light'] .cbai.tts-public .tts-page-intro--framed {
  background:
    url('/static/img/wave-light.svg') center bottom / 100% var(--cb-wave-h) no-repeat,
    radial-gradient(640px 380px at 100% 0%, rgba(70, 180, 245, 0.18), transparent 70%),
    radial-gradient(560px 380px at 0% 100%, rgba(124, 77, 255, 0.12), transparent 70%),
    #ffffff;
  border: 1px solid var(--cb-border);
  box-shadow: 0 26px 70px rgba(76, 52, 180, 0.14);
}

/* Sections and cards: clean white with a thin brand border */
[data-theme='light'] .cbai.tts-public .tts-section--soft,
[data-theme='light'] .cbai.tts-public .tts-section--alternate {
  background:
    radial-gradient(620px 300px at 6% 0%, rgba(124, 77, 255, 0.10), transparent 72%),
    radial-gradient(620px 300px at 96% 8%, rgba(70, 180, 245, 0.12), transparent 72%),
    #ffffff;
  border: 1px solid var(--cb-border);
  box-shadow: var(--cb-shadow);
}
[data-theme='light'] .cbai.tts-public .px-card,
[data-theme='light'] .cbai.tts-public .tts-feature-card,
[data-theme='light'] .cbai.tts-public .tts-detail-list li,
[data-theme='light'] .cbai.tts-public .tts-process-grid article,
[data-theme='light'] .cbai.tts-public .services-faq__item,
[data-theme='light'] .cbai.tts-public .cb-facts li,
[data-theme='light'] .cbai.tts-public .cb-start__link,
[data-theme='light'] .cbai.tts-public .cb-chart,
[data-theme='light'] .cbai.tts-public .tts-contact-form-shell,
[data-theme='light'] .cbai.tts-public .tts-contact-options,
[data-theme='light'] .cbai.tts-public .cb-book-calendar {
  background: #ffffff;
  border-color: var(--cb-border);
  box-shadow: var(--cb-shadow);
}
[data-theme='light'] .cbai.tts-public .tts-feature-card--violet { background: linear-gradient(150deg, #ffffff 0%, #f3efff 100%); }
[data-theme='light'] .cbai.tts-public .cb-start__link:hover,
[data-theme='light'] .cbai.tts-public .cb-start__link:focus-visible,
[data-theme='light'] .cbai.tts-public .services-faq__item[open] { border-color: #5b3fd1; }
[data-theme='light'] .cbai.tts-public .cb-plan--best { border-color: #5b3fd1; box-shadow: 0 18px 50px rgba(91, 63, 209, 0.22); }
[data-theme='light'] .cbai.tts-public .cb-table__win th,
[data-theme='light'] .cbai.tts-public .cb-table__win td { background: rgba(91, 63, 209, 0.07); }
[data-theme='light'] .cbai.tts-public .cb-calc__form input { accent-color: #5b3fd1; }

/* The call-to-action band: the full brand gradient, white text */
[data-theme='light'] .cbai.tts-public .tts-final-cta {
  background:
    url('/static/img/wave-band.svg') center bottom / 100% var(--cb-wave-h) no-repeat,
    var(--cb-grad);
  box-shadow: 0 26px 70px rgba(76, 52, 180, 0.30);
}
[data-theme='light'] .cbai.tts-public .tts-final-cta h2,
[data-theme='light'] .cbai.tts-public .tts-final-cta p,
[data-theme='light'] .cbai.tts-public .tts-final-cta .tts-kicker,
[data-theme='light'] .cbai.tts-public .tts-final-cta .cb-fine,
[data-theme='light'] .cbai.tts-public .tts-final-cta .offer-cta__terms,
[data-theme='light'] .cbai.tts-public .tts-final-cta a:not(.px-cta) { color: #ffffff; }
[data-theme='light'] .cbai.tts-public .tts-final-cta a:not(.px-cta) { text-decoration: underline; }
[data-theme='light'] .cbai.tts-public .tts-final-cta .px-cta:not(.tts-btn-secondary) { color: #3d27a6; background: #ffffff; box-shadow: 0 10px 26px rgba(11, 19, 48, 0.25); }
[data-theme='light'] .cbai.tts-public .tts-final-cta .px-cta:not(.tts-btn-secondary):hover { background: #f2efff; }
[data-theme='light'] .cbai.tts-public .tts-final-cta .px-cta.tts-btn-secondary { color: #ffffff; background: transparent; border-color: rgba(255, 255, 255, 0.75); }
[data-theme='light'] .cbai.tts-public .tts-final-cta .px-cta.tts-btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

/* Brand waves (David, 2026-10-28: "maybe like a gradient wave pattern ... clean and simple", in place of the
   grid on the hero panels and the call-to-action band). One wave shape in three tones: wave-light.svg and
   wave-dark.svg on the hero panels, wave-band.svg on the light-mode band. It rises left to right and stays
   clear on the left, where the headline sits. Dark mode keeps its own glows and gains the dark wave. */
.cbai { --cb-wave-h: 190px; }
.cbai.tts-public .tts-home-hero {
  background:
    url('/static/img/wave-dark.svg') center bottom / 100% var(--cb-wave-h) no-repeat,
    radial-gradient(760px 520px at 88% 8%, rgba(43, 155, 230, 0.16), transparent 68%),
    radial-gradient(560px 460px at 0% 100%, rgba(124, 108, 240, 0.12), transparent 70%),
    rgba(5, 7, 12, 0.72);
}
.cbai.tts-public .tts-service-hero,
.cbai.tts-public .tts-page-intro--framed {
  background:
    url('/static/img/wave-dark.svg') center bottom / 100% var(--cb-wave-h) no-repeat,
    radial-gradient(700px 380px at 88% 0%, rgba(43, 155, 230, 0.18), transparent 72%),
    radial-gradient(520px 340px at 0% 100%, rgba(141, 124, 244, 0.13), transparent 72%),
    rgba(16, 19, 28, 0.58);
}
.cbai.tts-public .tts-final-cta {
  background:
    url('/static/img/wave-dark.svg') center bottom / 100% var(--cb-wave-h) no-repeat,
    radial-gradient(650px 320px at 50% 0%, rgba(43, 155, 230, 0.2), transparent 74%),
    var(--tts-bg-deep);
}
@media (max-width: 760px) {
  .cbai { --cb-wave-h: 96px; }
}

/* CAM top section (2026-10-28): the offer on the left, the two clone videos on the right. */
.cbai .cb-cam-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  text-align: left;
}
.cbai .cb-cam-hero h1,
.cbai .cb-cam-hero .tts-hero-lead { margin-left: 0; margin-right: 0; }
.cbai .cb-hero-videos { display: grid; grid-template-columns: repeat(2, 212px); gap: 16px; }
.cbai .cb-hero-videos .cb-video figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; }
.cbai .cb-hero-videos .cb-video figcaption strong { font-size: 15px; }
@media (max-width: 1040px) {
  .cbai .cb-cam-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; text-align: center; }
  .cbai .cb-cam-hero h1,
  .cbai .cb-cam-hero .tts-hero-lead { margin-left: auto; margin-right: auto; }
  .cbai .cb-cam-hero .tts-hero-actions { justify-content: center; }
  .cbai .cb-hero-videos { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; }
}
@media (max-width: 760px) {
  .cbai .cb-hero-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* Spacing and wrapping touch-ups (2026-10-28). The fine print in the band gets air under the buttons; short
   paragraphs never end on one stranded word. */
.cbai .tts-final-cta .cb-fine { margin-top: 24px; }
/* Service tops: the button row carries the space above it, so stacked buttons sit 12px apart, not 40. */
.cbai .tts-service-hero .tts-hero-actions .px-cta { margin-top: 0; }
.cbai h1,
.cbai h2 { text-wrap: balance; }
.cbai .tts-section-heading p,
.cbai .cb-calc p,
.cbai .cb-fine,
.cbai .tts-hero-lead { text-wrap: pretty; }
/* Phones: the top bar scrolls away there, so the light and dark switch scrolls with it instead of floating over
   the page (David's rule: nothing floating or overlapping). */
@media (max-width: 760px) {
  .cbai #theme-toggle { position: absolute; }
}

/* CAM videos: portrait, with a short caption. */
.cbai .cb-video { margin: 0; }
.cbai .cb-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--tts-line);
  border-radius: var(--tts-radius-lg);
  background: #000000;
}
.cbai .cb-video figcaption { margin-top: 10px; color: var(--tts-muted); font-size: 15px; line-height: 1.5; }
.cbai .cb-video figcaption strong { display: block; color: var(--tts-text); font-size: 17px; }

/* Links inside sentences are underlined, so they never depend on color alone (axe link-in-text-block). */
.cbai p a:not(.px-cta):not(.px-cta-text),
.cbai .offer-cta__terms a,
.cbai .tts-form-privacy a { text-decoration: underline; text-underline-offset: 2px; }

/* Simpler CAM page (2026-10-27): the platform walkthrough, the plans with what is included. */
.cbai .cb-demo__video { max-width: 980px; margin: 0 auto; }
.cbai .cb-demo__video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 662;
  border: 1px solid var(--tts-line);
  border-radius: var(--tts-radius-lg);
  background: #000000;
}
.cbai .cb-demo__video figcaption { margin-top: 10px; color: var(--tts-muted); font-size: 14px; text-align: center; }
.cbai .cb-cam .cb-value .cb-chart { max-width: 980px; margin: 26px auto 0; }
.cbai .cb-cam .cb-value .cb-fine { text-align: center; }
.cbai .cb-plans__more { max-width: 980px; margin: 26px auto 0; }
.cbai .cb-plans__more h3 { margin: 0 0 12px; font-size: 22px; text-align: center; }
.cbai .cb-plans__costs { margin: 14px 0 0; color: var(--tts-muted); text-align: center; }

/* Fewer pages (2026-10-28): the offer row on the website and CRM pages, plan lists on the training page,
   the engagement funnel on the CAM page and the wide CRM demonstration. Spacing steps: 4, 8, 12, 16, 24. */
.cbai .cb-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.cbai .cb-offer__list { max-width: none; margin: 0; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.cbai .cb-offer__start { position: sticky; top: 96px; }
.cbai .cb-plan__list { display: grid; gap: 8px; margin: 4px 0; padding: 0 0 0 20px; color: var(--tts-text); font-size: 17px; line-height: 1.5; }
.cbai .cb-plan__list li::marker { color: var(--tts-cyan-bright); }
.cbai .cb-training .cb-plans__grid { grid-template-columns: repeat(2, minmax(0, 420px)); }
.cbai .cb-demo__video--wide video { aspect-ratio: 16 / 9; }

.cbai .cb-funnel__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.cbai .cb-funnel__step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--tts-line);
  border-radius: var(--tts-radius-md);
  background: color-mix(in srgb, var(--tts-surface) 88%, transparent);
}
.cbai .cb-funnel__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--tts-cyan), var(--tts-violet));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
}
.cbai .cb-funnel__step h3 { margin: 12px 0 4px; font-size: 22px; }
.cbai .cb-funnel__step p { margin: 0; color: var(--tts-muted); font-size: 17px; line-height: 1.55; }
/* The line that joins one step to the next. */
.cbai .cb-funnel__step + .cb-funnel__step::before {
  content: '';
  position: absolute;
  top: 40px;
  left: -17px;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--tts-cyan), var(--tts-violet));
}
[data-theme='light'] .cbai.tts-public .cb-funnel__step { background: #ffffff; border-color: var(--cb-border); box-shadow: var(--cb-shadow); }

@media (max-width: 900px) {
  .cbai .cb-offer { grid-template-columns: minmax(0, 1fr); }
  .cbai .cb-offer__start { position: static; }
}
@media (max-width: 760px) {
  .cbai .cb-training .cb-plans__grid,
  .cbai .cb-funnel__steps { grid-template-columns: minmax(0, 1fr); }
  .cbai .cb-funnel__step + .cb-funnel__step::before { top: -17px; left: 39px; width: 2px; height: 16px; background: linear-gradient(180deg, var(--tts-cyan), var(--tts-violet)); }
}
.cbai .cb-plan__list { list-style: disc; }

/* Machine-translation note above the page, shown only while the access panel has a language other than English. */
.cbai .cb-translation-notice { margin: 0; padding: 10px 20px; border-bottom: 1px solid var(--tts-line); background: var(--tts-surface); color: var(--tts-text); font-size: 14px; line-height: 1.5; text-align: center; }
.cbai .cb-translation-notice[hidden] { display: none; }
/* The access panel's button sits at the bottom left of every page; on phones the footer gets room under its last
   line so the button never covers it. */
@media (max-width: 760px) {
  .cbai .tts-site-footer { padding-bottom: 88px; }
}

/* DIY Content Automation System buyer page (2026-10-29): three steps, the walkthrough, then help. */
.cbai .cb-kit-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cbai .cb-kit-steps li { padding: 22px; }
.cbai .cb-kit-steps h3 { margin: 0 0 6px; font-size: 20px; }
.cbai .cb-kit-steps p { margin: 0; color: var(--tts-muted); }
.cbai .cb-kit-video { max-width: 1000px; margin: 0 auto; }
.cbai .cb-kit-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #12102a; }
.cbai .cb-kit-center { text-align: center; margin: 20px 0 0; }
.cbai .cb-kit-help { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cbai .cb-kit-help .px-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cbai .cb-kit-help p { margin: 0; }
@media (max-width: 760px) {
  .cbai .cb-kit-steps, .cbai .cb-kit-help { grid-template-columns: 1fr; }
}
.cbai .cb-kit .tts-page-intro__copy .tts-hero-actions { justify-content: center; }
.cbai .cb-kit .cb-kit-key { color: var(--tts-muted); font-size: 15px; }
.cbai .cb-kit-email { max-width: 560px; margin: 26px auto 0; text-align: left; }
.cbai .cb-kit-email label { display: block; font-weight: 600; margin-bottom: 8px; }
.cbai .cb-kit-email__row { display: flex; gap: 10px; flex-wrap: wrap; }
.cbai .cb-kit-email__row input { flex: 1 1 260px; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--tts-line); background: var(--tts-surface); color: var(--tts-text); font: inherit; }
.cbai .cb-kit-email__row .px-cta { margin-top: 0; }
.cbai .cb-kit-email__note { margin: 10px 0 0; color: var(--tts-text); font-weight: 600; }
.cbai .cb-kit-buy { margin: 18px 0 0; color: var(--tts-muted); }
.cbai .cb-kit .cb-kit-email { margin-bottom: 30px; }

/* === One-page site (David, 2026-10-29): every page about one printed page long, one clear button. ============== */
.cbai .cb-one { max-width: 1120px; margin: 0 auto; padding: 28px 24px 40px; }
.cbai .cb-one__head { max-width: 780px; margin: 0 auto 22px; text-align: center; }
.cbai .cb-one__head h1 { margin: 6px 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.cbai .cb-one__lead { margin: 0 auto; max-width: 680px; color: var(--tts-muted); font-size: 18px; }
.cbai .cb-one__action { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cbai .cb-one__head .cb-one__action, .cbai .cb-one__action--center { justify-content: center; }
.cbai .cb-one__action .px-cta { margin-top: 0; }
.cbai .cb-one__alt { color: var(--tts-muted); font-size: 15px; }
.cbai .cb-one__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px; align-items: center; }
.cbai .cb-one__title { margin: 0 0 12px; font-size: 26px; line-height: 1.2; }
.cbai .cb-one__stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cbai .cb-one__stack li { position: relative; padding-left: 30px; line-height: 1.45; }
.cbai .cb-one__stack li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--tts-cyan); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9-1.4-1.4z'/%3E%3C/svg%3E") center / 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9-1.4-1.4z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.cbai .cb-one__stack--links a { font-weight: 600; }
.cbai .cb-one__price { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid var(--tts-cyan); background: var(--tts-surface); border-radius: 0 10px 10px 0; color: var(--tts-text); font-size: 15px; }
.cbai .cb-one__media { margin: 0; }
.cbai .cb-one__media img, .cbai .cb-one__media video { display: block; width: 100%; height: auto; border-radius: var(--tts-radius-lg); border: 1px solid var(--tts-line); }
.cbai .cb-one__media--tall video { max-height: 460px; width: auto; max-width: 100%; margin: 0 auto; aspect-ratio: 9 / 16; }
.cbai .cb-one__media figcaption { margin-top: 8px; color: var(--tts-muted); font-size: 14px; text-align: center; }
.cbai .cb-one__more { margin: 18px 0 0; border: 1px solid var(--tts-line); border-radius: var(--tts-radius-md); padding: 0 16px; background: var(--tts-surface); }
.cbai .cb-one__more > summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.cbai .cb-one__more[open] { padding-bottom: 16px; }
.cbai .cb-one__faq { max-width: 780px; margin: 26px auto 0; }
.cbai .cb-one__faq-title { font-size: 18px; margin: 0 0 8px; }
.cbai .cb-one__faq .faq-item { border-top: 1px solid var(--tts-line); }
.cbai .cb-one__faq .faq-item summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.cbai .cb-one__faq .faq-a { padding: 0 0 12px; color: var(--tts-muted); }

/* The two paths */
.cbai .cb-paths__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin: 0 auto 22px; }
.cbai .cb-paths__tab { display: grid; gap: 2px; padding: 14px 16px; border: 2px solid var(--tts-line); border-radius: var(--tts-radius-md); background: var(--tts-surface);
  color: var(--tts-text); text-decoration: none; text-align: center; }
.cbai .cb-paths__tab strong { font-size: 18px; }
.cbai .cb-paths__tab span { color: var(--tts-muted); font-size: 14px; }
.cbai .cb-paths__tab[aria-selected="true"] { border-color: var(--tts-cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tts-cyan) 25%, transparent); }
.cbai .cb-paths__tab:hover { border-color: var(--tts-cyan); }
.cbai .cb-paths__panel + .cb-paths__panel { margin-top: 28px; }
.cbai .cb-paths.is-ready .cb-paths__panel + .cb-paths__panel { margin-top: 0; }
.cbai .cb-paths__panel:focus { outline: none; }

/* The offer library */
.cbai .cb-lib { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cbai .cb-lib__card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; color: var(--tts-text); text-decoration: none; }
.cbai .cb-lib__card:hover { border-color: var(--tts-cyan); }
.cbai .cb-lib__thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cbai .cb-lib__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.cbai .cb-lib__title { font-size: 17px; }
.cbai .cb-lib__line { color: var(--tts-muted); font-size: 14px; line-height: 1.4; }
.cbai .cb-lib__price { font-weight: 600; font-size: 14px; margin-top: 2px; }
.cbai .cb-lib__go { margin-top: auto; padding-top: 6px; color: var(--tts-cyan-bright); font-weight: 600; font-size: 14px; }
.cbai .services-partner-note { text-align: center; margin-top: 14px; }

/* Lead forms */
.cbai .cb-lead { display: grid; gap: 10px; padding: 18px; }
.cbai .cb-lead__row { display: grid; gap: 4px; }
.cbai .cb-lead__row label { font-weight: 600; font-size: 15px; }
.cbai .cb-lead__opt { font-weight: 400; color: var(--tts-muted); }
.cbai .cb-lead input { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--tts-line); background: var(--tts-bg); color: var(--tts-text); font: inherit; }
.cbai .cb-lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cbai .cb-lead__consent { margin: 2px 0 0; color: var(--tts-muted); font-size: 12.5px; line-height: 1.45; }
.cbai .cb-lead__error { margin: 0; font-weight: 600; color: var(--tts-text); }
.cbai .cb-lead .px-cta { margin-top: 4px; justify-self: start; }

/* Roadmap gate and levels */
.cbai .rm-gate { align-items: start; }
.cbai .rm-gate__n { color: var(--tts-muted); font-size: 14px; }
.cbai .rm-steps { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.cbai .rm-steps .rm-level { padding: 0 18px; }
.cbai .rm-steps .rm-level > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; list-style: none; }
.cbai .rm-steps .rm-level > summary::-webkit-details-marker { display: none; }
.cbai .rm-steps .rm-level > summary h2 { margin: 0; font-size: 19px; }
.cbai .rm-steps .rm-level[open] { padding-bottom: 16px; }
.cbai .rm-page .rm-progress { max-width: 520px; margin: 14px auto 0; }

@media (max-width: 900px) {
  .cbai .cb-one__grid { grid-template-columns: 1fr; }
  .cbai .cb-lib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .cbai .cb-one { padding: 18px 14px 30px; }
  .cbai .cb-lib { grid-template-columns: 1fr; }
  .cbai .cb-paths__tab strong { font-size: 16px; }
}
.cbai .cb-one__more .cb-examples { padding: 4px 0 0; }
.cbai .cb-examples__head h2 { font-size: 22px; margin: 0 0 4px; }
.cbai .cb-examples__head p { margin: 0 0 12px; color: var(--tts-muted); }
.cbai .cb-lib__thumb { object-position: center 22%; }
.cbai .cb-one__media--tall img { max-height: 460px; width: auto; max-width: 100%; margin: 0 auto; aspect-ratio: 9 / 16; object-fit: cover; }
/* Phones: the library stays two across so it fits about one screen-and-a-half (David, 2026-10-29: one page length). */
@media (max-width: 520px) {
  .cbai .cb-lib { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cbai .cb-lib__body { padding: 8px 10px 10px; gap: 2px; }
  .cbai .cb-lib__title { font-size: 15px; line-height: 1.25; }
  .cbai .cb-lib__line { display: none; }
  .cbai .cb-lib__price, .cbai .cb-lib__go { font-size: 13px; }
  .cbai .cb-one__head h1 { font-size: 30px; }
  .cbai .cb-one__lead { font-size: 16px; }
}
