/* =========================================
   Outbound — AI Sales Agent Landing Page
   ========================================= */

:root {
  --bg: #faf9f6;
  --fg: #161616;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --dark: #161616;
  --mid: #6b6b6b;
  --light: #e8e6e1;
  --terminal-bg: #0d1117;
  --terminal-border: #30363d;
  --tag-research: #1a7f37;
  --tag-found: #6e5494;
  --tag-write: #9a6700;
  --tag-done: #1a7f37;
  --tag-follow: #ca5628;
  --tag-booked: #2563eb;
  --tag-bg: rgba(255,255,255,0.07);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav { display: flex; gap: 2rem; }

.nav-link {
  font-size: 0.9rem;
  color: var(--mid);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* --- Shared --- */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

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

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

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 440px;
}

/* --- Terminal --- */
.hero-terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.15);
}

.terminal-header {
  background: #161b22;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--terminal-border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }

.terminal-title {
  font-size: 0.75rem;
  color: #8b949e;
  font-family: 'DM Mono', 'Courier New', monospace;
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.78rem;
}

.terminal-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: #c9d1d9;
  line-height: 1.4;
}

.terminal-line.personalized { color: #e6edf3; }

.ts {
  color: #484f58;
  font-size: 0.7rem;
  min-width: 60px;
  flex-shrink: 0;
}

.tag {
  font-size: 0.62rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.tag.research { background: rgba(26,127,55,0.2); color: #3fb950; }
.tag.found { background: rgba(106,84,148,0.25); color: #d2a8ff; }
.tag.write { background: rgba(154,103,0,0.2); color: #e3b341; }
.tag.done, .tag.booked { background: rgba(37,99,235,0.2); color: #60a5fa; }
.tag.follow { background: rgba(202,86,40,0.2); color: #f0883e; }

.terminal-status {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #21262d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #3fb950;
  font-size: 0.72rem;
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fb950;
  box-shadow: 0 0 6px #3fb950;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- How --- */
.how {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 1rem;
}

.step {
  padding: 2rem;
  background: white;
  border: 1px solid var(--light);
  border-radius: 8px;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--light);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  line-height: 1;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--light);
  padding-top: 3.5rem;
}

/* --- Why --- */
.why {
  background: var(--dark);
  padding: 6rem 2rem;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.why-left .section-label { color: #8b949e; }
.why-left .section-title { color: white; }

.cost-breakdown {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2d333b;
}

.cost-item:last-child { border-bottom: none; }

.cost-label {
  font-size: 0.9rem;
  color: #8b949e;
}

.cost-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.cost-val span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #8b949e;
}

.cost-item.highlight .cost-label { color: #3fb950; }
.cost-item.highlight .cost-val { color: #3fb950; }

/* --- Objections --- */
.objections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 4rem;
}

.objection {
  background: rgba(255,255,255,0.04);
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 1.5rem;
}

.q {
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.a {
  font-size: 0.88rem;
  color: #8b949e;
  line-height: 1.65;
}

/* --- Manifesto --- */
.manifesto {
  padding: 7rem 2rem;
  background: #f4f3ef;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto .section-label { margin-bottom: 2rem; }

blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.55;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.manifesto-attr {
  font-size: 0.85rem;
  color: var(--mid);
}

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

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

.closing h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.closing p {
  color: #8b949e;
  font-size: 1.05rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  border-top: 1px solid #21262d;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand .logo {
  color: white;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #484f58;
}

.footer-copy {
  font-size: 0.8rem;
  color: #484f58;
}

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

  .hero-terminal {
    order: -1;
  }

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

  .step-arrow { display: none; }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .objections { padding-top: 0; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .how { padding: 4rem 1.25rem; }
  .why { padding: 4rem 1.25rem; }
  .manifesto { padding: 4rem 1.25rem; }
  .closing { padding: 5rem 1.25rem; }

  nav { display: none; }

  .header-inner { padding: 0 1.25rem; }
}