/* Natural-flow feature stories. The complete final state is the no-JS default. */
.feature-motion-section{padding:88px 0 40px;background:#fff}
.feature-motion-intro{display:grid;grid-template-columns:1.4fr 1fr;gap:72px;align-items:end;margin-bottom:88px}
.feature-motion-intro h2{font-size:clamp(34px,4vw,54px);line-height:1.12;letter-spacing:-.035em}
.feature-motion-intro>p{font-size:16px;line-height:1.75;max-width:38ch;color:var(--soft)}
.feature-motion-chapter{margin-bottom:108px;scroll-margin-top:40px}
.feature-motion-heading{display:flex;justify-content:space-between;align-items:end;gap:48px;margin-bottom:30px}
.feature-motion-heading h3{font-size:clamp(32px,3.4vw,46px);line-height:1.08;letter-spacing:-.035em;font-weight:650;flex-shrink:0}
.feature-motion-heading h3 span{color:var(--blue)}
.feature-motion-heading>p{max-width:42ch;font-size:15px;line-height:1.75;color:var(--soft)}
.feature-motion-composition{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(340px,1fr);align-items:center;position:relative}
.feature-motion-photo{align-self:stretch;min-height:510px;border-radius:16px;overflow:hidden;position:relative;background:#edf0f3}
.feature-motion-photo>img{width:100%;height:100%;object-fit:cover;object-position:46% 50%;position:absolute;inset:0}
.feature-motion-dictation .feature-motion-photo>img{object-position:42% 50%}
.feature-motion-photo figcaption{position:absolute;bottom:20px;left:22px;right:22px;font-size:11px;line-height:1.5;color:var(--ink);background:#fff;padding:10px 13px;border-radius:6px;width:max-content;max-width:calc(100% - 44px)}
.feature-motion-panel{position:relative;z-index:1;margin-left:-36px;padding:24px;background:#fff;border-radius:16px;box-shadow:0 18px 56px -24px #182d4b40;min-width:0}
.feature-motion-panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px;font-size:14px;font-weight:650}
.feature-motion-panel-top>span{display:flex;align-items:center;gap:9px}
.feature-motion-panel-top svg{width:20px;height:20px;color:var(--blue)}
.feature-motion-panel-top>small{font-size:10px;color:#31529d;background:#edf2ff;padding:3px 8px;border-radius:20px;font-weight:600}
.feature-motion-field-label{display:block;font-size:11px;color:var(--soft);margin-bottom:6px;font-weight:500}
.feature-motion-pack-window{height:132px;background:#f2f5fa;position:relative;border-radius:10px;display:grid;place-items:center;overflow:hidden;margin-bottom:18px}
.feature-motion-pack{position:relative;background:white;padding:13px 50px 13px 16px;width:228px;transform:rotate(-4deg);box-shadow:0 8px 18px -9px #35455a30}
.feature-motion-pack small{display:block;font-size:8px;color:#69768a;margin-bottom:5px}
.feature-motion-pack strong{font-size:19px;display:block;font-weight:700;line-height:1.35;letter-spacing:-.025em}
.feature-motion-pack>span{font-size:12px;color:var(--soft)}
.feature-motion-pack>svg{position:absolute;right:16px;top:43px;color:var(--blue);height:23px;width:23px}
.feature-motion-scan-frame{position:absolute;width:250px;height:108px;border-radius:8px;opacity:0}
.feature-motion-scan-frame>i{position:absolute;width:15px;height:15px;border-color:var(--blue);border-style:solid}
.feature-motion-scan-frame>i:nth-child(1){left:0;top:0;border-width:2px 0 0 2px;border-top-left-radius:5px}
.feature-motion-scan-frame>i:nth-child(2){right:0;top:0;border-width:2px 2px 0 0;border-top-right-radius:5px}
.feature-motion-scan-frame>i:nth-child(3){left:0;bottom:0;border-width:0 0 2px 2px;border-bottom-left-radius:5px}
.feature-motion-scan-frame>i:nth-child(4){right:0;bottom:0;border-width:0 2px 2px 0;border-bottom-right-radius:5px}
.feature-motion-scan-frame>b{position:absolute;inset:0 4px auto;height:2px;background:var(--blue);transform:translateY(12px)}
.feature-motion-image-read{position:absolute;right:9px;bottom:8px;background:#fff;color:var(--green);padding:4px 8px;border-radius:5px;font-size:9px;display:flex;align-items:center;gap:5px}
.feature-motion-image-read svg{width:13px;height:13px}
.feature-motion-match{padding:0 2px 16px}
.feature-motion-match>strong{font-size:21px;letter-spacing:-.025em;font-weight:650}
.feature-motion-match>p{font-size:11px;color:var(--soft);margin-top:4px}
.feature-motion-confirm-action{height:40px;border-radius:7px;background:var(--blue);color:white;font-size:11px;font-weight:650;position:relative;margin-bottom:14px;display:grid;place-items:center}
.feature-motion-confirm-action>span{position:absolute;display:flex;align-items:center;gap:6px}
.feature-motion-confirm-action svg{height:16px;width:16px}
.feature-motion-confirm-prompt{opacity:0}
.feature-motion-success,.feature-motion-note-benefit{display:flex;align-items:center;gap:10px;color:var(--green);min-height:48px}
.feature-motion-success>svg,.feature-motion-note-benefit>svg{width:20px;height:20px}
.feature-motion-success strong,.feature-motion-note-benefit strong{display:block;font-size:12px;font-weight:650}
.feature-motion-success span,.feature-motion-note-benefit span{display:block;font-size:10px;color:var(--soft);margin-top:2px}
.feature-motion-footer{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:22px}
.feature-motion-playback{display:flex;align-items:center;gap:12px;min-width:0}
.feature-motion-playback>[data-motion-label]{font-size:11px;color:var(--soft);max-width:30ch;line-height:1.5}
.feature-motion-progress{width:38px;height:3px;background:#e1e7f1;overflow:hidden;flex-shrink:0}
.feature-motion-progress>i{display:block;width:100%;height:100%;background:var(--blue);transform:scaleX(var(--clip-progress,1));transform-origin:left}
.feature-motion-controls{display:flex;gap:12px;flex-shrink:0}
.feature-motion-controls button{color:var(--blue);font-size:11px;font-weight:600;background:none;padding:8px 0;min-height:40px}
.feature-motion-footer>.text-link{font-size:11px;flex-shrink:0}
.feature-motion-caption{font-size:10px;color:var(--soft);margin-top:6px;line-height:1.7}
.feature-motion-photo-note{font-size:11px;color:var(--soft);margin-top:-60px}

/* Dictation retains a stable note surface while the words become editable. */
.feature-motion-recording{display:flex;align-items:center;gap:8px;font-size:10px;padding-bottom:17px}
.feature-motion-recording strong{font-size:11px;font-weight:500}
.feature-motion-record-dot{width:7px;height:7px;border-radius:50%;background:#8190a5;flex-shrink:0}
.feature-motion-clock{margin-left:auto;font-variant-numeric:tabular-nums;color:var(--soft);font-size:10px}
.feature-motion-record-active,.feature-motion-clock-start{display:none}
.feature-motion-note-sheet{background:#f5f7fb;padding:18px;border-radius:9px;min-height:197px}
.feature-motion-note-content{position:relative;min-height:112px;font-size:14px;line-height:1.85;color:var(--ink)}
.feature-motion-raw-notes,.feature-motion-tidy-notes{position:absolute;inset:0;transition:opacity 400ms var(--ease-out),transform 500ms var(--ease-out),clip-path 650ms var(--ease-out)}
.feature-motion-raw-notes{opacity:0}
.feature-motion-raw-notes p+p{margin-top:8px}
.feature-motion-note-meta{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:var(--soft);margin-top:15px}
.feature-motion-note-meta>span{display:flex;align-items:center;gap:4px}
.feature-motion-note-meta svg{width:13px;height:13px}
.feature-motion-tidy-label{color:var(--green)}
.feature-motion-tidy-action{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:650;margin-top:17px;min-height:39px;background:#edf2ff;color:var(--blue);border-radius:7px}
.feature-motion-tidy-action svg{width:15px;height:15px}
.feature-motion-note-benefit{margin-top:16px}

/* The report is revealed only after the illustrated Generate draft action. */
.feature-motion-report .feature-motion-panel{padding:22px}
.feature-motion-report .feature-motion-panel-top{margin-bottom:14px}
.feature-motion-source-note{display:flex;align-items:flex-start;gap:10px;background:#f4f6fb;padding:12px 13px;border-radius:7px;margin-bottom:12px}
.feature-motion-source-note>svg{width:16px;height:16px;color:var(--blue);margin-top:4px}
.feature-motion-source-note .feature-motion-field-label{font-size:9px;margin-bottom:3px}
.feature-motion-source-note p{font-size:10px;color:var(--soft);line-height:1.7}
.feature-motion-generate-action{display:flex;gap:7px;align-items:center;justify-content:center;background:var(--blue);color:white;border-radius:6px;min-height:36px;margin-bottom:16px;font-size:10px;font-weight:650}
.feature-motion-generate-action svg{width:14px;height:14px}
.feature-motion-generate-action>svg:last-child{margin-left:auto}
.feature-motion-generate-action>svg:first-child{margin-left:11px}
.feature-motion-generate-action>svg:last-child{margin-right:11px}
.feature-motion-report-sheet{padding:17px 18px;background:#fff;border:1px solid #e1e7ef;border-radius:8px;transform-origin:50% 0}
.feature-motion-report-identity{display:flex;align-items:center;gap:5px;margin-bottom:13px;font-size:10px;font-weight:650}
.feature-motion-report-identity>small{margin-left:auto;color:var(--soft);font-size:8px;font-weight:400}
.feature-motion-report-sheet>strong{display:block;font-size:17px;letter-spacing:-.025em;line-height:1.3}
.feature-motion-report-person{display:block;font-size:10px;color:var(--soft);margin-top:4px;padding-bottom:13px;border-bottom:1px solid #e6ebf2}
.feature-motion-report-body{margin-top:12px;font-size:10px;line-height:1.7}
.feature-motion-report-body>b{font-size:9px;font-weight:650;display:block;margin-bottom:3px}
.feature-motion-report-body>p{font-size:10px;line-height:1.7}
.feature-motion-report-body>p+b{margin-top:12px}
.feature-motion-recommendations{color:var(--soft)}
.feature-motion-review-required{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:14px;font-size:11px;color:var(--blue)}
.feature-motion-review-required strong{font-weight:600}
.feature-motion-review-required svg{width:15px;height:15px}

/* Progressive enhancement: phase gates are scoped to a ready motion controller. */
.feature-motion-chapter.motion-ready :is(.feature-motion-match,.feature-motion-success,.feature-motion-note-benefit,.feature-motion-review-required,.feature-motion-report-sheet,.feature-motion-report-body,.feature-motion-confirm-action,.feature-motion-tidy-action,.feature-motion-image-read,.feature-motion-note-meta,.feature-motion-tidy-label,.feature-motion-scan-frame){transition:transform 600ms var(--ease-out),opacity 400ms var(--ease-out),clip-path 650ms var(--ease-out)}
.feature-motion-chapter.motion-ready .feature-motion-confirm-action>span{transition:opacity 250ms ease}
.feature-motion-capture.motion-ready[data-phase="0"] .feature-motion-scan-frame{opacity:1}
.feature-motion-capture.motion-ready[data-phase="0"].motion-playing .feature-motion-scan-frame>b{animation:feature-motion-scan 1.7s linear infinite}
.feature-motion-capture.motion-ready[data-phase="0"] :is(.feature-motion-match,.feature-motion-confirm-action,.feature-motion-image-read){opacity:0;transform:translateY(16px)}
.feature-motion-capture.motion-ready:is([data-phase="0"],[data-phase="1"],[data-phase="2"]) .feature-motion-success{opacity:0;transform:translateY(10px)}
.feature-motion-capture.motion-ready[data-phase="1"] .feature-motion-confirm-prompt{opacity:1}
.feature-motion-capture.motion-ready[data-phase="1"] .feature-motion-confirm-done{opacity:0}
.feature-motion-capture.motion-ready[data-phase="2"] .feature-motion-confirm-action{transform:scale(.985)}
.feature-motion-dictation.motion-ready:is([data-phase="0"],[data-phase="1"]) .feature-motion-record-active{display:block}
.feature-motion-dictation.motion-ready:is([data-phase="0"],[data-phase="1"]) .feature-motion-record-stopped{display:none}
.feature-motion-dictation.motion-ready:is([data-phase="0"],[data-phase="1"]) .feature-motion-record-dot{background:#ba3c3c}
.feature-motion-dictation.motion-ready[data-phase="0"] .feature-motion-clock-start{display:inline}
.feature-motion-dictation.motion-ready[data-phase="0"] .feature-motion-clock-end{display:none}
.feature-motion-dictation.motion-ready:is([data-phase="0"],[data-phase="1"],[data-phase="2"]) .feature-motion-raw-notes{opacity:1}
.feature-motion-dictation.motion-ready[data-phase="0"] .feature-motion-raw-notes{clip-path:inset(0 0 75% 0)}
.feature-motion-dictation.motion-ready:is([data-phase="1"],[data-phase="2"]) .feature-motion-raw-notes{clip-path:inset(0)}
.feature-motion-dictation.motion-ready:is([data-phase="0"],[data-phase="1"],[data-phase="2"]) .feature-motion-tidy-notes{opacity:0;transform:translateY(7px)}
.feature-motion-dictation.motion-ready:is([data-phase="0"],[data-phase="1"]) :is(.feature-motion-note-meta,.feature-motion-tidy-action){opacity:0;transform:translateY(10px)}
.feature-motion-dictation.motion-ready:is([data-phase="0"],[data-phase="1"],[data-phase="2"]) :is(.feature-motion-note-benefit,.feature-motion-tidy-label){opacity:0;transform:translateY(7px)}
.feature-motion-report.motion-ready:is([data-phase="0"],[data-phase="1"]) .feature-motion-report-sheet{opacity:0;transform:translateY(20px) scale(.96);clip-path:inset(0 0 70% 0)}
.feature-motion-report.motion-ready[data-phase="2"] .feature-motion-report-body{clip-path:inset(0);opacity:1}
.feature-motion-report.motion-ready:is([data-phase="0"],[data-phase="1"]) .feature-motion-report-body{clip-path:inset(0 0 100% 0)}
.feature-motion-report.motion-ready[data-phase="1"] .feature-motion-generate-action{transform:scale(.97);transition:transform 220ms var(--ease-out)}
.feature-motion-report.motion-ready:is([data-phase="0"],[data-phase="1"],[data-phase="2"]) .feature-motion-review-required{opacity:0;transform:translateY(9px)}
@keyframes feature-motion-scan{from{transform:translateY(8px)}to{transform:translateY(98px)}}

@media(min-width:1100px){
  .feature-motion-dictation .feature-motion-composition{grid-template-columns:minmax(340px,1fr) minmax(0,1.4fr)}
  .feature-motion-dictation .feature-motion-photo{grid-column:2;grid-row:1}
  .feature-motion-dictation .feature-motion-panel{grid-column:1;grid-row:1;margin-left:0;margin-right:-36px}
}
@media(max-width:1099px){
  .feature-motion-intro{gap:40px}
  .feature-motion-composition{grid-template-columns:minmax(0,1fr) minmax(310px,1fr)}
  .feature-motion-panel{margin-left:-22px;padding:20px}
  .feature-motion-photo{min-height:490px}
  .feature-motion-footer{gap:18px}
  .feature-motion-playback{flex-wrap:wrap;column-gap:10px;row-gap:0}
  .feature-motion-controls{gap:15px}
}
@media(max-width:760px){
  .feature-motion-section{padding-top:50px}
  .feature-motion-intro{display:block;margin-bottom:55px}
  .feature-motion-intro>p{margin-top:20px;font-size:15px;max-width:46ch}
  .feature-motion-chapter{margin-bottom:70px}
  .feature-motion-heading{display:block;margin-bottom:24px}
  .feature-motion-heading h3{font-size:36px}
  .feature-motion-heading h3 br{display:none}
  .feature-motion-heading h3 span{display:block}
  .feature-motion-heading>p{margin-top:17px;max-width:48ch;font-size:14px}
  .feature-motion-composition{display:block}
  .feature-motion-photo{min-height:0;aspect-ratio:1.65;border-radius:12px}
  .feature-motion-photo>img{object-position:50% 50%}
  .feature-motion-photo figcaption{display:none}
  .feature-motion-panel{margin:-22px 12px 0;padding:23px;min-height:0}
  .feature-motion-panel-top{font-size:14px}
  .feature-motion-match>strong{font-size:22px}
  .feature-motion-match>p,.feature-motion-confirm-action,.feature-motion-tidy-action{font-size:12px}
  .feature-motion-success strong,.feature-motion-note-benefit strong{font-size:12px}
  .feature-motion-success span,.feature-motion-note-benefit span{font-size:11px}
  .feature-motion-footer{display:block;padding-top:18px}
  .feature-motion-playback{justify-content:space-between;gap:4px 12px}
  .feature-motion-playback>[data-motion-label]{font-size:11px;max-width:none;flex:1;min-width:140px}
  .feature-motion-controls{width:100%;padding-left:50px}
  .feature-motion-controls button{font-size:12px;min-height:44px}
  .feature-motion-footer>.text-link{margin-left:50px;font-size:12px}
  .feature-motion-caption{font-size:10px;margin-top:12px}
  .feature-motion-photo-note{margin-top:-30px}
  .feature-motion-note-content{min-height:115px;font-size:14px}
  .feature-motion-note-meta{font-size:10px}
  .feature-motion-source-note p{font-size:11px}
  .feature-motion-report-body>p{font-size:11px}
  .feature-motion-report-body>b{font-size:10px}
  .feature-motion-report-sheet>strong{font-size:18px}
  .feature-motion-generate-action{font-size:11px;min-height:39px}
}
@media(max-width:400px){
  .feature-motion-panel{margin-inline:5px;padding:18px}
  .feature-motion-report .feature-motion-panel{padding:18px}
  .feature-motion-panel-top{font-size:12px}
  .feature-motion-note-sheet{padding:14px}
  .feature-motion-note-content{min-height:138px;font-size:13px}
  .feature-motion-note-meta{font-size:9px}
  .feature-motion-match>strong{font-size:20px}
  .feature-motion-report-sheet{padding:15px}
}
@media(prefers-reduced-motion:reduce){
  .feature-motion-section *{animation:none!important;transition:none!important}
}
