.demo-page { background: var(--ivory); }
.demo-intro { background: var(--navy); color: var(--ivory); padding: 157px 0 68px; }
.demo-intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 65px; align-items: end; }
.demo-intro h1 { font-size: clamp(56px, 5.5vw, 80px); margin: 0; }
.demo-intro-note { padding-bottom: 8px; color: #c2d0d7; }
.demo-intro-note p:first-child { color: var(--ivory); font-size: 1.25rem; }
.demo-intro-note p { margin-bottom: 15px; }
.demo-intro-note span { color: #a3bac6; font-size: .875rem; }
.demo-body { padding-top: 48px; }
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0 0 42px; border: 1px solid var(--line); }
.demo-steps li { display: flex; gap: 19px; padding: 23px; align-items: center; border-right: 1px solid var(--line); transition: background .25s, color .25s; }
.demo-steps li:last-child { border: 0; }
.demo-steps .step-circle { font-family: var(--serif); font-size: 2.75rem; line-height: 1; color: #6b838f; }
.demo-steps strong { display: block; font-weight: 550; font-size: 1rem; }
.demo-steps .step-state { display: block; font-size: .8125rem; color: #617984; margin-top: 3px; }
.demo-steps .current { background: var(--navy); color: var(--ivory); }
.demo-steps .current .step-circle, .demo-steps .current .step-state { color: #c0d3dc; }
.demo-steps .complete { background: #e3ecee; }
.choice-instruction { font-size: 1rem; margin-bottom: 16px; }
.choices { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.choice { padding: 13px 22px; color: var(--ink); background: transparent; border: 1px solid #a9bac2; border-radius: 2px; cursor: pointer; font-size: 1rem; transition: background .2s; }
.choice:hover { background: #e4ecef; }
.choice.selected { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.workspace { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid #cbd7dc; background: #fff; }
.stage-side { padding: 34px; background: #edf1f2; border-right: 1px solid #cbd7dc; }
.step-label { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 30px; font-size: .875rem; }
#step-number { color: #405d6c; font-weight: 550; }
.sample { color: #657983; border: 1px solid #bdcbd1; padding: 3px 9px; font-size: .8125rem; }
.stage-side h2 { font-size: 2.5rem; margin-bottom: 21px; line-height: 1.15; }
.stage-side h2:focus { outline: 2px solid #7aa6bd; outline-offset: 8px; }
#stage-description { color: #536c79; line-height: 1.85; }
.step-instruction { border-left: 2px solid #7895a5; padding-left: 16px; margin: 26px 0 32px; font-size: 1rem; }
.support { display: flex; align-items: flex-start; gap: 16px; padding-top: 27px; border-top: 1px solid #cbd7dc; }
.support img { flex: 0 0 48px; width: 48px; height: 48px; background: var(--navy); }
.support p { font-size: .875rem; color: #5c737f; margin: 0; }
.example-side { padding: 34px; min-width: 0; }
.example-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 24px; border-bottom: 1px solid #dbe3e6; }
#document-label { color: #607784; font-size: .75rem; letter-spacing: .07em; }
#status { color: var(--ink); font-size: .875rem; text-align: right; }
#document { min-height: 220px; padding-top: 25px; }
.doc-sub { color: #647b87; font-size: .875rem; margin-bottom: 20px; }
#document h3 { font-size: 1.8rem; margin-bottom: 18px; }
#document dl { margin: 0; }
#document dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid #e1e7ea; font-size: .9375rem; }
#document dt { color: #657b86; } #document dd { margin: 0; text-align: right; }
.message { font-size: 1rem; line-height: 1.85; padding: 21px; border-left: 2px solid #849eac; background: #f2f5f6; }
.rule { font-size: .875rem; color: #566f7c; margin: 18px 0 0; }
.actions { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-top: 25px; }
.actions button { cursor: pointer; font-size: .9375rem; }
.primary, .secondary { padding: 15px 20px; border: 1px solid var(--navy); min-height: 54px; }
.primary { background: var(--navy); color: var(--ivory); }
.primary:hover { background: #254553; }
.secondary { background: #fff; color: var(--navy); }
.secondary:hover { background: #edf2f4; }
.text-button { border: 0; background: none; color: #4d6877; padding: 12px 6px; text-decoration: underline; text-underline-offset: 4px; }
.sample-note { color: #687b85; font-size: .8125rem; margin: 20px 0 0; }
.outcome { background: #e4eff1; color: #173843; border: 1px solid #b6ccd2; padding: 20px; margin-top: 22px; font-size: 1rem; line-height: 1.8; }
.demo-page [hidden] { display: none !important; }
.cost-section { padding: 90px 0 100px; }
.cost-heading { margin-bottom: 34px; }
.cost-heading h2 { font-size: clamp(38px, 4vw, 54px); margin-bottom: 18px; }
.cost-heading > p:not(.eyebrow) { color: #536d79; }
.cost-calculator { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid #c8d5db; background: #fff; }
.cost-controls { padding: 36px; min-width: 0; }
.industry-label { display: block; font-size: 1rem; margin-bottom: 10px; }
.cost-controls select, .cost-controls input[type="number"] { min-height: 48px; width: 100%; min-width: 0; background: #f7f9fa; border: 1px solid #acbfc9; padding: 12px; color: var(--navy); font: inherit; border-radius: 2px; }
.cost-controls select { cursor: pointer; }
.cost-controls :is(input, select, button):focus-visible { outline: 2px solid #64879a; outline-offset: 4px; }
.task-fields { padding: 0; margin: 30px 0; border: 0; min-width: 0; }
.task-fields legend { font-size: 1rem; padding: 0; }
.hours-label { text-align: right; font-size: .875rem; margin: 14px 0 6px; color: #536d79; }
.cost-task { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid #dbe3e6; }
.cost-task label { display: flex; gap: 12px; align-items: center; font-size: 1rem; line-height: 1.5; cursor: pointer; min-height: 44px; }
.cost-task input[type="checkbox"] { accent-color: var(--navy); flex: 0 0 20px; width: 20px; height: 20px; cursor: pointer; }
.cost-task input[type="number"] { text-align: right; }
.cost-task.excluded span { color: #667680; }
.cost-task input:disabled { color: #687b85; background: #edf1f2; }
.cost-rates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cost-rates label { display: flex; flex-direction: column; gap: 10px; font-size: .875rem; color: #536d79; }
.cost-controls .text-button { margin-top: 16px; min-height: 44px; cursor: pointer; font: inherit; font-size: .875rem; }
.cost-error { color: #81341f; padding: 14px; background: #fff3ec; border: 1px solid #deb9a8; font-size: .875rem; margin: 16px 0 0; }
.cost-controls [aria-invalid="true"] { border-color: #a5492b; }
.cost-comparison { background: var(--navy); color: var(--ivory); padding: 36px; min-width: 0; }
.cost-comparison-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .875rem; color: #c0d3dc; }
.cost-comparison-heading span:first-child { font-size: .75rem; letter-spacing: .1em; }
.workload { margin: 32px 0; }
.workload strong { font-family: var(--serif); font-size: 3.25rem; line-height: 1.1; font-weight: 400; display: block; }
.workload span { color: #c0d3dc; font-size: 1rem; }
.cost-breakdown { margin: 0; }
.cost-breakdown > div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid #ffffff25; padding: 13px 0; font-size: .9375rem; }
.cost-breakdown dt { color: #c0d3dc; }
.cost-breakdown dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.cost-saving { margin: 28px 0 14px; }
.cost-saving span { font-size: 1.2rem; display: block; color: #e2ebef; font-weight: 700; font-style: italic; }
.cost-saving strong { font-family: var(--serif); font-size: clamp(2.75rem, 4vw, 3.75rem); line-height: 1.2; font-weight: 400; overflow-wrap: anywhere; }
.first-year { color: #d7e2e7; font-size: .9375rem; }
.cost-comparison .fine { color: #b7cbd5; margin-top: 28px; line-height: 1.7; }
.demo-page:not(.calculator-ready) .cost-calculator { display: none; }
.fine { font-size: .8125rem; color: #667c89; margin: 0; }
.demo-next { background: var(--navy); color: var(--ivory); padding: 85px 0 90px; text-align: center; border-bottom: 1px solid #ffffff25; }
.demo-next h2 { font-size: clamp(42px, 4.7vw, 65px); }
.demo-next h2 em { color: #c0d3dc; }
.demo-next p:not(.eyebrow) { max-width: 650px; margin: 0 auto 22px; color: #c0d0d8; }
.demo-next .next-support { font-size: .9375rem; }
.demo-next .button { margin-top: 10px; }
.no-script { background: #e3ecef; padding: 24px; } .no-script a { text-decoration: underline; }
.demo-page:not(.demo-ready) .choices, .demo-page:not(.demo-ready) .actions { display: none; }
@media (max-width:1000px) {
  .demo-intro { padding-top: 140px; }
  .demo-intro-grid { gap: 38px; }
  .demo-steps li { padding: 20px 16px; gap: 12px; }
  .demo-steps strong { font-size: .9375rem; }
  .cost-controls, .cost-comparison { padding: 28px; }
  .stage-side, .example-side { padding: 28px; }
}
@media (max-width:800px) {
  .demo-intro-grid { grid-template-columns: 1fr; gap: 27px; }
  .demo-intro { padding-bottom: 43px; }
  .demo-steps { grid-template-columns: 1fr; margin-bottom: 30px; }
  .demo-steps li { padding: 16px 20px; gap: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-steps .step-circle { font-size: 2.1rem; min-width: 21px; }
  .demo-steps li > div { display: flex; align-items: baseline; justify-content: space-between; flex: 1; gap: 12px; }
  .demo-steps .step-state { margin: 0; }
  .workspace { grid-template-columns: 1fr; }
  .stage-side { border-right: 0; border-bottom: 1px solid #cbd7dc; }
  .support { margin-top: 23px; padding-top: 22px; }
  .step-label { margin-bottom: 24px; }
  .stage-side h2 { font-size: 2.25rem; }
  .step-instruction { margin-bottom: 0; }
  .cost-calculator { grid-template-columns: 1fr; }
  .cost-section { padding: 65px 0; }
  .demo-next { padding: 65px 0; }
}
@media (max-width:480px) {
  .demo-body { padding-top: 30px; }
  .demo-intro h1 { font-size: 3.75rem; }
  .demo-intro-note br { display: none; }
  .demo-steps li > div { display: block; }
  .demo-steps .step-state { margin-top: 2px; }
  .choices { gap: 8px; }
  .choice { width: 100%; text-align: left; padding: 13px 18px; }
  .stage-side, .example-side, .cost-controls, .cost-comparison { padding: 23px; }
  .actions > button:not([hidden]) { width: 100%; }
  .cost-task { grid-template-columns: minmax(0, 1fr) 76px; gap: 12px; }
  .cost-rates { grid-template-columns: 1fr; gap: 16px; }
}
