/* Custom-Built Systems page (30 Sep 2026, Kristian): same framework as Training.
   The page loads pages-training.css for the shared blocks; this file only holds
   the hero visual's drawing. The card frame reuses the Training .trm classes. */
.cbm-doc { fill: #232A31; stroke: #AFC4DD; stroke-width: 1.5; }
.cbm-doc--back { stroke: rgba(175, 196, 221, 0.45); }
.cbm-line { stroke: #AFC4DD; stroke-width: 1.5; stroke-linecap: round; opacity: 0.7; }
.cbm-arrow { fill: none; stroke: #AFC4DD; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 5; }
.cbm-head { fill: none; stroke: #AFC4DD; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cbm-box { fill: rgba(175, 196, 221, 0.12); stroke: #AFC4DD; stroke-width: 1.5; }
.cbm-loop { fill: none; stroke: #AFC4DD; stroke-width: 2.5; stroke-linecap: round; }
.cbm-p circle, .cbm-p path { fill: #AFC4DD; }
.cbm-badge circle { fill: #FAFAF8; }
.cbm-badge path { fill: none; stroke: #1B3A5B; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cbm-track { fill: rgba(250, 250, 248, 0.1); }
.cbm-fill { fill: #AFC4DD; transform-box: fill-box; transform-origin: left center; transition: transform 900ms cubic-bezier(0.23, 1, 0.32, 1), fill 600ms ease; }
.cbm-flow, .cbm-sys, .cbm-badge, .cbm-num { transition: opacity 500ms cubic-bezier(0.23, 1, 0.32, 1); }
.cbm-spin { transform-box: fill-box; transform-origin: center; }
/* step 1: done by hand, full bar, the system not there yet */
.trm[data-step="1"] .cbm-flow, .trm[data-step="1"] .cbm-sys { opacity: 0.15; }
.trm[data-step="1"] .cbm-fill { fill: #586069; }
.trm:not([data-step="1"]) .cbm-fill { transform: scaleX(0.25); }
.trm[data-step="1"] .cbm-num--after, .trm:not([data-step="1"]) .cbm-num--before { opacity: 0; }
/* step 2: the system runs; step 3: the person signs it off */
.trm:not([data-step="1"]) .cbm-arrow { animation: cbm-dash 1.2s linear infinite; }
.trm:not([data-step="1"]) .cbm-spin { animation: cbm-turn 6s linear infinite; }
.trm:not([data-step="3"]) .cbm-badge { opacity: 0; }
@keyframes cbm-dash { to { stroke-dashoffset: -20; } }
@keyframes cbm-turn { to { transform: rotate(360deg); } }
.trm.is-done .cbm-arrow, .trm.is-done .cbm-spin { animation: none; }
@media (prefers-reduced-motion: reduce) { .cbm-arrow, .cbm-spin { animation: none !important; } .cbm-fill, .cbm-flow, .cbm-sys, .cbm-badge, .cbm-num { transition: none !important; } }
/* Words, not a figure, in the closing price and the package prices. */
.cb-page .tr-final__price { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.cb-page .tr-offer__price { font-size: clamp(26px, 2.4vw, 34px); }

/* Breathing room (Kristian, 30 Sep 2026): the illustrative note is gone, so the
   card gets more padding, more space between drawing, bar and caption, and a
   larger bar label. */
.cb-page .trm.cbm { padding: 34px 30px 26px; }
.cb-page .cbm .trm__svg { margin-top: 26px; }
.cb-page .cbm .trm__barlabel { font-size: 15px; }
.cb-page .cbm .trm__cap { margin-top: 22px; font-size: 22px; line-height: 1.3; }
.cb-page .cbm .trm__foot { margin-top: 18px; }
/* The price note's link to the AI Systems Finder, on the dark calculator band (study-first sweep, 22 Oct 2026). */
.ppc__small a { color: #FAFAF8; text-decoration: underline; text-decoration-color: #AFC4DD; text-underline-offset: 3px; }

/* Three types of build as cards that step up in size; the price is small print at the foot (Kristian, 20 Nov 2026). */
html body :is(main#main, main) .cbt .cbt__lead { max-width: 640px; margin-bottom: 40px; }
html body :is(main#main, main) .cbt .cbt__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: end; margin: 0; padding: 0; list-style: none; }
html body :is(main#main, main) .cbt .cbt__card { display: flex; flex-direction: column; margin: 0; padding: 32px 28px 26px; background: #232A31; border-radius: 16px; color: #FAFAF8; }
html body :is(main#main, main) .cbt .cbt__card::before { content: none; }
html body :is(main#main, main) .cbt .cbt__card--1 { min-height: 400px; }
html body :is(main#main, main) .cbt .cbt__card--2 { min-height: 450px; }
html body :is(main#main, main) .cbt .cbt__card--3 { min-height: 500px; }
.cbt__blocks { display: block; margin-bottom: 28px; }
.cbt__blocks .on { fill: #AFC4DD; }
.cbt__blocks .off { fill: rgba(250, 250, 248, 0.16); }
html body :is(main#main, main) .cbt .cbt__name { margin: 0 0 12px; font: 500 28px/1.15 'Fraunces', Georgia, serif !important; color: #FAFAF8 !important; }
html body :is(main#main, main) .cbt .cbt__body { margin: 0 0 20px; font-size: 17px !important; line-height: 1.5; color: #FAFAF8 !important; }
html body :is(main#main, main) .cbt .cbt__eg { margin: 0 0 24px; font-size: 16px !important; line-height: 1.45; color: #FAFAF8 !important; }
.cbt__eg-l { display: block; margin-bottom: 6px; font: 500 11px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: 0.2em; text-transform: uppercase; color: #AFC4DD; }
html body :is(main#main, main) .cbt .cbt__price { margin: auto 0 0; padding-top: 16px; border-top: 1px solid rgba(250, 250, 248, 0.16); font: 600 15px/1.3 'Source Sans 3', system-ui, sans-serif !important; color: #FAFAF8 !important; }
html body :is(main#main, main) .cbt .cbt__close { margin: 32px 0 0; font-size: 17px; }
html body :is(main#main, main) .cbt .cbt__close a { font-weight: 600; color: #1B3A5B; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { html body :is(main#main, main) .cbt .cbt__grid { grid-template-columns: minmax(0, 1fr); } html body :is(main#main, main) .cbt .cbt__card { min-height: 0; } }
