@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/poppins-light-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/poppins-light-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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-regular-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-regular-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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/poppins-semibold-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/poppins-semibold-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 {
  --tool-blue: #1c5461;
  --charcoal: #1e201f;
  --deep-teal: #0d2c34;
  --ice: #e6f4f8;
  --coral: #ff6f59;
  --white: #ffffff;
  --cool-gray: #8a9697;
  --pale-blue: #f4fafb;
  --line-light: rgba(230, 244, 248, 0.19);
  --line-dark: rgba(13, 44, 52, 0.14);
  --ink-soft: #48626a;

  --font-body: "Poppins", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-utility: "SFMono-Regular", "SF Mono", "Roboto Mono", Consolas, monospace;

  --text-xs: 0.72rem;
  --text-sm: 0.88rem;
  --text-base: clamp(0.98rem, 0.25vw + 0.92rem, 1.08rem);
  --text-lg: clamp(1.08rem, 0.45vw + 0.98rem, 1.3rem);
  --text-h3: clamp(1.3rem, 1vw + 1.05rem, 1.8rem);
  --text-h2: clamp(2.25rem, 3.2vw + 1.15rem, 4.75rem);
  --text-h1: clamp(3.45rem, 5.65vw + 1.2rem, 7.75rem);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;
  --space-9: 9rem;

  --radius-sm: 0.55rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.35rem;
  --max-width: 90rem;
  --header-height: 5.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  color: var(--deep-teal);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

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

p {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

::selection {
  color: var(--deep-teal);
  background: var(--coral);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-9);
}

.section-dark {
  color: var(--white);
  background: var(--deep-teal);
}

.section-label {
  display: inline-flex;
  gap: 0.72rem;
  align-items: center;
  margin-bottom: var(--space-4);
  color: var(--tool-blue);
  font-family: var(--font-utility);
  font-size: var(--text-xs);
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.58;
}

.section-label-light {
  color: var(--ice);
}

.section-label-dark {
  color: var(--charcoal);
}

.section-heading {
  max-width: 62rem;
  margin-bottom: var(--space-7);
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(17rem, 0.7fr);
  gap: var(--space-7);
  align-items: end;
  max-width: none;
}

.section-heading-split > p {
  max-width: 32rem;
  color: var(--ink-soft);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--charcoal);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 1080px) {
  :root {
    --space-9: 7.5rem;
  }

  .container {
    width: min(calc(100% - 2.5rem), var(--max-width));
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 4.5rem;
    --space-7: 3.5rem;
    --space-8: 4.75rem;
    --space-9: 5.5rem;
  }

  html {
    scroll-padding-top: var(--header-height);
  }

  .container {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
