:root {
  --bg-primary: #080C1A;
  --bg-secondary: #0D1425;
  --bg-card: #111827;
  --bg-card-hover: #141D30;
  --fg-primary: #FFFFFF;
  --fg-secondary: #94A3B8;
  --fg-muted: #4B6485;
  --accent: #FF8C00;
  --accent-dim: rgba(255, 140, 0, 0.12);
  --accent-border: rgba(255, 140, 0, 0.3);
  --border: rgba(255, 255, 255, 0.07);
  --border-bright: rgba(255, 255, 255, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

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

/* ── Navigation ── */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 12, 26, 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: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-secondary);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Hero ── */
.hero-section {
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.eyebrow-bar {
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.headline-accent {
  color: var(--accent);
  font-style: normal;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-meta-row {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ── Inbox Mockup ── */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.inbox-mock {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.inbox-header {
  background: #0C1222;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.inbox-dots {
  display: flex;
  gap: 5px;
}

.inbox-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
}

.inbox-dots span:first-child { background: #FF5F57; }
.inbox-dots span:nth-child(2) { background: #FFBD2E; }
.inbox-dots span:last-child { background: #28CA41; }

.inbox-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-secondary);
}

.email-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.email-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
}

.email-sent::before { background: #22C55E; }
.email-reply::before { background: var(--accent); }
.email-pending::before { background: var(--fg-muted); }

.email-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.av-orange { background: rgba(255, 140, 0, 0.2); color: #FF8C00; }
.av-blue { background: rgba(59, 130, 246, 0.2); color: #3B82F6; }
.av-slate { background: rgba(100, 116, 139, 0.2); color: #94A3B8; }

.email-meta {
  flex: 1;
  min-width: 0;
}

.email-to {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-subject {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 1px;
}

.email-time {
  font-size: 10px;
  color: var(--fg-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.email-body {
  font-size: 11.5px;
  color: var(--fg-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.email-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.email-status.sent { color: #22C55E; }
.email-status.reply { color: var(--accent); }
.email-status.pending { color: var(--fg-muted); }

.inbox-footer {
  padding: 10px 16px;
  background: rgba(255, 140, 0, 0.05);
  border-top: 1px solid var(--accent-border);
}

.loop-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

/* ── Section Commons ── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 56px;
}

/* ── How It Works ── */
.how-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-item {
  padding: 24px 0;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.step-icon {
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg-primary);
}

.step-desc {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 44px;
}

/* ── Features ── */
.features-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Proof ── */
.proof-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.proof-card {
  text-align: center;
}

.proof-num {
  font-family: 'Syne', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}

.proof-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-primary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.proof-note {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 300;
}

/* ── Manifesto ── */
.manifesto-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.manifesto-text {
  font-size: 18px;
  color: var(--fg-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}

.manifesto-accent {
  color: var(--fg-primary);
  font-size: 20px;
  font-weight: 500;
}

.manifesto-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Closing ── */
.closing-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.footer-meta {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: flex-start; }
  .inbox-mock { max-width: 100%; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .hero-section { padding: 110px 20px 60px; }
  .section-container { padding: 0 20px; }
  .manifesto-inner, .closing-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .steps-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta-row { gap: 20px; }
  .section-title { margin-bottom: 40px; }
}