:root {
  --bg: #08080f;
  --bg-2: #0e0e1a;
  --bg-3: #141428;
  --surface: #1a1a2e;
  --surface-2: #22223a;
  --fg: #e8e4f0;
  --fg-2: #9896b0;
  --fg-3: #5a5880;
  --accent: #F59E0B;
  --accent-dim: #b47608;
  --border: rgba(245,158,11,0.12);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::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: 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: 1.25rem 2rem;
  background: rgba(8,8,15,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.75rem;
}
.headline-em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.hero-body {
  font-size: 1.0625rem;
  color: var(--fg-2);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-3);
  margin-top: 0.25rem;
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}
/* ── CONSOLE ── */
.console-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}
.console-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.console-dot.red { background: #ff5f57; }
.console-dot.yellow { background: #febc2e; }
.console-dot.green { background: #28c840; }
.console-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-3);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.console-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.console-line {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}
.prompt { color: var(--accent); font-weight: 600; }
.comment { color: var(--fg-3); }
.success { color: #28c840; font-weight: 600; }
.output { color: var(--fg-2); }
.input-text { color: var(--fg); }
.cursor {
  display: inline-block;
  width: 6px;
  height: 1em;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 50% { opacity: 0; } }
.proposal-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem;
  margin: 0.5rem 0;
}
.p-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.p-label {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  font-weight: 600;
}
.p-status {
  font-size: 0.625rem;
  color: #28c840;
  letter-spacing: 0.04em;
}
.p-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}
.p-amount {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.p-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.p-slots span {
  font-size: 0.625rem;
  background: var(--surface-2);
  color: var(--fg-2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
/* ── ORB ── */
.orb-wrap {
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 200px;
  height: 200px;
  display: none;
}
.orb {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fbbf24, var(--accent), #78350f);
  box-shadow: 0 0 40px rgba(245,158,11,0.4), 0 0 80px rgba(245,158,11,0.2);
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.2);
}
.ring-1 { inset: 0; }
.ring-2 { inset: -15%; }
.ring-3 { inset: -30%; }
/* ── TAGLINE ── */
.hero-tagline {
  max-width: 1280px;
  margin: 4rem auto 0;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--fg-2);
}
.tagline-mark { color: var(--accent); }

/* ── LENS (stats bar) ── */
.lens {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.lens-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.lens-stat { display: flex; flex-direction: column; gap: 0.375rem; }
.lens-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.lens-desc {
  font-size: 0.8125rem;
  color: var(--fg-3);
  max-width: 220px;
  line-height: 1.4;
}
.lens-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── FEATURES ── */
.features {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.f-large { grid-column: span 1; }
.f-dark { background: var(--surface); }
.f-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.f-dark .f-icon { background: var(--surface-2); }
.f-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  font-family: var(--font-head);
}
.f-desc {
  font-size: 0.875rem;
  color: var(--fg-2);
  line-height: 1.6;
  flex: 1;
}
.f-tag {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
  margin-top: 0.5rem;
}

/* ── HOW ── */
.how {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.how-left .section-header { margin-bottom: 2.5rem; }
.how-intro {
  font-size: 1rem;
  color: var(--fg-2);
  margin-bottom: 3rem;
  line-height: 1.7;
}
.how-steps { display: flex; flex-direction: column; gap: 2rem; }
.step { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  min-width: 48px;
}
.step h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.375rem;
}
.step p { font-size: 0.875rem; color: var(--fg-2); line-height: 1.6; }
/* flow diagram */
.flow-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}
.flow-node {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--fg-3);
  transition: all 0.3s;
}
.flow-node.active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(245,158,11,0.15);
}
.flow-arrow {
  margin-left: 1rem;
  padding: 0.25rem 0;
}

/* ── PRICING ── */
.pricing {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-inner { max-width: 1280px; margin: 0 auto; }
.pricing-card {
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}
.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.pc-tier {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
}
.pc-price { display: flex; align-items: baseline; gap: 0.125rem; }
.price-dollar { font-size: 1.25rem; color: var(--accent); font-family: var(--font-head); }
.price-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.price-period { font-size: 1rem; color: var(--fg-3); }
.pc-desc {
  font-size: 0.9375rem;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.pc-features { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2rem; }
.pcf-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.pcf-check { flex-shrink: 0; }
.pc-note {
  font-size: 0.8125rem;
  color: var(--fg-3);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 6rem 2rem;
  background: var(--bg);
}
.manifesto-inner { max-width: 1280px; margin: 0 auto; }
.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 860px;
  margin: 2rem 0 1.5rem;
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
}
.manifesto-meta { padding-left: 2rem; font-size: 0.875rem; color: var(--fg-3); }

/* ── CLOSING ── */
.closing {
  padding: 6rem 2rem 8rem;
  text-align: center;
  background: var(--bg);
  position: relative;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { max-width: 720px; margin: 0 auto; position: relative; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.closing-headline em { font-style: italic; color: var(--accent); font-weight: 300; }
.closing-body {
  font-size: 1.0625rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fg);
}
.footer-tagline { font-size: 0.8125rem; color: var(--fg-3); }
.footer-links { font-size: 0.75rem; color: var(--fg-3); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .lens-inner { flex-direction: column; gap: 2rem; }
  .lens-divider { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 7rem 1.5rem 3rem; }
  .features, .how, .pricing, .manifesto, .closing { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .pricing-card { padding: 1.75rem; }
}