:root {
  --midnight: #0c1220;
  --surface: #131d2e;
  --surface-raised: #1a2740;
  --text: #e8edf5;
  --text-muted: #7a8ba8;
  --accent: #e8a23c;
  --accent-dim: rgba(232,162,60,0.15);
  --green: #34d399;
  --amber: #f59e0b;
  --grey-dot: #4a5568;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--midnight);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 48px 80px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,162,60,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,162,60,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left { max-width: 520px; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
}

/* Signal Feed */
.hero-right { justify-self: end; }

.signal-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 360px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.signal-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.feed-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.feed-live {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(52,211,153,0.12);
  padding: 3px 8px;
  border-radius: 20px;
}

.signal-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.signal-item:last-child { border-bottom: none; }
.signal-item.faded { opacity: 0.55; }

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.signal-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.signal-dot.amber { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.signal-dot.grey { background: var(--grey-dot); }

.signal-content { display: flex; flex-direction: column; gap: 2px; }

.signal-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.signal-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.feed-footer {
  padding: 10px 20px;
  background: var(--surface-raised);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.04em;
}

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

/* Signals section */
.signals-section {
  padding: 96px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.signals-inner { max-width: 1200px; margin: 0 auto; }

.signals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 40px;
}

.signal-source {
  padding: 40px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.signal-source:hover { background: var(--surface-raised); }

.source-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.signal-source h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.signal-source p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Features */
.features-section {
  padding: 96px 48px;
  background: var(--midnight);
}

.features-inner { max-width: 1200px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  margin-top: 40px;
}

.feature-block {}

.feature-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-block h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-block p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* How */
.how-section {
  padding: 96px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.how-inner { max-width: 1200px; margin: 0 auto; text-align: center; }

.how-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 64px;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: left;
}

.step {
  width: 260px;
  padding: 32px 36px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  flex-shrink: 0;
}

/* Closing */
.closing-section {
  padding: 128px 48px;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.closing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(232,162,60,0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.closing-statement h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-statement p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

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

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

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

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

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 64px 24px 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { justify-self: start; }
  .hero-headline { font-size: 52px; }
  .signals-section, .features-section, .how-section { padding: 64px 24px; }
  .signals-grid, .features-grid { grid-template-columns: 1fr; gap: 2px; }
  .steps-row { flex-direction: column; gap: 2px; }
  .step-connector { width: 1px; height: 32px; background: linear-gradient(180deg, var(--border), var(--accent), var(--border)); }
  .closing-section { padding: 80px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .signal-feed { width: 100%; }
}

@media (max-width: 500px) {
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 16px; }
}
/* Signup Form */
.signup-form-wrap { margin-top: 48px; }

.signup-row {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 12px;
}

.signup-row input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.signup-row input[type="email"]:focus {
  border-color: var(--accent);
}

.signup-row input[type="email"]::placeholder {
  color: var(--text-muted);
}

.signup-row button {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--midnight);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}

.signup-row button:hover:not(:disabled) { opacity: 0.88; }
.signup-row button:active:not(:disabled) { transform: scale(0.97); }
.signup-row button:disabled { opacity: 0.5; cursor: not-allowed; }

.signup-error {
  font-size: 13px;
  color: #f87171;
  text-align: center;
  margin-bottom: 8px;
}

.signup-success {
  font-size: 16px;
  color: var(--green);
  text-align: center;
  padding: 16px;
}

.signup-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
