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

:root {
  --green-deep: #1a4a32;
  --green-mid: #235c3f;
  --green-light: #2e7a53;
  --cream: #faf6f0;
  --cream-dark: #f0ebe1;
  --terracotta: #c85a1a;
  --terracotta-light: #e07030;
  --ink: #1c1a17;
  --ink-light: #3d3a33;
  --muted: #7a7569;
  --border: #e0dbd2;
}

html { scroll-behavior: smooth; }

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

/* ─── Header ─── */
.site-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.tagline {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ─── Shared Section Styles ─── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 80px);
  position: relative;
}
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(46,122,83,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200,90,26,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  padding: 5rem 3rem 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.75rem;
}
.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}
.hero-headline em {
  color: var(--green-deep);
  font-style: italic;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-light);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 2.5rem;
}
.hero-availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
}
/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--cream-dark);
  border-left: 1px solid var(--border);
}
.agent-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 4px 32px rgba(26,74,50,0.08);
}
.agent-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.agent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-deep);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.agent-info { flex: 1; }
.agent-name { font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.agent-status { font-size: 0.65rem; color: var(--muted); margin-top: 0.15rem; }
.agent-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,122,83,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(46,122,83,0); }
}
.agent-card-body { display: flex; flex-direction: column; gap: 0.75rem; }
.agent-task {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-light);
}
.task-status {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.task-status.done { color: var(--green-light); }
.task-status.active { position: relative; }
.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--terracotta);
  animation: ring-pulse 1.5s ease-out infinite;
}
.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  position: relative;
  z-index: 1;
}
@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ─── What It Does ─── */
.what-it-does {
  padding: 6rem 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-item {
  padding: 2rem 1.75rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.2s;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(26,74,50,0.07);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  margin-bottom: 1.25rem;
}
.feature-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.feature-item p {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 6rem 0;
  background: var(--green-deep);
  color: white;
}
.how-it-works .section-label { color: rgba(255,255,255,0.5); }
.how-it-works .section-headline { color: white; }
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 1rem;
}
.step { padding: 0 1rem; }
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--terracotta-light);
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}
.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.step-connector {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-top: 2.5rem;
  flex-shrink: 0;
}

/* ─── Manifesto ─── */
.manifesto {
  padding: 5rem 0;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.35;
  margin-bottom: 1.75rem;
  font-weight: 400;
  position: relative;
  padding-left: 2rem;
}
.manifesto-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 3px;
  background: var(--terracotta);
  border-radius: 2px;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.7;
}

/* ─── Numbers ─── */
.numbers { padding: 4rem 0; background: var(--cream); }
.numbers-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.stat { text-align: center; padding: 0 1rem; }
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label { font-size: 0.78rem; color: var(--muted); line-height: 1.4; max-width: 180px; margin: 0 auto; }
.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* ─── Closing ─── */
.closing {
  padding: 7rem 0;
  background: var(--green-deep);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; padding: 0 2rem; }
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.closing-sub { font-size: 1rem; color: rgba(255,255,255,0.6); }

/* ─── Footer ─── */
.site-footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-deep);
}
.footer-meta { font-size: 0.78rem; color: var(--muted); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { border-left: none; border-top: 1px solid var(--border); padding: 2rem; }
  .hero-content { padding: 3rem 1.5rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps-row { grid-template-columns: 1fr; gap: 2rem; }
  .step-connector { display: none; }
  .numbers-inner { grid-template-columns: 1fr; gap: 2rem; }
  .stat-divider { display: none; }
}
@media (max-width: 600px) {
  .site-header, .footer-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .tagline { display: none; }
  .section-inner { padding: 0 1.25rem; }
  .manifesto-inner { padding: 0 1.25rem; }
  .closing-inner { padding: 0 1.25rem; }
  .numbers-inner { padding: 0 1.25rem; }
}