@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  background-attachment: fixed;
  color: #1f2937;
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
}

a {
  cursor: pointer;
  color: inherit;
}

:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}

.site-header,
main {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.78);
}

.nav-link:hover {
  color: #1d4ed8;
}

.hero {
  max-width: 620px;
  padding: 112px 0 132px;
}

h1,
h2 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.hero-copy p {
  color: #555;
  font-size: 16px;
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  background-color: #1d4ed8;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: 8px;
}

.button:hover {
  background-color: #1741b8;
}

.inline-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
}

.inline-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 780px) {
  .site-header,
  main {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    padding: 20px 0;
  }

  .hero {
    padding: 80px 0 40px;
  }

  .hero-copy p {
    margin-top: 10px;
  }

  .hero-actions {
    margin-top: 16px;
    gap: 12px;
  }
}
