/* CENT Pitch — overrides on top of pitch.css.
   CENT is the infrastructure / signal layer, so we shift the brand from
   MyHub's indigo to teal while keeping everything else (warm cream bg,
   Fraunces/Inter, components) so the two pages feel like a product family. */

:root {
  /* Brand: teal, with the same warm/cream supporting palette */
  --brand: #0e7490;            /* Deeper teal */
  --brand-soft: #cffafe;
  --brand-deep: #155e75;
  /* Accent stays orange for energy / call-to-action */
  --accent: #f97316;
  --accent-soft: #ffedd5;
  /* Reuse other secondaries */
  --indigo: #4338ca;
  --indigo-soft: #ede9fe;
}

/* Logo mark gets a teal tone */
.nav__logo-mark {
  background: var(--brand);
}

/* Hero: a slightly cooler glow */
.hero__deco {
  background: radial-gradient(circle at 30% 30%, var(--brand-soft), transparent 60%);
}

/* Code-style inline tags used throughout the technical pitch */
code, .mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: #f1f5f9;
  color: #0f172a;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Section: accented block (kept light) */
.section--ink {
  background: #0f172a;
  color: #e5e7eb;
}
.section--ink h2,
.section--ink h3 {
  color: #f1f5f9;
}
.section--ink p { color: #cbd5e1; }
.section--ink .eyebrow {
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.12);
}
.section--ink code,
.section--ink .mono {
  background: rgba(255,255,255,0.08);
  color: #e0f2fe;
}
.section--ink .compare-card {
  background: #111827;
  border-color: #1f2937;
}
.section--ink .compare-card h3 { color: #f1f5f9; }
.section--ink .compare-card p, .section--ink .compare-card li { color: #cbd5e1; }

/* Pieces grid (architecture page) */
.pieces-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 800px) { .pieces-grid { grid-template-columns: 1fr; } }
.piece {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.piece__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-family: var(--font-heading);
}
.piece__tcode {
  display: inline-block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.piece h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.piece p { margin: 0; }

/* Filter rows table (technical page) — converted from CSS grid to a real
   <table> so columns auto-size to content and scroll horizontally on narrow
   viewports without squishing text. */
.filter-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-table {
  border-collapse: collapse;
  width: 100%;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
}
.filter-table th,
.filter-table td {
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.filter-table th {
  background: var(--bg-cream);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-strong);
  position: sticky;
  top: 0;
}
.filter-table tbody tr:last-child td { border-bottom: 0; }
.filter-table tbody tr:hover td { background: var(--bg-cream); }

/* Stage chip — used in technical page */
.stage-chip {
  display: inline-block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  margin: 0 4px 4px 0;
}
.stage-chip--main    { background: #ede9fe; border-color: #c7d2fe; color: #4338ca; }
.stage-chip--new     { background: #dcfce7; border-color: #86efac; color: #166534; }
.stage-chip--old     { background: #fee2e2; border-color: #fecaca; color: #991b1b; }
.stage-chip--updated { background: #ffedd5; border-color: #fed7aa; color: #9a3412; }
.stage-chip--inserted{ background: #cffafe; border-color: #a5f3fc; color: #155e75; }
.stage-chip--deleted { background: #fce7f3; border-color: #fbcfe8; color: #9d174d; }
.stage-chip--edited  { background: #fef9c3; border-color: #fde68a; color: #854d0e; }

/* Comparison cards (jobs vs real-time) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
}
.compare-card h3 { font-family: var(--font-body); font-size: 22px; margin: 0 0 6px; font-weight: 700; }
.compare-card .eyebrow { margin-bottom: 12px; }
.compare-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}
.compare-card li { margin-bottom: 8px; }

/* Scene wrapper used on scenario page (CENT version) — re-uses scenario.css base */
.scene--diagram .scene__art svg { max-width: 540px; margin: 0 auto; }

/* Tables-of-tables glossary */
.glossary {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
}
.glossary__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.glossary__row:last-child { border-bottom: 0; }
.glossary__row code {
  font-size: 14px;
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.glossary__row p {
  margin: 0;
  font-size: 15px;
}

/* Time line used on scenario page */
.timeline {
  margin: 32px auto 0;
  max-width: 720px;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--brand-soft);
}
.timeline li {
  position: relative;
  padding: 12px 0 12px 28px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 18px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.timeline__t {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: var(--brand-deep);
}
.timeline__title { font-weight: 600; color: var(--text); margin: 2px 0 4px; }
.timeline__desc  { color: var(--text-muted); font-size: 15px; }
