@font-face {
  font-family: Inter;
  src: url('/fonts/inter-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --site-font: Inter, Arial, sans-serif;
  --page-title: clamp(2.25rem, 3vw, 2.5rem);
  --section-title: clamp(1.5rem, 2.2vw, 2rem);
}

body.refined,
body.refined :is(button, input, select, textarea, pre, .ex-label) {
  font-family: var(--site-font);
}

body.refined { font-size: 1rem; line-height: 1.55; }

/* Keep the same hierarchy across page-specific component styles. */
body.refined h1 {
  font-size: var(--page-title) !important;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}

body.refined h2:not(.hero-lead) {
  font-size: var(--section-title) !important;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}

body.refined .product-card .product-copy h3,
body.refined .pg-case .pg-copy h2 {
  font-size: 1.125rem !important;
  font-weight: 600;
  line-height: 1.3;
}

body.refined :is(.button, input:not([type=range]), select, textarea),
body.refined #main-nav a {
  font-size: 1rem !important;
}

body.refined .button { font-weight: 600; }
body.refined :is(figcaption, .product-model, .pg-model) { font-size: .875rem; }
body.refined .calc-wizard .wizard-film strong { font-size: 1rem; font-weight: 600; }
body.refined .calc-wizard .wizard-film small { font-size: .875rem; }
body.refined .calc-wizard .wizard-film { padding-block: 3px; }
body.refined .calc-wizard #calc-price { font-size: clamp(2rem, 4vw, 2.75rem); }
body.refined .calc-wizard #calc-title,
body.refined .calc-wizard .wizard-pane h2 { font-size: 1.375rem !important; }

@media (max-width: 720px) {
  :root {
    --page-title: clamp(1.75rem, 7.5vw, 2rem);
    --section-title: clamp(1.375rem, 5.5vw, 1.5rem);
  }
}

body.refined .hero-copy > p:not([class]),
body.refined main p:not([class]):not([id]),
body.refined .company-story-text p:not([class]) {
  font-size: 1rem;
  line-height: 1.55;
}

body.refined .service-area,
body.refined figcaption,
body.refined .card-highlights dt {
  font-size: .875rem !important;
}
