:root {
  --bg: #0B0F1A;
  --surface: #131929;
  --surface2: #1C2438;
  --fg: #E8EEF7;
  --fg-muted: #8B9BB4;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --green: #10b981;
  --green-dim: rgba(16, 185, 129, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ── Header Logo ── */
.header-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

/* ── Stats Bar ── */
.statsbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.statsbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat:first-child { padding-left: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.stat-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 7px;
}

/* Terminal */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
}
.terminal-header {
  background: var(--surface2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.amber { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  color: var(--fg-muted);
  font-size: 0.75rem;
  margin-left: 8px;
  font-family: var(--font-body);
}
.terminal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.terminal-line.user { color: var(--fg); }
.terminal-line.user.small { font-size: 0.75rem; opacity: 0.8; }
.terminal-line.agent { color: var(--fg-muted); font-size: 0.8rem; }
.terminal-line.success { color: var(--green); }
.prompt { color: var(--amber); }
.agent-label { color: var(--amber); font-size: 0.75rem; flex-shrink: 0; }
.check { flex-shrink: 0; }

/* ── Manifesto ── */
.manifesto {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.manifesto-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.manifesto-headline {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  margin-bottom: 24px;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.manifesto-author {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ── Capabilities ── */
.capabilities {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.capabilities-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 56px;
  max-width: 640px;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.cap-card {
  background: var(--surface);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.cap-card:hover { background: var(--surface2); }
.cap-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}
.cap-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.cap-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Differentiation ── */
.differentiation {
  padding: 96px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.diff-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.diff-headline {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  margin-top: 16px;
}
.diff-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}
.diff-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.diff-header, .diff-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
}
.diff-header {
  background: var(--surface2);
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.diff-col-local { color: var(--green); }
.diff-col-cloud { color: var(--fg-muted); }
.diff-row {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.diff-row.last { border-bottom: none; }
.diff-row-label { color: var(--fg-muted); }
.diff-cell { font-size: 0.82rem; }
.diff-cell.local { color: var(--green); font-weight: 500; }
.diff-cell.cloud { color: #6b7fa3; }

/* Models */
.diff-right { padding-top: 48px; }
.models-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.models-group { margin-bottom: 24px; }
.models-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.local-tag { background: var(--amber-dim); color: var(--amber); }
.cloud-tag { background: var(--green-dim); color: var(--green); }
.model-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg-muted);
}

/* ── Closing ── */
.closing {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.closing-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 56px;
}
.closing-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
}
.closing-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.closing-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  max-width: 160px;
  text-align: center;
  line-height: 1.4;
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  background: var(--surface);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.footer-right { text-align: right; }
.footer-contact {
  font-size: 0.88rem;
  color: var(--fg);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.footer-email { color: var(--amber); }
.footer-sep { color: var(--fg-muted); }
.footer-trust {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.footer-dot { opacity: 0.4; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .diff-inner { grid-template-columns: 1fr; gap: 48px; }
  .diff-right { padding-top: 0; }
  .closing-stats { gap: 32px; }
  .closing-headline { font-size: 2.4rem; }
  .statsbar-inner { gap: 0; flex-wrap: wrap; justify-content: center; }
  .stat { padding: 8px 16px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-right { text-align: center; }
  .footer-contact, .footer-trust { justify-content: center; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 2.6rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .diff-header, .diff-row { grid-template-columns: 1.5fr 1fr 1fr; font-size: 0.75rem; }
  .closing-stats { flex-direction: column; gap: 24px; }
  .manifesto-headline { font-size: 1.8rem; }
  .closing-headline { font-size: 2rem; }
}
