:root {
  --color-white: #ffffff;
  --color-text: #555555;
  --color-text-dark: #333333;
  --color-text-light: #999999;
  --color-purple: #c166a8;
  --color-blue: #406aff;
  --color-blue-hover: #3358e6;
  --color-border: #d8d8d8;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --content-width: 520px;
  --page-padding: clamp(2rem, 8vw, 5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

.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;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--page-padding) clamp(1.5rem, 5vw, 3rem) 3rem;
}

/* Brand */

.brand {
  margin-bottom: 1.75rem;
}

.brand-logo {
  display: block;
  width: clamp(190px, 26vw, 260px);
  height: auto;
}

/* Divider */

.divider {
  margin: 0 0 3.5rem;
  border: none;
  border-top: 2px solid var(--color-purple);
}

/* Content */

.content {
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
}

.announcement {
  margin: 0 0 2.75rem;
  font-size: 1.0625rem;
  color: var(--color-text);
}

.announcement strong {
  font-weight: 700;
  color: var(--color-text-dark);
}

.form-heading {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  color: var(--color-text);
}

/* Form */

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.waitlist-form input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: border-color 0.15s ease;
}

.waitlist-form input::placeholder {
  color: var(--color-text-light);
}

.waitlist-form input:focus {
  outline: none;
  border-color: #aaa;
}

.btn-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-blue);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-submit:hover {
  background: var(--color-blue-hover);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-message {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  text-align: center;
  border-radius: 8px;
}

.form-message.success {
  color: #276749;
  background: #f0fff4;
}

.form-message.error {
  color: #9b2c2c;
  background: #fff5f5;
}

.disclaimer {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}
