:root {
  color-scheme: dark;
  --background: #10130f;
  --ink: #ffffff;
  --muted: #d7ddd3;
  --line: rgba(255, 255, 255, 0.18);
  --button: #ffffff;
  --button-ink: #10130f;
  --button-hover: #d8f0d2;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
}

main {
  min-height: 100vh;
  display: grid;
}

.hero {
  position: relative;
  width: min(100% - 48px, 940px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 48px 0 116px;
}

.logo {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 0 44px;
}

h1 {
  max-width: 17ch;
  margin: 0;
  color: var(--ink);
  font-size: 4.4rem;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  margin-top: 40px;
  padding: 0 20px;
  border: 2px solid var(--button);
  border-radius: 6px;
  background: var(--button);
  color: var(--button-ink);
  font-weight: 800;
  text-decoration: none;
}

.primary-link:hover {
  border-color: var(--button-hover);
  background: var(--button-hover);
}

.product-links {
  position: absolute;
  bottom: 42px;
  left: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.product-links a {
  color: var(--ink);
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .hero {
    width: min(100% - 32px, 520px);
    padding: 32px 0 100px;
  }

  .logo {
    margin-bottom: 32px;
    width: min(100%, 380px);
  }

  h1 {
    max-width: 15ch;
    font-size: 3.25rem;
  }

  .product-links {
    bottom: 30px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.65rem;
  }
}
