/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500&display=swap');

/* Tokens */
:root {
  --bg: #070b11;
  --surface: #0d1523;
  --surface-raised: #111c2e;
  --border: rgba(58, 255, 133, 0.12);
  --border-dim: rgba(255,255,255,0.05);
  --green: #3aff85;
  --green-dim: rgba(58, 255, 133, 0.15);
  --text-primary: #e2ecf8;
  --text-secondary: #7a92ae;
  --text-muted: #4a5e78;
  --accent-amber: #ffb547;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; }

/* ── Header ── */
.site-header {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border-dim);
}
.header-inner { display: flex; align-items: center; gap: 16px; }
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.logo-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 1px solid var(--border-dim);
  padding-left: 16px;
}

/* ── Hero ── */
.hero {
  padding: 80px 48px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(58,255,133,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Signal Panel */
.signal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.signal-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.5;
}
.panel-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  font-weight: 500;
}
.signal-rows { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.signal-row {
  display: grid;
  grid-template-columns: 8px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.signal-row:hover {
  background: rgba(58,255,133,0.04);
  border-color: var(--border);
}
.signal-old { opacity: 0.4; }
.signal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-bright { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-alert { background: var(--accent-amber); box-shadow: 0 0 8px var(--accent-amber); }
.dot-dim { background: var(--text-muted); }
.signal-company {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.signal-stage {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.signal-score {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  font-family: 'DM Sans', sans-serif;
  text-align: right;
}
.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dim);
}
.panel-status {
  font-size: 11px;
  color: var(--text-secondary);
}
.panel-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* Hero copy */
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
}
.hero-bottom-rule {
  max-width: 1200px;
  margin: 72px auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 60%);
}

/* ── Signals section ── */
.signals-section { padding: 96px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.signals-header { margin-bottom: 56px; }
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 520px;
}
.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dim);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  overflow: hidden;
}
.signal-card {
  background: var(--surface);
  padding: 32px 28px;
  transition: background 0.2s ease;
}
.signal-card:hover { background: var(--surface-raised); }
.signal-icon { margin-bottom: 20px; }
.signal-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.signal-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Analyst section ── */
.analyst-section { padding: 96px 48px; background: var(--surface); }
.analyst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.analyst-copy { display: flex; flex-direction: column; }
.analyst-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 20px 0 40px;
  font-weight: 300;
}
.analyst-steps { display: flex; flex-direction: column; gap: 28px; }
.analyst-step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.05em;
  min-width: 28px;
  padding-top: 2px;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; font-weight: 300; }

/* Diagram card */
.diagram-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.diagram-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.diagram-body { display: flex; flex-direction: column; gap: 0; }
.diagram-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}
.node-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.diagram-node span:first-of-type { flex: 1; }
.node-status {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  padding: 2px 8px;
  border-radius: 4px;
}
.diagram-connector {
  width: 1px;
  height: 12px;
  background: var(--border);
  margin-left: 19px;
}
.diagram-score {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.score-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.score-company {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}
.score-event { font-size: 13px; color: var(--text-secondary); margin: 2px 0 8px; }
.score-match {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

/* ── Conviction ── */
.conviction-section { padding: 96px 48px; }
.conviction-header { margin-bottom: 56px; }
.conviction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-dim);
  padding-top: 56px;
}
.conviction-stat { display: flex; flex-direction: column; gap: 12px; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}
.conviction-closing {
  max-width: 1200px;
  margin: 64px auto 0;
  border-top: 1px solid var(--border-dim);
  padding-top: 48px;
  text-align: center;
}
.conviction-closing p {
  font-size: 20px;
  color: var(--text-secondary);
  font-style: italic;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Manifesto ── */
.manifesto-section {
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}
.manifesto-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(58,255,133,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 40px;
  quotes: none;
}
.manifesto-body { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.manifesto-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}
.manifesto-divider {
  width: 40px;
  height: 1px;
  background: var(--green);
  margin: 0 auto 40px;
  opacity: 0.4;
}
.manifesto-footer { display: flex; flex-direction: column; gap: 8px; }
.mf-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.mf-tagline { font-size: 14px; color: var(--text-muted); font-weight: 300; }

/* ── Footer ── */
.site-footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border-dim);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-primary);
}
.footer-tag { font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ── Animations ── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.dot-bright { animation: pulse-dot 2s ease-in-out infinite; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .hero-grid,
  .analyst-grid { grid-template-columns: 1fr; gap: 40px; }
  .signals-grid { grid-template-columns: 1fr; }
  .conviction-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-number { font-size: 40px; }
  .hero, .signals-section, .analyst-section, .conviction-section, .manifesto-section, .site-header, .site-footer { padding-left: 24px; padding-right: 24px; }
  .logo-tag, .footer-tag { display: none; }
}