:root {
  color-scheme: dark;
  --ink: #f5f5f2;
  --ink-soft: #a6a6a1;
  --paper: #050505;
  --line: #242424;
  --accent: #f04e23;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
}

.page-shell {
  width: min(100% - 2rem, 76rem);
  min-height: 100vh;
  margin-inline: auto;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero {
  display: flex;
  min-height: min(46rem, 88vh);
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  fill: var(--accent);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 52rem;
  margin-block: clamp(5rem, 13vh, 9rem);
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

.intro {
  max-width: 36rem;
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.62;
}

footer {
  padding-block: 1.3rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

@media (max-width: 42rem) {
  .page-shell {
    width: min(100% - 2.5rem, 76rem);
  }

  .hero {
    min-height: 85vh;
  }

  h1 {
    letter-spacing: -0.065em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-mark,
  .hero-copy {
    animation: arrive 700ms both cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero-copy {
    animation-delay: 80ms;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(0.8rem);
    }
  }
}
