/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c0c10;
  --bg-2: #111118;
  --bg-3: #18181f;
  --fg: #f0f0f5;
  --fg-2: #9999aa;
  --fg-3: #6666778;
  --accent: #00d4a0;
  --accent-dim: rgba(0, 212, 160, 0.15);
  --coral: #ff4d6d;
  --coral-dim: rgba(255, 77, 109, 0.12);
  --muted: #3a3a4a;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  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: 17px;
  letter-spacing: -0.02em;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-2);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  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: 100px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--fg);
}
.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 420px;
  font-weight: 300;
}

/* Signal display */
.signal-display {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}
.signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.signal-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fg-2);
}
.signal-count {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}
.signal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.signal-item:hover { background: rgba(255,255,255,0.02); }
.signal-item--muted { opacity: 0.4; }
.signal-bar {
  width: 3px;
  height: 36px;
  border-radius: 2px;
  background: var(--coral);
  flex-shrink: 0;
}
.signal-bar--teal { background: var(--accent); }
.signal-bar--muted { background: var(--fg-3); }
.signal-bar--dim { background: var(--muted); opacity: 0.5; }
.signal-content { flex: 1; }
.signal-headline {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
}
.signal-meta {
  font-size: 11px;
  color: var(--fg-2);
}
.signal-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.signal-badge--red { background: var(--coral-dim); color: var(--coral); }
.signal-badge--teal { background: var(--accent-dim); color: var(--accent); }
.signal-badge--muted { background: rgba(255,255,255,0.06); color: var(--fg-2); }
.signal-badge--dim { background: rgba(255,255,255,0.04); color: var(--fg-3); }

.signal-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 16px 20px;
  height: 48px;
}
.wave-bar {
  flex: 1;
  height: 8px;
  border-radius: 2px;
  background: var(--muted);
}
.wave-bar--active { background: var(--accent); }

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.stat { padding: 0 48px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-2);
  margin-top: 4px;
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-right: 48px;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 60px;
  align-items: start;
}
.manifesto-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 8px;
}
.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--fg);
}
.manifesto-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
  font-weight: 300;
  max-width: 640px;
}
.manifesto-body + .manifesto-body { margin-top: 16px; }

/* === FEATURES === */
.features {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-header {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 60px;
  align-items: baseline;
  margin-bottom: 60px;
}
.features-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: -0.04em;
  line-height: 1;
}
.features-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-2);
  padding: 40px 36px;
}
.feature-card--large { grid-column: span 2; }
.feature-card--full { grid-column: span 3; }
.feature-icon {
  margin-bottom: 24px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-2);
  font-weight: 300;
}
.feature-tags {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
}

/* === PRINCIPLES === */
.principles {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}
.principles-inner { max-width: 1200px; margin: 0 auto; }
.principles-header {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 60px;
  align-items: baseline;
  margin-bottom: 60px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.principle-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.principle-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.principle-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-2);
  font-weight: 300;
}

/* === CLOSING === */
.closing {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.closing-inner { max-width: 800px; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 64px;
}
.closing-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 28px;
}
.closing-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 400;
}
.closing-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  opacity: 0.6;
}
.footer-note { font-size: 13px; color: var(--fg-3); }
.footer-brand { font-size: 12px; color: var(--fg-3); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 24px; }
  .manifesto-number { font-size: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .feature-card--full { grid-column: span 1; }
  .features-header { grid-template-columns: 1fr; gap: 12px; }
  .features-number { font-size: 48px; }
  .principles-grid { grid-template-columns: 1fr; gap: 48px; }
  .principles-header { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 24px 56px; }
  .manifesto { padding: 64px 24px; }
  .features { padding: 64px 24px; }
  .principles { padding: 64px 24px; }
  .closing { padding: 80px 24px; }
  .nav { padding: 0 24px; }
  .footer { padding: 32px 24px; }
  .stat { padding: 0 24px 0 0; }
  .stat-divider { margin-right: 24px; }
}