:root {
  --bg: #0E0E1A;
  --bg-card: #14142A;
  --bg-card-hover: #1A1A38;
  --fg: #E8E8F2;
  --fg-muted: #8888AA;
  --accent: #F5A623;
  --accent-dim: #C47D0E;
  --red: #FF4D6A;
  --amber: #F5A623;
  --muted: #44445A;
  --border: #1E1E38;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 48px;
  background: rgba(14, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.3px;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* HERO */
.hero {
  padding: 80px 48px 60px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 420px;
}

/* INBOX PREVIEW */
.hero-visual {
  display: flex;
  justify-content: center;
}
.inbox-preview {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,166,35,0.08);
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #0A0A18;
}
.preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-dot.r { background: #FF5F57; }
.preview-dot.y { background: #FFBD2E; }
.preview-dot.g { background: #28CA41; }
.preview-title {
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
  font-weight: 500;
}
.preview-list { padding: 8px 0; }
.preview-email {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}
.preview-email:hover { background: var(--bg-card-hover); }
.preview-email:last-child { border-bottom: none; }
.email-sender {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 3px;
}
.email-subject {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-red { background: rgba(255,77,106,0.15); color: #FF4D6A; }
.badge-amber { background: rgba(245,166,35,0.15); color: var(--accent); }
.badge-muted { background: rgba(68,68,90,0.4); color: var(--fg-muted); }
.email-time { font-size: 11px; color: var(--fg-muted); margin-left: auto; }
.preview-agent-bar {
  padding: 12px 18px;
  background: rgba(245,166,35,0.06);
  border-top: 1px solid rgba(245,166,35,0.15);
}
.agent-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* MANIFESTO */
.manifesto {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.manifesto-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 28px;
}
.manifesto-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.manifesto-body p:last-child { margin-bottom: 48px; }
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* CAPABILITIES */
.capabilities {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  background: #0C0C1E;
}
.capabilities-inner { max-width: 1200px; margin: 0 auto; }
.capabilities-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.cap-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245,166,35,0.25);
}
.cap-icon {
  width: 40px;
  height: 40px;
  background: rgba(245,166,35,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.cap-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.cap-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* HOW IT WORKS */
.how-it-works {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}
.how-inner { max-width: 860px; margin: 0 auto; }
.how-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
  text-align: center;
}
.step-list { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
}
.step-body h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* CLOSING */
.closing {
  padding: 100px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #0C0C1E;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 28px;
  opacity: 0.85;
}
.closing-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* FOOTER */
.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .site-nav { padding: 16px 24px; }
  .hero { padding: 48px 24px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .inbox-preview { max-width: 100%; }
  .manifesto, .capabilities, .how-it-works, .closing, .site-footer { padding: 60px 24px; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 24px; }
  .cap-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 20px; }
  .step-num { font-size: 36px; }
}