@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 750;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/nunito-sans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 750;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 450 650;
  font-display: swap;
  src: url(fonts/commissioner-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 450 650;
  font-display: swap;
  src: url(fonts/commissioner-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --type-copy: "Nunito Sans", system-ui, sans-serif;
  --type-display: "Commissioner", system-ui, sans-serif;
}

body, button, input, textarea, select { font-family: var(--type-copy); }

.hero h1, .examples-heading h2, .diagram-heading h2,
.solutions-heading h2, .closing-glow h2, .solution-copy h3 {
  font-family: var(--type-display);
  font-variation-settings: "FLAR" 34;
  font-weight: 565;
  letter-spacing: -.038em;
  line-height: 1.1;
  text-wrap: balance;
}

.hero h1 { font-weight: 535; line-height: 1.08; }
.hero h1 span {
  color: #a2e5eb;
  font-variation-settings: "FLAR" 50;
  font-weight: 595;
}

.solution-copy h3 { font-weight: 565; line-height: 1.15; }
.hero .case-intro h2, .stack-detail h3 { letter-spacing: -.026em; font-weight: 630; }
.hero-copy p, .diagram-heading p { line-height: 1.55; text-wrap: pretty; }
.hero .kicker { letter-spacing: .085em; }

.solution-tabs button, .hero-motion-toggle, .map-pause, .map-node,
.stack-options button, .plate .plate-inscription, .plate.active .plate-inscription,
.solution-index, .route-caption, .solution-diagram-top, .map-group span {
  font-family: var(--type-copy);
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(31px, 7.6vw, 44px); letter-spacing: -.035em; }
  .solutions-heading h2 { font-size: clamp(29px, 8.9vw, 37px); overflow-wrap: anywhere; }
}
