/* Concept 02: compare the same request before and after draft preparation. */
.workflow-section { padding-block: 66px 58px; border-top: 1px solid var(--line); background: #f8f7f1; scroll-margin-top: 24px; }
.wf-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; margin-bottom: 35px; }
.wf-eyebrow { display: block; margin: 0 0 10px; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.wf-intro h2 { margin: 0; font: 760 clamp(42px,4.9vw,67px)/1.03 var(--sans); letter-spacing: -.055em; }
.wf-intro h2 span { color: var(--accent); }
.wf-intro > p { margin: 0; border-left: 1px solid #ccc6d9; padding: 20px 0 20px 38px; font-size: clamp(16px,1.65vw,22px); line-height: 1.5; letter-spacing: -.025em; color: #746e80; }
.wf-board { position: relative; border-radius: 19px; overflow: hidden; isolation: isolate; background: #efebf8; }
.wf-panes { display: grid; grid-template-columns: calc(100% - var(--clarity)) var(--clarity); height: 532px; }
.wf-pane { position: relative; overflow: hidden; min-width: 0; }
.wf-before { background: #eeebe4; }
.wf-after { background: #ede8fa; }
.wf-pane-heading { width: max-content; max-width: none; margin: 28px 32px 0; }
.wf-pane-heading .wf-eyebrow { font-size: 10px; margin-bottom: 7px; color: #746e80; }
.wf-pane-heading h3 { font: 730 27px/1.15 var(--sans); letter-spacing: -.045em; margin: 0; white-space: nowrap; }
.wf-mess { position: relative; height: 382px; width: min(100%,650px); min-width: 540px; margin: 0 auto; }
.wf-paper { position: absolute; background: #fffefb; border: 1px solid white; border-radius: 8px; box-shadow: 0 2px 0 #dcd6d0, 0 13px 17px -9px #60514942; padding: 17px; }
.wf-icon, .wf-flow-arrow, .wf-process-arrow img { filter: invert(24%) sepia(38%) saturate(3793%) hue-rotate(237deg) brightness(88%) contrast(98%); }
.wf-paper > .wf-icon { display: block; margin: 0 0 10px; }
.wf-card-tag { display: block; font-size: 9px; line-height: 1.3; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
.wf-paper h4 { font-size: 19px; line-height: 1.13; margin: 0 0 10px; letter-spacing: -.045em; }
.wf-paper p { font-size: 11px; line-height: 1.5; margin: 0 0 8px; color: #50485a; }
.wf-email-card { left: 6%; top: 27px; width: 41%; transform: rotate(-7deg); z-index: 2; }
.wf-email-card ul { margin: 0; padding: 0; list-style: none; font-size: 11px; line-height: 1.65; }
.wf-email-card li { margin-block: 4px; }
.wf-email-card strong { font-weight: 700; }
.wf-email-card mark { background: #e7e0fc; color: #42326c; padding: 1px 3px; border-radius: 3px; }
.wf-email-card .wf-signoff { margin: 11px 0 0; }
.wf-sheet-card { right: 5%; top: 24px; width: 36%; transform: rotate(8deg); z-index: 1; }
.wf-mini-table { font-size: 10px; margin: 10px 0; }
.wf-mini-table div { display: grid; grid-template-columns: 1fr 25px; gap: 8px; border-bottom: 1px solid #e1dce5; padding: 5px 0; }
.wf-mini-table div:first-child { color: #786e83; font-size: 9px; }
.wf-mini-table div:last-child { color: #775210; background: #fbefce; }
.wf-mini-table strong { font-weight: 600; }
.wf-sheet-card p { font-size: 10px; margin-bottom: 0; }
.wf-followup-card { left: 31%; top: 265px; width: 48%; padding: 15px; display: flex; align-items: flex-start; gap: 12px; transform: rotate(3deg); z-index: 3; }
.wf-followup-card > .wf-icon { flex-shrink: 0; margin: 2px 0 0; }
.wf-followup-card h4 { font-size: 17px; margin-bottom: 6px; }
.wf-followup-card p { margin: 0; }
.wf-flow-arrow { position: absolute; width: 36px; height: 36px; }
.wf-arrow-one { left: 48%; top: 101px; transform: rotate(-12deg); }
.wf-arrow-two { left: 76%; top: 229px; transform: rotate(115deg); }
.wf-pane-note { position: absolute; bottom: 18px; left: 0; right: 0; margin: 0; text-align: center; white-space: nowrap; font-size: 11px; color: var(--muted); }
.wf-process { display: grid; grid-template-columns: 1fr 26px 1fr 26px 1.1fr; align-items: center; width: min(92%,620px); min-width: 525px; list-style: none; padding: 0; margin: 111px auto 0; gap: 9px; }
.wf-process-step { position: relative; border-radius: 14px; padding: 21px 10px 16px; background: #fffefb; text-align: center; min-height: 173px; box-shadow: 0 13px 21px -11px #63568655, 0 1px 0 #fff; }
.wf-process-step > .wf-icon { display: block; margin: 0 auto 15px; }
.wf-step-number { position: absolute; top: 10px; right: 10px; font: 9px var(--mono); color: var(--muted); }
.wf-process-step h4 { margin: 0 0 7px; font: 750 19px/1.15 var(--sans); letter-spacing: -.04em; white-space: nowrap; }
.wf-process-step p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.wf-process-arrow { display: grid; place-items: center; }
.wf-process-arrow img { width: 26px; height: 26px; }
.wf-human { background: var(--signal); }
.wf-human .wf-icon { filter: none; }
.wf-human p, .wf-human .wf-step-number { color: #555a25; }
.wf-after-caption { font-size: 14px; line-height: 1.5; color: #756b89; text-align: center; min-width: 525px; margin: 27px auto 0; }
.wf-divider { position: absolute; top: 0; bottom: 0; left: calc(100% - var(--clarity)); border-left: 2px solid var(--accent); transform: translateX(-1px); pointer-events: none; z-index: 2; }
.wf-range { position: absolute; inset: 0; width: calc(100% + 52px); height: 100%; left: -26px; margin: 0; padding: 0; z-index: 3; direction: rtl; appearance: none; -webkit-appearance: none; background: transparent; cursor: ew-resize; touch-action: pan-y; border: 0; border-radius: 19px; }
.wf-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.wf-range::-moz-range-track { height: 100%; background: transparent; }
.wf-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 52px; height: 52px; border: 2px solid var(--accent); border-radius: 50%; background: #fffefb url('assets/workflow-icons/arrows-left-right.svg') center / 27px no-repeat; box-shadow: 0 4px 12px #4c3b7e35; position: relative; top: calc(50% - 26px); }
.wf-range::-moz-range-thumb { width: 49px; height: 49px; border: 2px solid var(--accent); border-radius: 50%; background: #fffefb url('assets/workflow-icons/arrows-left-right.svg') center / 27px no-repeat; box-shadow: 0 4px 12px #4c3b7e35; }
.wf-range:focus-visible { outline: 0; }
.wf-range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--accent); outline-offset: 5px; }
.wf-range:focus-visible::-moz-range-thumb { outline: 3px solid var(--accent); outline-offset: 5px; }
.wf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; }
.wf-presets { display: flex; align-items: center; gap: 5px; padding: 4px; background: #eae6ef; border-radius: 8px; }
.wf-presets button { min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #6d6578; cursor: pointer; font-size: 12px; font-weight: 650; }
.wf-presets button:hover { color: var(--accent); }
.wf-presets button[aria-pressed="true"] { color: var(--dark); background: #fffefb; box-shadow: 0 2px 4px #3b2c4b14; border-color: #d4cddd; }
#wf-instruction { font-size: 12px; color: var(--muted); margin: 0; }
.wf-touch-instruction { display: none; }
.wf-takeaway { border-top: 1px solid #d9d3e0; padding-top: 23px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.wf-takeaway .wf-eyebrow { font-size: 10px; margin-bottom: 7px; }
.wf-takeaway p { font-size: 14px; max-width: 63ch; margin: 0; color: #746d7e; }
.wf-takeaway strong { color: var(--ink); font-weight: 650; }
.wf-takeaway a { font-size: 13px; flex-shrink: 0; }
.wf-disclosure { font-size: 10px; color: var(--muted); margin: 20px 0 0; }
@media (max-width:1100px) and (min-width:1001px) {
 .wf-panes { height: 536px; }
 .wf-pane-heading { margin-inline: 22px; }
 .wf-pane-heading h3 { font-size: 23px; }
 .wf-mess { min-width: 440px; height: 385px; }
 .wf-paper { padding: 14px; }
 .wf-paper h4 { font-size: 16px; }
 .wf-email-card { left: 5%; width: 43%; }
 .wf-sheet-card { right: 3%; width: 36%; }
 .wf-followup-card { top: 274px; left: 25%; width: 57%; }
 .wf-followup-card h4 { font-size: 16px; }
 .wf-process { min-width: 440px; width: min(94%,620px); gap: 5px; grid-template-columns: 1fr 21px 1fr 21px 1.1fr; }
 .wf-process-step { padding-inline: 8px; min-height: 177px; }
 .wf-process-step h4 { font-size: 16px; }
 .wf-process-arrow img { width: 21px; height: 21px; }
 .wf-after-caption { min-width: 440px; font-size: 13px; }
 .wf-intro { gap: 36px; }
 .wf-intro > p { padding-left: 25px; }
}
@media (max-width:1000px) {
 .workflow-section { padding-block: 40px 35px; }
 .wf-intro { grid-template-columns: 1fr; gap: 21px; margin-bottom: 25px; }
 .wf-intro h2 { font-size: 47px; }
 .wf-intro > p { border-left: 0; padding: 0; font-size: 16px; max-width: 37ch; }
 .wf-intro > p br { display: none; }
 .wf-panes { height: 621px; }
 .wf-board { border-radius: 13px; }
 .wf-range, .wf-divider, #wf-compare-button, .wf-drag-instruction { display: none; }
 .wf-touch-instruction { display: inline; }
 .wf-pane-heading { margin: 24px 22px 0; }
 .wf-pane-heading h3 { font-size: 25px; }
 .wf-mess { min-width: 0; width: 100%; height: 510px; }
 .wf-email-card { width: 61%; left: 7%; top: 23px; transform: rotate(-5deg); padding: 16px; }
 .wf-email-card h4 { font-size: 18px; }
 .wf-sheet-card { width: 49%; right: 5%; top: 169px; padding: 13px; transform: rotate(6deg); z-index: 3; }
 .wf-sheet-card h4 { font-size: 16px; }
 .wf-sheet-card > .wf-icon { width: 22px; height: 22px; margin-bottom: 5px; }
 .wf-sheet-card .wf-card-tag { display: none; }
 .wf-sheet-card p { font-size: 10px; }
 .wf-followup-card { width: 75%; left: 6%; top: 397px; padding: 14px; transform: rotate(-2deg); z-index: 4; gap: 9px; }
 .wf-followup-card h4 { font-size: 16px; }
 .wf-followup-card p { font-size: 11px; }
 .wf-followup-card .wf-card-tag { display: none; }
 .wf-flow-arrow { display: none; }
 .wf-pane-note { bottom: 15px; font-size: 10px; }
 .wf-process { min-width: 0; width: calc(100% - 48px); margin: 28px auto 0; display: flex; flex-direction: column; gap: 10px; }
 .wf-process-step { display: grid; grid-template-columns: 38px 1fr; gap: 3px 13px; width: 100%; text-align: left; min-height: 88px; padding: 17px 19px; border-radius: 10px; }
 .wf-process-step > .wf-icon { grid-row: span 2; align-self: center; margin: 0; width: 32px; height: 32px; }
 .wf-process-step h4 { font-size: 18px; margin: 0; padding-right: 15px; }
 .wf-process-step p { font-size: 11px; }
 .wf-process-step p br { display: none; }
 .wf-process-arrow { height: 15px; }
 .wf-process-arrow img { width: 22px; height: 22px; transform: rotate(90deg); }
 .wf-after-caption { min-width: 0; font-size: 13px; margin: 28px 22px 0; }
 .wf-toolbar { align-items: stretch; flex-direction: column; padding: 16px 0 21px; gap: 12px; }
 .wf-presets { align-self: flex-start; width: 100%; }
 .wf-presets button { flex: 1; padding-inline: 8px; }
 #wf-instruction { font-size: 11px; text-align: center; }
 .wf-takeaway { flex-direction: column; align-items: flex-start; gap: 17px; padding-top: 20px; }
 .wf-takeaway p { font-size: 13px; }
 .wf-disclosure { font-size: 10px; line-height: 1.7; }
}
@media (prefers-reduced-motion:reduce) { .workflow-comparison * { scroll-behavior: auto !important; } }
