/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #0D3B3E;
  --teal-mid:    #1A5C60;
  --teal-light:  #2A7A7E;
  --cream:       #FBF7F0;
  --cream-dark:  #F0EBE0;
  --sage:        #4A7C6F;
  --sage-light:  #5E9489;
  --coral:       #E85D3B;
  --coral-light: #F07A5A;
  --ink:         #1C1C1C;
  --ink-light:   #4A4A4A;
  --white:       #FFFFFF;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 59, 62, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--ink-light);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,124,111,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sage), transparent);
}

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

.hero-text { max-width: 560px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.1;
  color: var(--teal);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--coral);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 480px;
}

/* Agent card */
.hero-visual { position: relative; }

.agent-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 40px rgba(13,59,62,0.10), 0 1px 4px rgba(13,59,62,0.06);
  border: 1px solid rgba(13,59,62,0.07);
  font-family: 'Figtree', sans-serif;
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sage), var(--coral));
  border-radius: 20px 20px 0 0;
}

.agent-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-dark);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.status-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22c55e;
}

.agent-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  overflow: hidden;
}

.metric {
  padding: 14px 10px;
  text-align: center;
  border-right: 1px solid var(--cream-dark);
}
.metric:last-child { border-right: none; }

.metric-val {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.03em;
}

.metric-label {
  display: block;
  font-size: 0.66rem;
  color: var(--ink-light);
  margin-top: 2px;
  line-height: 1.3;
}

.agent-feed { margin-bottom: 16px; }

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(240, 235, 224, 0.7);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-light);
}

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

.feed-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.done .feed-icon { color: #22c55e; }
.wait .feed-icon { color: var(--sage); }

.agent-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--cream-dark);
}

.agent-time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-light);
}

.agent-coords {
  font-size: 0.72rem;
  color: var(--coral);
  font-weight: 500;
  font-style: italic;
}

/* === SECTION SHARED === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--teal);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.7;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 100px 40px;
  background: var(--white);
}

.workflow-steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.workflow-step {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(13,59,62,0.07);
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--coral);
  opacity: 0.5;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.step-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.6;
}

.workflow-arrow {
  color: var(--sage);
  opacity: 0.6;
  display: flex;
  align-items: center;
}

/* === FEATURES === */
.features {
  padding: 100px 40px;
  background: var(--cream);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(13,59,62,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(13,59,62,0.10);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.6;
}

/* === OUTCOMES === */
.outcomes {
  padding: 100px 40px;
  background: var(--teal);
  color: var(--white);
}

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

.outcomes-headline {
  margin-bottom: 64px;
}

.outcomes-headline .section-label { color: var(--coral-light); }

.outcomes-headline h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.025em;
}

.outcomes-headline h2 em {
  font-style: italic;
  color: var(--coral-light);
}

.outcomes-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
}

.stat-block {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-block:last-child { border-right: none; }

.stat-val {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.stat-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* === DIFFERENCE === */
.difference {
  padding: 100px 40px;
  background: var(--cream-dark);
}

.comparison-table {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(13,59,62,0.08);
  box-shadow: 0 2px 16px rgba(13,59,62,0.06);
}

.comp-header {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2.4fr;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comp-col-label {
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.comp-col-label:last-child { border-right: none; }

.comp-col-mq {
  background: rgba(232,93,59,0.15);
  color: var(--coral-light);
}

.comp-row {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2.4fr;
  border-bottom: 1px solid rgba(13,59,62,0.06);
  transition: background 0.15s ease;
}

.comp-row:last-child { border-bottom: none; }
.comp-row:hover { background: var(--cream); }

.comp-row-label {
  padding: 18px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border-right: 1px solid rgba(13,59,62,0.06);
}

.comp-cell {
  padding: 18px 20px;
  font-size: 0.8rem;
  color: var(--ink-light);
  border-right: 1px solid rgba(13,59,62,0.06);
  line-height: 1.5;
}

.comp-cell:last-child { border-right: none; }

.comp-cell-mq {
  background: rgba(232,93,59,0.05);
  color: var(--ink);
  font-weight: 500;
}

/* === CLOSING === */
.closing {
  padding: 100px 40px;
  background: var(--cream);
  text-align: center;
}

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

.closing-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.closing-statement:nth-child(2) { color: var(--ink-light); }

.closing-founder {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  font-style: italic;
}

/* === FOOTER === */
.footer {
  padding: 60px 40px 30px;
  background: var(--teal);
  color: var(--white);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-links span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

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

  .hero-text { max-width: 100%; }
  .hero-sub { max-width: 100%; }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .workflow-arrow { display: none; }

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

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

  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .stat-block:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); }

  .comp-header,
  .comp-row {
    grid-template-columns: 1fr;
  }
  .comp-col-label,
  .comp-row-label,
  .comp-cell { display: none; }

  .comp-col-mq,
  .comp-cell-mq { display: block; }

  .comp-row-label { display: block; border-right: none; }
  .comp-row-label::before {
    content: attr(data-label) ' — ';
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .footer-inner {
    flex-direction: column;
  }
  .footer-links { text-align: left; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 14px 20px; }
  .hero, .how-it-works, .features, .outcomes, .difference, .closing { padding-left: 20px; padding-right: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-stats { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .stat-block:first-child { border-top: none; }
}