:root {
  --bg: #151515;
  --surface: #111111;
  --surface2: #1a1a1a;
  --border: #222222;
  --border2: #2a2a2a;
  --text: #e8e8e8;
  --muted: #888888;
  --dim: #7a7a7a;
  --accent: #00a8ad;
  --accent2: #007f83;
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.15s;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--accent2) !important;
}

/* ── SECTIONS ── */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
}

.label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.highlight {
  color: var(--text);
}

/* ── HERO ── */
#hero {
  padding: 7rem 2rem 5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 173, 0.1);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  color: white;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.hero-stat-label {
  font-size: 1rem;
  color: var(--dim);
  display: block;
  margin-top: 0.15rem;
}

.install-label {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--dim);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.hero-rag-line {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: #00a8ad;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  margin-top: -0.5rem;
}

.editor-buttons {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.editor-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.editor-btn:hover {
  border-color: var(--accent);
  background: rgba(124, 106, 255, 0.06);
}

.editor-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.terminal-line {
  font-family: var(--mono);
  font-size: 0.81rem;
  color: var(--dim);
  margin-top: 1.5rem;
}

.terminal-line span {
  color: var(--muted);
}

/* ── TERMINAL BLOCK ── */
.terminal {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.terminal-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot-red {
  background: #003f42;
}
.term-dot-yellow {
  background: #005558;
}
.term-dot-green {
  background: #00a8ad;
}

.terminal-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.8;
}

.t-prompt {
  color: var(--accent);
}
.t-cmd {
  color: var(--text);
}
.t-ok {
  color: var(--green);
}
.t-dim {
  color: var(--dim);
}
.t-muted {
  color: var(--muted);
}
.t-token {
  color: var(--amber);
}

/* ── PROBLEM ── */
#problem {
  background: var(--bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.problem-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.problem-card h3 {
  color: var(--text);
  margin-bottom: 0.4rem;
}
.problem-card p {
  font-size: 0.875rem;
}

#trust {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(0, 168, 173, 0.04) 100%
  );
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.trust-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.75rem;
}

.trust-card.featured {
  background: rgba(0, 168, 173, 0.04);
}

.trust-step {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.trust-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.trust-card p {
  font-size: 0.875rem;
}

.toggle-demo {
  margin-top: 1.25rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.toggle-demo .cmd {
  color: var(--accent);
}
.toggle-demo .comment {
  color: var(--dim);
}

#vscode-panel {
  background: var(--surface);
}

.vscode-mockup {
  margin-top: 3rem;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.vscode-titlebar {
  background: #1e1e1e;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vscode-tabs {
  display: flex;
  gap: 0;
}

.vscode-tab {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
  padding: 0.35rem 1rem;
  border-right: 1px solid var(--border);
  cursor: pointer;
}

.vscode-tab.active {
  color: var(--text);
  background: #252526;
  border-bottom: 1px solid var(--accent);
}

.vscode-body {
  display: grid;
  grid-template-columns: 1fr 300px;
}

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

.vscode-editor {
  padding: 1.25rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.9;
  border-right: 1px solid var(--border);
}

.vscode-line-num {
  color: var(--dim);
  user-select: none;
  margin-right: 1.25rem;
}

.code-kw {
  color: #c792ea;
}
.code-fn {
  color: #82aaff;
}
.code-str {
  color: #c3e88d;
}
.code-type {
  color: #ffcb6b;
}
.code-comment {
  color: #546e7a;
}
.code-punct {
  color: var(--muted);
}

.vscode-panel-side {
  background: #1e1e1e;
  border-left: 1px solid var(--border);
}

.panel-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header-badge {
  background: rgba(124, 106, 255, 0.2);
  color: var(--accent);
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.panel-section {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.panel-section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.belief-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.belief-type {
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  margin-right: 0.35rem;
  font-weight: 600;
  text-transform: uppercase;
}

.type-preference {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.type-decision {
  background: rgba(124, 106, 255, 0.15);
  color: var(--accent);
}
.type-entity {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}

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

.panel-global {
  padding: 0.75rem 1rem;
}

.unique-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

#mcp {
  background: var(--surface);
}

.mcp-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.mcp-intro strong {
  color: var(--text);
}

.mcp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 620px) {
  .mcp-compare {
    grid-template-columns: 1fr;
  }
}

.mcp-card {
  background: var(--surface2);
  border-radius: 12px;
  padding: 1.5rem;
}

.mcp-card.good {
  background: rgba(0, 168, 173, 0.04);
}

.mcp-card-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.mcp-card.good .mcp-card-label {
  color: var(--accent);
}

.mcp-card h3 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.mcp-card p {
  font-size: 0.85rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.compare-table th {
  background: var(--surface2);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.compare-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.check {
  color: var(--green);
  font-weight: 600;
}
.cross {
  color: var(--red);
}

/* ── CROSS-TOOL ── */
#cross-tool {
  background: var(--bg);
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0.75rem;
  margin: 3rem 0;
}

@media (max-width: 680px) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
}

.flow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  height: 100%;
}

.flow-step-day {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.flow-step h3 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.flow-step p {
  font-size: 0.8rem;
}

.flow-step.center {
  background: rgba(124, 106, 255, 0.08);
  border-color: rgba(124, 106, 255, 0.3);
  text-align: center;
}

.flow-arrow {
  color: var(--dim);
  font-size: 1.25rem;
  text-align: center;
  display: flex;
  align-items: center;
}

.flow-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* ── BEFORE / AFTER ── */
#diff {
  background: var(--surface);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

.diff-card {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.diff-card-header {
  padding: 0.65rem 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.diff-card.bad .diff-card-header {
  background: rgba(0, 85, 88, 0.08);
  color: var(--muted);
}

.diff-card.good .diff-card-header {
  background: rgba(0, 168, 173, 0.08);
  color: #00a8ad;
}

.diff-card pre {
  background: #0d0d0d;
  padding: 1.25rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.8;
  overflow-x: auto;
  margin: 0;
  flex: 1;
}

.diff-footer {
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  font-family: var(--mono);
}

.diff-card.bad .diff-footer {
  background: rgba(0, 85, 88, 0.05);
  color: var(--dim);
}

.diff-card.good .diff-footer {
  background: rgba(0, 168, 173, 0.05);
  color: #00a8ad;
}

#precision {
  background: var(--bg);
}

.precision-bars {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.copy-cmd-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface2, #1e1e1e);
  border: 1px solid var(--border, #333);
  border-radius: 6px;
  padding: 0.35em 0.6em;
  margin-left: 0.25rem;
}

.copy-cmd-text {
  font-family: monospace;
  font-size: 0.85em;
  color: var(--fg, #e0e0e0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}

.copy-cmd-btn {
  flex-shrink: 0;
  background: var(--accent, #7c6aff);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.2em 0.6em;
  font-size: 0.75em;
  cursor: pointer;
  transition: opacity 0.15s;
}

.copy-cmd-btn:hover {
  opacity: 0.85;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bar-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  width: 90px;
  text-align: right;
  flex-shrink: 0;
}

.bar-label.tenure-label {
  color: var(--text);
  font-weight: 600;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: var(--surface2);
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}

.bar-fill.tenure-fill {
  background: var(--accent);
  width: 100%;
}
.bar-fill.zep-fill {
  background: var(--dim);
  width: 8%;
}
.bar-fill.mem0-fill {
  background: var(--dim);
  width: 5%;
}
.bar-fill.hindsight-fill {
  background: var(--dim);
  width: 5%;
}

.bar-value {
  font-family: var(--mono);
  font-size: 0.78rem;
  width: 36px;
  flex-shrink: 0;
}
.bar-value.tenure-val {
  color: var(--accent);
  font-weight: 700;
}
.bar-value.other-val {
  color: var(--dim);
}

.precision-note {
  font-size: 0.78rem;
  color: var(--dim);
  margin-bottom: 2.5rem;
}

.precision-note a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(124, 106, 255, 0.4);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.stat-name {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.stat-desc {
  font-size: 0.8rem;
  color: var(--muted);
}

#how {
  background: var(--bg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 3rem 0;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 0 0 2.5rem;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.step-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 0.5rem;
}

.step:last-child .step-line {
  display: none;
}

.step-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.step h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.975rem;
}

.compare-code {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.compare-code-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.compare-code-label.good {
  color: var(--accent);
}

@media (max-width: 640px) {
  .compare-code {
    grid-template-columns: 1fr;
  }
}

.compare-code .terminal {
  height: 80%;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.precision-tax {
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
  margin: 1.75rem auto;
  line-height: 1.6;
  margin-top: 2.5rem;
}

.precision-tax strong {
  color: var(--text);
}

.compat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.compat-chip {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

#details {
  background: var(--surface);
}

#retrieval-tax {
  background: var(--surface);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.detail-icon {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: block;
}
.detail-card h3 {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.detail-card p {
  font-size: 0.85rem;
}

#privacy {
  background: var(--surface);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: center;
}

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

.privacy-table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.privacy-table tr {
  border-bottom: 1px solid var(--border);
}
.privacy-table tr:last-child {
  border-bottom: none;
}
.privacy-table td {
  padding: 0.7rem 0;
  color: var(--muted);
}
.privacy-table td:first-child {
  color: var(--text);
  font-weight: 500;
}
.privacy-table td:last-child {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.privacy-statement {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  font-weight: 500;
}

.privacy-statement span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
  display: block;
  margin-top: 0.75rem;
}

#cta {
  background: var(--surface);
  text-align: center;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
}

.btn-primary:hover {
  background: var(--accent2);
}

.cta-meta {
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 1rem;
}
.cta-meta span {
  margin: 0 0.4rem;
}

footer {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--dim);
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--muted);
}

.image-icon {
  width: 4rem;
}
.logo-icon {
  margin-right: 7px;
  height: 30px;
}
.logo-container {
  display: flex;
}

#native-integrations {
  background: var(--bg);
}

.integration-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 720px) {
  .integration-block {
    grid-template-columns: 1fr;
  }
}

.integration-card {
  background: var(--surface2);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.integration-card.featured {
  border-color: rgba(0, 168, 173, 0.3);
  background: rgba(0, 168, 173, 0.04);
}

.integration-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.integration-logo {
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.integration-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.integration-subtitle {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.integration-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.integration-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.integration-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.845rem;
  color: var(--muted);
  line-height: 1.5;
}

.integration-feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.integration-feature strong {
  color: var(--text);
  font-weight: 500;
}

.integration-callout {
  background: var(--surface);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.integration-callout strong {
  color: var(--text);
  font-weight: 500;
}

.integration-link {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration-color: rgba(0, 168, 173, 0.35);
  margin-top: auto;
}

.integration-link:hover {
  text-decoration-color: var(--accent);
}

@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  body {
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    padding: 0 1rem;
    gap: 0.75rem;
  }
  /* Hide the plain text links on phones, keep logo + CTA button */
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  /* ── SECTIONS ── */
  section {
    padding: 3.5rem 1rem;
  }

  /* ── HERO ── */
  #hero {
    padding: 4rem 1rem 3rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 1.25rem;
  }
  .editor-buttons {
    gap: 0.5rem;
  }
  .editor-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }
  /* Terminal curl line wraps gracefully */
  .terminal-line {
    word-break: break-all;
    font-size: 0.7rem;
  }
  /* Terminal mockup full width */
  .terminal {
    max-width: 100%;
  }
  .terminal-body {
    padding: 1rem;
    font-size: 0.72rem;
    overflow-x: auto;
  }

  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
  }
  .compare-table {
    min-width: 480px;
  }

  /* ── VS CODE MOCKUP ── */
  /* Side panel drops below the editor on mobile */
  .vscode-body {
    grid-template-columns: 1fr;
  }
  .vscode-editor {
    border-right: none;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    font-size: 0.7rem;
  }
  .vscode-panel-side {
    border-left: none;
  }
  /* Tab bar scrolls if needed */
  .vscode-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .vscode-tab {
    white-space: nowrap;
  }

  /* ── CROSS-TOOL FLOW ── */
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  /* ── PRIVACY ── */
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ── CTA BUTTONS ── */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }
  .btn-primary {
    justify-content: center;
    width: 100%;
  }

  /* ── FOOTER ── */
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
