:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-2: #18181f;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --text: #e8e0d5;
  --text-muted: #8a8693;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.site-nav {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* MANIFESTO */
.manifesto {
  padding: 6rem 2rem 5rem;
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  max-width: 700px;
}
.manifesto-body {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--border);
}
.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 4rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.skill-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  position: relative;
}
.skill-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.skill-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.skill-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* OUTPUT */
.output-section {
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--border);
}
.output-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.output-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.5rem;
  line-height: 1.2;
}
.output-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.output-list {
  list-style: none;
}
.output-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.check {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
/* Preview card */
.output-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.preview-label {
  padding: 0.75rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.preview-thread {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.thread-line {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.thread-indent {
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-weight: 300;
}
.preview-meta {
  padding: 0.75rem 1.25rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* CLOSING */
.closing-section {
  padding: 6rem 2rem 5rem;
  border-bottom: 1px solid var(--border);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.closing-stat {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}
.closing-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.closing-body {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 3rem;
}
/* Bar chart visual */
.closing-visual {
  max-width: 420px;
}
.visual-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 120px;
  margin-bottom: 0.75rem;
}
.visual-bar {
  flex: 1;
  background: var(--surface-2);
  border-radius: 4px 4px 0 0;
  transition: opacity 0.3s;
}
.visual-bar.active {
  background: var(--accent);
}
.visual-labels {
  display: flex;
  gap: 0.5rem;
}
.visual-labels span {
  flex: 1;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
}
.visual-labels span.active-label {
  color: var(--accent);
  font-weight: 500;
}

/* FOOTER */
.site-footer {
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* MOBILE */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .output-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .manifesto {
    padding: 4rem 1.5rem 3rem;
  }
  .how-it-works, .output-section, .closing-section {
    padding: 4rem 1.5rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}