:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07101a;
  color: #f4f7fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #07101a;
  isolation: isolate;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: url("hero-background.webp") 68% center / cover no-repeat;
  content: "";
}

main {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 76rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-block: 2rem;
}

header a {
  color: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

section {
  max-width: 58rem;
  align-self: center;
  padding-block: 5rem;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
  text-shadow: 0 0.08em 0.6em rgba(0, 0, 0, 0.24);
}

.services {
  margin: 2.25rem 0 0;
  color: #b7c4cf;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.8;
}

.services span {
  margin-inline: 0.65rem;
  color: #6e8293;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #aab6c0;
  font-size: 0.75rem;
  line-height: 1.5;
  text-shadow: 0 0.08em 0.7em rgba(0, 0, 0, 0.6);
}

footer p,
footer address {
  margin: 0;
  font-style: normal;
}

@media (max-width: 40rem) {
  body::before {
    background-position: 70% center;
  }

  main {
    width: min(100% - 2rem, 76rem);
    padding-block: 1.25rem;
  }

  section {
    padding-block: 4rem;
  }

  .services span {
    margin-inline: 0.35rem;
  }

  footer {
    display: grid;
  }
}
