@font-face {
  font-family: "Urbanist";
  src: url("../../fonts/Urbanist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("../../fonts/Urbanist-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-textPrimary: #212121;
  --color-textSecondary: #fefefe;
  --color-textTertiary: #666666;
  --color-textHighlight: #165b84;

  --color-bgPrimary: #ffffff;
  --color-bgSecondary: #f2f2f2;
  --color-bgTertiary: #fefefe;
  --color-bgHighlight: #165b84;

  --color-borderPrimary: #212121;
  --color-borderSecondary: #e0e0e0;
  --color-borderHighlight: #165b84;

  --font-sans: "Urbanist", sans-serif;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-style: normal;
  line-height: 1.5;
  font-weight: 500;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: var(--color-bgPrimary);
  color: var(--color-textPrimary);
}

/*** Components ***/
/*** Components ***/
/*** Components ***/

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: var(--font-sans);
  line-height: 1.5;
}

.btn--primary {
  color: var(--color-textSecondary);
  background-image: linear-gradient(
    to right,
    color-mix(in srgb, var(--color-bgHighlight) 70%, black) 0%,
    color-mix(in srgb, var(--color-bgHighlight) 70%, black) 100%
  );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left top;
  background-color: var(--color-bgHighlight);
  transition: background-size 300ms ease;
  border: 1px solid var(--color-borderHighlight);
}

.btn--primary:hover {
  background-size: 100% 100%;
}

.btn--secondary {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  color: var(--color-textPrimary);
  font-size: 0.875rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  background-color: var(--color-bgPrimary);
  border: 1px solid var(--color-borderSecondary);
  cursor: pointer;
  background-image: linear-gradient(
    to right,
    color-mix(in srgb, var(--color-bgPrimary) 95%, black) 0%,
    color-mix(in srgb, var(--color-bgPrimary) 95%, black) 100%
  );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left top;
  background-color: var(--color-bgPrimary);
  transition: background-size 300ms ease;
}

.btn--secondary:hover {
  background-size: 100% 100%;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 24px;
  line-height: calc(2.5 / 2.25);

  @media only screen and (min-width: 850px) {
    font-size: 30px;
  }

  @media only screen and (min-width: 1024px) {
    font-size: 36px;
  }

  @media only screen and (min-width: 1280px) {
    font-size: 40px;
  }
}

.card {
  border-radius: var(--border-radius-lg);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;

  @media only screen and (min-width: 1024px) {
    font-size: 20px;
  }
}

.section-wrapper {
  width: min(90vw, 1280px);
  margin: 0 auto;
  padding: 64px 0;
}

.page-title {
  font-size: 30px;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;

  @media only screen and (min-width: 1024px) {
    font-size: 55px;
    text-align: left;
  }
}

/*** Animations ***/
/*** Animations ***/
/*** Animations ***/

.interactive-card {
  transition:
    transform 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease,
    background-color 320ms ease;
}

.interactive-icon {
  transition: transform 320ms ease;
}

.js .enter,
.js .reveal {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .interactive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px -30px rgba(22, 91, 132, 0.4);
  }

  .interactive-card:hover .interactive-icon {
    transform: scale(1.08);
  }

  .js .enter {
    transform: translateY(24px);
    animation: fade-up 760ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--enter-delay, 0ms);
  }

  .js .reveal {
    transform: translateY(32px);
    transition:
      opacity 760ms ease,
      transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .enter,
  .js .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
