:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #102a43;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  scroll-behavior: smooth;
}

button,
input,
select {
  font: inherit;
}

.hero {
  padding: 5rem 1.5rem 3rem;
  background: linear-gradient(180deg, #1b263b 0%, #273c5f 100%);
  color: #ffffff;
  position: relative;
}

.hero-content {
  max-width: 940px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: #93a6c1;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero-copy {
  max-width: 720px;
  margin: 1.5rem 0 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.25rem;
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
}

.cta-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: #2563eb;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #1d4ed8;
}

.form-panel {
  max-width: 900px;
  margin: -2.5rem auto 2rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(16, 42, 67, 0.12);
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.panel-copy h2 {
  margin: 0;
  font-size: 2rem;
}

.panel-copy p {
  margin: 0.75rem 0 0;
  color: #475569;
  line-height: 1.8;
}

.waitlist-form {
  display: grid;
  gap: 1rem;
}

.input-group {
  display: grid;
  gap: 0.5rem;
}

label {
  font-weight: 600;
  color: #102a43;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 0 1rem;
  background: #f8fafc;
  color: #0f172a;
}

input:focus,
select:focus {
  outline: none;
  border-color: #475569;
  box-shadow: 0 0 0 4px rgba(71, 85, 105, 0.12);
}

.button-primary {
  border: none;
  background: #2563eb;
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.form-note {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.form-error {
  margin: 0;
  color: #b91c1c;
  font-size: 0.95rem;
}

.success-message {
  padding: 2rem;
  border-radius: 24px;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #134e4a;
}

.hidden {
  display: none;
}

.footer {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  color: #475569;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3rem;
  }

  .form-panel {
    margin-top: -1.5rem;
    padding: 1.5rem;
  }

  .cta-button {
    position: static;
    display: block;
    margin: 2rem auto 0;
    text-align: center;
  }
}
