:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #55556a;
  --accent: #4ade80;
  --accent-dim: #22c55e;
  --accent-glow: rgba(74, 222, 128, 0.12);
  --warning: #f59e0b;
  --danger: #ef4444;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: #fff;
}

.lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Notice cascade visual */
.hero-visual {
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.notice-cascade {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.notice-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.notice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.2);
}

.notice-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  min-width: 100px;
}

.notice-status {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notice-status.qualified {
  background: var(--accent-glow);
  color: var(--accent);
}

.notice-status.routed {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
}

/* Problem section */
.problem {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.problem-inner {
  max-width: 900px;
  margin: 0 auto;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.problem-item {
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.problem-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 12px;
  line-height: 1;
}

.problem-item p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

.problem-footnote {
  color: var(--fg-dim);
  font-size: 15px;
  font-style: italic;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* How it works */
.how {
  padding: 100px 24px;
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.step {
  padding: 32px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.step p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Closing */
.closing {
  padding: 100px 24px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.closing p {
  color: var(--fg-muted);
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.closing-benchmark {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  padding: 20px 28px;
  background: var(--accent-glow);
  border-radius: var(--radius);
  border: 1px solid rgba(74, 222, 128, 0.15);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(74, 222, 128, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent-dim);
  color: var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.btn-lg {
  font-size: 17px;
  padding: 18px 40px;
  border-radius: 10px;
}

/* Hero CTA */
.hero-cta {
  margin-top: 36px;
}

/* CTA band (after problem grid) */
.cta-band {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-sub {
  color: var(--fg-dim);
  font-size: 14px;
}

/* Demo conversation section */
.demo-section {
  padding: 100px 24px;
}

.demo-inner {
  max-width: 860px;
  margin: 0 auto;
}

.demo-sub {
  color: var(--fg-muted);
  font-size: 17px;
  margin: 16px 0 48px;
  line-height: 1.6;
}

.demo-conversation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.demo-badge {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.demo-duration {
  color: var(--fg-muted);
  font-size: 13px;
  font-family: var(--font-display);
}

.demo-outcome {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-outcome--booked {
  background: var(--accent-glow);
  color: var(--accent);
}

.demo-transcript {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 520px;
  overflow-y: auto;
}

.transcript-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
}

.transcript-agent {
  background: rgba(74, 222, 128, 0.05);
}

.transcript-caller {
  background: rgba(255, 255, 255, 0.03);
}

.speaker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 32px;
  padding-top: 3px;
}

.transcript-agent .speaker { color: var(--accent); }
.transcript-caller .speaker { color: var(--fg-muted); }

.bubble {
  color: var(--fg);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.ts {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--fg-dim);
  min-width: 32px;
  text-align: right;
  padding-top: 3px;
}

.transcript-summary {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-elevated);
}

.summary-tag {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tag-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-value {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.tag-irs { color: #fbbf24; }
.tag-qualified { color: var(--accent); }

/* Pricing */
.pricing {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pricing-sub {
  color: var(--fg-muted);
  font-size: 17px;
  margin: 16px 0 56px;
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card--featured {
  border-color: rgba(74, 222, 128, 0.25);
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.06) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.08);
}

.pricing-tier {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pricing-badge {
  font-size: 10px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.pricing-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 28px;
}

.pricing-period {
  font-size: 18px;
  font-weight: 400;
  color: var(--fg-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  color: var(--fg-muted);
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-note {
  color: var(--fg-dim);
  font-size: 14px;
}

/* Closing CTA */
.closing-cta {
  margin: 28px 0 24px;
}

/* Footer nav */
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-family: var(--font-display);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}

.footer-detail {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-legal {
  color: var(--fg-dim);
  font-size: 13px;
}

/* Lead form — global (applied at all sizes) */
.lead-form-section {
  padding: 64px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lead-form-inner {
  max-width: 480px;
  margin: 0 auto;
}

.lead-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.lead-form-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.lead-form-header p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-field label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-field input {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-field input::placeholder {
  color: var(--fg-dim);
}

.form-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-field input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-field input.error {
  border-color: var(--danger);
}

.field-error {
  font-size: 12px;
  color: var(--danger);
  min-height: 16px;
}

.btn-lead-submit {
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.btn-lead-submit:hover:not(:disabled) {
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(74, 222, 128, 0.3);
}

.btn-lead-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-lead-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-lead-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 10, 15, 0.3);
  border-top-color: #0a0a0f;
  border-radius: 50%;
  animation: lf-spin 0.7s linear infinite;
}

.btn-lead-submit.loading .btn-lead-label {
  display: none;
}

.btn-lead-submit.loading .btn-lead-spinner {
  display: block;
}

@keyframes lf-spin {
  to { transform: rotate(360deg); }
}

.form-feedback {
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  padding: 10px 16px;
  border-radius: 8px;
  line-height: 1.5;
}

.form-feedback.success {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.lead-form-privacy {
  text-align: center;
  color: var(--fg-dim);
  font-size: 13px;
  margin-top: 4px;
}

.hero-form-wrap {
  margin-top: 32px;
}

.demo-form-wrap {
  margin-top: 48px;
}

/* Responsive */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

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

  .notice-cascade {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    min-height: auto;
    padding: 60px 20px 40px;
  }

  .problem, .how, .closing, .demo-section, .pricing {
    padding: 64px 20px;
  }

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

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

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-cta .btn-primary {
    display: block;
    text-align: center;
  }

  .footer-nav {
    gap: 16px;
  }
}