/* Phone layout pass: content first, compact spacing, no desktop height locks.
   Desktop and tablet-wide composition stay in their existing style sheets. */
@media(max-width:767px){
  html body#carbonloop-public[class][class][class][class][class][class][class][class][class][class][class][class] main>section{
    padding:36px 18px!important;min-height:0!important;height:auto!important;max-height:none!important;
  }
  html body#carbonloop-public[class][class][class][class][class][class][class][class][class][class][class][class] main>section>.wrap{
    width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;max-height:none!important;
  }
  /* Whole sections must never remain invisible because an intersection ratio
     is impossible to reach on a narrow, long page. */
  html body#carbonloop-public[class][class] main .section-reveal,html body#carbonloop-public[class][class] main .stagger-item{
    opacity:1!important;visibility:visible!important;transform:none!important;transition:none!important;animation:none!important;
  }
  html body#carbonloop-public[class][class][class] main h2{font-size:26px!important;line-height:1.22!important;letter-spacing:-.5px!important;margin-bottom:14px!important;overflow-wrap:break-word}
  html body#carbonloop-public[class][class][class] main h3{font-size:19px!important;line-height:1.3!important;margin-bottom:10px!important}
  html body#carbonloop-public[class][class][class] main p,html body#carbonloop-public[class][class][class] main li{font-size:15px!important;line-height:1.65!important}
  html body#carbonloop-public[class][class][class] main p{margin-top:0!important;margin-bottom:14px!important}
  html body#carbonloop-public[class][class][class] main .eyebrow{font-size:11px!important;line-height:1.5!important;margin-bottom:10px!important}
  html body#carbonloop-public[class][class][class] main .section-head,html body#carbonloop-public[class][class][class] main .aud-section-heading{
    gap:14px!important;margin-bottom:24px!important;align-items:start!important;
  }
  html body#carbonloop-public[class][class][class] main :is(.grid,.aud-grid,.aud-split,.aud-hero-grid,.service-detail-grid,.quote-scope-grid,.service-work-grid,.supplier-data-paths,.pricing-summary,.demo-workflow-row,.record-checks,.output-card-grid,.notes-grid){gap:16px!important}
  html body#carbonloop-public[class][class][class] main :is(.card,.pricing-summary-card,.copy-plan-card,.aud-card,.path-card,.quote-next,.account-panel,.service-scope-card){min-height:0!important;padding:20px!important;gap:14px!important}
  html body#carbonloop-public[class][class][class] main .btn{max-width:100%!important;box-sizing:border-box;white-space:normal!important;line-height:1.45!important;text-align:center}
  html body#carbonloop-public[class][class][class] main :is(.cta-row,.hero-actions,.contact-actions,.signup-actions){gap:10px!important;margin-top:20px!important}
  html body#carbonloop-public[class][class][class] main :is(.card,.pricing-summary-card,.copy-plan-card,.aud-card)>:last-child{margin-bottom:0!important}
  html body#carbonloop-public[class][class][class] main .tick-list{gap:8px!important;margin-top:0!important;margin-bottom:0!important}
  /* Compact homepage proof and partner-logo rows. */
  html body#carbonloop-public[class][class][class] main .hero .proof-row{gap:8px!important;margin-top:20px!important}
  html body#carbonloop-public[class][class][class] main .hero .proof-row>span{padding:10px 12px!important;font-size:12px!important;line-height:1.5!important;min-height:0!important}
  html body#carbonloop-public[class][class][class] main .promo-hero-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin-top:10px!important}
  html body#carbonloop-public[class][class][class] main .promo-hero-stats>div{min-width:0;padding:10px 8px!important}
  html body#carbonloop-public[class][class][class] main .promo-hero-stats strong{font-size:19px!important;line-height:1.2!important}
  html body#carbonloop-public[class][class][class] main .promo-hero-stats span{font-size:10px!important;line-height:1.4!important}
  html body#carbonloop-public[class][class][class] main .industry-connection-real .wrap{gap:22px!important}
  html body#carbonloop-public[class][class][class] main .industry-logo-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  html body#carbonloop-public[class][class][class] main .industry-logo-tile{min-height:0!important;height:auto!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:9px!important;padding:13px 8px!important}
  html body#carbonloop-public[class][class][class] main .industry-logo-tile img{height:36px!important;width:100%!important;max-width:90px!important;object-fit:contain!important}
  html body#carbonloop-public[class][class][class] main .industry-logo-tile span{font-size:10px!important;line-height:1.4!important;text-align:center;min-height:28px}
  html body#carbonloop-public[class][class][class] main .industry-mini-proof{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  html body#carbonloop-public[class][class][class] main .industry-mini-proof>*{padding:8px 10px!important;font-size:11px!important}
  html body#carbonloop-public[class][class][class] main #videos .approved-video-copy,html body#carbonloop-public[class][class][class] main .workflow-video-link .approved-video-copy{padding:18px!important}
  /* Keep the existing interactive workflow and its full-frame recording. */
  html body#carbonloop-public[class][class][class] #platform .workflow-step{padding:15px 102px 15px 45px!important;min-height:122px!important;box-sizing:border-box}
  html body#carbonloop-public[class][class][class] #platform .workflow-step>span{left:12px!important;top:15px!important;width:24px!important;height:26px!important;font-size:11px!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-step strong{font-size:14px!important;line-height:1.4!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-step p{font-size:12px!important;line-height:1.5!important;margin:5px 0 0!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-step:after{left:auto!important;right:12px!important;top:15px!important;bottom:auto!important;width:78px!important;height:74px!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-media{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-media video{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important;object-fit:contain!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-media-label{position:static!important;display:block!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:0!important;font-size:11px!important}
  html body#carbonloop-public[class][class][class] #video .demo-workflow-row>div{padding:18px!important;min-height:0!important;height:auto!important}
  html body#carbonloop-public[class][class][class] :is(#pricing,#demo,#platform,#workflow,#contact,#credits,#industry-news,#record,#proof,#offset) h2{font-size:26px!important;line-height:1.22!important;letter-spacing:-.5px!important;margin-bottom:14px!important}
  html body#carbonloop-public[class][class][class] :is(#pricing,#demo) .section-head{gap:14px!important;margin-bottom:24px!important}
  html body#carbonloop-public[class][class][class] :is(#pricing,#demo) .pricing-summary-card{padding:20px!important;gap:14px!important}
  html body#carbonloop-public[class][class][class] main .demo-panel,html body#carbonloop-public[class][class][class] main .how-final-cta{padding:22px!important;gap:24px!important;min-height:0!important}
  html body#carbonloop-public[class][class][class] main .demo-proof-grid{gap:8px!important;margin-top:18px!important}
  html body#carbonloop-public[class][class][class] main .demo-proof-grid>span{padding:10px!important;font-size:12px!important}
  html body#carbonloop-public[class][class][class] main .form-row{gap:12px!important}
  html body#carbonloop-public[class][class][class] main :is(.demo-form,.contact-form,.access-card){padding:20px!important;gap:14px!important}
  html body#carbonloop-public[class][class][class] main .form-grid{gap:14px!important}
  html body#carbonloop-public[class][class][class] main .field{min-height:44px!important;padding:11px 12px!important;font-size:16px!important;box-sizing:border-box;max-width:100%}
  html body#carbonloop-public[class][class][class] main textarea.field{min-height:120px!important}
  html body#carbonloop-public[class][class][class] main :is(.field-group,.form-grid label){gap:7px!important}
  html body#carbonloop-public[class][class][class] main :is(.form-note,.small-muted,.image-disclaimer){font-size:12px!important;line-height:1.6!important}
  /* Remove fixed desktop card heights in related-page grids. */
  html body#carbonloop-public[class][class][class] :is(.workflow-band,.support-strip,.database-workflow,.calculator-entry-cards,.offset-steps,.input-grid,.offset-step-grid)>.card{min-height:0!important;height:auto!important;padding:20px!important}
  html body#carbonloop-public[class][class][class] main :is(.record-visual-pair img,.offset-ui-card img,.calc-media-card img,.db-media img){height:auto!important;max-height:360px!important;object-fit:contain!important}
  html body#carbonloop-public.legal-page #main>.legal-hero>.wrap{width:100%!important}
  html body#carbonloop-public.legal-page .legal-layout{width:calc(100% - 36px)!important;margin:0 18px!important;padding-top:26px!important;padding-bottom:40px!important;box-sizing:border-box}
  html body#carbonloop-public.legal-page .legal-document{max-width:100%!important;min-width:0!important}
  html body#carbonloop-public.legal-page .legal-document>section{padding-bottom:24px!important;margin-bottom:24px!important}
  html body#carbonloop-public.legal-page .legal-side{margin-bottom:26px!important}
  html body#carbonloop-public.legal-page .legal-side nav{padding:16px!important;max-height:260px}
  html body#carbonloop-public.legal-page .legal-facts{margin:18px 0!important;padding:4px 14px!important}
  html body#carbonloop-public.legal-page .legal-pending{padding:14px 16px!important;margin:18px 0!important}
  html body#carbonloop-public.legal-page .legal-table-scroll{margin:16px 0!important}
  html body#carbonloop-public.legal-page .legal-hub-panel{padding:22px!important}
  html body#carbonloop-public.legal-page .legal-cards{gap:14px!important}
  html body#carbonloop-public.legal-page .legal-card{padding:22px!important}
  html body#carbonloop-public[class][class][class] footer.product-footer.refined-footer .footer-cta{padding:22px!important;gap:18px!important;margin-bottom:10px!important}
  html body#carbonloop-public[class][class][class] footer.product-footer.refined-footer .footer-cta h2{font-size:24px!important;line-height:1.25!important}
  html body#carbonloop-public[class][class][class] footer.product-footer.refined-footer .footer-cta p{font-size:14px!important;line-height:1.65!important}
  html body#carbonloop-public[class][class][class] footer.product-footer.refined-footer .footer-grid{padding:26px 0!important;gap:26px 20px!important}
  html body#carbonloop-public[class][class][class] footer.product-footer.refined-footer .footer-link-group nav a{margin-bottom:10px!important;line-height:1.55!important}
}
@media(max-width:374px){
  html body#carbonloop-public[class][class][class] main h2{font-size:24px!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-step{padding-right:89px!important;padding-left:42px!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-step:after{width:66px!important;height:66px!important;right:10px!important}
  html body#carbonloop-public[class][class][class] main .industry-logo-tile img{height:30px!important}
}
@media(max-width:767px){
  html body#carbonloop-public[class][class][class] main#home>section{padding:36px 18px!important}
  html body#carbonloop-public[class][class][class] #platform .product-console{height:auto!important;min-height:0!important;padding:0!important;align-self:start!important}
  html body#carbonloop-public[class][class][class] #platform .product-console>:not(.workflow-media){display:none!important}
  html body#carbonloop-public[class][class][class] #platform .product-console:after{display:none!important;content:none!important}
  html body#carbonloop-public[class][class][class] #platform .workflow-media{position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;max-height:none!important}
}
@media(max-width:767px){
 html body#carbonloop-public.resource-article-page .article-shell{grid-template-columns:minmax(0,1fr)!important;gap:28px!important;width:calc(100% - 36px)!important;padding:28px 0!important}
 html body#carbonloop-public.resource-article-page .article-sidebar{position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 html body#carbonloop-public.resource-article-page .article-body{width:100%!important;min-width:0!important}
 html body#carbonloop-public.resource-article-page .article-section{margin-bottom:32px!important}
 html body#carbonloop-public.resource-article-page .article-intro{padding:18px!important;margin-bottom:28px!important}
 html body#carbonloop-public.resource-article-page .visual-route-card{grid-template-columns:minmax(0,1fr)!important}
 html body#carbonloop-public.resource-article-page .article-cta{padding:20px!important;gap:18px!important}
 html body#carbonloop-public[class][class] main .addon-card{min-height:0!important;padding:20px!important}
}
@media(min-width:768px) and (max-width:1100px){
 html body#carbonloop-public.resource-article-page .article-shell{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
 html body#carbonloop-public.resource-article-page .article-sidebar{position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
