@font-face {
  font-family: "Poppins";
  src: url("assets/Poppins-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/Poppins-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color: #ffffff;
  background: #013f53;
  font-family: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  min-height: 100%;
  background: #013f53;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background-color: #013f53;
  background-image: url("assets/gradient.jpg");
  background-position: center;
  background-size: cover;
}

.landing {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 5rem);
}

.landing__content {
  width: min(100%, 73rem);
  text-align: center;
}

h1 {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2.65rem, 6.7vw, 6.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.07;
  text-wrap: balance;
}

p {
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.02em;
}

.landing__contact {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: 0.9rem 1.6rem;
  border: 0.08rem solid rgba(255, 255, 255, 0.52);
  border-radius: 999rem;
  background: #ffffff;
  box-shadow: 0 1rem 2.8rem rgba(0, 31, 48, 0.18);
  color: #013f53;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.landing__contact:hover {
  background: #c0cad7;
  box-shadow: 0 1.2rem 3rem rgba(0, 31, 48, 0.26);
  transform: translateY(-0.12rem);
}

.landing__contact:focus-visible {
  outline: 0.2rem solid #ffffff;
  outline-offset: 0.3rem;
}

@media (max-width: 35rem) {
  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.5vw, 2.7rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing__contact {
    transition: none;
  }
}
