:root{
  --type-body:1rem;
  --type-small:.875rem;
  --type-meta:.75rem;
  --type-card:1.125rem;
  --type-section:1.75rem;
  --type-display:clamp(2.75rem,5vw,4.5rem);
}
html{font-size:16px}
body,button,input,select,textarea{
  font-family:system-ui,-apple-system,"Segoe UI","Noto Sans",Arial,sans-serif;
  font-size:var(--type-body);
  font-weight:400;
  line-height:1.6;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,p{overflow-wrap:break-word}
h1,h2,h3,h4{line-height:1.2}
p{font-size:var(--type-body);line-height:1.7}
header{font-size:var(--type-small)}
.brand{font-size:1.125rem;line-height:1.15}
.brand small{font-size:var(--type-meta);line-height:1.35;letter-spacing:.06em}
nav a,.quote,.primary,.secondary{font-size:var(--type-small);line-height:1.2}
.hero-copy>p{font-size:var(--type-body)}
.hero h1{font-size:var(--type-display);line-height:.98;letter-spacing:-.035em}
.hero h2{font-size:clamp(1.125rem,1.8vw,1.5rem);line-height:1.45}
.stats b{font-size:1.75rem}
.stats span{font-size:.9375rem}
.stats small{font-size:var(--type-meta)}
.section>h3{font-size:var(--type-section);line-height:1.2}
.section-intro{font-size:var(--type-body);line-height:1.65}
.services-v2 .cards h4{font-size:var(--type-card);line-height:1.4;min-height:0}
.services-v2 .cards p{font-size:var(--type-small);line-height:1.65;min-height:0}
.services-v2 dl div{font-size:.8125rem;line-height:1.45}
.services-v2 .cards button{font-size:.8125rem;line-height:1.2}
.project-grid small{font-size:var(--type-meta);line-height:1.35}
.project-grid b{font-size:1rem;line-height:1.4}
.project-grid span{font-size:var(--type-small);line-height:1.5}
.calc-banner-copy h3{font-size:clamp(1.5rem,2vw,2rem)}
.calc-banner-copy>p{font-size:var(--type-small);line-height:1.55}
.calc-features span{font-size:var(--type-meta);line-height:1.35}
.calc-features small{font-size:.6875rem}
.calc-banner-copy>a{font-size:.8125rem}
.engineering-banner h3,.company-summary h3{font-size:clamp(1.75rem,3vw,2.5rem)}
.engineering-banner p,.company-summary p{font-size:var(--type-body);line-height:1.7}
.partners>h3{font-size:var(--type-section)}
.partner-grid b{font-size:.875rem!important;line-height:1.45}
.contact-info>small,.order-card>small,.about-kicker{font-size:var(--type-meta);line-height:1.4}
.contact-info h3{font-size:clamp(1.75rem,2.5vw,2.25rem);line-height:1.18}
.contact-info>p,.order-card p{font-size:var(--type-body);line-height:1.65}
.contact-links small{font-size:var(--type-meta)}
.contact-links b{font-size:.9375rem;line-height:1.45}
.order-btn,.call-btn{font-size:.9375rem}
footer{font-size:.8125rem;line-height:1.5}
.dialog-hero small,.tech-grid small{font-size:var(--type-meta)}
.dialog-hero h2{font-size:clamp(1.625rem,3vw,2.125rem)}
.dialog-hero p,.steps li,.deliverables li,.tech-grid b{font-size:var(--type-small)}
.dialog-columns h3{font-size:1.125rem}
.order-intro h2{font-size:clamp(2rem,4vw,2.75rem)}
.order-intro p,.order-form label,.material-row>label{font-size:var(--type-small)}
.order-form input,.order-form select,.order-form textarea{font-size:1rem}

@media(max-width:700px){
  :root{--type-section:1.5rem}
  .hero h1{font-size:clamp(2.5rem,13vw,3.25rem)}
  .hero h2{font-size:1.125rem}
  .calc-banner-copy>p{font-size:.8125rem}
  .calc-features span{font-size:.75rem}
  .calc-banner-copy>a{font-size:.75rem}
}
