@font-face {
  font-family: "Cooper BT Light";
  src: url("font/cooper-bt-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161616;
  --brand-ink: #463921;
  --paper: #f9f5ee;
  --line: rgba(22, 22, 22, 0.22);
  --rose: #d5aaa9;
  --rose-dot: #d9aaa9;
  --cream-dot: #efe4d3;
  --blue: #a8c3dd;
  --mint: #9fd4c7;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.55), transparent 0.9rem),
    radial-gradient(circle at 76% 52%, rgba(255, 255, 255, 0.42), transparent 0.85rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.landing {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(8rem, 21.5vh, 19.5rem) clamp(1.25rem, 4vw, 4rem) clamp(6.5rem, 12vh, 11.5rem);
  isolation: isolate;
}

.shape {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.shape-pink {
  width: clamp(13rem, 39vw, 27rem);
  aspect-ratio: 1;
  top: clamp(-8.75rem, -12vw, -2.75rem);
  right: clamp(-13rem, -13vw, -5.5rem);
  background: var(--rose);
}

.shape-cream {
  width: clamp(3.2rem, 7vw, 4.9rem);
  aspect-ratio: 1;
  top: clamp(9.25rem, 20vh, 14.75rem);
  right: clamp(6.5rem, 16vw, 14rem);
  background: var(--cream-dot);
}

.shape-blue {
  width: clamp(18rem, 45vw, 31rem);
  aspect-ratio: 1;
  left: clamp(-14rem, -12vw, -7.1rem);
  bottom: clamp(-5rem, -5vw, -2rem);
  background: var(--blue);
}

.hero {
  align-self: start;
  justify-self: center;
  display: flex;
  width: min(100%, 42rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: flex;
  margin-bottom: clamp(4.4rem, 7.6vh, 5.95rem);
  color: var(--brand-ink);
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand-mark {
  display: block;
  width: clamp(8rem, 13.2vw, 20rem);
  height: auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
}

.brand-word {
  margin-top: 0.9rem;
  color: #2a251d;
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 400;
}

.brand-word strong {
  font-weight: 800;
}

.intro {
  display: grid;
  justify-items: center;
}

h1 {
  margin: 0;
  color: #090909;
  font-family: "Cooper BT Light", Georgia, serif;
  font-size: clamp(4.25rem, 7.6vw, 6.7rem);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: 0;
}

.rule {
  width: clamp(4.15rem, 8.5vw, 6.25rem);
  height: 0.38rem;
  margin: clamp(1.55rem, 3vh, 2rem) 0 clamp(2rem, 3.9vh, 2.6rem);
  background: var(--rose);
}

.intro p {
  width: min(100%, 36rem);
  margin: 0;
  color: #242428;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.62;
  text-wrap: balance;
}

.notify-form {
  display: flex;
  width: min(100%, 34.3rem);
  height: clamp(4rem, 6vw, 4.45rem);
  margin-top: clamp(4.1rem, 7vh, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.notify-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 clamp(1.5rem, 4vw, 2.55rem);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  outline: 0;
}

.notify-form input::placeholder {
  color: rgba(22, 22, 22, 0.72);
  opacity: 1;
}

.notify-form input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(159, 212, 199, 0.85);
}

.notify-form button {
  width: clamp(9.25rem, 32%, 11rem);
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.notify-form button:hover {
  background: #92c9bc;
}

.notify-form button:active {
  transform: scale(0.98);
}

.notify-form button:focus-visible {
  outline: 3px solid rgba(70, 57, 33, 0.24);
  outline-offset: -5px;
}

.features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4.4vw, 3.35rem);
  margin: clamp(3.2rem, 5vh, 4rem) 0 0;
  padding: 0;
  color: #171719;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
}

.features li {
  position: relative;
  white-space: nowrap;
}

.features li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * clamp(1.2rem, 2.4vw, 1.9rem));
  width: 0.43rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--rose-dot);
  transform: translate(-50%, -50%);
}

.footer {
  align-self: end;
  justify-self: center;
  margin-top: 5rem;
  color: #242428;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

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

@media (max-width: 700px) {
  body {
    background: var(--paper);
  }

  .landing {
    padding-top: clamp(3.75rem, 10vh, 5.5rem);
    padding-bottom: clamp(2rem, 5vh, 3rem);
  }

  .shape-pink {
    width: clamp(12rem, 54vw, 18rem);
    top: -5.6rem;
    right: -7.4rem;
  }

  .shape-cream {
    width: 3.3rem;
    top: 9.1rem;
    right: 3.25rem;
  }

  .shape-blue {
    width: clamp(17rem, 77vw, 23rem);
    left: -10rem;
    bottom: -9.3rem;
  }

  .brand {
    margin-bottom: clamp(3.65rem, 7vh, 4.8rem);
  }
  
  h1 {
    font-size: clamp(3.65rem, 16vw, 5.4rem);
  }

  .notify-form {
    max-width: 25rem;
  }

  .notify-form input {
    padding-left: 1.5rem;
    padding-right: 1rem;
  }

  .notify-form button {
    width: 8.8rem;
  }

  .features {
    flex-wrap: wrap;
    row-gap: 1rem;
    max-width: 22rem;
  }
}

@media (max-width: 460px) {
  .landing {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .intro p {
    font-size: 1.12rem;
    line-height: 1.58;
  }

  .notify-form {
    height: auto;
    margin-top: 3rem;
    flex-direction: column;
    gap: 0.65rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .notify-form input,
  .notify-form button {
    width: 100%;
    min-height: 3.8rem;
    border-radius: 999px;
  }

  .notify-form input {
    border: 1px solid var(--line);
    text-align: center;
  }

  .features {
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 2.6rem;
  }

  .footer {
    margin-top: 2.75rem;
  }

  .features li::before,
  .features li:not(:first-child)::before {
    left: -1.15rem;
  }
}
