:root {
  --bg: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: #1c2128;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --accent-hover: #79c0ff;
  --green: #3fb950;
  --orange: #d29922;
  --purple: #bc8cff;
  --red: #f85149;
  --code-bg: #0d1117;
  --max-width: 960px;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* ── Navigation ─────────────────────────────────────── */
nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 56px;
  gap: 32px;
}
nav .logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}
nav .logo span { color: var(--accent); }
nav .nav-links { display: flex; gap: 24px; }
nav .nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
nav .nav-links a:hover,
nav .nav-links a.active { color: var(--text); text-decoration: none; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  padding: 80px 24px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero .tagline {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero .install-box {
  display: inline-block;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--green);
}
.hero .install-box .dollar { color: var(--text-muted); }
.dollar { color: var(--text-muted); }

/* Hero actions row */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.github-badge {
  display: inline-block;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: border-color 0.15s, background 0.15s;
}
.github-badge:hover {
  border-color: var(--accent);
  background: var(--bg-card);
  text-decoration: none !important;
}

/* Bridge text */
.bridge-text {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Card scenario (secondary description) */
.card-scenario {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-top: 8px;
  margin-bottom: 0 !important;
  font-style: italic;
  line-height: 1.6;
}

/* Proof point section */
.proof-point {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 64px;
}
.proof-point h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.proof-point p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ── Page hero (inner pages) ─────────────────────────── */
.page-hero {
  padding: 48px 24px 40px;
  border-bottom: 1px solid var(--border);
}
.page-hero .ph-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.page-hero h1 span { color: var(--accent); }
.page-hero .ph-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 0;
}
.page-hero .ph-sub:last-child { margin-bottom: 0; }
.page-hero .flow-diagram { margin: 32px 0 0; }
.page-hero .stats-bar { margin: 32px 0 0; }
.page-hero .lifecycle { margin: 32px 0 0; }
.page-hero .before-after { margin: 32px 0 0; }
.page-hero .card-grid { margin: 32px 0 0; }

/* Lifecycle method labels (API page) */
.lifecycle-step .lc-methods {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}
.lifecycle-step .lc-methods code {
  font-size: 10px;
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
}

/* ── Container ──────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

/* ── Section ────────────────────────────────────────── */
section { margin-bottom: 64px; }
section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
section h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text);
}
section p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

/* ── Code blocks ────────────────────────────────────── */
pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 16px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}
pre .copy-btn {
  position: absolute; top: 8px; right: 8px;
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 4px;
  padding: 4px 10px; font-size: 11px; font-family: var(--font-sans);
  color: var(--text-muted); cursor: pointer; opacity: 0; transition: opacity 0.15s;
  z-index: 1;
}
pre:hover .copy-btn { opacity: 1; }
pre .copy-btn:hover { color: var(--text); border-color: var(--accent); }
pre .copy-btn.copied { color: var(--green); border-color: var(--green); }

/* ── Step numbers ──────────────────────────────────── */
.step { position: relative; padding-left: 48px; margin-bottom: 40px; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step p { margin-bottom: 12px; }

/* ── Tab switcher (walkthrough paths) ── */
.path-tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.path-tab {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--text-muted); font-family: var(--font-sans); font-size: 15px;
  font-weight: 600; padding: 12px 24px; cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.path-tab:hover { color: var(--text); }
.path-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.path-panel { display: none; }
.path-panel.active { display: block; }
code {
  font-family: var(--font-mono);
  font-size: 13px;
}
p code, li code {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
}
.kw { color: var(--purple); }
.fn { color: #d2a8ff; }
.str { color: #a5d6ff; }
.num { color: #79c0ff; }
.cm { color: #8b949e; font-style: italic; }
.op { color: #ff7b72; }

/* ── Cards grid ─────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--accent); }
.card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card p { font-size: 14px; margin-bottom: 0; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.tag-bio { background: #1f3d2b; color: var(--green); }
.tag-devops { background: #2d2000; color: var(--orange); }
.tag-ml { background: #2a1d3d; color: var(--purple); }
.tag-org { background: #111d2e; color: var(--accent); }

/* ── Stats bar ──────────────────────────────────────── */
.stats-bar {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.stat { text-align: center; }
.stat .num { font-size: 32px; font-weight: 800; color: var(--accent); display: block; }
.stat .label { font-size: 13px; color: var(--text-muted); }

/* ── Table ──────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
td code { font-size: 12px; }

/* ── Feature list ───────────────────────────────────── */
.feature-list { list-style: none; }
.feature-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 15px;
}
.feature-list li::before {
  content: '~';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Details/Summary (collapsible scripts) ─────────── */
details {
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
details summary {
  padding: 12px 20px;
  background: var(--bg-secondary);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: '+ ';
  color: var(--text-muted);
}
details[open] summary::before {
  content: '− ';
}
details summary:hover {
  background: var(--bg-card);
}
details pre {
  margin: 0;
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--border);
  max-height: 600px;
  overflow-y: auto;
}

/* ── Footer ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ── Domain tabs ───────────────────────────────────── */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab-btn .tab-emoji {
  margin-right: 6px;
  font-size: 15px;
}
.tab-panel {
  display: none;
  padding: 24px 0 0;
}
.tab-panel.active { display: block; }
.tab-panel .example-scenario {
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--border);
}

/* ── Flow diagram ──────────────────────────────────── */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.flow-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  text-align: center;
  min-width: 140px;
  transition: border-color 0.15s;
}
.flow-node:hover { border-color: var(--accent); }
.flow-node .flow-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}
.flow-node .flow-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: block;
  overflow-wrap: break-word;
  max-width: 140px;
}
.flow-node .flow-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.flow-node.flow-highlight {
  border-color: var(--accent);
  background: #111d2e;
}
.flow-arrow {
  color: var(--text-muted);
  font-size: 24px;
  padding: 0 8px;
  flex-shrink: 0;
}

/* ── Vertical flow chart (sources → Attest → reality model) ── */
.flow-v { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 32px 0; }
.flow-v-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 4px 0; }
.flow-v-pill {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap; transition: border-color 0.15s;
}
.flow-v-pill:hover { border-color: var(--accent); }
.flow-v-bar {
  background: #111d2e; border: 1px solid var(--accent); border-radius: 12px;
  padding: 16px 32px; text-align: center; width: 100%; max-width: 760px;
  margin: 4px 0;
}
.flow-v-bar .flow-v-title { font-size: 18px; font-weight: 700; color: var(--text); }
.flow-v-bar .flow-v-sub {
  font-size: 13px; color: var(--text-muted); margin-top: 6px;
  line-height: 1.5;
}
.flow-v-bar .flow-v-sub em { color: var(--text); font-style: normal; font-weight: 600; }
.flow-v-arrow { color: var(--text-muted); font-size: 20px; line-height: 1; padding: 2px 0; }
.flow-v-caption {
  font-size: 12px; color: var(--text-muted); text-align: center;
  margin-top: 4px; max-width: 600px;
}
.flow-v-row.flow-v-outputs .flow-v-pill { border-color: var(--green); color: var(--green); }
.flow-v-row.flow-v-outputs .flow-v-pill.flow-v-pill-muted {
  border-color: var(--border); color: var(--text-muted); font-weight: 500;
}

/* ── Chat demo (animated Q&A) ── */
.chat-demo {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; max-width: 600px; margin: 24px auto; overflow: hidden;
}
.chat-q {
  font-weight: 600; color: var(--accent); margin-bottom: 8px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}
.chat-a { margin-bottom: 20px; }
.chat-line {
  display: block; font-family: var(--font-mono); font-size: 13px;
  color: var(--text); padding: 2px 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.chat-line.chat-src { color: var(--text-muted); font-size: 12px; }
.chat-q.visible, .chat-line.visible { opacity: 1; transform: translateY(0); }

/* ── Before/After cards ────────────────────────────── */
.before-after {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.ba-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  position: relative;
}
.ba-card.ba-highlight {
  border-color: var(--accent);
  background: #111d2e;
}
.ba-card .ba-system {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ba-card.ba-highlight .ba-system { color: var(--accent); }
.ba-card .ba-code {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
}
.ba-card .ba-code .muted { color: var(--text-muted); }
.ba-card .ba-code .accent { color: var(--accent); }
.ba-card .ba-code .green { color: var(--green); }
.ba-card .ba-verdict {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Bar charts ────────────────────────────────────── */
.bar-chart {
  margin: 24px 0;
}
.bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.bar-label {
  font-size: 13px;
  color: var(--text-muted);
  min-width: 140px;
  text-align: right;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: 6px;
  height: 28px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--bg);
  white-space: nowrap;
  transition: width 0.6s ease;
}
.bar-fill.bar-accent { background: var(--accent); }
.bar-fill.bar-green { background: var(--green); }
.bar-fill.bar-orange { background: var(--orange); }
.bar-fill.bar-muted {
  background: #484f58;
  color: var(--text-muted);
}
.bar-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  min-width: 100px;
  flex-shrink: 0;
}
.bar-group-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
}

/* ── Lifecycle diagram ─────────────────────────────── */
.lifecycle {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.lifecycle-step {
  text-align: center;
  min-width: 120px;
  max-width: 160px;
}
.lifecycle-step .lc-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 24px;
}
.lifecycle-step .lc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.lifecycle-step .lc-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.lifecycle-step.lc-green .lc-circle { border-color: var(--green); }
.lifecycle-step.lc-red .lc-circle { border-color: var(--red); }
.lifecycle-step.lc-accent .lc-circle { border-color: var(--accent); }
.lifecycle-arrow {
  color: var(--text-muted);
  font-size: 20px;
  padding: 16px 6px 0;
  flex-shrink: 0;
}

/* ── Timeline flowchart ────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 24px 0 8px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--border);
  border-radius: 2px;
}
/* Steps: visible by default. JS adds .tl-anim to parent to enable animation. */
.tl-step {
  position: relative;
  margin-bottom: 24px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-anim .tl-step { opacity: 0; transform: translateY(12px); }
.tl-anim .tl-step.visible { opacity: 1; transform: translateY(0); }
.tl-step::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border);
  z-index: 1;
}
.tl-step.tl-corr::before { background: var(--green); box-shadow: 0 0 0 2px #1f3d2b; }
.tl-step.tl-retract::before { background: var(--red); box-shadow: 0 0 0 2px #3d1f1f; }
.tl-step.tl-contra::before { background: var(--orange); box-shadow: 0 0 0 2px #3d2d00; }
.tl-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tl-label span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 8px;
}
.tl-card {
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.5;
}
.tl-conf {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
  background: #1f3d2b;
  padding: 2px 10px;
  border-radius: 4px;
}
.tl-conf.tl-low { color: var(--orange); background: #3d2d00; }
.tl-conf.tl-med { color: var(--accent); background: #111d2e; }
.tl-badge {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-sans);
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.tl-badge-corr { background: #1f3d2b; color: var(--green); }
.tl-badge-retracted { background: #3d1f1f; color: var(--red); }
.tl-badge-contra { background: #3d2d00; color: var(--orange); }
.tl-card-retract {
  border-color: var(--red);
  background: #1a0d0d;
  color: var(--text-muted);
  border-left: 3px solid var(--red);
  font-size: 13px;
}
.tl-verdict {
  position: relative;
  padding: 14px 18px;
  margin-top: 4px;
  background: #111d2e;
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-anim .tl-verdict { opacity: 0; transform: translateY(12px); }
.tl-anim .tl-verdict.visible { opacity: 1; transform: translateY(0); }
.tl-other-dbs {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
}
.tl-other-dbs strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 15px;
}
.tl-other-dbs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.tl-other-db {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.tl-other-db.other {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.tl-other-db.ours {
  background: #111d2e;
  border: 1px solid var(--accent);
  color: var(--text);
}
.tl-other-db-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.tl-other-db.ours .tl-other-db-label { color: var(--accent); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero .tagline { font-size: 16px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero .ph-sub { font-size: 15px; }
  .page-hero { padding: 32px 24px 28px; }
  .stats-bar { gap: 16px; }
  .stat .num { font-size: 24px; }
  nav .nav-links { gap: 16px; }
  .timeline { padding-left: 32px; }
  .tl-step::before { left: -32px; width: 14px; height: 14px; }
  .tl-card { font-size: 13px; padding: 12px 14px; }
  .tl-other-dbs-row { grid-template-columns: 1fr; }
  .lifecycle { gap: 2px; }
  .lifecycle-arrow { padding: 8px 4px 0; font-size: 16px; }
  .lifecycle-step { min-width: 80px; }
  .flow-diagram { gap: 0; }
  .flow-arrow { padding: 0 4px; font-size: 18px; }
  .flow-node { min-width: 80px; padding: 12px; }
  .flow-node .flow-label { font-size: 12px; }
  .flow-v-row { gap: 6px; }
  .flow-v-pill { font-size: 11px; padding: 5px 10px; }
  .flow-v-bar { padding: 12px 16px; }
  .flow-v-bar .flow-v-title { font-size: 15px; }
  .flow-v-bar .flow-v-sub { font-size: 12px; }
  .flow-v-caption { font-size: 11px; }
}
