:root {
  --background: #fbf8f3;
  --brown: #4b3024;
  --muted: #ad876c;
  --line: #d8cdc4;
  --soft: #ded2c9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--background);
  color: var(--brown);
  font-family: "Poppins", sans-serif;
}

button,
input {
  font: inherit;
}

.waitlist-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 62px 24px 38px;
}

.waitlist-card {
  width: min(850px, 100%);
  text-align: center;
}

.brand {
  width: fit-content;
  margin: 0 auto 12px;
  display: flex;
  flex-direction: column;
  color: var(--brown);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.76;
}

.brand-line {
  display: block;
}

.brand-top {
  font-size: clamp(58px, 6.5vw, 86px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.brand-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  transform: translateX(15px);
}

.brand-of {
  font-size: clamp(50px, 5.5vw, 75px);
  font-style: italic;
  font-weight: 500;
  transform: translateY(-2px) rotate(-7deg);
}

.brand-name {
  font-size: clamp(58px, 6.5vw, 86px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  margin: 24px 0 52px;
  font-size: clamp(44px, 5.5vw, 71px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.intro {
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.8;
  font-weight: 300;
}

.waitlist-form {
  margin-top: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.9fr);
  gap: 18px;
  align-items: end;
}

.email-field {
  width: 100%;
}

.email-field input {
  width: 100%;
  height: 80px;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  color: var(--brown);
  padding: 22px 30px 20px;
  font-size: 18px;
  font-weight: 300;
  transition: border-color 180ms ease;
}

.email-field input::placeholder {
  color: #bca89c;
  opacity: 1;
}

.email-field input:focus {
  border-color: var(--brown);
}

.waitlist-form button {
  min-height: 80px;
  border: 1px solid var(--brown);
  background: var(--brown);
  color: var(--white);
  padding: 22px 36px;
  text-transform: uppercase;
  letter-spacing: 0.23em;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.waitlist-form button:hover {
  background: transparent;
  color: var(--brown);
}

.waitlist-form button:active {
  transform: translateY(1px);
}

.privacy-note {
  margin: 60px 0 7px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 500;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.social {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.social:hover {
  transform: translateY(-3px);
  background: rgba(75, 48, 36, 0.05);
}

.social svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social.instagram {
  color: #ed3e67;
}

.social.instagram svg {
  fill: none;
}

.social.facebook {
  color: #2676e5;
}

.social.pinterest {
  color: #e50027;
}

.social.x-social {
  color: #0c0c0c;
}

.social.youtube {
  color: #ff0000;
}

.social.youtube .play {
  fill: var(--background);
  stroke: none;
}

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

@media (max-width: 760px) {
  .waitlist-page {
    padding-top: 36px;
  }

  h1 {
    margin-bottom: 30px;
  }

  .desktop-break {
    display: none;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .email-field input {
    padding-left: 8px;
    padding-right: 8px;
  }

  .privacy-note {
    margin-top: 38px;
  }

  .social-links {
    gap: 14px;
    flex-wrap: wrap;
  }

  .social {
    width: 48px;
    height: 48px;
  }

  .social svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 420px) {
  .brand-bottom {
    transform: translateX(8px);
  }

  .brand-top,
  .brand-name {
    font-size: 52px;
  }

  .brand-of {
    font-size: 44px;
  }

  h1 {
    font-size: 42px;
  }

  .intro {
    font-size: 15px;
  }

  .waitlist-form button {
    font-size: 14px;
    letter-spacing: 0.18em;
  }
}
