@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --teal:         #0E7C7B;
  --teal-dark:    #0A6463;
  --teal-tint:    #E7F2F1;

  --ink:          #0F172A;
  --muted:        #64748B;
  --faint:        #94A3B8;

  --bg:           #FFFFFF;
  --canvas:       #F1F4F7;
  --field:        #FFFFFF;
  --light:        #FBFCFD;

  --line:         #E8EDF2;
  --field-border: #D9E1E8;

  --error:        #DC2626;

  --radius:       14px;
  --radius-pill:  999px;

  --shadow-app:   0 1px 2px rgba(15,23,42,.04), 0 24px 60px rgba(15,23,42,.10);
  --shadow-card:  0 2px 12px rgba(15,23,42,.08);
  --shadow-btn:   0 6px 18px rgba(14,124,123,.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  min-height: 100vh;
}

/* ── App shell ── */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: var(--shadow-app);
}

@media (min-width: 720px) {
  body { padding: 32px 24px; min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; }
  .app { border-radius: 20px; min-height: unset; width: 100%; }
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-omega {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.logo-wordmark {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
}
.nav-link:hover { color: var(--teal-dark); }

/* ── Main content ── */
.main-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 720px) {
  .main-content {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 60px 56px;
  }
}

/* ── Hero ── */
.hero {
  padding: 36px 28px 32px;
}

@media (min-width: 720px) {
  .hero {
    flex: 1;
    padding: 0 56px 0 0;
    border-right: 1px solid var(--line);
  }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-tint);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

@media (min-width: 720px) {
  .hero h1 { font-size: 42px; }
}

.hero-lede {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 340px;
}

/* ── Form card ── */
.form-card {
  padding: 32px 28px;
  background: var(--light);
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .form-card {
    width: 360px;
    flex-shrink: 0;
    padding: 0 0 0 56px;
    background: transparent;
    border-top: none;
  }
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.waitlist-intro {
  margin-bottom: 24px;
}
.waitlist-intro h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.3;
}
.waitlist-intro p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Form fields ── */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--field);
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input::placeholder { color: var(--faint); }
.form-field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,124,123,.12);
}
.form-field input.error { border-color: var(--error); }

.field-error {
  font-size: 12.5px;
  color: var(--error);
  display: none;
}
.form-field input.error + .field-error { display: block; }

/* ── Button ── */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-hint {
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ── Confirmation ── */
.confirm-box {
  display: none;
  background: var(--teal-tint);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
}
.confirm-box.visible { display: block; }

.confirm-check {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.confirm-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.confirm-box p {
  font-size: 14px;
  color: var(--muted);
}

/* ── Thank-you page ── */
.thankyou-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px;
  flex: 1;
}

.thankyou-icon {
  margin-bottom: 24px;
}

.thankyou-main h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.thankyou-main p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.thankyou-main .btn-primary {
  width: auto;
  padding: 0 32px;
  min-height: 48px;
  font-size: 15px;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 28px 28px 36px;
  border-top: 1px solid var(--line);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--teal); }

.footer-disclaimer {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}
