:root {
  color-scheme: light;
  --background: #f9f9f7;
  --ink: #191917;
  --muted: rgba(25, 25, 23, 0.58);
  --line: rgba(25, 25, 23, 0.28);
  --focus: rgba(25, 25, 23, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, "Nimbus Sans", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.landing {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vw, 84px) clamp(20px, 6vw, 72px);
}

.intro {
  width: min(100%, 680px);
  display: grid;
  justify-items: center;
  gap: clamp(22px, 4vw, 34px);
  text-align: center;
}

.logo {
  width: min(78vw, 330px);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

h1 {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 400;
  line-height: 1.72;
}

.signup {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.signup input[type="email"] {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  line-height: 1;
  padding: 16px 16px 16px 0;
  outline: 0;
}

.signup input[type="email"]::placeholder {
  color: rgba(25, 25, 23, 0.42);
}

.signup:focus-within {
  border-color: var(--ink);
  box-shadow: 0 7px 0 -6px var(--focus);
}

.signup button {
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 0 22px;
  min-height: 47px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.signup button:hover,
.signup button:focus-visible {
  background: transparent;
  color: var(--ink);
}

.signup button:active {
  transform: translateY(1px);
}

footer {
  position: fixed;
  inset-inline: 0;
  bottom: clamp(18px, 3vw, 30px);
  padding-inline: 20px;
  color: rgba(25, 25, 23, 0.45);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .landing {
    padding-bottom: 112px;
  }

  .logo {
    width: min(82vw, 275px);
  }

  .signup {
    grid-template-columns: 1fr;
    gap: 12px;
    border-bottom: 0;
  }

  .signup input[type="email"] {
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    text-align: center;
  }

  .signup:focus-within {
    box-shadow: none;
  }

  .signup button {
    width: 100%;
    min-height: 48px;
  }
}
