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

:root {
  --bg: #0B1120;
  --bg-2: #0F1623;
  --bg-card: #111C2D;
  --fg: #F0F4F8;
  --fg-muted: #8896AA;
  --accent: #F59E0B;
  --accent-dim: rgba(245,158,11,0.12);
  --border: rgba(255,255,255,0.07);
  --radius: 10px;
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
Instrument Serif { font-family: 'Instrument Serif', serif; }
h1, .h1 { font-family: 'Instrument Serif', serif; font-weight: 400; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(11,17,32,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { display: flex; align-items: center; gap: 12px; }
.nav-brand {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 4px;
  padding: 3px 8px;
}

/* === HERO === */
.hero {
  position: relative;
  padding: 140px 48px 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 800px; }
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 56px;
}
.hero-data-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-data-item { padding: 0 32px; }
.hero-data-item:first-child { padding-left: 0; }
.hero-data-val {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  color: var(--fg);
  margin-bottom: 4px;
}
.hero-data-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-data-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.features-header { margin-bottom: 64px; }
.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.features-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--fg);
  max-width: 600px;
  letter-spacing: -0.02em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 40px 36px;
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* === SIGNALS === */
.signals {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.signals-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.signals-left .section-label { margin-bottom: 20px; }
.signals-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
}
.signals-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
}
.signals-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.signal-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.signal-row:last-child { border-bottom: none; }
.signal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.signal-dot--green { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.signal-dot--amber { background: var(--accent); box-shadow: 0 0 8px rgba(245,158,11,0.4); }
.signal-text {
  font-size: 0.88rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.manifesto-inner { max-width: 840px; }
.manifesto-quote-mark {
  font-family: 'Instrument Serif', serif;
  font-size: 6rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 32px;
  display: block;
}
.manifesto-text {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.manifesto-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.closing-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* === FOOTER === */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 100px 24px 72px; }
  .features, .signals, .manifesto, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .signals-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-data-row { flex-direction: column; align-items: start; gap: 24px; }
  .hero-data-divider { display: none; }
  .hero-data-item { padding: 0; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .nav { padding: 0 24px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .closing-title { font-size: 1.8rem; }
}