:root {
  --bg: #05070a;
  --text: #f2f4f8;
  --muted: #8b93a3;
  --grid: rgba(120, 140, 180, 0.075);
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at center, rgba(45, 55, 85, 0.22), transparent 34%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.7;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

.container {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  max-width: 720px;
  z-index: 1;
  margin: 0 auto;
  padding:
    max(24px, env(safe-area-inset-top))
    clamp(16px, 4vw, 24px)
    max(24px, env(safe-area-inset-bottom));
  text-align: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(32px, 10vh, 72px);
}

h1 {
  font-size: clamp(32px, 9vw, 72px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.04;
  text-wrap: balance;
}

.description {
  width: 100%;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(15px, 3.8vw, 18px);
  line-height: 1.5;
  text-wrap: balance;
}

.description-line {
  display: block;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.contact {
  color: var(--muted);
  max-width: 32rem;
  font-size: clamp(12px, 3.4vw, 13px);
  opacity: 0.75;
  line-height: 1.5;
}

.contact a {
  color: inherit;
  text-decoration: none;
}

.contact + .contact {
  margin-top: 4px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.socials a {
  color: #dde4ee;
  opacity: 0.84;
  transition: opacity 0.2s ease;
}

.socials a:hover {
  opacity: 1;
}

.socials svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  body::before {
    background-size: 48px 48px;
  }

  .hero {
    padding-block: 24px 40px;
  }

  .footer {
    padding-top: 24px;
  }
}

@media (max-width: 400px) {
  .container {
    padding-inline: 10px;
  }

  .socials {
    gap: 16px;
  }

  .socials svg {
    width: 17px;
    height: 17px;
  }
}
