/* Homepage pacing: keep the decision path clear without losing service detail. */
main:has(.home-hero) .section{padding-top:56px;padding-bottom:56px}
main:has(.home-hero) .section-heading{margin-bottom:28px}
main:has(.home-hero) .section-heading h2{line-height:1.15}

.home-hero{padding-top:38px;padding-bottom:38px}
.home-hero .dream-copy .eyebrow{margin-bottom:13px}
.home-hero .dream-copy>p.hero-description{line-height:1.6}
.home-hero .hero-proof{margin:13px 0 16px}
.home-hero .team-showcase{gap:10px 12px;padding:15px}
.home-hero .talent-info p{min-height:30px}
.home-hero .home-lead{padding:25px}
.home-hero .home-lead>p{margin-bottom:15px}
.home-hero .lead-fields{gap:11px 12px}
.home-hero .lead-consent{margin:14px 0}
.benefits{padding-top:16px;padding-bottom:16px}

.home-metrics{padding-top:25px;padding-bottom:25px}
.home-metrics .metrics-band{padding:27px 26px}
.home-metrics .metric strong{font-size:clamp(34px,3.5vw,49px)}
.home-metrics .metric p{margin-top:6px;font-size:14px}

/* One discoverable row on desktop instead of five tall rows. */
.home-service-scroll{padding:48px 0}
.service-scroll-layout{grid-template-columns:minmax(260px,.72fr) minmax(0,1.5fr);gap:30px;align-items:center}
.service-scroll-intro{position:static;padding:0}
.service-scroll-intro h2{font-size:clamp(31px,3vw,40px);margin:12px 0 14px}
.service-scroll-intro>p{font-size:16px;line-height:1.6;margin-bottom:17px}
.service-scroll-caption{margin-top:18px;padding-top:13px}
.service-scroll-caption p{margin-top:3px}
.service-scroll-controls:not([hidden]){display:flex;align-items:center;gap:11px;margin-top:15px}
.service-scroll-controls button{display:grid;place-items:center;width:42px;height:42px;background:white;border:1px solid #d8c8e9;color:#6e32b9;border-radius:10px;font-size:22px;cursor:pointer}
.service-scroll-controls button:disabled{opacity:.35;cursor:default}
.service-scroll-controls>span{min-width:45px;text-align:center;color:#614a77;font-size:13px;font-variant-numeric:tabular-nums}
.service-scroll-track{display:flex;gap:13px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scroll-padding-left:3px;padding:4px 4px 15px;scrollbar-width:thin;scrollbar-color:#b389e3 #f1e8ff}
.scroll-service-card{flex:0 0 calc((100% - 26px)/3);scroll-snap-align:start;padding:18px;min-height:284px;box-shadow:none}
.scroll-card-top{padding-bottom:14px;margin-bottom:15px}
.scroll-service-icon{width:43px;height:43px}
.scroll-service-icon svg{width:24px;height:24px}
.scroll-card-copy h3{font-size:17px;margin-bottom:10px}
.scroll-card-copy p{font-size:13px;line-height:1.6;margin-bottom:15px}
.scroll-service-link{font-size:13px}

.operations-section{padding:30px 0}
.operations-grid{gap:35px}
.operations-summary p{line-height:1.55}
.operations-summary small{margin-top:4px}

.cost-section{padding:57px 0}
.cost-heading{margin-bottom:23px}
.cost-heading h2{font-size:clamp(32px,3.6vw,45px);margin:10px 0 12px}
.cost-heading>p{font-size:16px;line-height:1.5}
.cost-controls{padding:16px 22px;gap:16px}
.cost-main{padding:22px;gap:20px}
.cost-table caption{padding-bottom:8px}
.cost-table th,.cost-table td{padding:14px 10px}
.cost-bars{margin:15px 10px 8px}
.cost-savings{padding:22px}
.cost-savings>p{margin-top:13px}
.cost-year{margin-top:14px;padding-top:13px}
.cost-savings a{margin-top:15px}
.cost-value{padding:17px 22px;gap:12px}
.cost-method{margin-top:10px}

.home-support-features{padding-top:45px;padding-bottom:45px;gap:17px}
.support-feature,.saas-feature{gap:30px;padding:22px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.support-feature .service-dashboard{padding:0}
.dashboard-example{margin-bottom:5px}
.preview-toolbar{padding:9px 13px}
.preview-body{padding:12px 16px}
.preview-heading{margin-bottom:10px}
.preview-heading h3{font-size:19px}
.preview-labels{padding-bottom:6px}
.preview-row{padding:9px 0}
.preview-workflow{margin-top:11px}
.preview-message{padding:9px 12px;margin-top:8px}
.preview-message p{margin-top:2px}
.support-feature .feature-copy h2{font-size:clamp(27px,2.5vw,32px);margin:8px 0 11px}
.support-feature .feature-copy p{line-height:1.55;margin-bottom:9px}
.support-feature .feature-copy li{padding-top:3px;padding-bottom:3px}
.support-feature .feature-copy li:before{top:3px}
.support-feature .feature-copy ul{margin-bottom:12px}

.industries{padding-top:48px!important;padding-bottom:48px!important}
.industries .industry-grid{margin-top:20px;gap:10px}
.industries .industry-grid a{padding:13px 12px;min-height:52px}
.why{padding:50px 0}
.why-grid{gap:40px}
.why h2{font-size:clamp(32px,3.4vw,44px)}
.why .journey-row{margin-top:9px;padding:12px}
.why .journey-footer{margin-top:13px}

#pricing .center{margin-bottom:31px}
#pricing .plans{gap:12px}
#pricing .plan{padding:18px 16px}
#pricing .plan h3{margin-bottom:7px}
#pricing .plan>p{min-height:38px}
#pricing .team-size{font-size:29px;margin:11px 0}
#pricing .plan ul{margin-top:13px;padding-top:9px}
#pricing .plan li{margin:7px 0;font-size:12px}
#pricing .pricing-note{margin-top:14px}
.roadmap .steps{gap:13px}
.roadmap .step-line{margin:10px 0 12px}
.roadmap .steps p{line-height:1.5}
.roadmap .small-note{margin:13px 0 0}

.home-reviews .review-card{padding:19px}
.home-reviews .review-card blockquote{margin:12px 0 15px;line-height:1.55}
.faq{gap:48px}
.faq details{padding:13px 0}

.home-blog .blog-cover img{aspect-ratio:2.1}
.home-blog .blog-card-body{padding:16px}
.home-blog .blog-card h3{font-size:17px;line-height:1.3;margin:8px 0}
.home-blog .blog-card p{font-size:13px;line-height:1.5;margin-bottom:8px}
.home-blog .article-link{padding-top:10px}
.home-contact{padding-top:55px!important;padding-bottom:55px!important}
.home-contact .contact-layout{gap:42px}
.home-contact .check-list{margin:15px 0}
.home-contact .end-phone{margin-top:16px}

@media(max-width:1100px){
  .service-scroll-layout{grid-template-columns:minmax(225px,.75fr) minmax(0,1.25fr);gap:20px}
  .scroll-service-card{flex-basis:calc((100% - 13px)/2);min-height:300px}
}
@media(max-width:760px){
  main:has(.home-hero) .section{padding-top:39px;padding-bottom:39px}
  .home-hero{padding-top:27px;padding-bottom:30px}
  .home-hero .hero-layout{gap:24px}
  .home-hero .dream-copy h1{font-size:clamp(43px,9vw,55px)}
  .home-hero .dream-copy>p.hero-description{line-height:1.55}
  .home-hero .team-showcase{padding:13px}
  .home-metrics{padding:17px 0}
  .home-metrics .metrics-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 9px;gap:0}
  .home-metrics .metric{padding:8px 4px}
  .home-metrics .metric+.metric{border-top:0;border-left:1px solid #ffffff33}
  .home-metrics .metric strong{font-size:clamp(23px,6vw,34px);letter-spacing:-1px}
  .home-metrics .metric p{font-size:11px;line-height:1.3;margin-top:5px}
  .home-service-scroll{padding:35px 0}
  .service-scroll-layout{display:block}
  .service-scroll-intro{margin-bottom:18px}
  .service-scroll-intro h2{font-size:32px}
  .service-scroll-caption{margin-top:14px}
  .service-scroll-track{gap:11px}
  .scroll-service-card{flex:0 0 82%;min-height:285px;padding:19px}
  .scroll-card-copy h3{font-size:21px}
  .scroll-card-copy p{font-size:15px}
  .operations-section{padding:30px 0}
  .operations-grid{gap:14px}
  .cost-section{padding:39px 0}
  .cost-controls{padding:17px}
  .cost-main{padding:0;gap:0}
  .cost-savings{margin:0 15px 17px}
  .cost-value{grid-template-columns:1fr;padding:18px;gap:10px}
  .home-support-features{padding-top:34px;padding-bottom:34px;gap:15px}
  .support-feature,.saas-feature{grid-template-columns:1fr;gap:15px;padding:16px}
  .support-feature .feature-copy{grid-row:1}
  .support-feature .service-dashboard{grid-row:2}
  .preview-body{padding:12px}
  .support-feature .feature-copy h2{font-size:27px}
  .support-feature .feature-copy p{font-size:15px}
  .industries{padding-top:36px!important;padding-bottom:36px!important}
  .industries .industry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .industries .industry-grid a{font-size:12px;padding:10px;min-height:54px}
  .why{padding:38px 0}
  #pricing .plans{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:24px 2px 12px;scrollbar-width:thin}
  #pricing .plan,#pricing .plan.featured{flex:0 0 min(82vw,300px);scroll-snap-align:start;border-radius:15px;min-height:320px}
  #pricing .popular{top:-23px}
  #pricing .center{margin-bottom:5px}
  #pricing .center:after{content:'Swipe to compare all four plans →';display:block;font-size:13px;color:#6c567d;margin-top:12px}
  .roadmap .steps{grid-template-columns:1fr;gap:13px}
  .roadmap .steps article{padding-left:46px}
  .roadmap .step-line b{width:31px;height:31px}
  .roadmap .steps h3{margin:3px 0}
  .roadmap .steps p{font-size:13px}
  .faq{gap:22px}
  .home-blog .blog-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 14px;scrollbar-width:thin}
  .home-blog .blog-card{flex:0 0 min(82vw,330px);scroll-snap-align:start}
  .home-blog .blog-card p{font-size:14px}
  .home-blog .section-heading{margin-bottom:19px}
  .home-blog .section-heading>div:last-child{margin-top:8px}
  .home-contact{padding-top:39px!important;padding-bottom:39px!important}
  .home-contact .contact-layout{gap:25px}
}
@media(max-width:380px){
  .home-metrics .metric strong{font-size:22px}
  .home-metrics .metric p{font-size:10px}
  .scroll-service-card{flex-basis:88%}
  .home-blog .blog-card{flex-basis:88vw}
}

/* Restore the spacious desktop services layout; retain the mobile carousel. */
@media(min-width:761px){
  .home-service-scroll{padding:48px 0}
  .service-scroll-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr);gap:clamp(30px,4vw,60px);align-items:start}
  .service-scroll-intro{position:sticky;top:135px;padding:12px 0}
  .service-scroll-intro h2{font-size:clamp(32px,3.3vw,46px);margin:20px 0 24px}
  .service-scroll-intro>p{font-size:17px;line-height:1.75;margin-bottom:25px}
  .service-scroll-caption{margin-top:28px;padding-top:20px}
  .service-scroll-controls:not([hidden]){display:none}
  .service-scroll-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;overflow:visible;scroll-snap-type:none;padding:4px}
  .scroll-service-card{padding:26px;min-height:320px}
  .scroll-card-top{padding-bottom:23px;margin-bottom:21px}
  .scroll-service-icon{width:54px;height:54px}
  .scroll-service-icon svg{width:30px;height:30px}
  .scroll-card-copy h3{font-size:21px;margin-bottom:15px}
  .scroll-card-copy p{font-size:15px;line-height:1.75;margin-bottom:23px}
  .scroll-service-link{font-size:14px}
}
@media(min-width:761px) and (max-width:1000px){
  .service-scroll-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px}
  .scroll-service-card{padding:20px}
  .scroll-card-copy h3{font-size:19px}
}
/* A clear but compact transition after the services section. */
.home-service-scroll + .cost-section{padding-top:44px}
@media(max-width:760px){
  .home-service-scroll + .cost-section{padding-top:36px}
}
