@font-face {
  font-family: "Stem";
  src: url("../fonts/stem/Stem-SemiLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}

@font-face {
  font-family: "Stem";
  src: url("../fonts/stem/Stem-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../fonts/century-gothic/centurygothic.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #010f77;
  --ink: #232742;
  --text: #303030;
  --muted: #7c7c7c;
  --line: #c8c8c8;
  --silver: #c4c4c2;
  --soft: #f5f5f5;
  --paper: #fafafa;
  --white: #fff;
  --shell: 1320px;
  --gutter: 60px;
  --section-y: 60px;
  --font-body: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  --font-display: "Stem", "Century Gothic", "Trebuchet MS", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html.foundation-root {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.42;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid #4961ff;
  outline-offset: 3px;
}

main :where(h1, h2, h3, p, a, span, button, summary, strong, small, em) {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.page-shell {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

h1 {
  margin-bottom: 29px;
  color: var(--ink);
  font-size: clamp(44px, 4.25vw, 64px);
  line-height: .98;
  letter-spacing: -.035em;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(36px, 3.35vw, 50px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

h3 {
  color: var(--ink);
  line-height: 1.12;
}

@media (max-width: 1100px) {
  :root {
    --gutter: 32px;
    --section-y: 50px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 40px;
  }

  body {
    font-size: 13px;
  }

  .page-shell {
    width: calc(100% - 40px);
  }

  h1 {
    font-size: 37px;
    line-height: 1.02;
  }

  h2 {
    font-size: 31px;
    line-height: 1.04;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}