:root {
  --bg: #0D0D0D;
  --fg: #F5F2ED;
  --fg-muted: rgba(245, 242, 237, 0.5);
  --accent: #B8FF57;
  --accent-dim: rgba(184, 255, 87, 0.12);
  --border: rgba(245, 242, 237, 0.08);
  --border-strong: rgba(245, 242, 237, 0.15);
  --radius: 4px;
  --section-pad: clamp(80px, 12vw, 140px);
}

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

html {
  scroll-behavior: smooth;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-block;
  font-family: 'DM Sans', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

/* ── Manifesto ── */
.manifesto {
  padding: var(--section-pad) 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.manifesto__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.manifesto__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 40px;
}

.manifesto__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 6px 12px;
}

.manifesto__headline {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.manifesto__em {
  font-style: normal;
  color: var(--accent);
}

.manifesto__right {
  padding-top: 12px;
}

.manifesto__sub {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 48px;
  max-width: 440px;
}

.manifesto__stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.manifesto__stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.manifesto__stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
}

.manifesto__stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

.manifesto__grid-lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
  z-index: 0;
}

.manifesto__grid-line {
  border-right: 1px solid var(--border);
}

/* ── Process ── */
.process {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.process__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.process__header {
  margin-bottom: 72px;
  max-width: 600px;
}

.process__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.process__step {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
}

.process__step:last-child {
  border-right: none;
}

.process__step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 24px;
}

.process__step-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.process__step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ── Features ── */
.features {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.features__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.features__header {
  margin-bottom: 64px;
  max-width: 600px;
}

.features__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.features__card {
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-bottom: none;
  border-left: none;
  transition: background 0.2s ease;
}

.features__card:hover {
  background: var(--accent-dim);
}

.features__card:nth-child(-n+3) {
  border-top: none;
}

.features__card:nth-child(3n+1) {
  border-left: 1px solid var(--border);
}

.features__card-icon {
  color: var(--accent);
  margin-bottom: 24px;
  width: 24px;
  height: 24px;
}

.features__card-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.features__card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ── Principles ── */
.principles {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.principles__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.principles__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--fg);
}

.principles__body {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.principles__body--accent {
  color: var(--fg);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 20px);
  padding-top: 8px;
  border-top: 1px solid var(--border-strong);
}

/* ── Closing ── */
.closing {
  padding: var(--section-pad) 0;
}

.closing__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.closing__headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing__sub {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ── Terminal ── */
.closing__terminal {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
}

.closing__terminal-bar {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.closing__terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: block;
}

.closing__terminal-body {
  padding: 24px;
  font-family: 'DM Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.closing__terminal-line {
  display: block;
}

.closing__terminal-prompt .closing__terminal-cmd {
  color: var(--accent);
  font-weight: 600;
}

.closing__terminal-comment {
  color: rgba(245,242,237,0.3);
  font-style: italic;
}

.closing__terminal-text {
  color: var(--fg-muted);
}

.closing__terminal-divider {
  color: rgba(245,242,237,0.25);
  margin: 8px 0;
}

.closing__terminal-success {
  color: var(--accent);
}

.closing__terminal-done {
  color: var(--fg);
  font-weight: 600;
}

/* ── Footer ── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  display: block;
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 12px;
  color: var(--fg-muted);
  display: block;
  margin-top: 2px;
}

.footer__meta {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .manifesto__inner,
  .principles__inner,
  .closing__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .manifesto__eyebrow {
    grid-column: auto;
  }

  .manifesto__headline {
    font-size: clamp(40px, 10vw, 72px);
  }

  .process__steps,
  .features__grid {
    grid-template-columns: 1fr;
  }

  .process__step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .process__step:last-child {
    border-bottom: none;
  }

  .features__card {
    border-left: none;
  }

  .features__card:nth-child(-n+3) {
    border-top: 1px solid var(--border);
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(245,242,237,0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(245,242,237,0.25);
}

/* ── Selection ── */
::selection {
  background: var(--accent);
  color: var(--bg);
}
