:root {
  --bg: #0d0d0f;
  --bg-alt: #111114;
  --accent: #b8ff57;
  --accent-dim: rgba(184, 255, 87, 0.15);
  --text: #f5f5f0;
  --text-muted: rgba(245, 245, 240, 0.5);
  --border: rgba(245, 245, 240, 0.08);
  --green: #b8ff57;
  --amber: #f59e0b;
  --red: #ef4444;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

/* HERO */
.hero {
  padding: 80px 48px 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
  background: var(--accent-dim);
  padding: 6px 12px;
  border-radius: 4px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.stat:first-child { padding-left: 0; }

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* RISK GAUGE */
.risk-gauge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.gauge-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.gauge-ring {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
}

.gauge-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 135deg,
    #b8ff57 0deg,
    #b8ff57 81deg,
    rgba(184, 255, 87, 0.15) 81deg,
    rgba(184, 255, 87, 0.15) 270deg,
    transparent 270deg
  );
  mask: radial-gradient(transparent 55%, black 56%, black 70%, transparent 71%);
  -webkit-mask: radial-gradient(transparent 55%, black 56%, black 70%, transparent 71%);
}

.gauge-center {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.gauge-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 32px;
}

.gauge-number.safe { color: var(--accent); }

.gauge-status {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.gauge-positions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.position-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  font-size: 13px;
}

.position-row.warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.pos-token {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 12px;
}

.pos-health {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.pos-health.healthy { background: rgba(184,255,87,0.15); color: var(--accent); }
.pos-health.caution { background: rgba(245,158,11,0.15); color: var(--amber); }

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

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 32px;
}

/* HOW IT WORKS */
.howitworks {
  padding: 80px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: border-color 0.2s;
}

.step-card:hover { border-color: rgba(184,255,87,0.3); }

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}

.step-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* RISK MONITOR SECTION */
.riskmonitor {
  padding: 80px 48px;
}

.riskmonitor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.riskmonitor-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.risk-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.risk-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.risk-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.risk-feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.risk-feature-body {
  font-size: 14px;
  color: var(--text-muted);
}

/* ALERT CARD */
.alert-card {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.alert-time {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.alert-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}

.alert-body {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.alert-action {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--border);
}

.tl-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  position: relative;
}

.tl-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  flex-shrink: 0;
  z-index: 1;
}

.tl-item.done .tl-dot { border-color: var(--accent); background: var(--accent-dim); }
.tl-item.active .tl-dot { border-color: var(--accent); background: var(--accent); }

.tl-content {
  font-size: 13px;
  color: var(--text-muted);
}

.tl-item.done .tl-content { color: var(--text); }
.tl-item.active .tl-content { color: var(--accent); font-weight: 600; }

/* MANIFESTO */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

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

.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 28px;
  font-style: normal;
}

.manifesto-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* FOOTER */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-note {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .hero { padding: 48px 24px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .howitworks { padding: 48px 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .riskmonitor { padding: 48px 24px; }
  .riskmonitor-inner { grid-template-columns: 1fr; }
  .manifesto { padding: 60px 24px; }
  .footer { padding: 40px 24px; }
}