:root {
  --bg: #f7f4f2;
  --ink: #281925;
  --coral: #ff4f61;
  --blue: #177ed8;
  --yellow: #f6de7b;
  --burgundy: #9a2f51;
  --lilac: #d8b3ff;
  --green: #0b7e43;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
}

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.top-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
  border-bottom: 1px solid rgba(40, 25, 37, 0.1);
  border-top: 1px solid rgba(40, 25, 37, 0.1);
}

.strip-item {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
}

.strip-blue {
  background: #117cd3;
  color: #d6ea72;
}

.strip-yellow {
  background: var(--yellow);
  color: #0f6b4b;
}

.strip-burgundy {
  background: var(--burgundy);
  color: #eeb2c1;
}

.strip-lilac {
  background: #d9c1f6;
  color: #ff3948;
}

.strip-green {
  background: var(--green);
  color: #ebc7ff;
}

.hero {
  position: relative;
  padding: 34px 28px 18px;
}

.hero h1 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(5rem, 23vw, 15rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--coral);
}

.hero h1 span {
  display: block;
}

.hero h1 span + span {
  margin-top: 0.12em;
}

.waitlist-form {
  width: min(100%, 880px);
  margin: 28px auto 0;
  padding: 28px;
  border: 3px solid rgba(217, 193, 246, 0.52);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: 0 20px 40px rgba(182, 157, 197, 0.18);
}

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.field span {
  font-size: 1.05rem;
  font-weight: 800;
}

.field input {
  width: 100%;
  height: 72px;
  padding: 0 24px;
  border: 3px solid rgba(40, 25, 37, 0.12);
  border-radius: 28px;
  background: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.field input::placeholder {
  color: rgba(40, 25, 37, 0.5);
}

.consent {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 500;
}

.consent input {
  width: 22px;
  height: 22px;
  accent-color: var(--coral);
}

.button {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.field input:focus,
.consent input:focus,
.button:focus-visible {
  outline: 3px solid rgba(255, 79, 97, 0.24);
  outline-offset: 2px;
}

.form-feedback {
  min-height: 24px;
  margin: 12px 2px 0;
  font-weight: 700;
}

.form-feedback.is-error {
  color: #b4284f;
}

.form-feedback.is-success {
  color: #156947;
}

@media (max-width: 1023px) {
  .page {
    grid-template-rows: 1fr auto;
    overflow: auto;
  }

  .top-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 22px 16px 14px;
  }

  .hero h1 {
    font-size: clamp(5rem, 23vw, 15rem);
    line-height: 0.88;
    letter-spacing: 0.01em;
  }

  .waitlist-form {
    padding: 20px;
    margin-top: 20px;
  }
}

@media (min-width: 1280px) {
  .hero {
    padding-left: 36px;
    padding-right: 36px;
  }
}
