:root {
  color-scheme: dark;
  --background: #000000;
  --foreground: #ffffff;
  --border: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

button,
a {
  font: inherit;
}

.home-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 4.5rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-nav {
  display: grid;
  gap: 1rem;
  width: min(100%, 18rem);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--foreground);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.45s ease, color 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, border-color 0.45s ease;
}

.hero-nav:has(.hero-button:hover) .hero-button:not(:hover),
.hero-nav:has(.hero-button:focus-visible) .hero-button:not(:focus-visible) {
  transform: scale(0.94);
  opacity: 0.45;
  border-color: #7a7a7a;
  color: #bcbcbc;
}

.hero-nav .hero-button:hover,
.hero-nav .hero-button:focus-visible {
  background: var(--foreground);
  color: var(--background);
  transform: scale(1.05);
  opacity: 1;
  border-color: var(--foreground);
}

@media (max-width: 640px) {
  .hero {
    gap: 3.5rem;
  }
}
