/* Shared type scale across the public pages. */
:root{--type-display:clamp(46px,5.1vw,70px);--type-section:clamp(36px,4vw,54px);--type-intro:14px}
body{font-family:"Manrope","Segoe UI",Arial,sans-serif;overflow-x:clip}
button,input,select,textarea{font-family:inherit}
.mono,.kicker,.portfolio-work-kind{font-family:"IBM Plex Mono",monospace}
:is(.hero h1,.internal-hero-copy h1,.legal-head h1,.inner-hero h1){font-size:var(--type-display)!important;line-height:1.08!important;letter-spacing:-.055em;font-weight:700;overflow-wrap:anywhere}
:is(.section-head h2,.capability-head h2,.contact-simple-copy h2,.contact-composer h2,.contact-card h2){font-size:var(--type-section)!important;line-height:1.08!important;letter-spacing:-.05em;font-weight:700}
:is(.internal-hero-copy>p,.section-head>p,.legal-head>p){font-size:var(--type-intro);line-height:1.65}

@media(max-width:760px){
  :root{--type-display:clamp(34px,9vw,42px);--type-section:clamp(30px,8vw,38px);--type-intro:13px}
  html{scroll-behavior:auto!important;scroll-padding-top:0!important}
  section[id]{scroll-margin-top:76px!important}
  .hero-tech-control{overflow-x:clip}
  .internal-hero-grid{grid-template-columns:minmax(0,1fr)!important}
  .internal-hero-grid>*{min-width:0;max-width:100%}
  .internal-hero-copy h1{max-width:100%;font-size:var(--type-display)!important;line-height:1.08}
  .internal-hero-copy>p{max-width:100%;overflow-wrap:anywhere}
  .portfolio-hero .internal-hero-visual{display:none}
  .portfolio-hero{padding-bottom:20px!important}
  .portfolio-filter,.capability-chips{max-width:100%;display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:7px!important;padding-bottom:0!important}
  .portfolio-filter a,.capability-chip{flex:0 1 auto!important;white-space:normal!important;min-height:36px;line-height:1.25;text-align:center}
  :is(.hero-proofrail.proofrail-v18,.services-final,.real-projects.real-projects-four,.pricing-grid,.process-cards.unified-card-grid,.collab-grid,.service-task-grid,.scenario-grid,.portfolio-demo-grid){
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    padding-bottom:0!important;
  }
  :is(.hero-proofrail.proofrail-v18,.services-final,.real-projects.real-projects-four,.pricing-grid,.process-cards.unified-card-grid,.collab-grid,.service-task-grid,.scenario-grid,.portfolio-demo-grid)>*{
    min-width:0;
    max-width:100%;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    flex-basis:auto!important;
    scroll-snap-align:none!important;
  }
  .footer-contact-links,.footer-col:last-child nav{
    flex-wrap:wrap!important;
    overflow:visible!important;
    padding-bottom:0!important;
  }
  .footer-contact-links a,.footer-col:last-child nav>*{flex:0 1 auto!important;max-width:100%;white-space:normal}
}
@media(max-width:390px){
  :root{--type-display:34px;--type-section:30px}
  .portfolio-filter a{font-size:10px;padding-inline:10px}
}
