:root {
  --bg: #faf9f7;
  --fg: #0f172a;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --muted: #64748b;
  --border: #e2e0dc;
  --surface: #ffffff;
  --window-bg: #0f172a;
  --window-fg: #94a3b8;
  --window-accent: #22c55e;
  --agent-bg: #1e293b;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { font-size: 18px; color: var(--accent); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav-tagline { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; }

/* HERO */
.hero {
  padding: 80px 48px 96px;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof-item { display: flex; flex-direction: column; }
.proof-number { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--fg); }
.proof-label { font-size: 12px; color: var(--muted); line-height: 1.3; max-width: 80px; }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* AGENT WINDOW */
.hero-visual { display: flex; justify-content: flex-end; }

.agent-window {
  width: 100%;
  max-width: 400px;
  background: var(--window-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.15), 0 4px 16px rgba(15, 23, 42, 0.1);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--agent-bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.window-title { font-size: 12px; color: var(--window-fg); margin-left: 8px; font-weight: 500; }

.window-body { padding: 20px; }

.agent-log { display: flex; flex-direction: column; gap: 14px; }

.log-entry { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.5; }
.log-icon { font-size: 14px; flex-shrink: 0; width: 18px; text-align: center; }

.log-agent { color: var(--window-fg); }
.log-agent .log-icon { color: var(--window-accent); }

.log-action { color: #fbbf24; }
.log-action .log-icon { color: #fbbf24; }

.log-done { color: #22c55e; }
.log-done .log-icon { color: #22c55e; }

.agent-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: var(--window-fg);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--window-accent);
  box-shadow: 0 0 6px var(--window-accent);
}

/* WHAT IT DOES */
.what-it-does {
  padding: 80px 48px;
  background: var(--fg);
  color: var(--bg);
}

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 56px;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.vs-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: inline-block;
}
.vs-label.old { color: #94a3b8; }
.vs-label.new { color: var(--accent); }

.vs-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.vs-list li { font-size: 15px; line-height: 1.5; padding-left: 20px; position: relative; }
.vs-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; }
.vs-col:first-child .vs-list li::before { background: #475569; }
.vs-col:last-child .vs-list li::before { background: var(--accent); }

/* HOW IT WORKS */
.how-it-works { padding: 80px 48px; }

.steps { display: flex; flex-direction: column; gap: 0; margin-top: 56px; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  -webkit-text-stroke: 1px var(--accent);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-content p { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 480px; }

/* OUTCOMES */
.outcomes { padding: 80px 48px; background: #fff; }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}

.outcome { text-align: center; }

.outcome-metric {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.outcome-label { font-size: 13px; color: var(--muted); line-height: 1.4; }

.outcomes-note { font-size: 12px; color: var(--muted); text-align: center; font-style: italic; }

/* CLOSING */
.closing { padding: 96px 48px; background: var(--accent); }

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.closing-body { font-size: 18px; color: rgba(255,255,255,0.85); line-height: 1.6; }

/* FOOTER */
.footer { padding: 40px 48px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.footer-legal { font-size: 12px; color: var(--muted); }

/* PRICING */
.pricing {
  padding: 96px 48px;
  background: var(--bg);
}

.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.pricing-card--featured {
  border-color: var(--accent);
  border-width: 2px;
  background: var(--fg);
  color: var(--bg);
}

.pricing-card--featured .tier-name,
.pricing-card--featured .price-amount {
  color: #fff;
}

.pricing-card--featured .tier-tagline,
.pricing-card--featured .feature-item {
  color: rgba(255,255,255,0.75);
}

.pricing-card--featured .feature-icon {
  color: var(--accent);
}

.pricing-card--featured .cta-outline {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pricing-card--featured .cta-outline:hover {
  background: #b45309;
  border-color: #b45309;
}

.pricing-card--featured .cta-note {
  color: rgba(255,255,255,0.5);
}

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.card-header { margin-bottom: 28px; }

.tier-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 12px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 16px;
  color: var(--muted);
}

.tier-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg);
  line-height: 1.4;
}

.feature-icon {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cta-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  border: 2px solid transparent;
}

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

.cta-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cta-primary:hover { background: #b45309; border-color: #b45309; }

.cta-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.cta-outline:hover {
  border-color: var(--fg);
}

.cta-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

.pricing-faq {
  text-align: center;
  margin-top: 40px;
}

.faq-note {
  font-size: 14px;
  color: var(--muted);
}

.faq-note a { color: var(--accent); text-decoration: none; }
.faq-note a:hover { text-decoration: underline; }

/* HERO SIGNUP FORM */
.hero-signup {
  margin-bottom: 40px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signup-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.signup-input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease;
}

.signup-input::placeholder { color: #a0aec0; }
.signup-input:focus { border-color: var(--accent); }

.signup-btn {
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.signup-btn:hover:not(:disabled) { background: #b45309; }
.signup-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.signup-sub {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.signup-note { font-size: 13px; color: var(--muted); }

.signup-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.signup-link:hover { text-decoration: underline; }

.signup-error {
  font-size: 13px;
  color: #dc2626;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 56px 24px 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-content: flex-start; }
  .agent-window { max-width: 100%; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .proof-divider { display: none; }
  .what-it-does { padding: 56px 24px; }
  .vs-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-it-works { padding: 56px 24px; }
  .step { grid-template-columns: 56px 1fr; gap: 20px; }
  .outcomes { padding: 56px 24px; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .closing { padding: 64px 24px; }
  .footer { padding: 32px 24px; }
  .pricing { padding: 56px 24px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .pricing-card--featured { order: -1; }
  .card-badge { top: -12px; }
  .signup-row { flex-direction: column; }
  .signup-btn { width: 100%; }
}