/* Service narrative: evidence, recommendations, and measured improvement. */
.service-promise { margin: 13px auto 0; max-width: 620px; color: #d0d9c3; font-size: 13px; line-height: 1.75; }
.run-detail { flex-wrap: wrap; gap: 10px 24px; }
.run-explanation { padding: 17px 22px; margin: 0; font-size: 12px; line-height: 1.75; color: #b1bca4; border: 1px solid #353e2c; border-top: 0; min-height: 76px; }
.adoption-preview[data-state="0"] #run-result, .adoption-preview[data-state="1"] #run-result { color: #e8bd8d; }
.service-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-top: 80px; padding-bottom: 80px; }
.service-lead h2 { margin: 25px 0 26px; font-size: clamp(34px,3.5vw,51px); }
.service-lead > p:last-child { font-size: 15px; color: var(--muted); line-height: 1.85; max-width: 420px; }
.service-deliverables > .micro { padding-bottom: 21px; border-bottom: 1px solid var(--line); color: var(--accent); }
.service-deliverables ol { list-style: none; padding: 0; margin: 0; }
.service-deliverables li { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; gap: 20px; }
.service-deliverables li > span { font: 10px var(--mono); color: var(--accent); padding-top: 4px; }
.service-deliverables h3 { font-size: 17px; line-height: 1.45; font-weight: 500; letter-spacing: -.3px; }
.service-deliverables li p { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 9px; max-width: 390px; }
.measurement > p { max-width: 610px; margin-left: auto; margin-right: auto; }
.measurement .journey { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; width: 100%; margin-top: 42px; border-top: 1px solid #46533a; }
.measurement .journey li { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding: 23px 14px 0; text-align: left; position: relative; }
.measurement .journey li:first-child { padding-left: 0; }
.measurement .journey li::before { content: ''; position: absolute; top: -3px; left: 14px; width: 5px; height: 5px; background: var(--accent); }
.measurement .journey li:first-child::before { left: 0; }
.measurement .journey li::after { display: none; }
.measurement .journey strong { font-family: var(--sans); font-size: 14px; font-weight: 500; }
.measurement .journey span { font-family: var(--sans); font-size: 11px; color: var(--muted); line-height: 1.6; letter-spacing: 0; }
.measurement .measurement-note { font: 10px/1.8 var(--mono); color: #909d81; margin-top: 37px; max-width: 680px; }
.loop-number { position: relative; }
.loop-number::after { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.loop-revealed .loop-number::after { animation: service-progress 650ms ease-out forwards; }
.loop-revealed li:nth-child(2) .loop-number::after { animation-delay: 250ms; }
.loop-revealed li:nth-child(3) .loop-number::after { animation-delay: 500ms; }
.loop-revealed li:nth-child(4) .loop-number::after { animation-delay: 750ms; }
@keyframes service-progress { to { transform: scaleX(1); } }
@media(max-width:1000px) { .service-overview { gap: 7%; } .service-lead > p:last-child { font-size: 14px; } .service-deliverables h3 { font-size: 15px; } .run-detail code { max-width: 100%; } }
@media(max-width:760px) {
  .service-promise { text-align: left; margin: 12px 0 0; font-size: 12px; max-width: 430px; }
  .run-explanation { padding: 14px 15px; font-size: 11px; min-height: 108px; }
  .service-overview { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; padding-bottom: 55px; }
  .service-lead h2 { font-size: 36px; margin: 22px 0; }
  .service-deliverables li { padding: 21px 0; gap: 15px; }
  .service-deliverables h3 { font-size: 16px; }
  .service-deliverables li p { font-size: 12px; }
  .demo-tabs { gap: 21px; }
  .demo-tabs button { font-size: 10px; }
  .inspector-top > div { flex-wrap: wrap; }
  .measurement .journey { grid-template-columns: 1fr; border-top: 0; margin: 28px auto 0; width: min(100%,320px); }
  .measurement .journey li, .measurement .journey li:first-child { padding: 0 0 23px 24px; gap: 5px; }
  .measurement .journey li::before, .measurement .journey li:first-child::before { left: 0; top: 5px; }
  .measurement .journey li:not(:last-child)::after { display: block; content: ''; position: absolute; top: 15px; bottom: 6px; left: 2px; width: 1px; background: #46533a; }
  .measurement .journey strong { font-size: 14px; }
  .measurement .journey span { font-size: 12px; }
  .measurement .measurement-note { font-size: 10px; margin-top: 12px; }
}
@media(max-width:370px) { .service-lead h2 { font-size: 31px; } .demo-tabs { gap: 16px; } .demo-tabs button { font-size: 10px; } }
@media(prefers-reduced-motion:reduce) { .loop-revealed .loop-number::after { animation: none; transform: scaleX(1); } }
/* Readable labels, stable demo geometry, and restrained interaction feedback. */
.preview-caption { gap: 20px; }
.preview-caption > span:last-child { text-align: right; }
.preview-request button { min-width: 76px; min-height: 36px; text-align: right; }
.adoption-stop { transition: background 450ms ease, color 450ms ease; }
.stop-content { min-width: 0; }
.run-explanation { font-size: 13px; min-height: 90px; }
.run-detail { min-height: 66px; }
.trace li > div { min-width: 0; overflow-wrap: anywhere; }
.button span, .hero-secondary .play-symbol { transition: transform 240ms ease; }
.button:hover span { transform: translate(2px,-2px); }
.hero-secondary:hover .play-symbol { transform: translateY(3px); }
@media(max-width:760px) {
  .run-explanation { font-size: 12px; min-height: 134px; }
  .run-detail { min-height: 106px; }
  .adoption-stop { min-height: 92px; align-items: flex-start; }
  .stop-content small { min-height: 30px; }
  .trace li { min-height: 78px; }
  .demo-tabs { justify-content: space-between; gap: 10px; }
  .evidence-meta { flex-wrap: wrap; gap: 8px 16px; }
}
@media(max-width:370px) {
  .run-explanation { min-height: 176px; }
  .adoption-stop { padding: 17px 10px; gap: 7px; }
}
@media(prefers-reduced-motion:reduce) {
  .button span, .hero-secondary .play-symbol { transition: none; transform: none; }
}
/* A direct comparison: evidence first, with the intervention in one shared strip. */
.adoption-proof { border-top: 1px solid #49533e; }
.proof-context { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.proof-context p { display: flex; align-items: center; gap: 10px; font: 11px/1.6 var(--mono); letter-spacing: .8px; color: var(--accent); }
.proof-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.proof-context > span { color: var(--muted); font-size: 12px; }
.proof-comparison { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #343d2d; border-radius: 12px 12px 0 0; overflow: hidden; }
.proof-comparison article { padding: clamp(24px,3.4vw,50px); min-width: 0; }
.proof-before { background: #141612; }
.proof-after { background: #1b2216; border-left: 1px solid #343d2d; }
.proof-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font: 10px/1.6 var(--mono); letter-spacing: .5px; color: #aeb5a5; }
.proof-status { color: #dfb88c; border: 1px solid #514434; border-radius: 30px; padding: 5px 10px; letter-spacing: 0; }
.proof-after .proof-status { color: var(--accent); border-color: #4e5e3b; }
.proof-comparison h3 { font-size: clamp(30px,3.5vw,52px); line-height: 1.09; letter-spacing: -.045em; font-weight: 450; margin: 32px 0 21px; }
.proof-before h3 span { color: #9da391; }
.proof-after h3 span { color: var(--accent); }
.proof-comparison article > p { color: #b4b9ad; font-size: 14px; line-height: 1.8; max-width: 390px; min-height: 76px; }
.proof-response { display: flex; align-items: center; gap: 22px; margin-top: 34px; padding-top: 25px; border-top: 1px solid #343d2d; }
.response-code { font: 48px/1.1 var(--mono); letter-spacing: -3px; color: #dfb88c; }
.proof-after .response-code { color: var(--accent); }
.proof-response > div { display: grid; gap: 7px; }
.proof-response strong { font-size: 14px; font-weight: 500; }
.proof-response div > span { font-size: 11px; line-height: 1.6; color: #a8af9e; }
.proof-payload { margin-top: 24px; display: grid; gap: 12px; min-height: 95px; align-content: start; }
.proof-payload > span { font: 10px/1.6 var(--mono); letter-spacing: 1px; color: #a8af9e; }
.proof-payload code { font: 12px/1.8 var(--mono); color: #c0c7b6; overflow-wrap: anywhere; }
.payload-missing { color: #dfb88c; }
.payload-success { color: var(--accent); }
.proof-intervention { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 30px clamp(24px,3.4vw,50px); border: 1px solid #465338; border-top: 0; border-radius: 0 0 12px 12px; background: #20281a; }
.intervention-heading { display: flex; align-items: flex-start; gap: 18px; }
.intervention-mark { font-size: 30px; line-height: 1; color: var(--accent); }
.proof-overline { font: 10px/1.6 var(--mono); letter-spacing: .7px; color: var(--accent); }
.intervention-heading h4 { margin: 10px 0 0; font-size: 21px; font-weight: 500; letter-spacing: -.5px; }
.intervention-detail { min-width: 0; }
.intervention-detail p { color: #c0c7b6; font-size: 13px; line-height: 1.8; }
.intervention-detail code { display: block; margin-top: 14px; font: 11px/1.8 var(--mono); overflow-wrap: anywhere; color: var(--accent); }
.intervention-detail code > span { padding-right: 8px; }
.proof-footnote { display: flex; justify-content: space-between; gap: 15px; padding-top: 18px; font-size: 11px; line-height: 1.7; color: #a6ae9b; }
@media(max-width:760px) {
 .proof-context { align-items: flex-start; flex-direction: column; gap: 7px; }
 .proof-comparison { grid-template-columns: 1fr; }
 .proof-after { border-left: 0; border-top: 1px solid #465338; }
 .proof-comparison article { padding: 26px 22px; }
 .proof-comparison h3 { font-size: 38px; margin-top: 26px; }
 .proof-comparison article > p { min-height: 0; font-size: 14px; }
 .proof-response { margin-top: 26px; gap: 18px; }
 .response-code { font-size: 42px; }
 .proof-payload { min-height: 0; }
 .proof-intervention { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; }
 .proof-footnote { flex-direction: column; gap: 5px; }
 .masthead-baseline { gap: 20px; }
}
@media(max-width:370px) {
 .proof-label { align-items: flex-start; flex-direction: column; }
 .proof-comparison h3 { font-size: 34px; }
 .proof-response { gap: 14px; }
 .proof-response strong { font-size: 13px; }
 .intervention-heading { gap: 12px; }
}
