/* Nichts Landing — Ironclaw-inspired */

:root {
  --bg: #FAFAF8;
  --bg-alt: #F3F2EE;
  --bg-dark: #0C0C0C;
  --bg-card: #FFFFFF;
  --bg-mock: #1A1A1A;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-dim: #999;
  --accent: #8B5C3E;
  --accent-light: #A67553;
  --green: #22C55E;
  --red: #EF4444;
  --blue: #3B82F6;
  --yellow: #EAB308;
  --purple: #8B5CF6;
  --border: #E5E4E0;
  --border-light: #EEEDE9;
  --radius: 12px;
  --radius-lg: 16px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* --- Nav --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover { color: var(--text); }

.nav-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Hero --- */

.hero {
  text-align: center;
  padding: 80px 32px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-ascii {
  margin-bottom: 32px;
}

.hero-ascii pre {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.2;
  color: #C8C5BD;
  letter-spacing: 1px;
  display: inline-block;
  text-align: left;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-hint {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  transform: translateY(-1px);
}

.btn-cta {
  background: #fff;
  color: var(--bg-dark);
  font-size: 16px;
  padding: 14px 32px;
}

.btn-cta:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

/* --- Sections --- */

.section {
  padding: 100px 32px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.section-heading em {
  font-style: italic;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* --- Bold Statements --- */

.bold-section {
  padding: 0 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.bold-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bold-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.bold-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.bold-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  background: rgba(139, 92, 62, 0.08);
  border: 1px solid rgba(139, 92, 62, 0.15);
}

.bold-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  font-style: italic;
}

.bold-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.bold-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 1024px) {
  .bold-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bold-section { padding: 0 20px 50px; }
}

/* --- Product Demo --- */

.demo-section {
  padding: 0 32px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #FAFAF8;
  border-bottom: 1px solid var(--border-light);
}

.demo-dots {
  display: flex;
  gap: 6px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-dots span:nth-child(1) { background: #FF5F57; }
.demo-dots span:nth-child(2) { background: #FFBD2E; }
.demo-dots span:nth-child(3) { background: #28C840; }

.demo-title {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.demo-body {
  display: grid;
  grid-template-columns: 180px 1fr 300px;
  min-height: 340px;
}

.demo-sidebar {
  background: #F7F6F3;
  border-right: 1px solid var(--border-light);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: default;
}

.demo-sidebar-item.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.demo-main {
  padding: 16px;
}

.demo-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.demo-svc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg);
}

.demo-svc-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-svc-online .demo-svc-status { background: var(--green); }

.demo-svc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.demo-svc-meta {
  font-size: 11px;
  color: var(--text-dim);
}

.demo-chat {
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.demo-chat-header {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.demo-chat-messages {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.demo-chat-msg {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 90%;
}

.demo-chat-user {
  background: var(--text);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.demo-chat-nix {
  background: #F3F2EE;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.demo-chat-tool {
  background: var(--bg-mock);
  color: #9CA3AF;
  font-family: var(--font-mono);
  font-size: 11px;
  align-self: flex-start;
  border-radius: 6px;
}

.demo-chat-input {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-dim);
}

/* --- Capabilities Grid --- */

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s;
}

.cap-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  background: rgba(139, 92, 62, 0.08);
  border: 1px solid rgba(139, 92, 62, 0.15);
}

.cap-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.cap-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- Mock Blocks --- */

.cap-mock {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2A2A2A;
}

.cap-mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1A1A1A;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #999;
  border-bottom: 1px solid #2A2A2A;
}

.cap-mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cap-mock-dot.green { background: var(--green); }
.cap-mock-dot.purple { background: var(--purple); }
.cap-mock-dot.blue { background: var(--blue); }

.cap-mock-body {
  background: #111;
  padding: 14px;
}

/* Terminal mock */
.cap-mock-terminal .cap-mock-body {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}

.term-line { color: #D4D4D4; }
.term-red { color: var(--red); font-weight: 600; }
.term-green { color: var(--green); }
.term-yellow { color: var(--yellow); }
.term-blue { color: var(--blue); }
.term-dim { color: #666; }

/* Memory mock */
.cap-mock-memory .cap-mock-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mem-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  transition: background 0.15s;
}

.mem-entry:hover {
  background: rgba(255,255,255,0.04);
}

.mem-hex {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--purple);
  font-weight: 600;
  min-width: 36px;
}

.mem-label {
  font-weight: 600;
  color: #E5E5E5;
  min-width: 70px;
}

.mem-detail {
  color: #777;
  font-size: 11px;
}

/* Diff mock */
.cap-mock-diff .cap-mock-header {
  justify-content: space-between;
}

.diff-stat { display: flex; gap: 6px; }

.diff-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  padding: 1px 8px;
  white-space: pre;
}

.diff-context { color: #888; }
.diff-add { color: var(--green); background: rgba(34, 197, 94, 0.08); }
.diff-remove { color: var(--red); background: rgba(239, 68, 68, 0.08); }

/* Channels mock */
.cap-mock-channels {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  overflow: hidden;
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}

.channel-row:last-child { border-bottom: none; }

.channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-dash { background: #EEF2FF; color: #4F46E5; }
.channel-tg { background: #E0F2FE; color: #0284C7; }
.channel-cli { background: #F3F4F6; color: #374151; }

.channel-info { flex: 1; }

.channel-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.channel-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.channel-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: #F3F4F6;
  color: var(--text-muted);
}

.channel-badge.live {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
}

/* --- Architecture --- */

.arch-layout {
  max-width: 900px;
}

.arch-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.arch-diagram {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.arch-agent {
  text-align: center;
  padding: 24px 40px;
  background: linear-gradient(135deg, rgba(139, 92, 62, 0.06), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(139, 92, 62, 0.15);
  border-radius: var(--radius);
  width: 100%;
  max-width: 400px;
}

.arch-agent-label {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  margin-bottom: 4px;
}

.arch-agent-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.arch-arrow {
  color: var(--text-dim);
  padding: 4px 0;
}

.arch-services {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
}

.arch-svc-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.arch-svc-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 70px;
  padding-top: 6px;
  text-align: right;
}

.arch-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.arch-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
}

.arch-infra {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.arch-infra-sep { color: var(--border); }

/* --- Workflow --- */

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.workflow-step {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.workflow-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--border);
  margin-bottom: 16px;
}

.workflow-step h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Services Grid --- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.svc-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.svc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.svc-card-name {
  font-weight: 700;
  font-size: 15px;
}

.svc-card-port {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.svc-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.svc-card-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.svc-card-stack span {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--text-muted);
}

/* --- Self-Improvement --- */

.improve-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.improve-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.improve-item h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}

.improve-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.improve-item strong {
  color: var(--text);
  font-weight: 600;
}

/* --- CTA --- */

.cta-section {
  background: var(--bg-dark);
  padding: 100px 32px;
}

.cta-inner {
  text-align: center;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 48px;
}

.cta-stat-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.cta-stat-label {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* --- Real Production Setup --- */

.runs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.runs-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s;
}

.runs-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.runs-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: rgba(139, 92, 62, 0.08);
  border: 1px solid rgba(139, 92, 62, 0.15);
}

.runs-card h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 8px;
  font-style: italic;
}

.runs-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Section CTAs --- */

.section-cta {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.section-cta-hint {
  font-size: 13px;
  color: var(--text-dim);
}

/* --- Nix Select Showcase --- */

.nix-select-showcase {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.nix-select-demo {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.nix-select-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #FAFAF8;
  border-bottom: 1px solid var(--border-light);
}

.nix-select-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
}

.nix-select-content {
  padding: 20px;
  position: relative;
  min-height: 260px;
}

.nix-select-page-text {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}

.nix-select-dim {
  color: #999;
  display: block;
}

.nix-select-code {
  margin-top: 12px;
  padding: 14px;
  background: #111;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nix-select-highlight {
  color: #fff;
  background: rgba(139, 92, 62, 0.25);
  padding: 2px 6px;
  border-radius: 3px;
  border-left: 3px solid var(--accent);
  display: block;
}

.nix-select-popup {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 280px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.nix-select-popup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.nix-select-popup-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nix-select-popup-msg {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.5;
}

.nix-select-popup-user {
  background: var(--text);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.nix-select-popup-nix {
  background: var(--bg-alt);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

/* Nix Select features list */
.nix-select-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nix-select-feature {
  display: flex;
  gap: 14px;
}

.nix-select-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(139, 92, 62, 0.08);
  border: 1px solid rgba(139, 92, 62, 0.15);
  color: var(--accent);
}

.nix-select-feature strong {
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.nix-select-feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Honesty Note --- */

.honesty-note {
  margin-top: 56px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 18px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: rgba(234, 179, 8, 0.06);
  border: 1px solid rgba(234, 179, 8, 0.18);
}

.honesty-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 179, 8, 0.12);
  color: #EAB308;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.honesty-content h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-bottom: 10px;
}

.honesty-content p {
  font-size: 13.5px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 10px;
}

.honesty-content p:last-child {
  margin-bottom: 0;
}

.honesty-content strong {
  color: #ccc;
}

.honesty-content code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: #ddd;
}

@media (max-width: 640px) {
  .honesty-note {
    flex-direction: column;
    padding: 20px 24px;
  }
}

/* --- Why Pricing --- */

.why-pricing {
  margin-top: 72px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.why-pricing-heading {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

/* Comparison cards */
.why-comparison {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 48px;
}

.why-comparison-card {
  flex: 1;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.why-comparison-nix {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.why-comparison-human {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.why-comparison-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  margin-bottom: 16px;
}

.why-badge-muted {
  background: rgba(255, 255, 255, 0.06);
  color: #666;
}

.why-comparison-price {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.why-comparison-human .why-comparison-price {
  color: #666;
}

.why-comparison-term {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}

.why-comparison-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-comparison-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #bbb;
  line-height: 1.4;
}

.why-comparison-human .why-comparison-row {
  color: #666;
}

.why-comparison-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.why-icon-yes {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.why-icon-no {
  background: rgba(255, 255, 255, 0.04);
  color: #555;
  font-size: 14px;
}

.why-comparison-divider {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.why-comparison-divider span {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: #444;
}

/* Detail cards below comparison */
.why-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-detail-card {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s;
}

.why-detail-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.why-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(139, 92, 62, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(139, 92, 62, 0.2);
}

.why-detail-card strong {
  font-size: 14px;
  color: #ddd;
  display: block;
  margin-bottom: 4px;
  line-height: 1.4;
}

.why-detail-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* --- Pricing --- */

.pricing-cards {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.pricing-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-card-price {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card-term {
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
}

.pricing-card-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card-features li {
  font-size: 14px;
  color: #aaa;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-left: 20px;
  position: relative;
}

.pricing-card-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.pricing-card-features li:last-child {
  border-bottom: none;
}

.pricing-card .btn-cta {
  width: 100%;
  justify-content: center;
}

/* --- Legal Pages --- */

.legal-hero {
  background: var(--bg-dark);
  padding: 80px 32px 60px;
}

.legal-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-hero-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-bottom: 8px;
}

.legal-hero-sub {
  font-size: 16px;
  color: #888;
}

.legal-content {
  padding: 48px 32px 80px;
}

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-card {
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.legal-card h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--accent);
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

.legal-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.legal-card ul li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 3px 0 3px 20px;
  position: relative;
}

.legal-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.legal-back {
  margin-top: 20px;
}

.legal-back a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.legal-back a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .legal-hero { padding: 50px 20px 40px; }
  .legal-hero-title { font-size: 36px; }
  .legal-content { padding: 32px 16px 60px; }
  .legal-card { padding: 20px 24px; }
}

/* --- Footer --- */

.footer {
  border-top: 1px solid var(--border-light);
  padding: 24px 32px;
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-right a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-right a:hover { color: var(--text); }

/* --- Responsive --- */

@media (max-width: 1024px) {
  .demo-body {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
  }

  .demo-chat {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .improve-layout {
    grid-template-columns: 1fr;
  }

  .runs-grid {
    grid-template-columns: 1fr;
  }

  .nix-select-showcase {
    grid-template-columns: 1fr;
  }

  .why-comparison {
    flex-direction: column;
  }

  .why-comparison-divider {
    justify-content: center;
    padding: 12px 0;
  }

  .why-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero { padding: 50px 20px 40px; }
  .hero-headline { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-ascii pre { font-size: 9px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .section { padding: 60px 20px; }
  .section-heading { font-size: 32px; }
  .section-desc { font-size: 15px; }

  .demo-section { padding: 0 16px 60px; }

  .services-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }

  .cta-section { padding: 60px 20px; }
  .cta-heading { font-size: 32px; }
  .cta-stats { flex-wrap: wrap; gap: 32px; }

  .nav-inner { padding: 0 16px; }

  .arch-svc-group { flex-direction: column; gap: 8px; }
  .arch-svc-label { text-align: left; min-width: unset; }

  .why-pricing-heading { font-size: 22px; }
  .why-comparison-price { font-size: 32px; }
  .nix-select-popup { position: relative; bottom: auto; right: auto; width: 100%; margin-top: 12px; }
}
