:root {
  --bg: #0f0f0f;
  --bg-2: #161614;
  --fg: #f5f0e8;
  --fg-2: #9a9088;
  --accent: #FF5722;
  --accent-dim: rgba(255, 87, 34, 0.12);
  --border: rgba(245, 240, 232, 0.08);
  --grid-line: rgba(245, 240, 232, 0.04);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── HERO ─── */
.hero {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255, 87, 34, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(255, 87, 34, 0.04) 0%, transparent 60%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 440px;
}
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
}
.visual-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v-cell {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s ease;
}
.v-cell--active {
  border-color: rgba(255, 87, 34, 0.3);
  background: var(--accent-dim);
}
.v-cell--dim {
  opacity: 0.45;
}
.v-cell--pulse {
  border-color: var(--accent);
  background: rgba(255, 87, 34, 0.08);
  margin-top: 4px;
}
.cell-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 600;
}
.cell-action {
  font-size: 0.875rem;
  color: var(--fg);
}
.pulse-label {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pulse-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--fg-2);
  font-weight: 500;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(255, 87, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}

/* ─── MANIFESTO ─── */
.manifesto {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 40px;
}
.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}
.manifesto-number {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 32px;
}
.manifesto-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 40px;
  font-style: italic;
}
.manifesto-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg-2);
  margin-bottom: 20px;
}
.manifesto-body:last-child { margin-bottom: 0; }

/* ─── FEATURES ─── */
.features {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 72px;
}
.features-number {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  padding-top: 8px;
}
.features-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  transition: border-color 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(255, 87, 34, 0.3);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 87, 34, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: 120px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-header {
  max-width: 1200px;
  margin: 0 auto 72px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.how-number {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  padding-top: 8px;
}
.how-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.how-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--border);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.3s ease;
}
.step:hover .step-num {
  color: var(--accent);
}
.step-title {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── CLOSING ─── */
.closing {
  padding: 140px 40px;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 87, 34, 0.08) 0%, transparent 70%),
    var(--bg);
}
.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.closing-number {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 40px;
}
.closing-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 24px;
  font-style: italic;
  letter-spacing: -0.02em;
}
.closing-sub {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 6px;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--fg-2);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-2);
  text-align: right;
  font-style: italic;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }
  .hero-right {
    order: -1;
  }
  .hero-visual {
    max-width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .step {
    grid-template-columns: 64px 1fr;
    gap: 24px;
  }
  .step-num {
    font-size: 2rem;
  }
  .manifesto, .features, .how-it-works, .closing {
    padding: 80px 24px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-tagline {
    text-align: center;
  }
  .nav-inner {
    padding: 0 24px;
  }
  .features-header, .how-header {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  .feature-card {
    padding: 28px;
  }
}