:root {
  --bg-light: #f8f7f4;
  --bg-dark: #171717;
  --bg-card: #242424;
  --accent: #f34213;
  --outline: #e8e8e8;
  --text-main: #101010;
  --text-muted: #676767;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Onest", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: 100%;
}

.hero {
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 20px 0;
  text-align: center;
}

.app-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 34px;
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: 50px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.subtitle {
  margin: 28px 0 0;
  width: min(448px, 100%);
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1.25;
}

.waitlist-form {
  margin-top: 44px;
  width: min(549px, 100%);
  height: 65px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: #fbfbfb;
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 24px;
  gap: 10px;
}

.waitlist-form input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: #5f676b;
  font: inherit;
  font-size: 20px;
}

.waitlist-form input::placeholder {
  color: #b9c2c7;
}

.waitlist-form button {
  height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.waitlist-form button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.form-message {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 14px;
  color: #3b3b3b;
}

.form-message.error {
  color: #bd310e;
}

.phone-image {
  width: min(532px, calc(100vw - 40px));
  margin-top: 36px;
  margin-bottom: 0;
}

.faq {
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 82px 20px 80px;
}

h2 {
  margin: 0 0 42px;
  width: min(608px, 100%);
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-align: center;
}

.faq-list {
  width: min(534px, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 16px 23px;
}

.faq-item h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faq-item p {
  margin: 16px 0 0;
  color: #cecece;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.footer {
  background: #000;
  color: #c2c2c2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 20px;
  text-align: center;
}

.footer-logo {
  width: 127px;
  height: 15px;
}

.footer-tagline {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.footer-terms {
  margin: 0;
  font-size: 12px;
  color: #999;
}

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

@media (max-width: 760px) {
  .hero {
    padding-top: 34px;
  }

  .app-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: 42px;
  }

  .subtitle {
    margin-top: 22px;
    font-size: 20px;
  }

  .waitlist-form {
    height: auto;
    min-height: 65px;
    padding: 10px;
    gap: 8px;
  }

  .waitlist-form input {
    font-size: 16px;
    padding-left: 10px;
  }

  .waitlist-form button {
    min-width: 128px;
  }

  h2 {
    font-size: 42px;
  }

  .faq-item p {
    font-size: 16px;
  }

  .faq-item h3 {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 34px;
  }

  .faq-item h3 {
    font-size: 16px;
  }

  .waitlist-form {
    flex-direction: row;
    border-radius: 999px;
    padding: 8px 10px 8px 14px;
  }

  .waitlist-form input {
    width: auto;
    min-width: 0;
    text-align: left;
  }

  .waitlist-form button {
    width: auto;
    flex-shrink: 0;
  }
}
