/* A command-to-result stage: real package examples with recorded outputs. */
.workflow-hero { padding-top: 62px; }
.workflow-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-bottom: 38px; }
.intro-site .workflow-heading h1 { font-size: clamp(38px, 3.7vw, 54px); line-height: 1.07; letter-spacing: -.045em; margin-bottom: 0; }
.workflow-heading .eyebrow { margin-bottom: 20px; }
.workflow-heading h1 em { margin-top: 7px; }
.workflow-intro { padding-bottom: 5px; }
.workflow-intro p { font-size: 18px; line-height: 1.55; margin-bottom: 20px; }
.workflow-audience { display: block; font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.demo-workbench { border: 1px solid var(--rule-dark); background: var(--card); box-shadow: 0 20px 50px -30px rgba(26,24,20,.3); }
.demo-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 22px; font-size: 12px; border-bottom: 1px solid var(--rule); color: var(--ink-2); letter-spacing: .015em; }
.demo-indicator { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-right: 8px; }
.demo-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.demo-tabs button { background: transparent; color: var(--ink-2); border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; gap: 16px; text-align: left; padding: 20px 22px; font: 19px/1.3 var(--serif); position: relative; cursor: pointer; }
.demo-tabs button:last-child { border-right: 0; }
.demo-tabs button[aria-selected=true] { background: var(--paper-2); color: var(--ink); }
.demo-tabs button:hover { color: var(--accent); }
.demo-index { color: var(--accent); font: 11px/1.9 var(--mono); }
.demo-tabs small { display: block; font-size: 12px; margin-top: 5px; color: var(--ink-2); }
.demo-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.demo-tabs button[aria-selected=true] .demo-progress { width: 100%; }
.demo-stage { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); min-height: 478px; }
.demo-terminal { color: #d8dbe3; background: #11151d; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.terminal-title { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font: 10px/1.5 var(--mono); color: #98a4b8; border-bottom: 1px solid #293140; }
.terminal-dots { font-size: 8px; letter-spacing: 3px; color: #657185; }
.terminal-type { color: #7da8ff; }
.terminal-body { padding: 20px; flex: 1; font: 12px/1.65 var(--mono); min-height: 302px; }
.terminal-body pre { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.terminal-setup { color: #8e9db3; }
.terminal-rule { height: 1px; background: #293140; margin: 16px 0; }
.terminal-prompt { color: #7eabff; }
.terminal-cursor { display: inline-block; width: 7px; height: 13px; margin-left: 3px; vertical-align: -2px; background: #a2c1ff; animation: terminal-blink 1s step-end infinite; }
@keyframes terminal-blink { 50% { opacity: 0; } }
.terminal-result { padding: 15px 20px 20px; background: #161d28; border-top: 1px solid #293140; }
.terminal-result-label { color: #8d9bb0; display: block; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 9px; }
.terminal-result pre { color: #b4d1b5; font: 11px/1.7 var(--mono); white-space: pre-wrap; margin: 0; min-height: 36px; }
.demo-output { background: var(--card); color: var(--ink); min-width: 0; display: flex; flex-direction: column; }
.output-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px 15px; }
.output-eyebrow { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 7px; }
.intro-site .output-header h2 { font-size: 25px; line-height: 1.2; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.output-header a { flex-shrink: 0; font-size: 11px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.output-media { position: relative; aspect-ratio: 2200 / 1192; margin: 0 8px; min-width: 0; overflow: hidden; }
.output-media img, .output-media video { position: absolute; inset: 0; display: block; width: 100%; max-width: 100%; height: 100%; margin: 0; object-fit: contain; transition: opacity .4s; }
.output-media video[hidden], .output-media img[hidden] { display: none; }
.output-building { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); }
.demo-workbench.first-command .output-media img { opacity: 0; }
.output-building { display: none !important; }
.output-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 17px 26px; border-block: 1px solid var(--rule); margin-top: auto; transition: opacity .4s; }
.output-metrics strong { display: block; font: 14px/1.4 var(--mono); }
.output-metrics span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.intro-site .output-caption { font-size: 12px; color: var(--ink-2); padding: 13px 26px 17px; line-height: 1.5; }
.demo-bottomline { display: flex; justify-content: space-between; gap: 20px; padding: 14px 22px; font-size: 11px; line-height: 1.5; color: var(--ink-2); border-top: 1px solid var(--rule); }
.demo-bottomline a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.workflow-proofline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 13px; }
.workflow-proofline span + span::before { content: '·'; padding-right: 30px; color: var(--muted); }
.engine-proof { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 65px; }
.engine-proof > div > p { margin-bottom: 20px; }
.engine-proof + #mission { padding-top: 0; }
.engine-proof .motion-figure { max-width: 640px; }
.intro-site video[data-loop] { pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:1100px) {
 .workflow-heading { gap: 35px; }
 .intro-site .workflow-heading h1 { font-size: 43px; }
 .demo-stage { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
 .terminal-body { font-size: 11px; padding: 16px; }
 .output-header { padding: 20px 18px 12px; }
 .intro-site .output-header h2 { font-size: 22px; }
 .output-metrics { padding-inline: 18px; }
 .engine-proof { gap: 40px; }
}
@media(max-width:800px) {
 .workflow-heading { grid-template-columns: 1fr; gap: 24px; }
 .workflow-hero { padding-top: 40px; }
 .workflow-intro { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; }
 .workflow-intro p { margin: 0; }
 .workflow-audience { grid-column: 1/-1; margin: 0; }
 .demo-tabs button { padding: 16px 12px; font-size: 15px; gap: 8px; }
 .demo-tabs small { font-size: 10px; }
 .demo-stage { grid-template-columns: 1fr; }
 .terminal-body { min-height: 0; padding: 16px 20px; font-size: 12px; }
 .terminal-setup { display: none; }
 .terminal-rule { display: none; }
 .terminal-result { padding-block: 10px; }
 .demo-topline { font-size: 10px; padding: 12px 15px; }
 .demo-bottomline { flex-wrap: wrap; gap: 8px; }
 .engine-proof { grid-template-columns: 1fr; }
 .engine-proof .motion-figure { width: 100%; justify-self: center; }
 .workflow-proofline span + span::before { display: none; }
}
@media(max-width:500px) {
 .demo-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .intro-site .workflow-heading h1 { font-size: 38px; }
 .workflow-intro { display: block; }
 .workflow-intro p { margin-bottom: 20px; font-size: 17px; }
 .workflow-audience { margin-top: 13px; }
 .demo-topline { flex-direction: column; align-items: flex-start; gap: 4px; }
 .demo-tabs button { flex-direction: column; gap: 6px; font-size: 15px; padding: 12px 10px; }
 .demo-tabs small { display: none; }
 .output-header { padding: 16px 14px 10px; }
 .intro-site .output-header h2 { font-size: 20px; }
 .output-metrics { padding: 14px; gap: 8px; }
 .output-metrics strong { font-size: 14px; }
 .output-metrics span { font-size: 10px; }
 .intro-site .output-caption { padding: 12px 14px; }
 .workflow-proofline { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) {
 .terminal-cursor { animation: none; }
 .output-media img, .output-media video, .output-metrics { transition: none; }
}
