/* Shared spacing rhythm. Major sections, related groups and paragraph copy
   use distinct steps. Photo cards, dense data, forms and decorative scenes
   keep their own internal geometry. */
:root{
 --space-section:96px;
 --space-tight:64px;
 --space-heading:24px;
 --space-box:32px;
 --space-grid:24px;
 --space-card-compact:24px;
 --space-card-roomy:32px;
 --space-copy:12px;
 --space-group:32px;
 --space-media:24px;
}
@media(max-width:800px){:root{
 --space-section:56px;
 --space-tight:40px;
 --space-heading:20px;
 --space-box:24px;
 --space-grid:20px;
 --space-card-compact:20px;
 --space-card-roomy:24px;
 --space-copy:12px;
 --space-group:24px;
 --space-media:20px;
}}
/* Each section supplies half the gap. A compact incoming section also sets
   the previous section's outgoing half, without flattening every section. */
main>section:is(.space-section,.wsec,.section,.sec,.editorial,.cta-band){
 --section-in:var(--space-section);--section-out:var(--space-section);
 padding-top:calc(var(--section-in)/2)!important;
 padding-bottom:calc(var(--section-out)/2)!important;
 margin-top:0!important;margin-bottom:0!important;
}
main>section.space-tight{--section-in:var(--space-tight)}
main>section.space-zero{--section-in:0px}
main>section:has(+.space-tight){--section-out:var(--space-tight)}
main>section:has(+.space-zero),main>section.space-end-zero{--section-out:0px}
main>article.guide{padding-block:calc(var(--space-section)/2)!important}
/* A heading-to-copy gap is smaller than the gap before the next group. */
main :is(.hhead,.sec-head,.b-head,.box-head,.sh){margin-bottom:var(--space-group)!important;gap:var(--space-grid)}
main :is(.hhead,.sec-head,.b-head,.box-head,.sh) :is(h2,h3):has(+p),
main h2:has(+.lede),main h2:has(+.hsub){margin-bottom:var(--space-heading)!important}
main :is(.hhead,.sec-head,.b-head,.box-head,.sh) :is(h2,h3)+p{margin-top:0!important}
main :is(.get,.card,.sbox,.cbox,.memo,.letter,.ad,.pol,.pm,.route,.process-copy,.step2-copy,.bn-copy,.pf-copy,.ws-copy,.tq-body,.ts-body) h3:has(+p){margin-bottom:var(--space-copy)}
main :is(.get,.card,.sbox,.cbox,.memo,.letter,.ad,.pol,.pm,.route,.process-copy,.step2-copy,.bn-copy,.pf-copy,.ws-copy,.tq-body,.ts-body) h3+p{margin-top:0}
/* Roomy containers and smaller cards share tokens, not identical padding. */
main :is(.box:not(span),.sbox,.cbox,.memo,.letter,.plan,.faq-empty){padding:var(--space-box)!important}
main :is(.card,.wcard:not(.wcard-photo),.get,.ad,.pol,.pm,.route,.journey-card){padding:var(--space-card-compact)!important}
main :is(.process-copy,.step2-copy,.bn-copy,.pf-copy,.ws-copy,.tq-body,.ts-body,.ed-card){padding:var(--space-card-roomy)!important}
main .section-scene-hero .phero-copy{padding:var(--space-box)!important}
main .final-team-cta>.final-team-copy{padding:var(--space-box)!important}
main .final-team-copy h2,main .final-team-copy>p:not(.fine):not(.small){margin-bottom:var(--space-heading)!important}
main .final-team-copy .fine,main .final-team-copy .small{margin-top:var(--space-heading)!important}
main .final-team-copy :is(.ctas,.cta-row){gap:var(--space-copy)!important}
main .process-copy>p{margin-bottom:var(--space-heading)!important}
main .process-copy .st-cp{padding:var(--space-card-compact)!important}
/* Repeating content grids keep one shared gap; their layouts remain intact. */
main :is(.tools-review-grid,.strategy-resource-grid,.contact-grid,.cf-grid,.ed-grid,.ed-photo-led>.wrap,.rh-grid,.guides,.docs,.featured,.also,.duo,.split,.quotes,.duo-cols,.cat-cards,.feat3,.facts,.topics,.bento,.steps2,.ex2-grid,.tfeat,.why,.why2,.ed,.ts,.ts-people,.bento-route,.cats3,.bento-fit,.bento-ai,.bento-team,.facts3,.bento-q,.bento-priv,.bento-5,.bento-kit,.kh-pair,.bento-books,.bento-appr,.pf-cols,.ckm3,.bento-2f,.plans3,.adds4,.tq-grid,.scn,.why-ab,.bento-teamab,.memo-wrap,.bento-3w,.aud4,.gets4,.faq-layout,.bento-more,.bento-prom,.chk-wrap,.pol4,.bento-add,.ad-split,.gsheets,.fw,.fw-more,.ws,.pn,.faq-grid,.team-grid,.hiw-grid,.pv-sheets,.fq){gap:var(--space-grid)!important}
/* Separate independent visuals from the next content group. Inset photo
   cards intentionally meet their padded copy and are not changed. */
main .affiliate-benefits .box-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.6fr);align-items:center;gap:var(--space-group);margin-bottom:var(--space-group)!important}
main .affiliate-benefits .gets-art{display:block;width:100%;height:auto;aspect-ratio:8/3;object-fit:cover;margin:0;min-width:0;border-radius:18px}
main .affiliate-benefits .gets4{margin-top:0}
main .affiliate-benefits .get>span{display:block;margin-bottom:var(--space-copy)}
main .affiliate-benefits .get h3{margin-top:0;margin-bottom:var(--space-copy)}
main .why+.why2{margin-top:var(--space-group)}
main :is(.pf-cols,.strategy-count){margin-top:var(--space-heading)}
main :is(.box,.sbox,.memo,.letter,.card)>:last-child{margin-bottom:0}
main .prose h2{margin-top:var(--space-tight)!important}
main .prose>h2:first-child,main .prose>.toc-m+h2{margin-top:0!important}
footer.site{margin-top:calc(var(--space-section)/2)!important}
@media(max-width:800px){
 main .affiliate-benefits .box-head{grid-template-columns:minmax(0,1fr)}
 main .affiliate-benefits .gets-art{aspect-ratio:8/3}
}
/* Hero cards sit in their own wrapper above the first band. The wrapper
   supplies the outgoing half of the section gap, so a hero's rounded edge
   never rests directly on the next section's wash. */
main>.wrap:has(.hero2,.phero){padding-bottom:calc(var(--space-section)/2)}
main>section.ph.rh{margin-bottom:calc(var(--space-section)/2)}
main>section:is(.hv-vsl,.hv-event-hero){padding-bottom:calc(var(--space-section)/2)}
/* Sizing floor. Touch widths: every standalone link and control offers a
   44px target. All widths: labels stay at 12px or larger, form fields at
   16px so phones do not zoom, and fine print keeps a readable measure. */
@media(max-width:820px){
 footer.site .f-col a{display:flex;align-items:center;min-height:44px}
 footer.site .socials a{min-width:44px;min-height:44px}
 footer.site :is(.f-bottom,.f-legal,.legal-links,.f-base) a,footer.site .wrap>div:last-child a{display:inline-flex;align-items:center;min-height:44px}
 header.site .logo,.skip,main .link-arrow{display:inline-flex;align-items:center;min-height:44px}
 main :is(.story-back,.legal-back){display:inline-flex;align-items:center;min-height:44px;margin-bottom:10px}
 main .legal-end a{display:inline-flex;align-items:center;min-height:44px}
 main :is(.legal-toc,.hv-legal) summary{display:flex;align-items:center;justify-content:space-between;min-height:44px}
 main .legal-toc nav a{display:flex;align-items:center;min-height:44px}
 main .ts-arrow{width:44px;height:44px}
 main .hd-control{min-width:44px;min-height:44px}
 main input.hd-seek,main #bal-in{min-height:44px}
 main #story-search{font-size:16px}
}
main :is(.ed-label,.mono,.hd-cc,.bal-band,.hv-stat-note,.hd-player-prompt,caption,legend,figcaption){font-size:12px}
footer.site .disclaim p{max-width:none}
footer.site .disclaim p+p{margin-top:16px}
@media(min-width:821px){main>section.ph.rh .ph-stage{padding-bottom:32px}}
/* Tablet widths hide the header CTA, so keep the sticky CTA available there too. */
@media(min-width:821px) and (max-width:1024px){.sticky{display:flex;left:auto;right:24px;bottom:24px;max-width:380px}}
/* Step cards: photo, UI preview and copy share row tracks so all three cards line up. */
.steps2 .step2{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
.steps2 .step2-ui{align-content:center}
.steps2 .step2-ui .plan{padding:0!important;border:0;border-radius:0;background:none;overflow:visible}
/* Testimonial names link to the full story. */
figcaption b a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
/* Category cards: two-line tagline slot and equal-height rows so the three columns line up. */
.cats3>.folder{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0}
.cats3>.folder>.cat3{grid-row:1/-1;display:grid;grid-template-rows:subgrid;row-gap:12px}
.cats3 .cat3 .sc{align-items:center}
/* Salary slider: the "reasonable" label sits above its band instead of over the slider. */
main .bal-track{padding-top:30px}
main .bal-band{top:24px;height:40px;padding:0}
main .bal-band>span{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);padding-bottom:6px;white-space:nowrap;line-height:1}
@media(max-width:820px){main .bal-band{height:56px}}
/* Quarterly timeline: number badges sit inside their cards; the connector runs through their centres. */
main .qtr .q-dot{top:16px;box-shadow:none}
main .qtr::before{top:35px}
main .qtr li{padding-top:68px}
/* Photo tile fills its box edge to edge instead of floating on a tinted panel. */
main .ap-p:has(>.section-detail-image){padding:0!important;background:none!important;align-items:stretch}
main .ap-p>.section-detail-image{width:100%;height:auto;aspect-ratio:2/1;max-height:none;border-radius:0}
/* Home hero: grow with its content so the ask box is never cut off on short or narrow screens,
   and size Drew down a step earlier so the whole hero still fits above the fold. */
.hero2-wrap>.hero2{height:auto;min-height:clamp(600px,calc(100svh - 150px),940px)}
@media(max-width:820px){.hero2-wrap>.hero2{min-height:max(560px,calc(100svh - 130px))}}
@media(min-width:821px) and (min-height:781px) and (max-height:880px){.hero2-wrap .drew-lean{--lh:clamp(110px,21vh,170px)}}

/* Closing CTA section: keep the gap above the footer white, not page grey. */
@supports selector(:has(a)){
main:has(>section.space-end-zero:last-child)+footer.site{margin-top:0!important}
main>section.space-end-zero:last-child{padding-bottom:calc(var(--space-section)/2)!important}
}

/* Plan cards: keep the kicker and price clear of the corner badge. */
.plan:has(>.plan-art)>:is(.plan-kick,.plan-price){padding-right:72px!important}
@media(min-width:761px) and (max-width:1020px){.plan>.plan-art{width:56px}.plan:has(>.plan-art)>:is(.plan-kick,.plan-price,.plan-who){padding-right:50px!important}}
@media(max-width:760px){.plan:has(>.plan-art)>.plan-who{padding-right:72px}}

/* Sitewide top bar: offer text, link and click-to-call phone number. */
.countdown{background:#1E285F;color:#fff;font-weight:600;font-size:14px;line-height:1.4}
.countdown>:is(.wrap,.wide){display:flex;justify-content:center;align-items:center;gap:6px 14px;min-height:38px;padding-block:6px;text-align:center;flex-wrap:wrap;position:relative}
.countdown b{color:#7BE35A;font-weight:800}
.countdown a{color:#fff;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.countdown .cd-phone{text-decoration:none;white-space:nowrap}
.countdown .cd-phone:hover{text-decoration:underline}
@media(min-width:900px){.countdown .cd-phone{position:absolute;right:0;top:50%;transform:translateY(-50%)}.countdown>.wrap .cd-phone{right:var(--wrap-pad,24px)}}
@media(max-width:639px){.countdown{font-size:13px}.countdown>:is(.wrap,.wide){gap:0 18px;padding-block:8px 0}.countdown #cd-line{flex-basis:100%}.countdown a{display:inline-flex;align-items:center;min-height:44px}}
body.mnav .countdown{display:none}
header.site :is(.menu>li>a,.menu>li>button,.signin),.hdr-r .signin{white-space:nowrap}
/* Header: the main assessment button is hidden; Sign in and Book a Call remain. */
header.site .nav-cta>.btn-keep,header.hdr .hdr-r>.btn--primary{display:none!important}
.hdr-r .nav-call{flex:none}
.sheet-foot .sheet-call{margin-top:8px}
@media(max-width:1023px){.hdr-r .nav-call{display:none}}
