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

:root {
  --bg: #0f1117;
  --bg-surface: #161822;
  --bg-card: #1e2030;
  --fg: #f0ede8;
  --fg-muted: #8a8a9a;
  --fg-subtle: #4a4a5a;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --border: rgba(255,255,255,0.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --radius: 6px;
}

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 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(12px);
}
.nav-inner { max-width: var(--max-w); width: 100%; margin: 0 auto; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 40px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
  font-weight: 300;
}
.hero-signal {
  position: relative;
  width: 80px;
  height: 80px;
  margin-top: 40px;
}
.signal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}
.signal-ring-1 { width: 30px; height: 30px; animation-delay: 0s; }
.signal-ring-2 { width: 56px; height: 56px; animation-delay: 0.6s; }
.signal-ring-3 { width: 80px; height: 80px; animation-delay: 1.2s; }
.signal-core {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes pulse {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; }
  100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.5); }
}

/* ===== PREVIEW CARD ===== */
.hero-preview { display: flex; justify-content: center; }
.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,166,35,0.08);
}
.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.preview-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.preview-date { font-size: 0.75rem; color: var(--fg-muted); }
.preview-item { margin-bottom: 16px; }
.preview-item-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.preview-item-tag.alert { background: rgba(245, 166, 35, 0.15); color: var(--accent); }
.preview-item-tag.news { background: rgba(120, 200, 255, 0.12); color: #78c8ff; }
.preview-item-tag.signal { background: rgba(100, 255, 160, 0.12); color: #64ffa0; }
.preview-item-text { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.5; }
.preview-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--fg-subtle);
  letter-spacing: 0.04em;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px;
}
.manifesto-inner { max-width: 700px; margin: 0 auto; }
.manifesto-rule {
  width: 40px; height: 3px;
  background: var(--accent);
  margin-bottom: 32px;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 28px;
}
.manifesto-body { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; font-weight: 300; }

/* ===== HOW ===== */
.how { padding: 100px 40px; max-width: var(--max-w); margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 12px;
}
.section-sub { font-size: 0.95rem; color: var(--fg-muted); font-weight: 300; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.how-step { position: relative; }
.step-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-body { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.7; font-weight: 300; }

/* ===== FEATURES ===== */
.features {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 100px 40px;
}
.features-header { max-width: var(--max-w); margin: 0 auto 56px; }
.features .section-title { text-align: center; }
.features-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card); }
.feature-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-title { font-size: 0.95rem; font-weight: 600; color: var(--fg); margin-bottom: 8px; }
.feature-body { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; font-weight: 300; }

/* ===== CLOSING ===== */
.closing { padding: 120px 40px; text-align: center; }
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-body { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; font-weight: 300; max-width: 560px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 16px; font-weight: 300; }
.footer-legal { font-size: 0.72rem; color: var(--fg-subtle); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-signal { display: none; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 120px 24px 80px; }
  .manifesto, .how, .features, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .nav { padding: 0 24px; }
}