:root {
  --bg: #121212;
  --bg-2: #1a1a1a;
  --bg-3: #222222;
  --fg: #f0ece4;
  --fg-muted: #9e9890;
  --accent: #e8a838;
  --accent-dim: #c4872a;
  --red: #e05c4b;
  --border: #2e2e2e;
  --mono: 'DM Mono', 'Courier New', monospace;
}

*, *::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: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(18,18,18,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--accent);
}
.tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* SECTION SHARED */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

/* HERO */
.hero {
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.hero-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 500px;
}

/* SIGNAL FEED */
.signal-feed {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.signal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.signal-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
}
.signal-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.5;
}
.signal-item:last-child { border-bottom: none; }
.signal-time {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--fg-muted);
  padding-top: 0.1rem;
  flex-shrink: 0;
}
.signal-text { color: var(--fg); }
.signal-alert .signal-text { color: var(--accent); }

/* HOW IT WORKS */
.how-it-works {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}
.step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.step-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* FEATURES */
.features {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-card {
  background: var(--bg);
  padding: 2rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.feature-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--fg);
}
.feature-body {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* MANIFESTO */
.manifesto {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 1rem;
}
blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.quote-attribution {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* CLOSING */
.closing {
  padding: 5rem 0 6rem;
  border-bottom: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.closing-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.closing-ticker {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-top: 2rem;
}
.ticker-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* BRIEFING SUBSCRIBE FORM */
.subscribe-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.subscribe-input {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.subscribe-input::placeholder { color: var(--fg-muted); }
.subscribe-input:focus { border-color: var(--accent); }
.subscribe-name { flex: 1; min-width: 180px; }
.subscribe-btn {
  background: var(--accent);
  color: #121212;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, opacity 0.2s;
}
.subscribe-btn:hover { background: var(--accent-dim); }
.subscribe-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.subscribe-msg {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.subscribe-msg.success { color: #4ade80; }
.subscribe-msg.error { color: var(--red); }

.sector-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.sector-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}
.sector-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  cursor: pointer;
}
.sector-check input[type="checkbox"] {
  accent-color: var(--accent);
}

/* FOOTER */
.site-footer {
  padding: 3rem 0;
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.footer-wordmark {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.footer-meta span {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-aside { order: -1; }
  .steps-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .site-header .tagline { display: none; }
}