:root {
  color-scheme: dark;
  --ink: #f2f0e8;
  --muted: #a9aea4;
  --line: rgba(242, 240, 232, 0.13);
  --acid: #d7f44a;
  --acid-strong: #e5ff64;
  --page: #0b1110;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, "Segoe UI", "Microsoft YaHei UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  align-items: center;
  background: rgba(8, 13, 12, 0.78);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(24px, 5vw, 80px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 11px;
  letter-spacing: 0.18em;
}

.brand-mark {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, 7px);
  transform: rotate(45deg);
}

.brand-mark i {
  background: var(--acid);
  display: block;
  height: 7px;
  width: 7px;
}

.hero {
  display: grid;
  min-height: min(900px, 100vh);
  overflow: hidden;
  padding: 150px clamp(24px, 8vw, 132px) 84px;
  place-items: center start;
  position: relative;
}

.hero-backdrop {
  background-image:
    linear-gradient(90deg, rgba(7, 12, 11, 0.96) 0%, rgba(7, 12, 11, 0.74) 36%, rgba(7, 12, 11, 0.08) 72%),
    linear-gradient(0deg, var(--page) 0%, transparent 28%),
    url("./assets/voxel-world.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.01);
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--acid);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--acid);
  display: inline-block;
  height: 7px;
  margin-right: 10px;
  transform: rotate(45deg);
  width: 7px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(62px, 8.5vw, 138px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 1;
  margin-bottom: 38px;
}

h1 em {
  color: var(--acid);
  font-style: normal;
}

.hero-copy {
  color: #d2d6ce;
  font-size: clamp(16px, 1.25vw, 20px);
  margin-bottom: 42px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
}

.button-primary {
  background: var(--acid);
  color: #10150a;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--acid-strong);
}

.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.hero-caption {
  bottom: 38px;
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  font-size: 10px;
  gap: 22px;
  letter-spacing: 0.22em;
  position: absolute;
  right: clamp(24px, 5vw, 80px);
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #7f8780;
  display: grid;
  font-size: 11px;
  grid-template-columns: 1fr auto 1fr;
  padding: 42px clamp(24px, 6vw, 96px);
}

footer p {
  margin: 0;
}

footer p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--ink);
}

@media (max-width: 820px) {
  .site-header {
    height: 66px;
  }

  .hero {
    min-height: 760px;
    padding-top: 126px;
  }

  .hero-backdrop {
    background-image:
      linear-gradient(90deg, rgba(7, 12, 11, 0.92), rgba(7, 12, 11, 0.42)),
      linear-gradient(0deg, var(--page) 0%, transparent 35%),
      url("./assets/voxel-world.png");
    background-position: 63% center;
  }

  .hero-caption {
    left: 24px;
    right: auto;
  }

  footer {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  footer p:last-child {
    text-align: left;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(54px, 17vw, 84px);
  }

  .hero-copy br {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-caption span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
