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

:root {
  --teal: #0D4A4A;
  --teal-light: #0D4A4A1a;
  --sand: #F7F0E8;
  --sand-dark: #EDE6D8;
  --coral: #E8634A;
  --coral-light: rgba(232, 99, 74, 0.1);
  --text: #1A2E2E;
  --text-muted: #5A7A7A;
  --white: #FFFFFF;
  --border: rgba(13, 74, 74, 0.12);
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--sand);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

em { font-style: italic; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 240, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--teal);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

.nav-links a:hover { color: var(--teal); }

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 32px 100px;
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--teal);
  margin-bottom: 24px;
  line-height: 1.1;
}

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

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-placeholder {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  width: fit-content;
  opacity: 0.7;
}

.cta-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === SEQUENCE VIZ === */
.sequence-viz {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(13, 74, 74, 0.06), 0 1px 4px rgba(13, 74, 74, 0.04);
}

.seq-header {
  padding: 16px 20px;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.seq-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 2s ease-in-out infinite;
}

.seq-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal);
  flex: 1;
}

.seq-status {
  background: rgba(232, 99, 74, 0.1);
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.seq-emails {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seq-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.2s;
}

.seq-done { background: rgba(13, 74, 74, 0.03); }
.seq-active { background: rgba(232, 99, 74, 0.06); }
.seq-queued { opacity: 0.55; }

.seq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seq-icon--check { background: var(--teal); }
.seq-icon--check svg { width: 14px; height: 14px; }

.seq-icon--pulse { background: var(--coral-light); }
.seq-icon--pulse svg { width: 14px; height: 14px; }

.seq-icon--dot {
  background: var(--sand-dark);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 9px;
}

.seq-content { flex: 1; }

.seq-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.seq-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.seq-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.seq-badge--open { background: rgba(13, 74, 74, 0.1); color: var(--teal); }
.seq-badge--sending { background: var(--coral-light); color: var(--coral); }
.seq-badge--queued { background: var(--sand-dark); color: var(--text-muted); }

.seq-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--sand);
}

.seq-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.metric-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
}

.metric-key {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === SEQUENCE BANNER === */
.sequence-banner {
  background: var(--teal);
  padding: 32px 32px;
  margin-top: -20px;
}

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

.seq-banner-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sb-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.sb-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  line-height: 1.4;
}

.seq-banner-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* === FEATURES === */
.features {
  padding: 96px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--teal);
}

.section-title em { color: var(--coral); font-style: italic; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

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

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(13, 74, 74, 0.08);
  transform: translateY(-2px);
}

.feature-card--wide {
  grid-column: span 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === STATS === */
.stats {
  background: var(--sand-dark);
  padding: 64px 32px;
  margin: 0 32px;
  border-radius: 20px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* === PROCESS === */
.process {
  padding: 96px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  position: relative;
  padding-right: 32px;
}

.process-step:last-child { padding-right: 0; }

.step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--sand-dark);
  line-height: 1;
  margin-bottom: 16px;
  -webkit-text-stroke: 1px rgba(13, 74, 74, 0.2);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  position: absolute;
  top: 24px;
  right: 0;
  width: 20px;
  height: 2px;
  background: linear-gradient(to right, rgba(13, 74, 74, 0.2), transparent);
}

/* === CLOSING === */
.closing {
  background: var(--teal);
  padding: 96px 32px;
  text-align: center;
}

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

.closing-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.closing-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.closing-cta-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.closing-cta-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* === FOOTER === */
.footer {
  background: var(--sand-dark);
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

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

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .step-connector { display: none; }

  .seq-banner-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .seq-banner-divider { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 80px; }

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

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

  .stats-inner {
    flex-direction: column;
    gap: 32px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .seq-banner-inner {
    flex-direction: column;
    gap: 20px;
  }

  .seq-banner-divider { display: none; }

  .nav-links { display: none; }

  .features, .process { padding: 64px 20px; }
}