/* Homepage (CRO) look for the older marketing pages (agencies, about, ...), on top of about.css.
   Loaded after the page's own CSS plus home-cro.css and why-cro.css. Layout classes from about.css stay;
   this re-skins type, headings, cards, accordions and closings to match the homepage and /why. */
.cro-skin { --accent: #4e52ff; --accent-soft: #eaefff; --soft: #f4f5fc; --radius: 18px; --ink: #131729; --muted: #585e77; --line: #dfe3ee; }
body:has(.cro-skin) { background: #fff; }
.cro-skin h1, .cro-skin h2, .cro-skin h3 { font-weight: 600; }

/* Eyebrows: accent caps; the old section numbers go. */
.cro-skin .eyebrow { display: block; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cro-skin .section-number { display: none; }

/* Section headings: centred, like the homepage .cro-heading. */
.cro-skin .why-section-heading, .cro-skin .section-heading { display: grid; gap: 10px; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto 40px; }
.cro-skin .why-section-heading > div { display: grid; justify-items: center; gap: 10px; }
.cro-skin .why-section-heading h2, .cro-skin .section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.035em; }
.cro-skin .why-section-heading p, .cro-skin .section-heading p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.cro-skin .why-section, .cro-skin .section { padding-block: 72px; }

/* Cards: the white card with the faint flat offset shadow. */
.cro-skin .why-scenario, .cro-skin .agency-feature-grid > article, .cro-skin .onboarding-steps > article, .cro-skin .principle-grid > article, .cro-skin .principles > article {
  padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 8px 8px 0 #f3f5fc;
}
.cro-skin .why-scenario h3, .cro-skin .agency-feature-grid h3, .cro-skin .onboarding-steps h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.cro-skin .why-scenario p, .cro-skin .agency-feature-grid p, .cro-skin .onboarding-steps p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.cro-skin .scenario-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cro-skin .principle-number, .cro-skin .step-number { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 700; }

/* Hero visual and receipts figure: same flat shadow as the homepage frames. */
.cro-skin .why-proof, .cro-skin .receipts-figure, .cro-skin .price-card, .cro-skin .intake-panel { border-radius: 16px; box-shadow: 8px 8px 0 #f3f5fc; }
.cro-skin .why-hero-visual { grid-area: phone; align-self: center; display: grid; gap: 12px; }
.cro-skin .cro-hero .why-hero-title { grid-area: title; display: grid; gap: 14px; }

/* Buttons row in the hero. */
.cro-skin .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 599px) { .cro-skin .hero-actions > .brand-action { width: 100%; justify-content: center; } }

/* Accordions: the homepage FAQ (landing.css base + homepage refinements). */
.cro-skin .faq-section { display: grid; gap: 25px; }
.cro-skin .faq-list details { border-bottom: 1px solid var(--line); }
.cro-skin .faq-list details:first-child { border-top: 0; }
.cro-skin .faq-list details:last-child { border-bottom: 0; }
.cro-skin .faq-list summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 22px; list-style: none; padding-block: 21px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.cro-skin .faq-list summary::-webkit-details-marker { display: none; }
.cro-skin .faq-list summary span { flex-shrink: 0; color: var(--accent); font-size: 21px; font-weight: 400; transition: transform .32s cubic-bezier(.22, 1, .36, 1); }
.cro-skin .faq-list details[open] summary span { transform: rotate(45deg); }
.cro-skin .faq-list details.is-closing summary span { transform: none; }
.cro-skin .faq-list details > p { margin: 0 0 20px; padding-right: 22px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.cro-skin .faq-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .cro-skin .faq-section { grid-template-columns: .75fr 1.25fr; gap: 75px; padding-block: 80px; }
  .cro-skin .faq-list summary { font-size: 16px; padding-block: 23px; }
  .cro-skin .faq-list details > p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .cro-skin .faq-list summary span { transition: none; } }

/* Closing: light, centred, the hero's highlighted headline (was a dark band). */
.cro-skin .closing { padding-block: 80px; background: none; color: var(--ink); }
.cro-skin .closing-inner { display: grid; justify-items: center; gap: 24px; text-align: center; padding: 0; background: none; color: var(--ink); }
.cro-skin .closing h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.04em; color: var(--ink); }
.cro-skin .closing p { color: var(--muted); }
.cro-skin .closing .cro-h1-accent { color: var(--accent); background: #eaefff; padding: 0 .1em .02em; margin-left: -.1em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cro-skin .closing .cro-h1-top { position: relative; z-index: 1; }
.cro-skin .closing-actions { display: grid; justify-items: center; gap: 12px; }
/* The light closing keeps about.css's white-on-indigo form styles, which vanish on white: give it a light
   input (card line colour, indigo focus) and an indigo agency link. */
.cro-skin .closing form { width: min(100%, 420px); }
.cro-skin .closing input { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.cro-skin .closing input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.cro-skin .closing .agency-link { color: var(--accent); font-weight: 600; }
.cro-skin .closing .form-error { color: #DD2E46; }
.cro-skin .closing :focus-visible { outline-color: var(--accent); }
.cro-skin .cro-skin-intro { grid-area: checks; margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.cro-skin .agency-aside { margin: 0; color: var(--muted); }
.cro-skin .hero-actions .agency-hero-note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cro-skin .why-hero-title h1 { grid-area: auto; }
/* Agencies headline is longer than the homepage's: size it so "Every client. Every page." stays on one line. */
.cro-agencies .cro-hero h1 { font-size: clamp(24px, 7vw, 40px); }
@media (min-width: 900px) { .cro-agencies .cro-hero h1 { font-size: clamp(34px, 3.5vw, 50px); } }
/* Card grids get real gaps (the old grids butted cards together), and the old section divider lines go. */
.cro-skin .why-scenario-grid, .cro-skin .agency-feature-grid, .cro-skin .onboarding-steps, .cro-skin .principle-grid, .cro-skin .principles { gap: 18px; border: 0; background: none; }
.cro-skin .why-scenario-grid > *, .cro-skin .agency-feature-grid > *, .cro-skin .onboarding-steps > * { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.cro-skin .section, .cro-skin .why-section, .cro-skin .faq-section, .cro-skin .closing { border-top: 0; border-bottom: 0; }
/* Bands use the homepage soft background instead of the old grey. */
.cro-skin .founder-section, .cro-skin .intake-section, .cro-skin .why-history { background: var(--soft); }
/* Old about.css colours every h1 span; only the highlighted line is accent. Longer headlines than the homepage's get sized to stay on two lines. */
.cro-skin .cro-h1-top { color: var(--ink); }
.cro-skin .cro-hero h1 { font-size: clamp(24px, 7vw, 40px); }
@media (min-width: 900px) { .cro-skin .cro-hero h1 { font-size: clamp(34px, 3.5vw, 50px); } }
/* Closing scan forms: the primary button, not the old dark-band inverse. */
.cro-skin .closing .brand-action--inverse { --action-bg: var(--accent); }
/* About's problem cards, and eyebrows that sit over left-aligned two-column copy stay left. */
.cro-skin .scenario-grid { gap: 18px; border: 0; background: none; }
.cro-skin .scenario-grid > article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 8px 8px 0 #f3f5fc; }
.cro-skin .section-heading:has(+ .story-columns), .cro-skin .section-heading:has(+ div > h2) { justify-items: start; text-align: left; max-width: none; margin-bottom: 16px; }
.cro-skin .story-columns h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.035em; }

/* Agencies fixes (3 Nov): one centred column for headings and the closing (the old 2-column grids pushed them left). */
.cro-skin .why-section-heading, .cro-skin .section-heading, .cro-skin .onboarding-heading { grid-template-columns: 1fr; }
.cro-skin .why-section-heading .eyebrow, .cro-skin .section-heading .eyebrow, .cro-skin .story-columns .eyebrow { color: var(--accent); }
.cro-skin .onboarding-heading > div { max-width: 720px; }
.cro-skin .onboarding-heading p { margin: 0; }
.cro-skin .onboarding-callout { display: inline-block; margin-top: 14px !important; padding: 10px 18px; border-radius: 999px; background: #eaefff; color: var(--accent) !important; font-size: 15px; font-weight: 600; }
.cro-skin .closing-inner { grid-template-columns: 1fr; justify-content: center; max-width: 760px; margin-inline: auto; }
.cro-skin .closing-inner > div { display: grid; justify-items: center; gap: 12px; }
/* Number circles: the Why page's, text centred. */
.cro-skin .why-num { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 0 12px; padding: 0; border-radius: 50%; border: 2px solid var(--accent); background: #fff; color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: 0; }
/* Barry's photo and the receipts illustration use the site radius and the flat shadow; receipts on white. */
.cro-skin .founder-portrait { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 8px 8px 0 #f3f5fc; }
.cro-skin .founder-portrait img { border-radius: 0; }
.cro-skin .receipts-figure { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.cro-skin .receipts-shot { border-radius: 10px; }
/* Hero/illustration frames use the global radius (16px) and the faint flat shadow; inner pieces get smaller radii. */
.cro-skin .history-figure, .cro-skin .why-proof, .cro-skin .receipts-figure { overflow: hidden; border-radius: 16px; box-shadow: 8px 8px 0 #f3f5fc; }
.cro-skin .history-figure .snapshot, .cro-skin .why-snapshot { overflow: hidden; border-radius: 10px; }
.cro-skin .history-note, .cro-skin .why-change-note, .cro-skin .roster-list { border-radius: 12px; }
