.home-edition .home-delivery {
  position: relative;
  padding-block: clamp(80px, 9vw, 128px);
  border-block-end: 1px solid var(--rail-color);
  background: var(--paper-soft);
}

.home-edition .home-architecture { position: relative; }
.home-delivery .evidence-heading,
.home-analysts .evidence-heading { margin-block-end: clamp(32px, 4vw, 54px); }
.delivery-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: delivery-step;
}
.delivery-stages > li {
  min-width: 0;
  padding: clamp(16px, 1.8vw, 26px);
  border-block-start: 2px solid #acbddf;
  counter-increment: delivery-step;
}
.delivery-stages > li::before {
  display: block;
  margin-bottom: 14px;
  color: #48639d;
  font: 500 clamp(1.35rem, 2vw, 1.8rem)/1 ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.08em;
  content: counter(delivery-step, decimal-leading-zero);
}
.delivery-stages > .delivery-stage-featured {
  border-color: #544adc;
  background: linear-gradient(138deg, #e0e8ff, #edf2ff 80%);
  border-radius: 0 0 14px 14px;
}
.delivery-stages > .delivery-stage-featured::before { color: #493ac2; }
.delivery-stages h3, .analyst-ledger h3, .governance-panel h4 {
  margin: 0;
  color: var(--ink);
  font: 670 clamp(1.05rem, 1.5vw, 1.32rem)/1.45 var(--sans);
}
.delivery-stages p, .analyst-ledger p, .governance-panel dd {
  margin: .5rem 0 0;
  color: #435469;
  font-size: .95rem;
  line-height: 1.78;
}
.delivery-continuity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px clamp(16px, 2.5vw, 36px);
  margin-top: 24px;
  padding: 18px clamp(18px, 2vw, 30px);
  border-inline-start: 4px solid #95eadb;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(105deg, #17397f, #2e419e 65%, #3a3b9a);
  color: #fff;
}
.home-edition .delivery-continuity h3 { margin: 0; color: #fff; font: 650 clamp(1.04rem, 1.45vw, 1.27rem)/1.55 var(--sans); }
.delivery-continuity p { margin: 0; color: #edf3ff; font-size: .94rem; line-height: 1.72; }
.home-edition .home-analysts {
  display: block;
  padding-block: clamp(80px, 9vw, 128px);
  border-block-end: 1px solid var(--rail-color);
}
.home-analysts .evidence-heading {
  max-width: 44rem;
  margin-block-end: clamp(36px, 4.5vw, 56px);
}

/* Notion-style 3-stage horizontal flow: Agent Hub → 3 Analysts → Deliverable Output */
.analyst-flow {
  display: grid;
  grid-template-columns: minmax(140px, 0.72fr) 76px minmax(0, 1.85fr) 76px minmax(250px, 1.15fr);
  align-items: center;
  gap: 0;
}

/* Stage 1: Agent Hub */
.af-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 8px;
}
.af-hub-node {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #182c4d;
  box-shadow: 0 10px 26px rgba(24, 44, 77, 0.09);
}
.af-hub-node img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.af-hub-name {
  font-size: 0.94rem;
  font-weight: 650;
  color: #182c4d;
  line-height: 1.3;
}
.af-hub-sub {
  font-size: 0.75rem;
  color: #5b6d82;
  padding: 2px 9px;
  border-radius: 999px;
  background: #f3f6fb;
  border: 1px solid #e1e8f2;
  white-space: nowrap;
}

/* Dotted Routing Connectors with flowing dashes + traveling signal dots */
.af-connectors {
  width: 76px;
  height: 300px;
  display: block;
  overflow: visible;
}
.af-wire-path {
  stroke: #c5d1e2;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
}
.af-wire-dot {
  fill: #344ec7;
}
.af-wire-halo {
  fill: rgba(52, 78, 199, 0.18);
}
.af-connectors-out .af-wire-dot {
  fill: #1d8378;
}
.af-connectors-out .af-wire-halo {
  fill: rgba(29, 131, 120, 0.18);
}
@media (prefers-reduced-motion: no-preference) {
  .af-wire-path {
    animation: af-dash-flow 1.4s linear infinite;
  }
  @keyframes af-dash-flow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -18; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .af-travel-dots { display: none; }
}

/* Stage 2: Three Specialist Analysts */
.analyst-ledger {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.analyst-ledger::before { content: none; }
.analyst-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 18px 14px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(24, 44, 77, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.analyst-card:hover {
  border-color: #bfd0ea;
  box-shadow: 0 8px 24px rgba(24, 44, 77, 0.08);
  transform: translateY(-1px);
}
.analyst-avatar {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.analyst-body { min-width: 0; }
.analyst-ledger h3 {
  margin: 0;
  color: #182c4d;
  font: 650 1rem/1.4 var(--sans);
}
.analyst-ledger article p {
  margin: 3px 0 0;
  color: #4b5d73;
  font-size: 0.84rem;
  line-height: 1.6;
}
.analyst-check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f6ef;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  flex: none;
}

/* Stage 3: Deliverable Output Card (Icon-led) */
.af-deliverable {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #d5dfee;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(24, 44, 77, 0.07);
}
.af-deliverable-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.af-deliverable-head strong {
  font-size: 1.02rem;
  font-weight: 660;
  color: #182c4d;
}
.af-deliverable-badge {
  font-size: 0.7rem;
  font-weight: 620;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #264bc3;
  border: 1px solid #cddcfa;
}
.af-format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.af-format-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e6ecf5;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.af-format-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: currentColor;
}
.af-format-item svg {
  width: 30px;
  height: 30px;
  display: block;
}
.af-format-item span {
  font-size: 0.72rem;
  font-weight: 620;
  color: #334155;
  line-height: 1.2;
}
.af-fmt-ppt { color: #d95d39; }
.af-fmt-pdf { color: #dc2626; }
.af-fmt-html { color: #2563eb; }
.af-fmt-doc { color: #4f46e5; }
.af-fmt-chart { color: #0d9488; }
.af-fmt-calc { color: #7c3aed; }

.af-deliverable-note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #edf2f7;
  color: #53657d;
  font-size: 0.8rem;
  line-height: 1.6;
}
.home-analysts .home-edition-note { border-color: #54bfae; background: #f0faf8; }
.home-edition-note {
  display: flex;
  align-items: baseline;
  gap: 4px 18px;
  margin: 0;
  padding: 13px clamp(16px, 2vw, 28px);
  border-inline-start: 2px solid #6172c8;
  background: #eff2fa;
  color: #34495d;
  font-size: .94rem;
  line-height: 1.75;
}
.home-edition-note strong { flex-shrink: 0; color: #1d3a5d; }
.home-analysts + .home-workflow { padding-top: clamp(80px, 9vw, 128px); }
.home-governance { margin-top: clamp(30px, 3.5vw, 50px); }
.home-governance > h3 { margin: 0 0 17px; font: 650 clamp(1.28rem, 2.15vw, 1.75rem)/1.4 var(--sans); }
.governance-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.governance-panel {
  min-width: 0;
  padding: clamp(18px, 2.3vw, 30px);
  border-top: 2px solid #8b9cb5;
  background: #fff;
}
.governance-panel dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: baseline;
  gap: 12px 14px;
  margin: 16px 0 0;
  padding-top: 15px;
  border-top: 1px solid #dee5eb;
}
.governance-panel dt { color: #223c58; font-size: .93rem; font-weight: 650; }
.governance-panel dd { min-width: 0; margin: 0; }
.home-governance .home-edition-note { margin-top: 14px; }
.wb-report .wb-followup {
  margin-top: 12px;
  border-top: 1px solid #d7e1ed;
  color: #263c53;
  font-size: .84rem;
  line-height: 1.65;
}
.wb-followup summary {
  padding: 10px 2px;
  color: #214e96;
  cursor: pointer;
}
.wb-followup summary:focus-visible {
  outline: 2px solid #245ac5;
  outline-offset: 2px;
}
.wb-followup-label { margin-inline-end: .55em; font-weight: 700; }
.wb-followup-answer {
  padding: 10px 14px;
  background: #eff4fb;
  border-inline-start: 2px solid #527eb3;
}
.wb-followup-answer p { margin: 4px 0 0; }
@media (max-width: 1020px) {
  .analyst-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .af-hub {
    flex-direction: row;
    justify-content: flex-start;
    text-align: start;
    padding: 0;
    gap: 12px;
  }
  .af-hub-node { width: 52px; height: 52px; }
  .af-hub-node img { width: 26px; height: 26px; }
  .af-connectors { display: none; }
}
@media (max-width: 960px) {
  .delivery-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .governance-panel dl { grid-template-columns: 1fr; gap: 2px; }
  .governance-panel dd + dt { margin-top: .5rem; }
}
@media (max-width: 700px) {
  .analyst-ledger, .governance-columns { grid-template-columns: 1fr; }
  .analyst-ledger > article { padding-block: 17px; }
  .home-edition-note { display: grid; }
}
@media (max-width: 500px) {
  .analyst-ledger > article { grid-template-columns: 1fr; gap: 5px; }
  .delivery-stages { grid-template-columns: 1fr; gap: 0; }
  .delivery-stages > li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    column-gap: .6rem;
    padding: 15px 13px;
    border-block-start: 0;
    border-inline-start: 2px solid #acbddf;
  }
  .delivery-stages > .delivery-stage-featured { border-color: #544adc; border-radius: 0 12px 12px 0; }
  .delivery-stages > li::before { margin: 0; align-self: baseline; font-size: 1.35rem; }
  .delivery-stages p { grid-column: 2; margin-top: .25rem; }
}
