:root {
  --bg: #0E0E14;
  --bg-card: #13131C;
  --bg-card-hover: #181824;
  --fg: #E8E6DF;
  --fg-muted: #8A8A96;
  --gold: #F5B800;
  --gold-dim: rgba(245, 184, 0, 0.15);
  --teal: #3ECFA7;
  --teal-dim: rgba(62, 207, 167, 0.12);
  --border: rgba(255,255,255,0.07);
  --border-gold: rgba(245, 184, 0, 0.25);
}

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

html { scroll-behavior: smooth; }

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

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,184,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

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

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

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 460px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lattice-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-expand {
  0% { r: 50; opacity: 0.08; }
  100% { r: 110; opacity: 0; }
}

.pulse-ring {
  animation: pulse-expand 3s ease-out infinite;
  transform-origin: center;
}

.pulse-ring-2 {
  animation: pulse-expand 3s ease-out infinite 1.5s;
  transform-origin: center;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}

.how-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 60px;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.pipeline-step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.pipeline-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
}

.step-icon {
  margin-bottom: 20px;
  opacity: 0.9;
}

.pipeline-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.pipeline-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  padding-top: 48px;
  flex-shrink: 0;
}

/* ---- FEATURES ---- */
.features {
  padding: 80px 48px;
  background: #0B0B12;
  border-top: 1px solid var(--border);
}

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

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245,184,0,0.2);
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  opacity: 0.6;
}

.card-accent--teal {
  background: linear-gradient(90deg, var(--teal) 0%, transparent 100%);
}

.card-accent--gold {
  background: linear-gradient(90deg, var(--gold) 0%, rgba(245,184,0,0.3) 100%);
  opacity: 0.9;
}

.feature-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
  padding-top: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(245,184,0,0.02) 100%);
}

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

.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 32px;
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

.manifesto-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.8;
  font-weight: 300;
  padding-left: 31px;
}

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

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

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  display: block;
}

.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  display: block;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .lattice-svg { max-width: 300px; }
  .feature-row { grid-template-columns: 1fr; }
  .pipeline { flex-direction: column; gap: 16px; }
  .pipeline-arrow { display: none; }
  .stats-row { flex-direction: column; gap: 24px; align-items: flex-start; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; }
}

@media (max-width: 600px) {
  .hero, .how-it-works, .features, .manifesto, .site-footer { padding-left: 24px; padding-right: 24px; }
  .hero-headline { font-size: 38px; }
  .section-title { font-size: 28px; }
  .stats-row { padding: 28px 24px; }
}