:root {
  --bg: #0f1629;
  --bg-2: #151d33;
  --accent: #ff6b35;
  --accent-dim: rgba(255, 107, 53, 0.15);
  --text: #f8fafc;
  --text-muted: #8896b3;
  --border: rgba(248, 250, 252, 0.08);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,107,53,0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  width: fit-content;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}
.hero-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 24px;
  font-style: italic;
  opacity: 0.7;
}

/* Inbox visual */
.hero-visual {
  position: relative;
}
.inbox-stack {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.email-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: all 0.2s;
}
.email-card--urgent {
  border-color: rgba(255,107,53,0.4);
  background: rgba(255,107,53,0.05);
}
.email-sender {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.email-subject {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.email-preview {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 8px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-dot--done { background: #22c55e; }
.status-dot--draft { background: var(--accent); }
.status-dot--urgent { background: var(--accent); }
.status-dot--filed { background: var(--text-muted); }

.agent-indicator {
  position: absolute;
  top: -12px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px 4px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
}
.agent-orb {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

/* What is */
.what-is {
  padding: 100px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.what-is-inner {
  max-width: 900px;
  margin: 0 auto;
}
.what-is-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.what-is-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.what-is-body {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
}
.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 12px;
  overflow: hidden;
}
.comp-col {
  padding: 28px;
}
.comp-col--bad {
  background: rgba(255,255,255,0.02);
}
.comp-col--good {
  background: rgba(255,107,53,0.06);
}
.comp-col-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.comp-col--good .comp-col-label { color: var(--accent); }
.comp-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comp-col li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.comp-col--good li { color: var(--text); }
.comp-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.comp-col--bad li::before { background: #ef4444; }
.comp-col--good li::before { background: var(--accent); }

/* Features */
.features {
  padding: 100px 24px;
  background: var(--bg);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.features-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 56px;
  max-width: 600px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--card-bg);
}
.feature-icon {
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.how-inner {
  max-width: 900px;
  margin: 0 auto;
}
.how-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.how-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 60px;
}
.step-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step {
  flex: 1;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
}
.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-arrow {
  padding-top: 36px;
  flex-shrink: 0;
}

/* Manifesto */
.manifesto {
  padding: 100px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 48px;
}
.manifesto-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
}
.manifesto-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 160px;
}

/* Closing */
.closing {
  padding: 120px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, #0d1a30 100%);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Footer */
.footer {
  padding: 40px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    min-height: auto;
    padding: 60px 24px 40px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table {
    grid-template-columns: 1fr;
  }
  .step-row {
    flex-direction: column;
    gap: 0;
  }
  .step-arrow { display: none; }
  .step {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
  }
  .manifesto-stats {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .inbox-stack {
    padding: 14px;
  }
  .feature-card {
    padding: 24px 20px;
  }
}