/* Visual explanations use the existing WeClick palette and source metrics. */
figure { margin: 0; }
.graphic-kicker { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; margin-bottom: 18px; }
.graphic-note { font-size: 14px; line-height: 1.6; margin: 24px 0 0; }
.failure-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; margin-top: 64px; }
.failure-layout .failures { margin: 0; min-width: 0; }
.dependency-graphic { position: sticky; top: 32px; padding: 30px 24px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
.dependency-graphic h3 { font-size: 26px; line-height: 1.15; }
.donut { width: min(100%, 244px); aspect-ratio: 1; border-radius: 50%; margin: 32px auto; background: conic-gradient(var(--blue) 0% 92%, #d1d5db 92% 100%); padding: 21px; }
.donut-center { width: 100%; height: 100%; background: var(--soft); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center > strong { font-size: clamp(42px, 4.5vw, 64px); font-weight: 900; line-height: 1.1; letter-spacing: -.06em; }
.donut-center > strong span { font-size: .55em; letter-spacing: -.03em; }
.donut-center > span { font-size: 14px; line-height: 1.4; text-align: center; color: var(--muted); margin-top: 8px; }
.chart-legend { display: grid; gap: 12px; font-size: 14px; line-height: 1.45; }
.chart-legend > span { display: flex; align-items: center; gap: 8px; }
.chart-legend b { margin-left: auto; }
.chart-legend i { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.key-blue { background: var(--blue); }
.key-gray { background: #d1d5db; }
.campaign-cycle { margin: 64px auto 0; border-top: 1px solid #303030; padding-top: 40px; max-width: 880px; }
.campaign-cycle figcaption { font-size: 14px; font-weight: 500; color: #b8c2d4; text-align: center; margin-bottom: 28px; }
.cycle-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(72px, .85fr) minmax(0, 1fr); grid-template-rows: auto 96px auto; align-items: center; text-align: center; }
.cycle-node { padding: 24px 16px; background: #141414; border: 1px solid #383838; border-radius: 6px; font-size: 18px; font-weight: 700; line-height: 1.4; min-height: 106px; display: grid; place-items: center; }
.cycle-a { grid-area: 1 / 1; }
.cycle-b { grid-area: 1 / 3; background: var(--blue); border-color: var(--blue); }
.cycle-c { grid-area: 3 / 3; }
.cycle-d { grid-area: 3 / 1; }
.cycle-arrow { color: #91b4ff; font-size: 36px; line-height: 1; }
.cycle-right { grid-area: 1 / 2; }
.cycle-down { grid-area: 2 / 3; }
.cycle-left { grid-area: 3 / 2; }
.cycle-up { grid-area: 2 / 1; }
.cycle-center { grid-area: 2 / 2; font-size: 14px; line-height: 1.4; color: #b8c2d4; }
.behavior-map { margin: 64px 0 24px; padding: 40px 32px 28px; border: 1px solid #dbe6ff; background: #f4f7ff; border-radius: 8px; text-align: center; }
.behavior-map figcaption { font-size: 28px; line-height: 1.2; letter-spacing: -.035em; font-weight: 800; margin-bottom: 40px; }
.signal-label { color: var(--muted); letter-spacing: .1em; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.signal-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.signal-row span { background: #fff; border: 1px solid #d7e1f7; border-radius: 4px; padding: 10px 18px; font-size: 14px; line-height: 1.5; }
.flow-stem { width: 1px; height: 30px; background: #9bb7f7; margin-inline: auto; }
.message-node { background: var(--blue); color: #fff; border-radius: 6px; padding: 22px 24px; width: fit-content; margin: auto; font-size: 18px; line-height: 1.5; }
.message-node strong { color: inherit; }
.branch-lines { height: 50px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.branch-lines:before { content: ''; position: absolute; width: 1px; height: 25px; background: #9bb7f7; left: 50%; }
.branch-lines:after { content: ''; position: absolute; left: 12.5%; right: 12.5%; height: 1px; background: #9bb7f7; top: 25px; }
.branch-lines span { height: 25px; width: 1px; background: #9bb7f7; justify-self: center; align-self: end; }
.behavior-outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.behavior-outcomes > div { background: #fff; border: 1px solid #d7e1f7; border-top: 3px solid var(--blue); padding: 24px 12px; border-radius: 4px; }
.behavior-outcomes h3 { font-size: 23px; }
.behavior-outcomes p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.model-feedback { font-size: 14px; margin: 24px 0 0; display: flex; gap: 8px; align-items: center; justify-content: center; }
.model-feedback span { color: var(--blue); font-size: 24px; }
.process-overview { margin-top: 48px; padding: 32px 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.process-overview ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.process-overview li { position: relative; margin: 0; padding: 0 8px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; color: var(--ink); font-size: 16px; line-height: 1.4; }
.process-overview li:before { content: ''; position: absolute; top: 24px; left: 50%; width: 100%; height: 1px; background: #bdd0fb; }
.process-overview li:last-child:before { display: none; }
.process-overview li > span { position: relative; z-index: 1; width: 49px; height: 49px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 0 0 8px #fff; }
.timeline .stage { color: var(--blue); background: #edf3ff; border-color: #c9d9fb; border-radius: 50%; font-weight: 700; }
.proof-dashboard { margin-top: 56px; }
.revenue-chart { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: 64px; align-items: center; border: 1px solid #d5e2fd; background: #f4f7ff; padding: 44px; border-radius: 8px; }
.revenue-chart h3 { font-size: 30px; }
.chart-delta { display: block; font-size: clamp(64px, 7.5vw, 108px); font-weight: 900; color: var(--blue); letter-spacing: -.06em; line-height: 1.1; margin: 20px 0 12px; }
.revenue-chart figcaption p { margin: 0; font-size: 16px; }
.chart-body { min-width: 0; }
.chart-unit { font-size: 14px; margin: 0 0 24px; line-height: 1.5; }
.bar-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 42px; gap: 12px; align-items: center; margin: 0 0 18px; font-size: 14px; }
.bar-row > b { text-align: right; font-weight: 700; }
.bar-track { min-width: 0; height: 36px; background: #e5ebf7; border-radius: 3px; }
.bar-fill { height: 100%; width: var(--bar); border-radius: 3px; }
.bar-fill.baseline { background: #8a96ab; }
.bar-fill.improved { background: var(--blue); }
.axis-wrap { padding-left: 68px; padding-right: 54px; margin-top: -2px; }
.chart-axis { border-top: 1px solid #cbd5e5; display: flex; justify-content: space-between; position: relative; padding-top: 9px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.chart-axis span:last-child { text-align: right; }
.proof-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.metric-chart { padding: 32px; border: 1px solid var(--line); border-radius: 8px; }
.metric-chart h3 { font-size: 24px; }
.metric-delta { display: block; color: var(--blue); font-size: 56px; line-height: 1.1; letter-spacing: -.045em; font-weight: 800; margin: 20px 0 32px; }
.metric-delta small { font-size: 24px; letter-spacing: -.02em; }
.metric-chart .chart-unit { min-height: 42px; }
.supporting-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.supporting-metrics > div { display: flex; align-items: center; gap: 24px; background: var(--soft); border-radius: 6px; padding: 28px 32px; }
.supporting-metrics > div > strong { font-size: 42px; line-height: 1.15; letter-spacing: -.045em; white-space: nowrap; }
.supporting-metrics small { font-size: 20px; }
.supporting-metrics p { font-size: 14px; line-height: 1.6; margin: 0; }
.supporting-metrics b { color: var(--ink); }
.offer .number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: var(--blue); letter-spacing: 0; font-weight: 700; }
@media (max-width: 1100px) {
 .failure-layout { gap: 32px; grid-template-columns: minmax(250px, 1fr) minmax(0, 1.7fr); }
 .dependency-graphic { padding: 24px 20px; }
 .revenue-chart { gap: 32px; padding: 32px; }
 .supporting-metrics > div { flex-direction: column; align-items: flex-start; gap: 14px; }
 .behavior-outcomes h3 { font-size: 21px; }
}
@media (max-width: 800px) {
 .failure-layout { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
 .dependency-graphic { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: center; }
 .dependency-graphic figcaption { grid-area: 1 / 2; }
 .dependency-graphic .donut { grid-area: 1 / 1 / 4; margin: 0 auto; }
 .dependency-graphic .chart-legend { grid-area: 2 / 2; margin-top: 24px; }
 .dependency-graphic .graphic-note { grid-area: 3 / 2; }
 .behavior-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .branch-lines { height: 30px; }
 .branch-lines:before { height: 30px; }
 .branch-lines:after, .branch-lines span { display: none; }
 .proof-chart-grid { grid-template-columns: 1fr; }
 .metric-chart .chart-unit { min-height: auto; }
 .revenue-chart { grid-template-columns: 1fr; gap: 32px; }
 .chart-delta { font-size: 84px; }
}
@media (max-width: 700px) {
 .dependency-graphic { display: block; padding: 28px 24px; }
 .dependency-graphic .donut { margin: 28px auto; }
 .dependency-graphic .chart-legend { margin: 0; }
 .donut-center > strong { font-size: 64px; }
 .campaign-cycle { margin-top: 40px; padding-top: 32px; }
 .cycle-grid { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); grid-template-rows: auto 54px auto; }
 .cycle-node { font-size: 16px; min-height: 110px; padding: 16px 12px; }
 .cycle-center { display: none; }
 .cycle-arrow { font-size: 28px; }
 .behavior-map { margin-top: 40px; padding: 28px 16px 20px; }
 .behavior-map figcaption { font-size: 25px; margin-bottom: 28px; }
 .signal-row { gap: 8px; }
 .signal-row span { padding: 8px 12px; }
 .message-node { font-size: 17px; padding: 18px 20px; }
 .behavior-outcomes { gap: 12px; }
 .behavior-outcomes > div { padding: 20px 10px; }
 .behavior-outcomes h3 { font-size: 21px; }
 .behavior-outcomes p { font-size: 14px; }
 .model-feedback { align-items: flex-start; text-align: left; padding: 0 6px; line-height: 1.5; }
 .model-feedback span { line-height: 1; }
 .process-overview { padding: 28px 20px; margin-top: 32px; }
 .process-overview ol { grid-template-columns: 1fr; gap: 28px; }
 .process-overview li { flex-direction: row; text-align: left; padding: 0; }
 .process-overview li:before { left: 24px; top: 24px; width: 1px; height: calc(100% + 28px); }
 .process-overview li > span { flex-shrink: 0; }
 .proof-dashboard { margin-top: 36px; }
 .revenue-chart, .metric-chart { padding: 28px 20px; }
 .revenue-chart h3 { font-size: 26px; }
 .chart-delta { font-size: 76px; }
 .metric-delta { font-size: 52px; }
 .bar-row { grid-template-columns: 47px minmax(0, 1fr) 32px; gap: 8px; }
 .bar-track { height: 32px; }
 .axis-wrap { padding-left: 55px; padding-right: 40px; }
 .supporting-metrics { grid-template-columns: 1fr; gap: 16px; }
 .supporting-metrics > div { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .bar-fill { transition: none; } }
