@font-face {
  font-family: Shoulders;
  src: url("assets/display.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("assets/label.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf4e8;
  --ink: #241917;
  --red: #b83129;
  --accent: #e7493e;
  --label: Barlow, sans-serif;
  --display: Shoulders, Impact, sans-serif;
}

* { box-sizing: border-box; }

body {
  width: min(1180px, calc(100% - 80px));
  min-height: 100svh;
  margin: 0 auto;
  padding-block: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 system-ui, sans-serif;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 66px);
  min-height: clamp(450px, 68svh, 560px);
  padding: clamp(36px, 6vw, 76px);
  border-radius: 22px;
  background: var(--ink);
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid #79594f;
  border-radius: 99px;
  font: 600 15px/1 var(--label);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  margin: 18px 0 25px;
  font: 900 clamp(60px, 8.5vw, 120px)/.88 var(--display);
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.mascot {
  display: block;
  justify-self: center;
  width: min(100%, 320px);
  height: auto;
  padding: 4%;
}

.signup {
  display: flex;
  gap: 6px;
  max-width: 440px;
  padding: 5px;
  border: 1px solid #c9b7a8;
  border-radius: 11px;
  background: #fffaf1;
}

.signup input,
.signup button { font: inherit; }

.signup input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.signup button {
  flex-shrink: 0;
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.signup button:hover { background: #90271f; }
.signup button span { margin-left: 5px; color: #ffc4b3; }

:focus-visible { outline: 2px solid #a32a22; outline-offset: 2px; }

.form-note {
  margin: 10px 0 0;
  color: #e2c7b8;
  font-size: 13px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font: 900 30px/1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}

.brand img { border-radius: 8px; }
.brand b { color: var(--red); }

.footer-line {
  color: #695954;
  font: 600 14px/1.2 var(--label);
  letter-spacing: .1em;
  text-align: right;
  text-transform: uppercase;
}

.footer-line span { margin-left: 5px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 700px) {
  body {
    width: calc(100% - 32px);
    padding-block: 16px;
  }

  .waitlist {
    grid-template-columns: 1fr;
    gap: 17px;
    min-height: auto;
    padding: 29px clamp(14px, 5vw, 30px) 34px;
    border-radius: 17px;
    text-align: center;
  }

  .mascot {
    grid-row: 1;
    width: clamp(145px, 45vw, 205px);
    padding: 12px;
  }

  h1 {
    font-size: clamp(53px, 14vw, 84px);
    margin: 15px 0 21px;
  }

  .signup { margin-inline: auto; }
  .signup input { padding-inline: 6px; }
  .signup button { padding-inline: 9px; }
  .footer { padding-top: 16px; }
  .footer-line { font-size: 11px; }
}

@media (max-width: 365px) {
  .signup { flex-direction: column; }
  .signup input { min-height: 42px; }
}

/* honeypot field for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup button:disabled { opacity: .7; cursor: wait; }
