/* =====================================================================
   data-bridge.css — page-scoped extensions ONLY. base.css + theme-*.css
   are the shared foundation in the repo root.
   Page: data-bridge-computerease.html — KL Data Bridge flagship product.
   Rev 3 (2026-06-10): desktop-vs-cloud "squeeze" lead, data-sovereignty
   angle, "sound familiar" restyled as a shaded side-note panel, Pioneer/
   quote references removed, theme em-color coverage for all sections.
   Components: hero dashboard mock, squeeze beats, side-note panel,
   outcome cards w/ media slots, 3-step diagram w/ premises boundary,
   Zoho/SEWP destination rails, managed grid + run-log + onboarding
   timeline, IT spec plate, pricing tiers, FAQ.
   ===================================================================== */

/* =====  HERO — plain pitch + dashboard mock  ===== */
.db-hero-visual { align-self: center; width: 100%; }

/* Browser-framed illustrative dashboard (CSS only; swapped for a real
   screenshot when DB-00 is captured — see docs/SCREENSHOT-SPECS.md). */
.mock {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.mock-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi {
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  padding: 12px 14px 10px;
  background: var(--bg-2);
}
.mock-kpi-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
  white-space: nowrap;
}
.mock-kpi-val {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--text-1);
  line-height: 1;
}
.mock-kpi-val em { font-style: normal; font-size: 12px; color: var(--accent); font-weight: 600; }
.mock-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: stretch; }
.mock-chart {
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: var(--bg-2);
  padding: 12px 14px 10px;
}
.mock-chart-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 84px;
}
.mock-bars span {
  flex: 1;
  background: var(--line);
  border-radius: 2px 2px 0 0;
  height: calc(var(--h) * 1%);
}
.mock-bars span.hot { background: var(--accent); }
.mock-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: var(--bg-2);
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
}
.mock-rows { display: flex; flex-direction: column; gap: 9px; flex: 1; justify-content: center; }
.mock-row { display: grid; grid-template-columns: 64px 1fr 38px; gap: 10px; align-items: center; }
.mock-row-name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.mock-row-bar { height: 7px; background: var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.mock-row-bar::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(var(--p) * 1%);
  background: var(--accent);
  border-radius: 4px;
}
.mock-row-pct {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  text-align: right;
}
.mock-foot {
  padding: 9px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.mock-caption {
  margin-top: 12px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--hero-meta-text);
  text-align: right;
}

/* =====  SQUEEZE — the desktop-vs-cloud story (the hook)  ===== */
.squeeze {
  background: var(--services-bg);
  padding: var(--section-pad-y) 0;
}
.squeeze-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
}
.squeeze-beat {
  background: var(--surface-card);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.squeeze-num {
  font-family: var(--font-display);
  font-style: var(--em-style);
  font-size: 30px;
  font-weight: var(--display-weight);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.squeeze-beat h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: var(--display-tracking);
  font-weight: var(--display-weight);
  color: var(--text-1);
}
.squeeze-beat p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.squeeze-beat p .aside-line {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: italic;
  color: var(--text-3);
}
.squeeze-beat--turn { border-color: var(--accent); }
/* the data-sovereignty closer */
.squeeze-tail {
  margin-top: 30px;
  padding: 24px 30px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  border-radius: var(--radius-button);
  max-width: 920px;
}
.squeeze-tail p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-1);
}
.squeeze-tail strong { font-weight: 700; color: var(--text-1); }

/* =====  SIDE NOTE — "sound familiar" as a shaded aside, not core flow  ===== */
.sidenote-wrap {
  background: var(--services-bg);
  padding: 0 0 var(--section-pad-y);
}
.sidenote {
  background: var(--bg-2);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-card);
  padding: 30px 36px 28px;
  position: relative;
}
.sidenote-tag {
  position: absolute;
  top: 0; left: 32px;
  transform: translateY(-50%);
  background: var(--accent);
  color: var(--bg-1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.sidenote-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: start;
}
.sidenote h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: var(--display-tracking);
  font-weight: var(--display-weight);
  color: var(--text-1);
  margin-bottom: 16px;
}
.sidenote-list { list-style: none; margin: 0; padding: 0; }
.sidenote-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  align-items: baseline;
}
.sidenote-list li:first-child { border-top: none; padding-top: 0; }
.sidenote-list li::before {
  content: '—';
  color: var(--accent);
  font-weight: 600;
}
.sidenote-list li p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-1);
}
.sidenote-list li p span { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
/* the field note lives inside the side note, slightly inset */
.sidenote .incident {
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  padding: 22px 24px 20px;
  background: var(--surface-card);
}
.incident-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.incident p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-1);
  margin-bottom: 10px;
}
.incident p:last-of-type { margin-bottom: 0; }
.incident-close {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-transform: uppercase;
}

/* =====  OUTCOMES — what you get, each anchored by a screen  ===== */
.outcomes {
  background: var(--cases-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
}
.outcome { display: flex; flex-direction: column; gap: 14px; }
.outcome-frame {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}
.outcome-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.outcome-frame.pending {
  border-style: dashed;
  border-color: var(--accent);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.outcome-pending-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
  font-family: var(--font-mono);
}
.outcome-pending-id {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.outcome-pending-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-2);
}
.outcome-pending-note {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.outcome-id {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f4f1ec;
  background: rgba(0,0,0,0.55);
  padding: 5px 10px;
  border-radius: var(--radius-button);
}
.outcome h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: var(--display-tracking);
  font-weight: var(--display-weight);
  color: var(--text-1);
}
.outcome > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* =====  STEPS — how it works, 3 plain moves + premises boundary  ===== */
.steps {
  background: var(--why-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.pipe {
  display: grid;
  grid-template-columns: 2.1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 8px;
}
.pipe-premises {
  position: relative;
  border: 1px dashed var(--accent);
  border-radius: var(--radius-card);
  padding: 34px 26px 26px;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  gap: 0;
  align-items: stretch;
}
.pipe-premises-label {
  position: absolute;
  top: 0; left: 26px;
  transform: translateY(-50%);
  background: var(--why-bg);
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.pipe-node {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-button);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-card);
}
.pipe-node-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.pipe-node-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: var(--display-tracking);
  font-weight: var(--display-weight);
  color: var(--text-1);
}
.pipe-node p { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.pipe-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
}
.pipe-egress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  min-width: 150px;
}
.pipe-egress-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: center;
  line-height: 1.5;
}
.pipe-egress-line {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
  position: relative;
}
.pipe-egress-line::after {
  content: '';
  position: absolute;
  right: -1px; top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid var(--accent);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.pipe-node--dest {
  background: var(--text-1);
  border-color: var(--text-1);
  justify-content: center;
}
.pipe-node--dest .pipe-node-tag { color: var(--invert-text-2); }
.pipe-node--dest .pipe-node-name { color: var(--invert-text); }
.pipe-node--dest p { color: var(--invert-text-2); }
.pipe-caption {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  display: flex;
  gap: 12px;
  align-items: baseline;
  max-width: 760px;
}
.pipe-caption-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* =====  RAILS — where your dashboards live (Zoho vs SEWP)  ===== */
.rails {
  background: var(--services-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.rails-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-grid);
  align-items: stretch;
}
.rail {
  background: var(--surface-card);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px 34px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.rail-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.rail h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: var(--display-tracking);
  font-weight: var(--display-weight);
  color: var(--text-1);
  margin-bottom: 6px;
}
.rail-sub {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 18px;
}
.rail > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 20px;
}
.rail-list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.rail-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-1);
  align-items: baseline;
}
.rail-list li::before {
  content: '—';
  color: var(--accent);
  font-weight: 600;
}
.rail-best {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}
.rail-best strong {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.rail--sewp { background: var(--text-1); border-color: var(--text-1); }
.rail--sewp h3, .rail--sewp .rail-list li { color: var(--invert-text); }
.rail--sewp .rail-sub { color: var(--invert-text-2); }
.rail--sewp > p { color: var(--invert-text-2); }
.rail--sewp .rail-list { border-top-color: rgba(255,255,255,0.18); }
.rail--sewp .rail-best { border-top-color: rgba(255,255,255,0.18); color: var(--invert-text-2); }
.rails-tail {
  margin-top: 26px;
  font-size: 14.5px;
  font-style: italic;
  color: var(--text-2);
  max-width: 72ch;
}

/* =====  MANAGED — we watch it + run-log + onboarding timeline  ===== */
.managed {
  background: var(--cases-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.managed-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}
.managed-list { display: flex; flex-direction: column; gap: 0; }
.managed-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px dashed var(--line);
}
.managed-item:first-child { border-top: none; padding-top: 0; }
.managed-mark {
  width: 42px; height: 42px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-button);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.managed-mark svg { width: 19px; height: 19px; stroke: currentColor; }
.managed-item h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: var(--display-tracking);
  font-weight: var(--display-weight);
  color: var(--text-1);
  margin-bottom: 5px;
}
.managed-item p { font-size: 14px; line-height: 1.55; color: var(--text-2); }

/* the run-log console (the agent's actual nightly report) */
.runlog {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-family: var(--font-mono);
}
.runlog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.runlog-head strong { color: var(--accent); font-weight: 700; }
.runlog-lines { list-style: none; margin: 0; padding: 16px 22px; display: flex; flex-direction: column; }
.runlog-line {
  display: grid;
  grid-template-columns: 52px 96px 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.runlog-time { color: var(--text-3); }
.runlog-stage { color: var(--text-1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11.5px; }
.runlog-detail { color: var(--text-2); }
.runlog-ok { color: var(--accent); font-weight: 700; }
.runlog-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  gap: 10px;
  align-items: center;
}
.runlog-caption {
  margin-top: 12px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-3);
}

/* onboarding timeline */
.timeline {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.timeline-head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.timeline-step { position: relative; padding-top: 16px; }
.timeline-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: -28px;
  height: 1px;
  background: var(--line);
}
.timeline-step:last-child::before { right: 0; }
.timeline-step::after {
  content: '';
  position: absolute;
  top: -4px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-week {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.timeline-step h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--text-1);
  margin-bottom: 4px;
}
.timeline-step p { font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* =====  SPEC PLATE — for your IT folks  ===== */
.specplate-sec {
  background: var(--why-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.specplate {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.specplate-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-3);
}
.specplate-head strong { color: var(--accent); }
.specplate dl { margin: 0; }
.specplate-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--line);
}
.specplate-row:last-child { border-bottom: none; }
.specplate dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
}
.specplate dd {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-1);
  margin: 0;
}
.specplate-invite {
  margin-top: 20px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-2);
}

/* =====  PRICING TIERS  ===== */
.tiers {
  background: var(--services-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
  align-items: stretch;
}
.tier {
  background: var(--surface-card);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-flag {
  position: absolute;
  top: 0; right: 24px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg-1);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.tier-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.tier-band {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 18px;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--text-1);
  line-height: 1;
}
.tier-price span {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0;
}
.tier-setup {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 10px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.tier-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tier-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-1);
  align-items: baseline;
}
.tier-list li::before {
  content: '—';
  color: var(--accent);
  font-weight: 600;
}
.tier--featured { border-color: var(--accent); }
.tiers-tail {
  margin-top: 28px;
  font-size: 13.5px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-3);
  max-width: 76ch;
}

/* =====  FAQ  ===== */
.faq {
  background: var(--cases-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.faq-list { max-width: 860px; }
.faq-list details {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--display-weight);
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p {
  padding: 0 26px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 72ch;
}
.disclaimer {
  margin-top: 32px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 76ch;
}

/* ============================================================
   THEME: LOBBY — flat, brass, editorial
   ============================================================ */

/* em accent color on light sections (base default #b3a586 is tuned for
   dark surfaces; without this, em text in these sections reads washed-out) */
.theme-lobby .squeeze em,
.theme-lobby .sidenote-wrap em,
.theme-lobby .outcomes em,
.theme-lobby .steps em,
.theme-lobby .rails em,
.theme-lobby .managed em,
.theme-lobby .specplate-sec em,
.theme-lobby .tiers em,
.theme-lobby .faq em { color: #6b6147; }
/* but em on dark cards inside those sections stays light brass */
.theme-lobby .rail--sewp em,
.theme-lobby .pipe-node--dest em,
.theme-lobby .runlog em { color: #b3a586; }

.theme-lobby .mock {
  background: rgba(20,23,30,0.65);
  border: 1px solid rgba(244,241,236,0.18);
  border-radius: 0;
  box-shadow: none;
}
.theme-lobby .mock-chrome { border-bottom-color: rgba(244,241,236,0.14); }
.theme-lobby .mock-dots span { background: rgba(244,241,236,0.25); }
.theme-lobby .mock-url {
  background: rgba(244,241,236,0.06);
  border-color: rgba(244,241,236,0.14);
  color: rgba(244,241,236,0.55);
  border-radius: 0;
}
.theme-lobby .mock-kpi,
.theme-lobby .mock-chart,
.theme-lobby .mock-table {
  background: rgba(244,241,236,0.05);
  border-color: rgba(244,241,236,0.12);
  border-radius: 0;
}
.theme-lobby .mock-kpi-label,
.theme-lobby .mock-chart-label { color: rgba(244,241,236,0.5); }
.theme-lobby .mock-kpi-val { color: #f4f1ec; font-weight: 400; }
.theme-lobby .mock-kpi-val em { color: #b3a586; }
.theme-lobby .mock-bars span { background: rgba(244,241,236,0.22); }
.theme-lobby .mock-bars span.hot { background: #b3a586; }
.theme-lobby .mock-row-name { color: rgba(244,241,236,0.6); }
.theme-lobby .mock-row-bar { background: rgba(244,241,236,0.15); }
.theme-lobby .mock-row-bar::after { background: #b3a586; }
.theme-lobby .mock-row-pct { color: rgba(244,241,236,0.5); }
.theme-lobby .mock-foot { border-top-color: rgba(244,241,236,0.14); color: rgba(244,241,236,0.5); }

.theme-lobby .squeeze { background: #f4f1ec; }
.theme-lobby .squeeze-beat { background: #ebe6dd; border: 1px solid #d9d4cb; border-radius: 0; box-shadow: none; }
.theme-lobby .squeeze-beat--turn { border-color: #8a7d62; }
.theme-lobby .squeeze-num { font-style: italic; font-weight: 400; color: #8a7d62; }
.theme-lobby .squeeze-beat h3 { font-weight: 400; }
.theme-lobby .squeeze-tail { background: #ebe6dd; border-left-color: #8a7d62; border-radius: 0; }

.theme-lobby .sidenote-wrap { background: #f4f1ec; }
.theme-lobby .sidenote { background: #ebe6dd; border-color: #8a7d62; border-radius: 0; }
.theme-lobby .sidenote-tag { background: #8a7d62; color: #f4f1ec; border-radius: 0; }
.theme-lobby .sidenote h3 { font-weight: 400; }
.theme-lobby .sidenote-list li::before { color: #8a7d62; }
.theme-lobby .sidenote .incident { background: #f4f1ec; border: 1px solid #d9d4cb; border-radius: 0; }
.theme-lobby .incident-tag { color: #6b6147; }
.theme-lobby .incident-close { color: #6b6147; border-top-color: #c9c2b2; }

.theme-lobby .outcomes { background: #ebe6dd; border-top-color: #d9d4cb; }
.theme-lobby .outcome-frame { border-radius: 0; box-shadow: none; border-color: #d9d4cb; background: #f4f1ec; }
.theme-lobby .outcome-frame.pending { border-color: #8a7d62; background: #f4f1ec; }
.theme-lobby .outcome-pending-id { color: #6b6147; }
.theme-lobby .outcome-id { border-radius: 0; }
.theme-lobby .outcome h3 { font-weight: 400; }

.theme-lobby .steps { background: #f4f1ec; border-top-color: #d9d4cb; }
.theme-lobby .pipe-premises { border-color: #8a7d62; border-radius: 0; }
.theme-lobby .pipe-premises-label { background: #f4f1ec; color: #6b6147; }
.theme-lobby .pipe-node { background: #ebe6dd; border: 1px solid #d9d4cb; border-radius: 0; box-shadow: none; }
.theme-lobby .pipe-node-tag { color: #8a7d62; }
.theme-lobby .pipe-node-name { font-weight: 400; }
.theme-lobby .pipe-link { color: #8a7d62; }
.theme-lobby .pipe-egress-label { color: #6b6147; }
.theme-lobby .pipe-egress-line { background: repeating-linear-gradient(90deg, #8a7d62 0 6px, transparent 6px 12px); }
.theme-lobby .pipe-egress-line::after { border-left-color: #8a7d62; }
.theme-lobby .pipe-node--dest { background: #1a1e26; border-color: #1a1e26; }
.theme-lobby .pipe-node--dest .pipe-node-tag { color: #b3a586; }
.theme-lobby .pipe-node--dest .pipe-node-name { color: #f4f1ec; }
.theme-lobby .pipe-node--dest p { color: rgba(244,241,236,0.78); }
.theme-lobby .pipe-caption-mark { color: #6b6147; }

.theme-lobby .rails { background: #ebe6dd; border-top-color: #d9d4cb; }
.theme-lobby .rail { background: #f4f1ec; border: 1px solid #d9d4cb; border-radius: 0; box-shadow: none; }
.theme-lobby .rail-kicker { color: #8a7d62; }
.theme-lobby .rail h3 { font-weight: 400; }
.theme-lobby .rail-list li::before { color: #8a7d62; }
.theme-lobby .rail-best strong { color: #6b6147; }
.theme-lobby .rail--sewp { background: #1a1e26; border-color: #1a1e26; }
.theme-lobby .rail--sewp .rail-kicker { color: #b3a586; }
.theme-lobby .rail--sewp h3 { color: #f4f1ec; }
.theme-lobby .rail--sewp .rail-sub { color: rgba(244,241,236,0.6); }
.theme-lobby .rail--sewp > p { color: rgba(244,241,236,0.75); }
.theme-lobby .rail--sewp .rail-list li { color: #f4f1ec; }
.theme-lobby .rail--sewp .rail-list li::before { color: #b3a586; }
.theme-lobby .rail--sewp .rail-best { color: rgba(244,241,236,0.7); }
.theme-lobby .rail--sewp .rail-best strong { color: #b3a586; }

.theme-lobby .managed { background: #f4f1ec; border-top-color: #d9d4cb; }
.theme-lobby .managed-mark { border-color: #8a7d62; color: #8a7d62; border-radius: 0; }
.theme-lobby .managed-item { border-top-color: #c9c2b2; }
.theme-lobby .managed-item h3 { font-weight: 400; }
.theme-lobby .runlog {
  background: #1a1e26;
  border: 1px solid #1a1e26;
  border-radius: 0;
  box-shadow: none;
}
.theme-lobby .runlog-head { border-bottom-color: rgba(244,241,236,0.14); color: rgba(244,241,236,0.55); }
.theme-lobby .runlog-head strong { color: #b3a586; }
.theme-lobby .runlog-time { color: rgba(244,241,236,0.45); }
.theme-lobby .runlog-stage { color: #f4f1ec; }
.theme-lobby .runlog-detail { color: rgba(244,241,236,0.65); }
.theme-lobby .runlog-ok { color: #b3a586; }
.theme-lobby .runlog-foot { border-top-color: rgba(244,241,236,0.14); color: rgba(244,241,236,0.5); }
.theme-lobby .timeline { border-top-color: #c9c2b2; }
.theme-lobby .timeline-head { color: #6b6147; }
.theme-lobby .timeline-step::before { background: #c9c2b2; }
.theme-lobby .timeline-step::after { background: #8a7d62; border-radius: 0; }
.theme-lobby .timeline-week { color: #6b6147; }
.theme-lobby .timeline-step h4 { font-weight: 400; }

.theme-lobby .specplate-sec { background: #ebe6dd; border-top-color: #d9d4cb; }
.theme-lobby .specplate { background: #f4f1ec; border: 1px solid #d9d4cb; border-radius: 0; box-shadow: none; }
.theme-lobby .specplate-head { border-bottom-color: #d9d4cb; color: #6b6147; }
.theme-lobby .specplate-head strong { color: #6b6147; }
.theme-lobby .specplate-row { border-bottom-color: #d9d4cb; }
.theme-lobby .specplate dt { color: #6b6147; }

.theme-lobby .tiers { background: #f4f1ec; border-top-color: #d9d4cb; }
.theme-lobby .tier { background: #ebe6dd; border: 1px solid #d9d4cb; border-radius: 0; box-shadow: none; }
.theme-lobby .tier--featured { border-color: #8a7d62; }
.theme-lobby .tier-flag { background: #8a7d62; color: #f4f1ec; border-radius: 0; }
.theme-lobby .tier-name { color: #6b6147; }
.theme-lobby .tier-price { font-weight: 300; }
.theme-lobby .tier-list li::before { color: #8a7d62; }

.theme-lobby .faq { background: #ebe6dd; border-top-color: #d9d4cb; }
.theme-lobby .faq-list details { background: #f4f1ec; border: 1px solid #d9d4cb; border-radius: 0; box-shadow: none; }
.theme-lobby .faq-list summary { font-weight: 400; }
.theme-lobby .faq-list summary::after { color: #8a7d62; }

/* ============================================================
   THEME: CORPORATE — rounded, blue, SaaS
   ============================================================ */
.theme-corporate .mock { border-radius: 12px; }
.theme-corporate .mock-url { border-radius: 999px; }
.theme-corporate .mock-kpi-val em { color: #226DB4; }
.theme-corporate .mock-bars span.hot { background: #226DB4; }
.theme-corporate .mock-row-bar::after { background: #226DB4; }
.theme-corporate .squeeze { background: #f8fafc; }
.theme-corporate .squeeze-beat h3 { font-weight: 700; }
.theme-corporate .squeeze-num { font-style: normal; font-weight: 800; }
.theme-corporate .squeeze-tail { border-radius: 10px; }
.theme-corporate .sidenote-wrap { background: #f8fafc; }
.theme-corporate .sidenote { background: #ffffff; border-radius: 12px; }
.theme-corporate .sidenote h3 { font-weight: 700; }
.theme-corporate .sidenote .incident { background: #f8fafc; border-radius: 10px; }
.theme-corporate .outcome-frame { border-radius: 12px; }
.theme-corporate .outcome-frame.pending { border-color: #226DB4; background: #f8fafc; }
.theme-corporate .outcome-pending-id { color: #226DB4; }
.theme-corporate .outcome h3 { font-weight: 700; }
.theme-corporate .steps { background: #f8fafc; }
.theme-corporate .pipe-premises-label { background: #f8fafc; }
.theme-corporate .pipe-node-name { font-weight: 700; }
.theme-corporate .pipe-node--dest { background: #1e293b; border-color: #1e293b; }
.theme-corporate .pipe-node--dest .pipe-node-tag { color: #60a5fa; }
.theme-corporate .rail h3 { font-weight: 700; }
.theme-corporate .rail--sewp { background: #1e293b; border-color: #1e293b; }
.theme-corporate .rail--sewp .rail-kicker { color: #60a5fa; }
.theme-corporate .rail--sewp h3 { color: #ffffff; }
.theme-corporate .rail--sewp .rail-sub,
.theme-corporate .rail--sewp > p,
.theme-corporate .rail--sewp .rail-best { color: rgba(255,255,255,0.85); }
.theme-corporate .rail--sewp .rail-list li { color: #ffffff; }
.theme-corporate .rail--sewp .rail-list li::before { color: #60a5fa; }
.theme-corporate .rail--sewp .rail-best strong { color: #60a5fa; }
.theme-corporate .managed-mark { background: #e8f1fa; border-color: #e8f1fa; color: #226DB4; border-radius: 10px; }
.theme-corporate .managed-item h3 { font-weight: 700; }
.theme-corporate .runlog { border-radius: 12px; background: #1e293b; border-color: #1e293b; }
.theme-corporate .runlog-head { border-bottom-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }
.theme-corporate .runlog-head strong { color: #60a5fa; }
.theme-corporate .runlog-time { color: rgba(255,255,255,0.45); }
.theme-corporate .runlog-stage { color: #ffffff; }
.theme-corporate .runlog-detail { color: rgba(255,255,255,0.7); }
.theme-corporate .runlog-ok { color: #60a5fa; }
.theme-corporate .runlog-foot { border-top-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.5); }
.theme-corporate .specplate { border-radius: 12px; }
.theme-corporate .specplate dt { color: #226DB4; }
.theme-corporate .tier { border-radius: 12px; }
.theme-corporate .tier--featured { border-color: #226DB4; box-shadow: 0 14px 32px rgba(34,109,180,0.12); }
.theme-corporate .tier-flag { background: #226DB4; color: #ffffff; }
.theme-corporate .tier-name { color: #226DB4; }
.theme-corporate .tier-price { font-weight: 800; }
.theme-corporate .faq-list details { border-radius: 12px; }
.theme-corporate .faq-list summary { font-weight: 700; }

/* ============================================================
   RESPONSIVE — page-scoped (responsive.css only covers shared classes)
   ============================================================ */
/* ====================  PRODUCT TOUR (stepper)  ====================
   No library. Default (no-JS) state renders every slide stacked as a plain annotated
   figure — a good fallback. JS adds .tour--ready, which switches to one-at-a-time. */
.tour-sec {
  background: var(--cases-bg, var(--why-bg));
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.tour { margin-top: 40px; }

/* Screen-reader-only live region announcing the current step. */
.tour-live {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.tour-slide { margin: 0 0 44px; }
.tour--ready .tour-slide { margin-bottom: 0; }
.tour--ready .tour-slide[hidden] { display: none; }

.tour-shot {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  line-height: 0;
}
.tour-shot img { display: block; width: 100%; height: auto; }

.tour-cap {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
  max-width: 860px;
}
.tour-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  padding-top: 2px;
}
.tour-cap h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.25;
  color: var(--text-1);
}
.tour-cap p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-2);
}
.tour-cap em { color: var(--text-1); font-style: normal; font-weight: 600; }

/* Controls are meaningless without JS, so they stay hidden until .tour--ready. */
.tour-nav { display: none; }
.tour--ready .tour-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.tour-arrow {
  width: 44px; height: 44px;          /* 44px tap target, per the mobile pass */
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: var(--surface-card);
  color: var(--text-1);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.tour-arrow:hover { border-color: var(--accent); color: var(--accent); }

.tour-ticks {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.tour-ticks button {
  width: 34px; height: 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.tour-ticks button:hover { border-color: var(--accent); color: var(--accent); }
.tour-ticks button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--invert-text);
}


/* The tour shot is dense UI at 3200x2000. Capped rather than full-bleed: past ~1000px the
   extra width buys no legibility (the in-app text is already sub-pixel at this scale) and
   costs a lot of page height. The caption carries the meaning; the shot is the evidence. */
.tour-shot { max-width: 1000px; margin: 0 auto; }
.tour-cap  { margin-left: auto; margin-right: auto; }

/* FAQ in two columns on desktop. Eight collapsed rows stacked is ~450px of dead height for
   content most visitors scan rather than read. Single column below 920px (responsive.css). */
@media (min-width: 921px) {
  .faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    align-items: start;
  }
}

/* ====================  OTHER-ERP INVITATION BAND  ==================== */
.otherep-sec {
  background: var(--why-bg);
  padding: calc(var(--section-pad-y) * 0.62) 0;
  border-top: 1px solid var(--line);
}
.otherep {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  align-items: start;
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 34px;
}
.otherep-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 5px;
}
.otherep-body h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.25;
  color: var(--text-1);
}
.otherep-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}
.otherep-body p:last-child { margin-bottom: 0; }
.otherep-ask { color: var(--text-1); }

/* ====================  SETUP-TOOL BEAT (onboarding proof)  ==================== */
.setupwiz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.setupwiz-text h3 {
  margin: 10px 0 14px;
  font-size: 27px;
  line-height: 1.2;
  color: var(--text-1);
}
.setupwiz-text p {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.setupwiz-note { color: var(--text-1); }
.setupwiz-note strong { color: var(--accent); }
.setupwiz-visual .outcome-frame { margin: 0; }
/* The outcomes-grid frames carry an absolutely-positioned .outcome-id chip; this one
   doesn't (the section heading already names it), so the frame just holds the image. */
.setupwiz-visual .outcome-frame img { display: block; width: 100%; height: auto; }
.setupwiz-caption {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ====================  EGRESS LEDGER  ====================
   Reuses the .specplate shell (see above) so it inherits card surface, borders,
   row grid and responsive collapse. Only the STAYS/LEAVES flag is new.
   Deliberately NOT color-coded green/red: this site's palette is brass (dark) /
   blue (light), and a semantic traffic-light would be off-brand. The distinction
   is carried by weight + fill instead, which also survives a mono/contrast reader. */
.egress-sec {
  background: var(--services-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.egress-plate dt {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
  color: var(--text-1);
}
/* Flag is block-level so it sits consistently ABOVE the label. Inline-flex wrapped
   unevenly — short labels stayed on the flag's line, long ones dropped below. */
.egress-flag {
  display: block;
  width: fit-content;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--text-3);
  white-space: nowrap;
}
.egress-flag.leaves {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--invert-text);
}
.egress-plate dd strong { color: var(--accent); font-weight: 700; }

@media (max-width: 920px) {
  .squeeze-grid { grid-template-columns: 1fr; }
  .sidenote-grid { grid-template-columns: 1fr; gap: 28px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: 1fr; }
  .pipe-premises { grid-template-columns: 1fr; padding: 30px 20px 20px; }
  .pipe-link { padding: 6px 0; }
  .pipe-link::before { content: '↓'; }
  .pipe-link span { display: none; }
  .pipe-egress { flex-direction: column; padding: 16px 0; min-width: 0; }
  .pipe-egress-line {
    width: 1px;
    height: 36px;
    background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px);
  }
  .pipe-egress-line::after {
    right: auto; top: auto;
    left: 50%; bottom: -1px;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--accent);
    border-bottom: none;
  }
  .theme-lobby .pipe-egress-line { background: repeating-linear-gradient(180deg, #8a7d62 0 6px, transparent 6px 12px); }
  .theme-lobby .pipe-egress-line::after { border-top-color: #8a7d62; border-left-color: transparent; }
  .rails-grid { grid-template-columns: 1fr; }
  .managed-grid { grid-template-columns: 1fr; gap: 36px; }
  .timeline-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .timeline-step::before { right: 0; }
  .specplate-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 22px; }
  .tiers-grid { grid-template-columns: 1fr; }
  .tier--featured { order: -1; }
  .otherep { grid-template-columns: 1fr; gap: 14px; padding: 26px 24px; }
  .otherep-tag { padding-top: 0; }
  .tour-cap { grid-template-columns: 44px 1fr; gap: 14px; }
  .tour-num { font-size: 21px; }
  .tour-cap h3 { font-size: 20px; }
}
@media (max-width: 600px) {
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis .mock-kpi:nth-child(3) { display: none; }
  .mock-split { grid-template-columns: 1fr; }
  .sidenote { padding: 26px 22px 22px; }
  .runlog-line { grid-template-columns: 44px 1fr auto; }
  .runlog-detail { display: none; }
  .timeline-grid { grid-template-columns: 1fr; }
  .faq-list summary { padding: 16px 18px; font-size: 16px; }
  .faq-list details > p { padding: 0 18px 18px; }
}

/* Outage story, relocated from the old side-note aside into the Managed section where
   it does actual work: it is the thing the monthly fee insures against. */
.incident--wide {
  max-width: 780px;
  margin: 0 0 34px;
}
