/* Homepage sections in the service-page language (9 November 2026): side notes sit under
   their headings, one inverted pricing card, a centred statement, a quote preview by the form. */

/* Services: heading and note on the left, currency switch on the right */
.home-offers-title p { max-width:30rem;margin:18px 0 0;font:400 16px/1.6 Manrope,sans-serif;color:var(--sand); }
.home-offers-side { align-self:flex-end; }

/* Inverted card: the opposite theme's palette inside one card, as on /services/cro pricing */
body.home-page .home-offer.is-invert {
  --night:#f4f4f1;--surface:#e6e6e1;--cream:#111111;--sand:#5a5a60;--amber:#a84916;--line:#1111111f;
  background:#f4f4f1;border-color:#f4f4f1;box-shadow:0 40px 80px -40px rgba(0,0,0,.6);
}
:root[data-theme=light] body.home-page .home-offer.is-invert {
  --night:#121213;--surface:#1e1e21;--cream:#f0efec;--sand:#a0a0a6;--amber:#ff8c42;--line:#f0efec1f;
  background:#121213;border-color:#121213;box-shadow:0 40px 80px -40px rgba(17,17,17,.45);
}

/* Who we work with, client work: the note follows the heading instead of floating far right */
body.home-page .hx-who .hx-head { display:block; }
body.home-page .hx-who .hx-head>p { max-width:30rem;margin-top:18px; }
body.home-page .selected-work .section-heading { display:block; }
body.home-page .selected-work .section-heading .work-side { max-width:30rem;margin-top:18px; }

/* What working with agents changes: one large centred statement over the four points */
body.home-page .hx-gains { margin-top:56px;padding-top:72px; }
body.home-page .hx-gains-h { margin-bottom:22px;text-align:center; }
.hx-gains-big { max-width:22ch;margin:0 auto 56px;text-align:center;
  font:500 clamp(34px,4.4vw,60px)/1.04 "Bricolage Grotesque",sans-serif;letter-spacing:-.045em;color:var(--cream);text-wrap:balance; }
body.home-page .hx-gains .hx-gains-big span { display:inline;margin:0;font:inherit;letter-spacing:inherit;color:var(--sand); }

/* Contact: a preview of the written quote, tilted like the CRO email card */
.hx-quote { box-sizing:border-box;max-width:380px;margin-top:40px;padding:20px 22px 18px;border:1px solid rgba(255,255,255,.1);border-radius:18px;
  background:linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.025));box-shadow:0 30px 70px -30px rgba(0,0,0,.7);
  transform:rotate(-2deg);font-family:Manrope,sans-serif; }
.hx-quote p { margin:0; }
.hx-quote-top { display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line); }
.hx-quote-top span { font:500 18px/1.2 "Bricolage Grotesque",sans-serif;letter-spacing:-.02em;color:var(--cream); }
.hx-quote-top i { font-style:normal;font-size:11px;color:var(--sand); }
.hx-quote dl { margin:0; }
.hx-quote dl>div { display:grid;grid-template-columns:84px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid var(--line); }
.hx-quote dt { font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--sand);padding-top:2px; }
.hx-quote dd { margin:0;font-size:14px;line-height:1.45;color:var(--cream); }
.hx-quote-act { display:flex;gap:8px;margin-top:14px!important; }
.hx-quote-act span { padding:7px 14px;border:1px solid var(--line);border-radius:999px;font-size:12px;color:var(--sand); }
.hx-quote-act .ok { border-color:var(--amber);background:var(--amber);color:#111; }
:root[data-theme=light] .hx-quote { background:linear-gradient(160deg,rgba(255,255,255,.86),rgba(255,255,255,.6));border-color:#fff;box-shadow:0 1px 2px #1111110a,0 24px 56px -30px #11111133; }
:root[data-theme=light] .hx-quote-act .ok { color:#fff; }

@media (max-width:760px) {
  .hx-gains-big { margin-bottom:36px; }
  body.home-page .hx-gains { margin-top:40px;padding-top:48px; }
  .hx-quote { max-width:none;transform:rotate(-1deg);margin-top:28px; }
  .home-offers-side { margin-top:20px; }
}
@media (max-width:400px) { .hx-gains-big { font-size:30px; } }

/* Type and spacing scale taken from /services/cro (measured 9 November 2026):
   h2 34→52px weight 400 at -.04em, 96px between sections (64px on phones), 20px label→heading,
   16px/1.7 body (15px on phones), 20–22px weight-400 card titles. */
body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,.lead-finale) { padding-top:96px;padding-bottom:96px; }
body.home-page #contact { padding-top:96px;padding-bottom:96px; }
body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,#contact) h2 {
  margin-top:0;font:400 clamp(34px,3.6vw,52px)/1.02 "Bricolage Grotesque",sans-serif;letter-spacing:-.04em; }
body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,#contact) h2 em { font-weight:300; }
body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,#contact) :is(.eyebrow,.home-offers-eyebrow) {
  margin:0 0 20px;letter-spacing:.18em; }
body.home-page .home-offers-heading { margin:0 0 48px; }
/* Section intros: one size everywhere, 20px under the heading */
body.home-page :is(.home-offers-title p,.hx-who .hx-head>p,.selected-work .work-side,.hx-how .intro,.hx-ask-copy>p,#contact>div>p:not(.eyebrow)) {
  max-width:30rem;margin-top:20px;font-size:16px;line-height:1.7;color:var(--sand); }
/* Card titles and card text */
body.home-page :is(.home-offers,.hx-who,.hx-how) h3 { font-weight:400;letter-spacing:-.02em; }
body.home-page .home-offers h3 { font-size:26px;margin-bottom:14px; }
body.home-page :is(.hx-who,.hx-how) h3 { font-size:22px; }
body.home-page :is(.home-offer-scope,.hx-who .start,.hx-how li p) { font-size:15px;line-height:1.65; }
/* The centred statement sits one step under the section heading, as on the CRO page */
body.home-page .hx-gains .hx-gains-big { font-size:clamp(28px,2.8vw,42px);line-height:1.1;letter-spacing:-.035em; }
@media (max-width:1279px) { body.home-page :is(.hx-who,.hx-how) h3 { font-size:20px; } body.home-page .home-offers h3 { font-size:24px; } }
@media (max-width:1023px) {
  body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,.lead-finale),body.home-page #contact { padding-top:80px;padding-bottom:80px; }
}
@media (max-width:760px) {
  body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,.lead-finale),body.home-page #contact { padding-top:64px;padding-bottom:64px; }
  body.home-page :is(.home-offers-title p,.hx-who .hx-head>p,.selected-work .work-side,.hx-how .intro,.hx-ask-copy>p,#contact>div>p:not(.eyebrow)) { font-size:15px;line-height:1.65; }
  body.home-page .home-offers-heading { margin-bottom:32px; }
  body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,#contact) :is(.eyebrow,.home-offers-eyebrow) { margin-bottom:16px; }
}

/* The homepage is the flagship: same system as the service pages, one step louder.
   Section headings 36→60px (service pages 34→52), 112px between sections (service pages 96). */
body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,#contact) h2 { font-size:clamp(36px,4.2vw,60px);line-height:1; }
@media (min-width:1024px) {
  body.home-page :is(.home-offers,.hx-who,.hx-how,.hx-ask,.selected-work,.hx-reviews,.faq-section,.lead-finale),body.home-page #contact { padding-top:112px;padding-bottom:112px; }
}

/* Client results band: three cards, each a before → after with a small comparison bar */
body.home-page .hx-work-results { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:40px 0 48px; }
.hx-res { display:flex;flex-direction:column;min-width:0;padding:22px 24px 24px;border:1px solid var(--line);border-radius:18px;
  background:color-mix(in srgb,var(--night) 65%,var(--surface)); }
:root[data-theme=light] .hx-res { background:#fcfbf8; }
.hx-res p { margin:0; }
.hx-res-k { display:flex;justify-content:space-between;gap:12px;font:600 11px/1.4 Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--sand); }
.hx-res-k span+span { font-weight:500;letter-spacing:.02em;text-transform:none;white-space:nowrap; }
.hx-res-n { display:flex;align-items:baseline;gap:12px;margin-top:22px!important;font-family:"Bricolage Grotesque",sans-serif;letter-spacing:-.04em; }
.hx-res-n s { font-size:24px;color:var(--sand);text-decoration-thickness:1.5px;opacity:.7; }
.hx-res-n span { font-size:22px;color:var(--sand); }
.hx-res-n b { font-weight:500;font-size:clamp(44px,4.4vw,64px);line-height:.95;color:var(--amber); }
.hx-res-l { margin-top:10px!important;font-size:15px;line-height:1.5;color:var(--cream); }
.hx-res-bars { display:grid;gap:8px;margin-top:auto;padding-top:24px; }
.hx-res-bars i { position:relative;display:block;width:var(--w);height:22px;border-radius:6px;background:color-mix(in srgb,var(--cream) 12%,transparent); }
.hx-res-bars i.is-after { background:color-mix(in srgb,var(--amber) 85%,transparent); }
.hx-res-bars em { position:absolute;left:8px;top:50%;transform:translateY(-50%);font:600 10px/1 Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase;font-style:normal;color:var(--sand);white-space:nowrap; }
.hx-res-bars i.is-after em { color:#111; }
.hx-res-bars i[style*="--w:13%"] em,.hx-res-bars i[style*="--w:36%"] em { left:calc(100% + 8px);color:var(--amber); }
@media (max-width:1023px) { body.home-page .hx-work-results { grid-template-columns:1fr; } .hx-res-n b { font-size:52px; } }
