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

:root {
  --bg: #0a0a0a;
  --fg: #f5f5f4;
  --muted: #a1a1aa;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --surface: #18181b;
  --border: #27272a;
  --radius: 8px;
  --max-w: 960px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ───────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--accent); }
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 20px;
  max-width: 480px;
}

/* ── Waitlist Form ────────────────────────────── */
.waitlist-form {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  max-width: 420px;
}
.waitlist-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input:focus { border-color: var(--accent); }
.waitlist-form input::placeholder { color: var(--muted); }
.btn {
  padding: 14px 24px;
  border-radius: var(--radius);
  border: none;
  background: var(--accent);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.form-msg {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.4em;
}
.form-msg.success { color: #22c55e; }
.form-msg.error { color: #ef4444; }

/* ── Phone Mockup ─────────────────────────────── */
.phone {
  background: var(--surface);
  border-radius: 24px;
  border: 2px solid var(--border);
  padding: 24px 20px;
  max-width: 340px;
  margin: 0 auto;
}
.phone-header {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sms { margin-bottom: 12px; display: flex; }
.sms-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 80%;
  font-size: 0.9rem;
  line-height: 1.4;
}
.sms.user { justify-content: flex-end; }
.sms.user .sms-bubble {
  background: #2563eb;
  color: white;
  border-bottom-right-radius: 4px;
}
.sms.agent .sms-bubble {
  background: var(--border);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}

/* ── Steps ────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.step {
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Section Headers ──────────────────────────── */
.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ── Product Section ──────────────────────────── */
.product-section { background: var(--surface); }
.product-content { max-width: 640px; }
.product-content p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.product-highlight {
  color: var(--fg) !important;
  font-weight: 600;
}

/* ── Providers Grid ───────────────────────────── */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.provider-tag {
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.95rem;
  color: var(--fg);
}

/* ── CTA Section ──────────────────────────────── */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.cta-section .waitlist-form {
  margin: 32px auto 0;
  justify-content: center;
}
.cta-small {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 16px;
}

/* ── Footer ───────────────────────────────────── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--accent); text-decoration: none; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { order: -1; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .waitlist-form { flex-direction: column; }
  section { padding: 60px 0; }
}
