/* Load local font */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-variable.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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* #region CSS reset */

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

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* #endregion */

:root {
  --blue: 202, 100%, 38%;
  --dark-blue: 202, 100%, 23%;
  --dark-orange: 30, 100%, 40%;
  --orange: 30, 100%, 50%;
  --smoke-grey: 0, 0%, 90%;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-optical-sizing: auto;
  font-variation-settings: "slnt" 0;
  font-style: normal;
}

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

.container {
  max-width: 1366px;
  margin: 0 auto;
}

.notification-placeholder {
  position: relative;
  height: var(--notification-height);
}

.notification {
  position: fixed;
  width: 100%;
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.notification__content {
  display: flex;
  justify-content: space-between;
  max-width: 720px;
  color: #1f1f1f;
  padding-right: 1rem;

  align-items: flex-start;
  flex-direction: column;
  padding: 0.6rem;
  gap: 0.7rem;

  @media (min-width: 480px) {
    & {
      align-items: center;
      flex-direction: row;
      padding: 1.25rem;
      gap: 1.5rem;
    }
  }
}

.notification__paragraph {
  width: 100%;

  font-size: 0.75rem;
  letter-spacing: -0.02rem;

  @media (min-width: 480px) {
    & {
      font-size: 1rem;
      line-height: 1.4rem;
      letter-spacing: -0.03rem;
    }
  }
}

.notification__button {
  width: fit-content;
  color: white;
  white-space: nowrap;
  background-color: hsl(var(--blue));
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;

  font-size: 0.9rem;
  letter-spacing: -0.025rem;
  padding: 0.25rem 0.65rem;

  @media (min-width: 480px) {
    & {
      font-size: 1rem;
      letter-spacing: -0.025rem;
      padding: 0.6rem 1.3rem;
    }
  }
}

.hero {
  background-image: url("assets/images/hero-background.jpg");
  background-size: cover;
  background-position: center;
  background-color: hsl(var(--blue));
  background-blend-mode: multiply;
}

.hero__header {
  width: 100%;
  padding: 0.25rem 1.85rem;
  height: 90px;
  display: flex;
  align-items: center;
}

.hero__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;

  padding: 3.4rem 0.5rem 6.3rem 0.5rem;

  @media (min-width: 480px) {
    & {
      padding: 6.3rem 0.5rem 10.5rem 0.5rem;
    }
  }
}

.hero__title {
  font-weight: 400;

  font-size: 1.8rem;
  line-height: 1.75rem;

  @media (min-width: 480px) {
    & {
      font-size: 2.125rem;
      line-height: 2.5rem;
    }
  }
}

.hero__description {
  font-weight: 700;

  margin: 0.6rem 0;
  font-size: 1.5rem;
  line-height: 2.125rem;
  letter-spacing: -0.025rem;

  @media (min-width: 480px) {
    & {
      margin: 0.5rem 0;
      font-size: 1.7rem;
      line-height: 2.5rem;
      letter-spacing: 0;
    }
  }
}

.hero__cta-paragraph {
  font-size: 1.175rem;
  line-height: 1.8rem;
}

.hero__cta-button {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  margin-top: 2rem;
  color: white;
  letter-spacing: -0.025rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.25rem;
  border: 2.5px solid white;
  text-transform: uppercase;
  transition: background-color 0.1s linear, color 0.1s linear;

  &:hover {
    background-color: white;
    color: hsl(var(--blue));
  }
}

.highlights {
  background-color: hsl(var(--smoke-grey));
  color: #3d3d3d;
  width: 100%;
}

.highlights__header {
  text-align: center;
  padding: 4rem 0.5rem 3.5rem 0.5rem;
}

.highlights__title {
  font-size: 1.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.highlights__description {
  font-size: 1.15rem;
  font-weight: 500;
  padding: 0 1rem;
  line-height: 1.65rem;
  max-width: 800px;
  margin: 0 auto;
}

.highlights__tiles {
  display: grid;
  padding: 0 2.25rem 4.8rem 2.25rem;
  row-gap: 2.1rem;
  column-gap: 2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));

  @media (min-width: 480px) {
    & {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 960px) {
    & {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
}

.highlights__tile {
  position: relative;
  outline: 1px solid #afafaf;
  border: 1px solid #fff;
  list-style-type: none;
  padding: 1.7rem 1.2rem;
  width: 100%;
}

.highlights__tile-title {
  font-size: 1.5rem;
  letter-spacing: -0.025rem;
  line-height: 1rem;
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.highlights__tile-description {
  font-size: 0.9rem;
  letter-spacing: -0.035rem;
  line-height: 1.3rem;
  color: #202020;
}

.highlights_tile-icon {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  color: #a8a8a8;
}

.footer {
  background-color: #050328;
  color: #acc2ff;
  padding: 2.4rem 0;
  text-align: center;
}

.footer__content {
  font-size: 0.8rem;
  letter-spacing: -0.035rem;
}

.newsletter {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: hsl(var(--blue), 90%);
  color: white;
  padding: 1.25rem;
  max-width: 640px;

  @media (min-width: 480px) {
    & {
      padding: 1.9rem;
    }
  }
}

.newsletter[data-state="close"] {
  display: none;
}

.newsletter__title {
  font-size: 1.6rem;
  letter-spacing: -0.03rem;
  line-height: 2.2rem;
  margin-bottom: 0.4rem;
  text-wrap: unset;
}

.newsletter__description {
  font-size: 0.95rem;
  line-height: 1.5rem;
  margin-bottom: 1.2rem;
}

.newsletter__form {
  display: flex;
  gap: 0.95rem;
  flex-direction: column;

  @media (min-width: 480px) {
    & {
      gap: 0.6rem;
      flex-direction: row;
    }
  }
}

.newsletter__field {
  padding: 0.25rem 0.7rem;
  border: none;
  font-size: 0.875rem;
  width: 100%;
}

.newsletter__submit {
  border-radius: 3px;
  padding: 0.25rem 0.68rem;
  border: none;
  background-color: #fba200;
  white-space: nowrap;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025rem;
  cursor: pointer;
}

.newsletter__close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 10px;
  border: 0;
  background-color: transparent;
  color: white;
  font-size: 15.5px;
  cursor: pointer;
}
