:root {
  --bg: #FAFAF9;
  --bg-alt: #F5F5F4;
  --fg: #1C1917;
  --fg-muted: #78716C;
  --accent: #0D9488;
  --accent-light: #CCFBF1;
  --coral: #F97316;
  --border: #E7E5E4;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.2;
}

/* Nav */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-metrics {
  display: flex;
  gap: 2.5rem;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Email Mockup */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.email-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  width: 340px;
  overflow: hidden;
}

.mockup-header {
  background: var(--bg-alt);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--border);
  border-radius: 50%;
}

.mockup-content {
  padding: 1.5rem;
}

.mockup-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.mockup-stat {
  text-align: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.mockup-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flow-step {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: var(--bg-alt);
}

.flow-step.done { border-left: 3px solid var(--accent); }
.flow-step.active {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  color: var(--fg);
}

/* Problem */
.problem {
  padding: 5rem 2rem;
  background: var(--fg);
  color: white;
}

.problem-content {
  max-width: 1100px;
  margin: 0 auto;
}

.problem h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: white;
}

.problem > div > p {
  font-size: 1.1rem;
  color: #A8A29E;
  max-width: 700px;
  margin-bottom: 3rem;
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 500px;
}

.pstat {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pstat-bar {
  width: 120px;
  height: 8px;
  background: #44403C;
  border-radius: 4px;
  position: relative;
}

.pstat-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--pct);
  background: var(--coral);
  border-radius: 4px;
}

.pstat span:last-child {
  font-size: 0.9rem;
  color: #A8A29E;
}

/* Solution */
.solution {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}

.solution-content {
  max-width: 1100px;
  margin: 0 auto;
}

.solution h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.solution > div > p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.solution-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.agent-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
}

.agent-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.agent-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.agent-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* Features */
.features {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.features-header p {
  font-size: 1.05rem;
  color: var(--fg-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* How */
.how {
  padding: 5rem 2rem;
  background: var(--accent);
  color: white;
}

.how-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.how-header h2 {
  font-size: 2.25rem;
  color: white;
}

.how-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.step {
  display: flex;
  gap: 1.25rem;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  line-height: 1;
}

.step-content h3 {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* Closing */
.closing {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--fg);
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.25rem;
}

.closing p {
  font-size: 1.1rem;
  color: #A8A29E;
}

/* Footer */
.footer {
  padding: 3rem 2rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--fg); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* Legal pages (Privacy Policy, Terms of Service) */
.legal-page {
  padding: 4rem 2rem 5rem;
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--fg);
  font-size: 0.95rem;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--fg);
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  font-weight: 600;
  background: var(--bg-alt);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}

.legal-table td {
  color: var(--fg);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .solution-visual {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Hero Stat Pill */
.hero-stat {
  margin-bottom: 1.25rem;
}

.stat-pill {
  display: inline-block;
  background: var(--accent-light);
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.stat-pill strong {
  color: var(--accent);
}

/* Hero Form Column */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

.hero-form-col {
  padding-top: 0.5rem;
}

/* Lead Form Card */
.lead-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Form Inputs */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder {
  color: #A8A29E;
}

.form-group input.error {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.field-error {
  font-size: 0.8rem;
  color: var(--coral);
  min-height: 1.2em;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--coral);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'DM Sans', system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}

.btn-primary:hover {
  background: #ea6c0f;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Form Trust */
.form-trust {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.form-trust span {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 1.5rem;
}

.form-success h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* Nav CTA */
.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--coral);
  color: white;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #ea6c0f;
}

/* Closing CTA */
.closing-cta {
  margin-top: 2.5rem;
}

.closing .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-form-col {
    order: -1;
    padding-top: 0;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .solution-visual {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 1.5rem 2.5rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-metrics {
    gap: 1.5rem;
  }

  .metric-value {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .lead-form-card {
    padding: 1.5rem;
  }

  .form-trust {
    gap: 0.75rem;
  }

  .form-header h2 {
    font-size: 1.05rem;
  }

  .closing .btn-primary {
    display: block;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }
}