/* AgentBooks — Forest & Ivory theme */

:root {
  --bg: #f8f5f0;
  --bg-alt: #ede9e1;
  --fg: #1a1a18;
  --fg-muted: #6b6860;
  --green: #1a3d2b;
  --green-light: #254d38;
  --gold: #c9a84c;
  --gold-light: #e0c06a;
  --white: #ffffff;
  --border: #d8d3c8;
  --feed-bg: #1e2d22;
  --feed-text: #d4cfc6;
  --feed-muted: #8a9a88;
  --feed-border: #2e4235;
  --positive: #4caf6a;
  --negative: #e05c4b;
}

* { 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 {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--green);
  letter-spacing: -0.02em;
}
.header-tag {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.05;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 440px;
}

/* Live feed */
.hero-feed {
  background: var(--feed-bg);
  border-radius: 12px;
  padding: 24px;
  font-size: 13px;
}
.feed-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--feed-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.feed-row {
  display: grid;
  grid-template-columns: 60px 1fr 120px 90px;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--feed-border);
  align-items: center;
}
.feed-header {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--feed-muted);
  font-weight: 600;
  padding-bottom: 8px;
}
.feed-final { border-bottom: none; }
.feed-date { color: var(--feed-muted); }
.feed-desc { color: var(--feed-text); font-size: 12px; }
.feed-cat { color: var(--feed-muted); font-size: 12px; }
.feed-amt { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.positive { color: var(--positive); }
.negative { color: var(--negative); }
.feed-status {
  margin-top: 14px;
  font-size: 11px;
  color: var(--feed-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--positive);
  display: inline-block;
}

/* Hero stats */
.hero-rule {
  border-top: 1px solid var(--border);
  margin: 48px 0 32px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  flex: 1;
}
.stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--green);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.stat-sep {
  width: 1px;
  height: 50px;
  background: var(--border);
  margin: 0 40px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.cta-btn {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 16px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s ease;
}
.cta-btn:hover { background: var(--green-light); }
.cta-btn:active { transform: translateY(1px); }
.cta-note {
  font-size: 12px;
  color: var(--fg-muted);
  margin: 0;
}

/* Outcomes */
.outcomes {
  background: var(--green);
  padding: 80px 40px;
}
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 40px;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.outcome h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.outcome p {
  font-size: 15px;
  color: #a8b8a0;
  line-height: 1.65;
}
.outcome-icon { margin-bottom: 16px; }

/* Features */
.features { padding: 80px 40px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.features-list { display: flex; flex-direction: column; gap: 0; }
.feature-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.feature-num {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-top: 4px;
}
.feature-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-body p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 600px;
}

/* How / Pricing */
.how {
  background: var(--bg-alt);
  padding: 80px 40px;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.how-text p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.how-text p:last-child { margin-bottom: 0; }
.cta-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.cta-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}
.price-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--green);
  letter-spacing: -0.02em;
}
.price-period {
  font-size: 16px;
  color: var(--fg-muted);
}
.cta-features {
  list-style: none;
  margin-bottom: 24px;
}
.cta-features li {
  font-size: 15px;
  color: var(--fg);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-features li::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%231a3d2b'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.cta-note {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Closing */
.closing { padding: 80px 40px; }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-statement {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--green);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 24px;
  max-width: 700px;
}
.closing-statement.secondary { color: var(--fg-muted); font-size: clamp(20px, 2.5vw, 28px); }
.closing-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 40px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Success Banner */
.success-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 60px 40px;
}
.success-inner { max-width: 560px; text-align: center; }
.success-icon {
  font-size: 48px;
  color: var(--green);
  margin-bottom: 24px;
}
.success-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.success-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 40px;
}
.success-back {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.success-back:hover { color: var(--fg); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-desc {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-feed { display: none; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-sep { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 24px 40px; }
  .outcomes { padding: 60px 24px; }
  .features { padding: 60px 24px; }
  .how { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
  .site-header { padding: 16px 24px; }
}