:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --ink: #151515;
  --muted: #66645f;
  --pitch: rgba(21, 21, 21, 0.085);
  --rule: rgba(21, 21, 21, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.7), transparent 32rem),
    var(--paper);
}

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

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hero {
  position: relative;
  isolation: isolate;
  width: min(100%, 860px);
  min-height: min(1120px, calc(100svh - 48px));
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.22);
}

.pitch {
  position: absolute;
  inset: 6%;
  z-index: -1;
  width: 88%;
  height: 88%;
  color: var(--pitch);
}

.masthead {
  align-self: end;
  padding: 7rem 2rem 2rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.tagline {
  margin: 1.25rem 0 0;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.intro {
  width: min(34rem, calc(100% - 4rem));
  justify-self: center;
  padding: 2rem 0;
  text-align: center;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.6;
}

.footer {
  align-self: end;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0;
  }

  .hero {
    min-height: 100svh;
    border: 0;
  }

  .masthead {
    padding-inline: 1.25rem;
  }

  .intro {
    width: min(29rem, calc(100% - 2.5rem));
  }

  .footer {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .masthead,
  .intro,
  .footer {
    animation: rise 700ms ease-out both;
  }

  .intro {
    animation-delay: 80ms;
  }

  .footer {
    animation-delay: 160ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
