/* Shared pieces for the public pages rebuilt on the funnel design (owner, 2026-11-28). Loads after funnel/funnel.css. */
.cp-jobs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.cp-jobs .fx-card { gap: 12px; text-align: left; padding: 28px 26px; }
.cp-jobs .fx-card small { font: 400 12px/1.5 var(--ds-mono); letter-spacing: .04em; color: var(--ds-ink-muted); }
.cp-sym { font-size: 28px; line-height: 1; color: var(--ds-primary); }
.fx-ink .cp-wall { width: min(100%, 680px); height: auto; border-radius: 16px; align-self: center; }
.cp-chat { display: flex; flex-direction: column; gap: 14px; text-align: left; background: var(--ds-background); border-radius: 18px; padding: 22px; }
.cp-chat p { margin: 0; }
.cp-who { font: 500 12px/1.3 var(--ds-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-ink-muted); }
.cp-bubble { background: var(--ds-surface); border: 2px solid var(--ds-ink); border-radius: 16px; padding: 14px 16px; }
.cp-flag { display: inline-block; font: 700 12px/1 var(--ds-mono); letter-spacing: .08em; background: var(--ds-primary); color: #fff; padding: 5px 8px; border-radius: 6px; margin-right: 6px; }
.cp-rewrite { font-weight: 700; font-size: 20px; }
.cp-small { font-size: var(--ds-small); color: var(--ds-ink-muted); }
.cp-rate li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.fx-logo { text-decoration: none; color: inherit; }
.fx a.btn.ist-btn--primary, .fx button.btn.ist-btn--primary { color: #fff; text-decoration: none; }
.cp-rate li b { font-family: var(--ds-mono); font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.cp-price { font: 800 56px/1 var(--ds-body); color: var(--ds-success-text, #14514c); }
.cp-offer .fx-checks li, .cp-hero-list li { text-align: left; }
.cp-offer { text-align: left; align-items: stretch; }
.cp-offer h2, .cp-offer .cp-ladder, .cp-offer .fx-cta { text-align: center; align-self: center; }
.cp-offer .fx-checks { flex-direction: column; align-items: flex-start; }
.cp-who-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); text-align: left; }
.cp-who-grid .fx-card { gap: 14px; padding: 30px 28px; }
.cp-who-grid h3 { margin: 0; }
.cp-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); text-align: left; }
.cp-steps li { counter-increment: s; display: flex; flex-direction: column; gap: 10px; }
.cp-steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ds-primary); color: #fff; font-weight: 800; border: 2px solid var(--ds-ink); }
.cp-steps li:nth-child(2)::before { background: var(--ds-accent); }
.cp-steps li:nth-child(3)::before { background: var(--ds-highlight); color: var(--ds-ink); }
.cp-steps li:nth-child(4)::before { background: var(--ds-success); }
.cp-steps p { margin: 0; }
.cp-table-card { text-align: left; }
.fx .ist-hv-optin { background: none; }
.cp-note { font-size: 12px; line-height: 1.6; color: var(--ds-ink-muted); max-width: 86ch; align-self: center; text-align: left; }
.fx-foot .cp-packs { gap: 18px; font-size: 14px; }

/* Home page */
/* Home hero (Design Arsenal layout, 2026-11-29): the painted scene in a hand-drawn frame, the pick-a-job card beside it */
.hm-scene { position: relative; margin: 0; padding: 40px; }
/* the reference's spacing: frame clear of the edge, picture clear of the frame, about 3% of the width each (owner, 2026-11-29) */
@media (max-width: 47.9rem) { .hm-scene { padding: 24px; } .hm-scene .fx-sc-frame { inset: 8px !important; width: calc(100% - 16px) !important; height: calc(100% - 16px) !important; } }
.hm-scene img, .hm-scene video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: #3f7fd6 url(/funnel/img/hero.webp) center / cover; }
.hm-scene .fx-sc-frame { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); pointer-events: none; }
.hm-hero .fx-hero > .fx-center > h2 { margin-top: 12px; }
.hm-hero .fx-hero > .fx-center > h3 { margin: 8px 0 0; }
@media (min-width: 64rem) { .hm-hero .hm-hero-btn { display: none; } .hm-hero aside { position: sticky; top: 24px; } }
.hm-router { list-style: none; padding: 0; margin: 0; text-align: left; }
.hm-router a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 11px 2px; border-top: 1px solid var(--ds-line); color: inherit; text-decoration: none; }
.hm-router li:first-child a { border-top: 0; }
.hm-router a:hover b, .hm-router a:focus-visible b { color: var(--ds-primary); }
.hm-router b { font-size: 17px; line-height: 1.25; }
.hm-router small { grid-column: 1; font-size: 14px; line-height: 1.4; color: var(--ds-ink-muted); }
.hm-router span { grid-column: 2; grid-row: 1; font: 800 18px/1.25 var(--ds-display); color: var(--ds-success); }
.hm-pick-all { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; padding-top: 18px; border-top: 2px dashed var(--ds-line); text-align: center; }
.hm-pick-all .fx-regular { font-size: 20px; margin: 0; }
.hm-pick-all .fx-regular s { color: var(--ds-ink-muted); font-weight: 600; }
.fx .hm-pick-all a.fx-btn { font-size: 21px; }
/* problem cards: each ends on its skill pack's own button */
.fx .hm-story .fx-fix .hm-see { align-self: center; min-height: 0; padding: 14px 22px 15px; font-size: 17px; border-radius: var(--ds-r-sm); box-shadow: 0 4px 0 var(--ds-primary-deep); margin: 4px 0 6px; }
.hm-why { counter-reset: w; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); text-align: left; }
.hm-why li { counter-increment: w; display: flex; flex-direction: column; gap: 10px; }
.hm-why li::before { content: counter(w); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ds-primary); color: #fff; font-weight: 800; border: 2px solid var(--ds-ink); }
.hm-why li:nth-child(2)::before { background: var(--ds-accent); }
.hm-why li:nth-child(3)::before { background: var(--ds-highlight); color: var(--ds-ink); }
.hm-why li:nth-child(4)::before { background: var(--ds-success); }
.hm-why h3, .hm-why p { margin: 0; }
.fx .ist-stack-panel { text-align: left; }
.fx-chips .chip { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; white-space: normal; box-shadow: none; }
.fx .ist-stack-panel h3 { color: #fbf6ea; }
/* only the first fine line under a button is the button's tail; any after it is plain text */
.fx-cta > .fx-fine ~ .fx-fine { background: none; box-shadow: none; padding: 0; margin: 0 0 6px; color: inherit; }
.fx .fx-cta-band .fx-cta > .fx-fine ~ .fx-fine { background: none; box-shadow: none; color: var(--ds-surface); }
.cp-files li { text-align: left; }
.fx-cta-band .fx-tiles a { color: inherit; }
.cp-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ds-primary); text-decoration: underline; cursor: pointer; }
.cp-on-ink .fx-card { color: var(--ds-ink); }
.cp-on-ink .fx-card h3 { color: var(--ds-ink); }
.fx .ist-sm2-band summary, .fx .ist-sm2-band summary > span:first-child, .fx .ist-sm2-band .ist-sm3-more-list li { color: #f7efdd; }

/* Spacing fixes (owner, 2026-11-28) */
.fx .cp-wall { display: block; margin-inline: auto; }
/* a receipt total with no price in it gets the full width, not the narrow label column */
.fx .fx-ticket .fx-total:not(:has(*)) { padding-right: 0; }
/* the numbered steps card: room around the edge, two columns when there's space, headings at card size */
.fx .fx-rows:has(> .hm-why, > .cp-steps) { width: min(100%, 960px); padding: clamp(24px, 4vw, 40px); }
.fx .fx-rows > :is(.hm-why, .cp-steps) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 32px 44px; }
.fx .fx-rows > :is(.hm-why, .cp-steps) h3 { font-size: 24px; line-height: 1.2; }
/* the Hook Vault form sits in a centered band; its small print lines up with the rest of the form */
.fx .ist-hv-optin .ist-hv-step { text-align: left; }
.fx .ist-hv-optin-small { margin-top: 12px; }
/* a buy button with no fine print under it is a whole button, not the top half of one */
.fx .fx-cta > a.fx-btn:not(:has(+ .fx-fine)) { border-radius: var(--ds-r-sm); padding-bottom: 18px; box-shadow: 0 4px 0 var(--ds-primary-deep); margin-bottom: 6px; }
.fx .fx-cta-band .fx-cta > a.fx-btn:not(:has(+ .fx-fine)) { box-shadow: 0 4px 0 rgba(11, 26, 58, .35); }
/* underlined text reads as a link; the key line is bold, not underlined */
.fx .fx-key { text-decoration: none; }
/* on phones the chips stack one per row; two to a row squeezed them into 4 and 5 line columns */
@media (max-width: 47.9rem) { .fx .fx-chips { grid-template-columns: 1fr; gap: 8px; } }
/* text under the button's bottom half is ordinary text, not capitals */
.fx-cta > .fx-fine ~ .fx-fine { text-transform: none; letter-spacing: 0; font-size: 15px; max-width: 34em; }
/* links on the colored closing band stay readable */
.fx .fx-cta-band a:not(.fx-btn) { color: var(--ds-surface); }
/* the numbered note cards: one per row on phones */
@media (max-width: 39.9rem) { .fx .fx-tiles { grid-template-columns: 1fr; } }
/* receipt values: short ones sit on the right, long ones wrap as normal left-aligned text */
.fx .cp-rate li b { text-align: left; margin-left: auto; }
/* lead-form buttons keep their arrow on the same line as the words */
.fx .ist-lm-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.fx .ist-lm-submit .ist-cta-arrow { flex: none; }
/* the old dark bands kept on /search, /cro and /email: their quote headline was dark on dark */
.fx .ist-band--ink .ist-band-quote, .fx .ist-band--ink .ist-band-quote em { color: var(--ds-surface); }
.fx .ist-band--ink .ist-band-quote em { color: var(--ds-highlight); }
/* a toggle that draws its own chevron gets no extra plus sign */
.fx summary:has(> .ist-sm3-chev)::after { content: none; }
/* linked words inside the light note cards on a colored band keep the card's ink, not the band's white */
.fx .fx-cta-band .fx-tiles a { color: var(--ds-accent-text, var(--ds-ink)); }
/* the free lead sections (market read, send check): a wider row on desktop, with the words given the room */
@media (min-width: 64rem) {
  .fx .fx-wrap:has(> .ist-lead-bridge-inner) { max-width: 1040px; width: 100%; }
  .fx .ist-lead-bridge-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
}
/* /search "what about AI search" cards: card-sized questions and a centered heading, like the rest of the page */
.fx .ist-sm3-ai h3 { font-size: 21px; line-height: 1.25; }
.fx .ist-sm3-ai #ai-h, .fx .ist-sm3-ai .ist-sm3-ai-intro { text-align: center; margin-inline: auto; }
.fx .ist-sm3-ai #ai-h { margin-bottom: 14px; } .fx .ist-sm3-ai .ist-sm3-ai-intro { margin-bottom: 22px; } /* the .fx h2 reset had wiped these gaps (owner, 2026-11-29) */
/* Home Complete Stack panel: the 720px column squeezed each job description to a word or two per line, so on desktop
   the panel alone breaks out to the width the roster was designed for (owner review, 2026-11-28). */
@media (min-width: 901px) { .fx .fx-wrap > .ist-stack-panel { width: min(1040px, 100vw - 48px); align-self: center; } }
/* (2026-11-29) The odd-count rules for the old .hm-packs grid and two-column .hm-router went with that layout. */
/* Home (Design Arsenal rebuild, 2026-11-29) */
.hm-hero .hm-hero-chips { display: flex; flex-wrap: wrap; justify-content: center; }
@media (min-width: 48rem) { .fx .hm-story .fx-fix .hm-see { width: fit-content; padding-inline: 40px; } }
.hm-way .fx-vs .fx-card, .hm-way .fx-question q { text-wrap: balance; }
#machines-h { text-wrap: balance; }
.fx .hm-hero .hm-hero-chips > li:last-child { grid-column: auto; width: auto; }
.hm-hero .fx-hero h2 .fx-mark { white-space: nowrap; }
