:root {
  --bg: #ffffff;
  --fg: #000000;
  --fg-muted: #555555;
  --rule: #000000;
  --max-width: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 32px 120px;
}

.hero {
  padding: 40px 0 100px;
  border-bottom: 1px solid var(--rule);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 24px;
}

.tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.4;
  max-width: 32ch;
  margin: 0;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid var(--rule);
}

section h2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 32px;
}

section p {
  margin: 0 0 1.2em;
  max-width: 60ch;
}

section p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: none;
}

footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--fg-muted);
}

footer p {
  margin: 0;
}

@media (max-width: 640px) {
  main {
    padding: 40px 20px 60px;
  }

  .hero {
    padding: 20px 0 60px;
  }

  section {
    padding: 40px 0;
  }

  footer {
    margin-top: 40px;
  }
}
