:root {
  --bg: #070B14;
  --surface: #0D1424;
  --surface2: #111D30;
  --border: #1A2840;
  --fg: #E8EDF5;
  --fg-muted: #7A8BA8;
  --accent: #F0A500;
  --accent-dim: #C48800;
  --green: #34D399;
  --amber: #FBBF24;
  --red: #F87171;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(7,11,20,0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.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;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-pricing-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-pricing-link:hover { color: var(--fg); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #FFBA30; }

/* ── HERO ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 60px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── AGENT CARD ── */
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.agent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.agent-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: #000;
  flex-shrink: 0;
}
.agent-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.agent-status {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.pulse {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.agent-feed {
  padding: 0;
}
.feed-item {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.feed-item:last-child { border-bottom: none; }
.feed-time {
  font-size: 0.65rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.feed-body {
  font-size: 0.8rem;
  color: var(--fg);
  line-height: 1.5;
}
.feed-alert .feed-body { color: var(--accent); }
.feed-ok .feed-body { color: var(--green); }
.agent-footer {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface2);
}
.agent-tag {
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(240,165,0,0.1);
  color: var(--accent);
  font-weight: 500;
}

/* ── LIVE FEED ── */
.live-feed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feed-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}
.feed-card:hover { border-color: var(--accent); }
.feed-card-source {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.feed-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}
.feed-card-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.feed-card-meta {
  font-size: 0.72rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.severity-badge {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.severity-badge.high {
  background: rgba(248,113,113,0.12);
  color: var(--red);
}
.severity-badge.medium {
  background: rgba(251,191,36,0.12);
  color: var(--amber);
}

/* ── FEATURES ── */
.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px;
}
.section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  margin-top: 8px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item {}
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(240,165,0,0.08);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── WHY ── */
.why {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
  margin-top: 12px;
}
.why-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.cost-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.cost-card:last-child { margin-bottom: 0; }
.cost-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  line-height: 1.4;
}
.cost-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}
.cost-sub {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: 6px;
}

/* ── CLOSING ── */
.closing {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  padding: 80px 40px 100px;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  background: var(--surface);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--fg);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── LIVE FEED (enriched) ── */
.live-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.feed-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feed-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.feed-sources {
  display: flex;
  align-items: center;
  gap: 8px;
}
.source-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.source-badge.sec {
  background: rgba(240,165,0,0.15);
  color: var(--accent);
  border: 1px solid rgba(240,165,0,0.25);
}
.source-badge.finra {
  background: rgba(52,211,153,0.12);
  color: var(--green);
  border: 1px solid rgba(52,211,153,0.25);
}
.source-badge.naic {
  background: rgba(167,139,250,0.12);
  color: #a78bfa;
  border: 1px solid rgba(167,139,250,0.25);
}
.feed-card-source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.feed-card-date {
  font-size: 0.65rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}
.feed-card-title-link {
  text-decoration: none;
}
.feed-card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.15s;
}
.feed-card-title-link:hover .feed-card-title { color: var(--accent); }
.feed-card-summary {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.feed-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--fg-muted);
  font-size: 0.85rem;
}
.feed-empty-icon { color: var(--fg-muted); flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .feed-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 24px 40px; }
  .live-feed, .features, .why, .closing { padding-left: 24px; padding-right: 24px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
/* ── FOUNDING MEMBER CTA ── */
.founding-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.founding-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.1s;
  max-width: 360px;
}
.founding-btn:hover {
  background: #FFBA30;
  transform: translateY(-1px);
}
.founding-btn:active {
  transform: translateY(0);
}
.founding-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.founding-pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Founding CTA block after live feed */
.founding-cta-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 20px;
}
.founding-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid rgba(240, 165, 0, 0.3);
  border-radius: 14px;
  padding: 28px 32px;
  flex-wrap: wrap;
}
.founding-cta-left { flex: 1; min-width: 240px; }
.founding-cta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.founding-cta-headline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}
.founding-cta-sub {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.founding-counter-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.founding-pulse-sm {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.founding-btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}
.founding-btn-lg:hover {
  background: #FFBA30;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .nav { padding: 16px 20px; }
  .founding-cta-card { flex-direction: column; align-items: flex-start; }
  .founding-btn-lg { width: 100%; box-sizing: border-box; justify-content: center; }
}