/* Guided product illustrations follow the hands-on hero. */
/* The client workspace section: a centred heading, then the scroll walkthrough. */
.brand-journey { margin-bottom: 8px; }
.brand-journey .section-heading { margin-bottom: 48px; }
.brand-journey .section-heading h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -1.6px; margin: 18px 0 14px; }
.brand-journey .section-heading > p:not(.eyebrow) { max-width: 560px; margin-inline: auto; }
/* Chapter 01 is the dashboard demo (workflow-story.css, batch-spotlight.js): it
   brings its own frame, so the tile is bare, and its three beats jump the
   demo to filter, preview and apply as the visitor scrolls. */
.batch-story-chapter .eyebrow { color: #075cff; }
.feature-story .batch-story-app { max-width: 580px; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.story-scope { display: block; margin-top: -8px; color: #657281; font-size: 11px; line-height: 1.6; }
.testing-tag { display:inline-flex; align-items:center; flex:none; padding:1px 5px; border-radius:999px; background:#eaf1ff; color:#0043c2; font-size:7px; font-weight:750; letter-spacing:.06em; line-height:1.4; text-transform:uppercase; font-style:normal; vertical-align:middle; }
.sumlino-companion { transition:opacity var(--duration-fast) var(--ease-smooth-out); }
@media(prefers-reduced-motion:reduce) { .sumlino-companion { transition:none; } }
.feature-story { --story-height: 590px; margin: 12px auto 80px; max-width: 1120px; }
.story-stage { position: relative; }
.story-nav { display: flex; gap: 6px; align-items: center; margin-bottom: 30px; }
/* Same chapter language as the hero demo: quiet pills, a lifted white active one. */
.story-nav button { display: flex; align-items: center; gap: 8px; min-height: 42px; white-space: nowrap; padding: 9px 14px; border: 1px solid transparent; border-radius: 12px; background: #ffffff85; color: #526b8a; font: inherit; font-size: 12px; font-weight: 550; cursor: pointer; transition: color var(--duration-fast),background var(--duration-fast),border-color var(--duration-fast),box-shadow var(--duration-fast); }
.story-nav button span { font-size: 10px; font-variant-numeric: tabular-nums; color: #8194af; }
.story-nav button[aria-pressed="true"] { background: #fff; color: #075cff; border-color: #b6cefa; box-shadow: 0 3px 12px #224d8710; }
@media (hover: hover) and (pointer: fine) { .story-nav button:not([aria-pressed="true"]):hover { background: #fff; color: #304c70; } }
.story-nav button:focus-visible,.story-try:focus-visible { outline: 2px solid #075cff; outline-offset: 4px; }
.story-chapter { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,6vw,90px); align-items: center; padding-bottom: 50px; }
.story-copy .eyebrow { font-size: 10px; margin: 0 0 20px; }
.story-copy h3 { margin: 0; max-width: 420px; font-size: clamp(32px,3.6vw,47px); line-height: 1.09; letter-spacing: -1.8px; color: #1c304d; font-weight: 550; }
.story-copy > p:not(.eyebrow) { max-width: 350px; margin: 20px 0 26px; color: #70819a; font-size: 14px; line-height: 1.7; }
.story-beats { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 15px; }
.story-beats li { display: flex; align-items: center; gap: 11px; color: #687383; font-size: 12px; transition: color var(--duration-fast); }
.story-beats li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #dce5f2; transition: background var(--duration-fast),box-shadow var(--duration-fast); }
.story-beats li.is-current { color: #26486f; }
.story-beats li.is-current::before { background: #075cff; box-shadow: 0 0 0 4px #e8efff; }
.story-beats li.is-done { color: #4f7168; }
.story-beats li.is-done::before { background: #419b80; }
.story-try { display: inline-flex; align-items: center; gap: 18px; padding-block: 5px; margin-block: -5px; color: #075cff; font-size: 12px; font-weight: 600; text-decoration: none; }
.story-try span { transition: transform var(--duration-fast) var(--ease-smooth-out); }
@media (hover: hover) and (pointer: fine) { .story-try:hover span { transform: translateX(4px); } }
.story-app { position: relative; width: 100%; max-width: 455px; height: 450px; margin-inline: auto; padding: 22px; border: 1px solid #dce6f5; border-radius: 22px; background: linear-gradient(145deg,#fff,#fbfdff); box-shadow: 0 24px 70px #234b7212,0 3px 8px #234b7205; overflow: hidden; }
.story-app-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf1f7; padding-bottom: 17px; margin-bottom: 17px; }
.story-wordmark { display: flex; align-items: center; gap: 7px; color: #075cff; font-size: 22px; letter-spacing: -1px; font-weight: 750; }
.story-character { display: inline-flex; width: 28px; flex: none; color: var(--character-ink,#075cff); }
.story-character svg { width: 100%; height: auto; }
.story-app-header > small { color: #5e7390; font-size: 9px; letter-spacing: .5px; }
.story-client { display: flex; align-items: center; gap: 11px; margin-bottom: 23px; }
.story-client > .story-character { width: 37px; padding: 7px; box-sizing: content-box; background: var(--avatar-color,#eaf1ff); border-radius: 12px; }
.story-client > span:nth-child(2) { display: grid; gap: 5px; }
.story-client small { color: #5e7390; font-size: 8px; letter-spacing: .8px; }
.story-client b { font-size: 13px; color: #29415f; font-weight: 600; }
.story-client > i { margin-left: auto; font-style: normal; color: #8da1ba; }
.story-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: #284363; font-size: 17px; font-weight: 550; letter-spacing: -.4px; }
.story-title small { font-size: 10px; color: #5276a1; font-weight: 400; letter-spacing: 0; padding: 7px 9px; border: 1px solid #e3ebf7; border-radius: 7px; }
.story-shortcut-list { position: relative; border-top: 1px solid #e9eef7; }
.story-shortcut { display: flex; height: 56px; align-items: center; gap: 12px; padding: 0 8px; border-bottom: 1px solid #e9eef7; font-size: 13px; color: #344e6e; transition: transform var(--duration-slow) var(--ease-smooth-out),background var(--duration-fast),box-shadow var(--duration-fast); }
.story-shortcut > i { font-style: normal; font-size: 11px; color: #5c708c; width: 18px; }
.story-shortcut > b { flex: 1; font-weight: 500; }
.story-star { color: #a1afc2; font-size: 20px; transition: color var(--duration-fast),transform var(--duration-fast) var(--ease-bounce); }
.story-star svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.story-star.is-filled svg,.story-chapter[data-beat="1"] .story-star-first svg,.story-chapter[data-beat="2"] .story-star-first svg { fill: currentColor; }
.story-chapter[data-beat="1"] .story-star-first,.story-chapter[data-beat="2"] .story-star-first { color: #c59125; transform: scale(1.14); }
.story-chapter[data-beat="2"] .story-shortcut:first-child { transform: translateY(56px); }
.story-chapter[data-beat="2"] .story-shortcut:nth-child(2) { transform: translateY(-56px); background: #eef4ff; border-radius: 9px; box-shadow: 0 4px 14px #1b4d8610; }
.story-result { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 10px; color: #4b8c76; opacity: 0; transform: translateY(8px); transition: opacity var(--duration-slow),transform var(--duration-slow) var(--ease-smooth-out); }
.story-chapter[data-beat="2"] .story-result { opacity: 1; transform: none; }
.story-result > i { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #e8f5ee; font-style: normal; }
/* The voice pilot replaces the old Notes illustration: three reversible beats,
   driven by the same scroll/keyboard controls, with no microphone access. */
.voice-story-context { padding: 22px 0; border-top: 1px solid #e6edf6; transition: opacity var(--duration-fast); }
.voice-story-context > small { font-size: 9px; letter-spacing: .7px; color: #8295ad; }
.voice-story-context > div { display: flex; justify-content: space-between; gap: 12px; margin-top: 17px; color: #314b6b; font-size: 15px; }
.voice-story-context p { font-size: 12px; color: #768ba6; line-height: 1.6; }
.voice-story-note { position: absolute; top: 96px; left: 22px; right: 22px; padding: 14px 15px 13px; background: #fff; border: 1px solid #c9dafa; border-radius: 14px; box-shadow: 0 14px 34px #203c7014; opacity: 0; transform: translateY(var(--toast-distance)) scale(var(--toast-scale)); transition: opacity var(--toast-close),transform var(--toast-close) var(--toast-ease); }
.voice-story-note > small { display: block; font-size: 9px; letter-spacing: .4px; text-transform: uppercase; color: #5c708c; }
.voice-story-note p { color: #1c2d48; font-size: 13px; line-height: 1.5; margin: 7px 0 10px; }
/* transitions.dev accordion: the review and the posted result fold through grid rows, so beat 2 never pops. */
.voice-story-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--duration-slow) var(--ease-smooth-out); }
.voice-story-fold-inner { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(var(--distance-micro)); transition: opacity var(--duration-fast) var(--ease-in-out),transform var(--duration-fast) var(--ease-smooth-out); }
.voice-story-fold-review { grid-template-rows: 1fr; }
.voice-story-fold-review .voice-story-fold-inner { opacity: 1; transform: none; }
.voice-story-note p > span { opacity: 0; filter: blur(var(--stream-blur)); transition: opacity var(--stream-fade),filter var(--stream-fade); }
.voice-story-note p > span:nth-child(2) { transition-delay: var(--duration-stagger); }
.voice-story-note p > span:nth-child(3) { transition-delay: var(--duration-micro); }
.voice-story-saved-label { display: none; }
.voice-story-review,.voice-story-posted { display: grid; gap: 9px; }
.voice-story-review > * { opacity: 0; transform: translateY(var(--distance-micro)); transition: opacity var(--duration-fast) var(--ease-in-out),transform var(--duration-fast) var(--ease-smooth-out); }
.voice-story-review > :nth-child(2) { transition-delay: 90ms; }
.voice-story-review > :nth-child(3) { transition-delay: 180ms; }
.voice-story-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.voice-story-segment { display: inline-flex; flex: none; gap: 2px; padding: 2px; border: 1px solid #d3dff0; border-radius: 9px; background: #f4f7fc; }
.voice-story-segment b { padding: 5px 8px; border-radius: 7px; color: #4e6585; font-size: 10px; font-weight: 650; }
.voice-story-segment b.is-on { background: #fff; color: #075cff; box-shadow: 0 1px 3px #17345424,0 0 0 1px #d8e4f5; }
.voice-story-client { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; min-height: 34px; padding: 0 8px 0 5px; border: 1px solid #075cff; border-radius: 10px; background: #fff; color: #1b3354; font-size: 11px; font-weight: 650; box-shadow: 0 0 0 3px #075cff1a; }
.voice-story-client i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; background: #eaf1ff; color: #075cff; font-style: normal; font-size: 8px; font-weight: 750; }
.voice-story-client > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-story-client em { flex: none; font-style: normal; font-size: 8px; letter-spacing: .3px; text-transform: uppercase; color: #075cff; }
.voice-story-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.voice-story-chips li { display: inline-flex; align-items: center; min-height: 19px; padding: 0 7px; border-radius: 6px; background: #f1f5fb; color: #536b8c; font-size: 9px; font-weight: 650; }
.voice-story-chips [data-tone="due"] { background: #fff4de; color: #8a5a06; }
.voice-story-chips [data-tone="high"] { background: #ffeae6; color: #b23d2d; }
.voice-story-actions { display: flex; gap: 6px; align-items: center; }
.voice-story-actions b { flex: 1; text-align: center; padding: 8px 10px; border-radius: 9px; background: #075cff; color: #fff; font-size: 10.5px; font-weight: 650; }
.voice-story-actions i { padding: 8px 10px; border: 1px solid #d3dff0; border-radius: 9px; color: #2d4a74; font-style: normal; font-size: 10.5px; font-weight: 650; }
.voice-story-posted { display: grid; grid-template-columns: 26px 1fr; align-items: start; gap: 10px; margin-top: 8px; }
.voice-story-tick { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border-radius: 7px; background: #23856d; color: #fff; }
.voice-story-tick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.voice-story-tick svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--check-path-dur) var(--check-ease-path) 120ms; }
.voice-story-posted-copy { display: grid; gap: 7px; min-width: 0; }
.voice-story-posted-copy b { color: #1c2d48; font-size: 12.5px; font-weight: 600; line-height: 1.45; }
/* The recorder, as the extension draws it: a slim pill with the name that folds into the drawn S once you speak, thin bars, a timer, Stop and Discard. After release it opens into a small card. */
.voice-story-capsule { position: absolute; bottom: 40px; left: 22px; right: 22px; display: grid; align-items: end; min-height: 64px; }
.voice-story-capsule > * { grid-area: 1/1; }
.voice-story-capsule > div { opacity: 0; transform: translateY(6px) scale(.97); transition: opacity var(--duration-quick),transform var(--duration-fast) var(--ease-smooth-out); }
.voice-story-key { align-self: end; justify-self: start; display: flex; align-items: center; gap: 4px; height: 40px; color: #5e7390; font-size: 10px; white-space: nowrap; transition: opacity var(--duration-quick); }
.voice-story-key kbd { font: inherit; font-weight: 600; color: #13233b; padding: 2px 5px; background: #fff; border: 1px solid #dfe7f2; border-bottom-width: 2px; border-radius: 5px; }
.voice-story-recording { justify-self: end; display: flex; align-items: center; height: 40px; padding: 0 6px 0 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #13233b12, 0 10px 28px -10px #1c3a6e40, 0 2px 6px #1c3a6e14; transform-origin: bottom right; }
.voice-story-brand { position: relative; display: grid; align-items: center; width: 62px; height: 24px; }
.voice-story-brand > * { grid-area: 1/1; justify-self: start; }
.voice-story-name { display: inline-flex; color: #13233b; font-size: 15px; font-weight: 640; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.voice-story-name i { display: inline-block; font-style: normal; opacity: 0; transform: translateX(var(--fold)); }
.voice-story-name i:nth-child(2) { --fold: -.47em; } .voice-story-name i:nth-child(3) { --fold: -1.06em; } .voice-story-name i:nth-child(4) { --fold: -1.9em; } .voice-story-name i:nth-child(5) { --fold: -2.14em; } .voice-story-name i:nth-child(6) { --fold: -2.38em; } .voice-story-name i:nth-child(7) { --fold: -2.93em; }
.voice-story-mark { position: relative; display: block; width: 21px; height: 18px; }
.voice-story-recording .voice-story-mark { margin-left: -2px; }
.voice-story-logo { display: block; width: 100%; height: 100%; overflow: visible; }
.voice-story-logo .vs-fill { fill: #075cff; }
.voice-story-logo .vs-stroke { fill: none; stroke: #075cff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.voice-story-logo .vs-stroke path { vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.voice-story-wave { display: flex; align-items: center; gap: 2px; height: 16px; margin-left: 25px; }
.voice-story-wave i { display: block; width: 2px; height: 16px; border-radius: 1px; background: #075cff; opacity: .7; transform: scaleY(var(--level,.4)); animation: voice-story-bar 620ms ease-in-out infinite alternate; animation-play-state: paused; }
.voice-story-wave i:nth-child(1),.voice-story-wave i:nth-child(9) { --level: .25; animation-duration: 760ms; }
.voice-story-wave i:nth-child(2),.voice-story-wave i:nth-child(8) { --level: .45; animation-delay: -240ms; }
.voice-story-wave i:nth-child(3),.voice-story-wave i:nth-child(7) { --level: .7; animation-duration: 540ms; animation-delay: -410ms; }
.voice-story-wave i:nth-child(4),.voice-story-wave i:nth-child(6) { --level: .9; animation-delay: -120ms; }
.voice-story-wave i:nth-child(5) { --level: 1; animation-duration: 480ms; animation-delay: -300ms; }
.voice-story-meta { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; color: #5e7390; font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; }
.voice-story-meta > i { width: 6px; height: 6px; border-radius: 50%; background: #075cff; }
.voice-story-clock { display: block; height: 16px; line-height: 16px; overflow: hidden; }
.voice-story-clock span { display: block; transform: translateY(-200%); }
.voice-story-stop { display: grid; place-items: center; width: 32px; height: 32px; margin-left: 10px; border-radius: 50%; background: #eef3ff; }
.voice-story-stop i { width: 9px; height: 9px; border-radius: 2.5px; background: #075cff; }
.voice-story-x { display: grid; place-items: center; width: 28px; height: 28px; margin-left: 2px; color: #6a7f9c; }
.voice-story-x svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.voice-story-ready,.voice-story-saved { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: start; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #13233b12, 0 10px 28px -10px #1c3a6e40, 0 2px 6px #1c3a6e14; }
.voice-story-ready .voice-story-mark,.voice-story-saved .voice-story-mark { margin-top: 2px; }
.voice-story-ready > span:last-child,.voice-story-saved > span:last-child { display: grid; gap: 3px; min-width: 0; }
.voice-story-capsule strong { font-size: 12.5px; font-weight: 650; letter-spacing: -.01em; color: #13233b; }
.voice-story-capsule small { font-size: 11px; line-height: 1.4; color: #5e7390; }
.voice-story-badge { position: absolute; right: -6px; bottom: -5px; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #23856d; color: #fff; box-shadow: 0 0 0 2px #fff; opacity: 0; transform: scale(.5); transition: opacity var(--duration-quick) ease-out 160ms,transform var(--duration-fast) var(--ease-bounce,cubic-bezier(.34,1.36,.64,1)) 160ms; }
.voice-story-badge svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.voice-chapter[data-beat="0"] .voice-story-recording,.voice-chapter[data-beat="1"] .voice-story-ready,.voice-chapter[data-beat="2"] .voice-story-saved { opacity: 1; transform: none; }
.voice-chapter[data-beat="2"] .voice-story-badge { opacity: 1; transform: none; }
.voice-chapter:not([data-beat="0"]) .voice-story-key { opacity: 0; }
/* Each pass starts on the name, then folds into the S as the words begin. The resting state is the folded one, so leaving the step changes nothing. */
.voice-chapter[data-beat="0"] .voice-story-name i { animation: voice-story-fold var(--duration-fast) ease-out 760ms both; }
.voice-chapter[data-beat="0"] .voice-story-name i:nth-child(n+2) { animation-delay: 680ms; }
.voice-chapter[data-beat="0"] .voice-story-recording .vs-stroke { animation: voice-story-stroke 980ms linear 640ms both; }
.voice-chapter[data-beat="0"] .voice-story-recording .vs-stroke path { animation: voice-story-draw 720ms cubic-bezier(.65,0,.35,1) 640ms both; }
.voice-chapter[data-beat="0"] .voice-story-recording .vs-stroke path + path { animation-delay: 760ms; }
.voice-chapter[data-beat="0"] .voice-story-recording .vs-fill { animation: voice-story-show 220ms ease-out 1260ms both; }
.voice-chapter[data-beat="0"] .voice-story-wave { animation: voice-story-show 200ms ease-out 1000ms both; }
.voice-chapter[data-beat="0"] .voice-story-clock span { animation: voice-story-clock 2400ms steps(3,jump-none) both; }
.feature-story.is-in-view .voice-chapter.is-active[data-beat="0"] .voice-story-wave i { animation-play-state: running; }
@keyframes voice-story-fold { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(var(--fold,0)); } }
@keyframes voice-story-stroke { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes voice-story-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes voice-story-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes voice-story-clock { from { transform: none; } to { transform: translateY(-200%); } }
@keyframes voice-story-bar { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.voice-story-disclosure { position: absolute; bottom: 15px; left: 12px; right: 12px; text-align: center; font-size: 9px; color: #8295ad; }
.voice-chapter:not([data-beat="0"]) .voice-story-context { opacity: 0; }
.voice-chapter:not([data-beat="0"]) .voice-story-note { opacity: 1; transform: none; transition-duration: var(--toast-open); }
.voice-chapter:not([data-beat="0"]) .voice-story-note p > span { opacity: 1; filter: none; }
.voice-chapter[data-beat="1"] .voice-story-review > * { opacity: 1; transform: none; }
.voice-chapter[data-beat="2"] .voice-story-fold-review { grid-template-rows: 0fr; }
.voice-chapter[data-beat="2"] .voice-story-fold-review .voice-story-fold-inner { opacity: 0; transform: translateY(-4px); }
.voice-chapter[data-beat="2"] .voice-story-fold-posted { grid-template-rows: 1fr; }
.voice-chapter[data-beat="2"] .voice-story-fold-posted .voice-story-fold-inner { opacity: 1; transform: none; transition-delay: 120ms; }
.voice-chapter:not([data-beat="0"]) .voice-story-app .story-client { opacity: 0; transform: translateY(-6px); }
.voice-story-app .story-client { transition: opacity var(--duration-fast),transform var(--duration-fast) var(--ease-smooth-out); }
.voice-chapter[data-beat="2"] .voice-story-draft-label { display: none; }
.voice-chapter[data-beat="2"] .voice-story-saved-label { display: inline; }
.voice-chapter[data-beat="2"] .voice-story-posted .voice-story-tick svg path { stroke-dashoffset: 0; }
.story-progress-copy { display: flex; justify-content: space-between; color: #607894; font-size: 11px; }
.story-progress { height: 6px; background: #e8eef7; border-radius: 4px; margin: 12px 0 18px; overflow: hidden; }
.story-progress > span { display: block; height: 100%; background: #075cff; transform: scaleX(.333); transform-origin: left; transition: transform var(--duration-slow) var(--ease-smooth-out),background var(--duration-slow); }
.story-chapter[data-beat="1"] .story-progress > span { transform: scaleX(.667); }
.story-chapter[data-beat="2"] .story-progress > span { transform: scaleX(1); background: #39987a; }
.story-task { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #ebf0f7; color: #4a6584; font-size: 12px; }
.story-check { display: inline-grid; place-items: center; width: 19px; height: 19px; border: 1px solid #c9d7e9; border-radius: 5px; transition: background var(--check-box),border-color var(--check-box); }
.story-check svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story-check path { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset var(--check-uncheck) var(--check-ease); }
.story-task.is-complete .story-check { background: #39987a; border-color: #39987a; }
.story-task.is-complete path { stroke-dashoffset: 0; transition-duration: var(--check-draw); }
.story-task > span:last-child { background: linear-gradient(#a6bdb3,#a6bdb3) left center/0% 1px no-repeat; transition: background-size var(--check-draw),color var(--check-box); }
.story-task.is-complete > span:last-child { background-size: 100% 1px; color: #8a9eaf; }
.story-finish { display: flex; align-items: center; gap: 12px; padding-top: 18px; opacity: 0; transform: translateY(8px); transition: opacity var(--duration-slow),transform var(--duration-slow) var(--ease-smooth-out); }
.story-finish > .story-character { width: 34px; }
.story-finish strong { color: #338268; font-size: 13px; font-weight: 600; }
.story-chapter[data-beat="2"] .story-finish { opacity: 1; transform: none; }
/* Looping back to the start: "All done" leaves first, quickly, then the boxes
   clear and the bar shrinks, so the line never sits beside unchecked tasks. */
.story-chapter:not([data-beat="2"]) .story-finish { transition: opacity var(--duration-quick) var(--ease-smooth-out), transform var(--duration-quick) var(--ease-smooth-out); }
.story-task:not(.is-complete) .story-check, .story-task:not(.is-complete) path, .story-task:not(.is-complete) > span:last-child { transition-delay: 170ms; }
.story-chapter[data-beat="0"] .story-progress > span { transition-delay: 170ms; }
.story-chapter.is-active[data-beat="2"] .story-finish > .story-character { animation: story-done var(--duration-very-slow) var(--ease-smooth-out) both; }
@keyframes story-done { 0% { transform: translateY(8px) scale(.96); } 60% { transform: translateY(-3px) scale(1.03); } 100% { transform: none; } }
.story-footer { display: flex; align-items: center; gap: 14px; color: #8b9cb1; font-size: 10px; padding-top: 20px; }
.story-meter { width: 82px; height: 2px; border-radius: 3px; background: #e3ebf7; overflow: hidden; }
.story-meter > span { display: block; width: 100%; height: 100%; background: #075cff; transform: scaleX(var(--story-progress,0)); transform-origin: left; }
.feature-story.is-enhanced .story-chapters { display: grid; }
.feature-story.is-enhanced .story-chapter { grid-area: 1/1; opacity: 0; visibility: hidden; transform: translateY(var(--distance-base)); filter: blur(var(--blur-small)); transition: opacity var(--duration-medium) var(--ease-smooth-out),transform var(--duration-medium) var(--ease-smooth-out),filter var(--duration-medium) var(--ease-smooth-out),visibility var(--duration-medium); padding-bottom: 0; }
.feature-story.is-enhanced .story-chapter.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-duration: var(--duration-slow); }
.feature-story.is-pinned .story-stage { position: sticky; top: var(--story-top,24px); }
.story-app .client-character-eyes { transform-box: fill-box; transform-origin: center; }
.story-chapter.is-active .story-character .client-character-eyes { animation: story-blink 5s ease-in-out infinite; animation-play-state: paused; }
.feature-story.is-in-view .story-chapter.is-active .story-character .client-character-eyes { animation-play-state: running; }
@keyframes story-blink { 0%,42%,48%,100% { transform: scaleY(1); } 44%,46% { transform: scaleY(.15); } }

/* Helpers gallery: one helper per row, alternating sides. The app mock sits in
   a soft tile and runs off its edge; the copy beside it is a title and one
   sentence. Each row plays its beats once as it comes into view. Phones swipe. */
.feature-story.is-gallery { margin-bottom: 48px; }
/* The rows step a little outside the page column so each tile has room to spread. */
@media(min-width:801px) { .feature-story.is-gallery { --gallery-width: min(1280px, 100vw - clamp(80px, 10vw, 160px)); width: var(--gallery-width); max-width: none; margin-left: calc((100% - var(--gallery-width)) / 2); } }
.feature-story.is-gallery .story-nav,.feature-story.is-gallery .story-footer { display: none; }
/* Phones get a quiet swipe cue under the row (see the phone block); wide screens read it as rows. */
.story-swipe-hint { display: none; }
.feature-story.is-gallery .story-chapters { display: grid; grid-template-columns: 1fr; gap: clamp(72px,8vw,120px); }
.feature-story.is-gallery .story-chapter { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.9fr); gap: clamp(40px,6vw,96px); align-items: center; padding: 0; }
/* Rows alternate sides down the page across both sections: the first has an
   odd number of rows, so the dashboard section flips its odd rows. */
.feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) { grid-template-columns: minmax(0,1.9fr) minmax(0,1fr); }
.feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) .story-copy { order: 1; }
/* Copy sits at the outer edge of its row, the tile at the other, so the rows
   read left, right, left, right across the whole width. */
.feature-story.is-gallery .story-copy { display: grid; gap: 12px; max-width: 400px; padding: 0; justify-self: start; }
.feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) .story-copy { justify-self: end; }
/* On wide screens the header companion travels down a lane 18px in from the
   right edge and 88px wide. Right-hand copy stops short of that lane (plus a
   little air, and room for a classic scrollbar) wherever the page's side
   margin is narrower than the lane, so the character never sits on text. */
@media (min-width: 1100px) {
  .marketing-home .feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) .story-copy { padding-right: max(0px, calc(124px - max(5vw, (100vw - 1280px) / 2))); }
}
.feature-story.is-gallery .story-copy .eyebrow { margin: 0; }
.feature-story.is-gallery .story-copy h3 { max-width: none; font-size: clamp(24px,2.3vw,31px); line-height: 1.18; letter-spacing: -.8px; }
.feature-story.is-gallery .story-copy h3 br { display: none; }
.feature-story.is-gallery .story-copy > p:not(.eyebrow) { max-width: none; margin: 0; color: #5f7592; font-size: 15px; line-height: 1.65; }
/* The link is as wide as its words; stretched by the grid, the empty column beside it was a link too. */
.feature-story.is-gallery .story-copy .story-try { justify-self: start; }
.feature-story.is-gallery .story-beats,.feature-story.is-gallery .workflow-scope { display: none; }
.story-tile { position: relative; height: 500px; border-radius: 24px; overflow: hidden; background: radial-gradient(ellipse at 18% 12%, #e4edff 0%, #eef3fb 48%, #e9effa 100%); box-shadow: inset 0 0 0 1px #dfe7f2; }
.story-tile .story-app { position: absolute; left: 64px; top: 52px; width: 455px; max-width: none; height: 450px; margin: 0; border-radius: 16px 16px 0 0; border-bottom: 0; box-shadow: 0 28px 56px -24px #10182948, 0 1px 2px #10182912; transform: scale(1.12); transform-origin: top left; }
.feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) .story-tile .story-app { left: auto; right: 64px; transform-origin: top right; }
@media(min-width:801px) and (max-width:1099px) {
  .feature-story.is-gallery .story-chapter { grid-template-columns: minmax(0,1fr) minmax(0,1.45fr); }
  .feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) { grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); }
  .story-tile { height: 460px; }
  /* Narrower tiles: the mock shrinks to fit rather than running off the open side. */
  .story-tile .story-app { left: 32px; top: 44px; width: min(455px, calc(100% - 64px)); transform: none; }
  .feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) .story-tile .story-app { right: 32px; }
}
.sandbox-views { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sandbox-views button { border: 1px solid #dce6f4; border-radius: 8px; background: transparent; color: #597494; font: inherit; font-size: 11px; padding: 10px 12px; cursor: pointer; }
.sandbox-views button[aria-pressed="true"] { background: #eaf1ff; color: #075cff; border-color: #c7dbfa; }
@media(max-width:800px) {
  .feature-story { margin-bottom: 65px; }
  .story-nav { flex-wrap: wrap; gap: 3px; margin-bottom: 20px; justify-content: center; }
  .story-nav button { padding: 8px 11px; min-height: 38px; font-size: 11px; }
  .story-chapter { grid-template-columns: 1fr; gap: 22px; }
  .story-copy .eyebrow,.story-copy > p:not(.eyebrow) { display: none; }
  .story-copy h3 { text-align: center; margin-inline: auto; font-size: 30px; letter-spacing: -1px; max-width: 330px; }
  /* Beats flow as whole phrases: a long one moves to the next row instead of breaking into a cramped column. */
  .story-beats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 15px 0 0; }
  .story-beats li { font-size: 10px; gap: 7px; white-space: nowrap; }
  .story-copy .story-try { display: none; }
  .story-scope { display: none; }
  .feature-story .batch-story-app { max-width: 440px; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .story-app { max-width: 400px; height: 406px; padding: 17px; border-radius: 17px; }
  .story-app-header { padding-bottom: 12px; margin-bottom: 13px; }
  .story-client { margin-bottom: 16px; }
  .story-client > .story-character { width: 28px; }
  .story-shortcut { height: 52px; }
  .story-chapter[data-beat="2"] .story-shortcut:first-child { transform: translateY(52px); }
  .story-chapter[data-beat="2"] .story-shortcut:nth-child(2) { transform: translateY(-52px); }
  .voice-story-context { padding-top: 18px; }
  .voice-story-note { top: 82px; left: 17px; right: 17px; padding: 11px 12px 11px; }
  .voice-story-note p { font-size: 12px; margin: 6px 0 8px; }
  .voice-story-review,.voice-story-posted { gap: 7px; }
  .voice-story-client { min-height: 31px; }
  .voice-story-segment b { padding: 4px 7px; }
  .voice-story-actions b,.voice-story-actions i { padding: 7px 9px; font-size: 10px; }
  .voice-story-capsule { left: 17px; right: 17px; bottom: 36px; }
  .story-task { padding-block: 12px; }
  .story-footer { justify-content: center; padding-top: 16px; }
  
  /* Phones read the rows top to bottom like the rest of the page: no carousel, no swipe cue. */
  .feature-story.is-gallery .story-nav, .feature-story.is-gallery .story-swipe-hint { display: none; }
  .feature-story.is-gallery .story-chapters { display: grid; grid-template-columns: 1fr; gap: 44px; margin: 0; padding: 0; overflow: visible; }
  .feature-story.is-gallery .story-chapter { gap: 12px; }
  .feature-story.is-gallery .story-copy h3 { text-align: left; font-size: 20px; max-width: none; }
  .feature-story.is-gallery .story-copy > p:not(.eyebrow) { display: block; font-size: 12.5px; }
  .feature-story.is-gallery .story-beats { justify-content: flex-start; margin: 0; }
  .feature-story.is-gallery .story-chapter,.feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: stretch; }
  .feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) .story-copy { order: 0; }
  .feature-story.is-gallery .story-copy { max-width: none; padding: 0 8px; justify-self: stretch; }
  .feature-story.is-gallery .story-beats { display: flex; }
  .story-tile { width: 100%; height: auto; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
  .story-tile .story-app,.feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) .story-tile .story-app { position: relative; left: auto; right: auto; top: auto; width: 100%; max-width: none; height: 406px; border-radius: 17px; border-bottom: 1px solid #dce6f5; box-shadow: none; transform: none; }
  /* The batch demo brings its own framed window, so its card hugs it instead of leaving an empty band below. */
  .story-tile .batch-story-app,.feature-story.is-gallery :is(#client-story .story-chapter:nth-child(even), #dashboard-story .story-chapter:nth-child(odd)) .story-tile .batch-story-app { height: auto; border: 0; border-radius: 0; }
  /* The cue nudges only while the row is on screen and fades once the visitor has swiped; its space stays so nothing below shifts. */
  .feature-story.is-gallery .story-swipe-hint { display: none; justify-content: center; align-items: center; gap: 6px; margin: 2px 0 0; color: #7a8ca5; font-size: 12px; font-weight: 500; transition: opacity var(--duration-medium, 350ms) var(--ease-smooth-out, ease); }
  .feature-story.is-gallery .story-swipe-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .feature-story.is-gallery.is-in-view .story-swipe-hint svg { animation: story-swipe-nudge 1.6s var(--ease-in-out, ease-in-out) infinite; }
  .feature-story.is-gallery.is-swiped .story-swipe-hint { opacity: 0; }
  .sandbox-views { justify-content: center; }
  
}
@media(prefers-reduced-motion:reduce) {
  .feature-story *, .feature-story *::before { animation: none !important; transition: none !important; }
  .feature-story.is-pinned .story-stage { position: static; }
}
@media(max-width:380px) {
  .voice-story-note { padding: 10px 11px; }
  .voice-story-note p { font-size: 11.5px; line-height: 1.45; margin: 5px 0 7px; }
  .voice-story-client em { display: none; }
  .voice-story-key { display: none; }
  .voice-story-chips li:nth-child(n+4) { display: none; }
  .voice-story-note p > span:nth-child(3) { display: none; }
}

/* Phones: unselected chapter tabs read as tappable surfaces, not faint text. */
@media (max-width: 760px) {
  .story-nav button { min-height: 40px; }
  .story-nav button:not([aria-pressed="true"]) { border-color: #dfe7f2; background: #ffffffc7; color: #3f5878; }
}

/* The story intro hands over to the walkthrough below with one clear cue. */
.brand-journey .story-cue { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: #075cff; font-size: 14px; font-weight: 600; text-decoration: none; }
.brand-journey .story-cue svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: story-cue-bob 1.8s var(--ease-in-out, ease-in-out) infinite; }
.brand-journey .story-cue:hover { color: #004cda; }
.brand-journey .story-cue:focus-visible { outline: 2px solid #075cff; outline-offset: 3px; border-radius: 8px; }
@keyframes story-cue-bob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@keyframes story-swipe-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(var(--distance-micro, 4px)); } }
@media (prefers-reduced-motion: reduce) { .brand-journey .story-cue svg { animation: none; } }


/* The sculpture's pieces move inside one SVG while scrolling; without a filter on
   it, and with the static aura on its own layer, each frame repaints only the SVG. */
.brand-aura { will-change: transform; }

/* Each row's demo has a play/pause control in its tile's top corner, like a video
   (WCAG 2.2.2). feature-story.js adds it and marks a paused row is-paused. */
.story-play { position: absolute; z-index: 3; top: 10px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #d3dff0; border-radius: 50%; background: #ffffffe6; color: #1b3354; box-shadow: 0 1px 2px #1734540f, 0 6px 14px -8px #17345440; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--duration-quick) var(--ease-out), border-color var(--duration-quick) var(--ease-out), transform var(--duration-quick) var(--ease-smooth-out); }
.story-play::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.story-play .t-icon-swap { width: 11px; height: 11px; }
.story-play svg { display: block; width: 11px; height: 11px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .story-play:hover { background: #fff; border-color: #b6cbed; } }
.story-play:active { transform: scale(.94); }
.story-play:focus-visible { outline: 2px solid #075cff; outline-offset: 2px; }
.story-chapter.is-paused *, .story-chapter.is-paused *::before, .story-chapter.is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .story-play { display: none; } .story-play:active { transform: none; } }
/* Below 800px the app fills its tile, so the control sits just under the card's
   bottom-right corner, like a video's control bar, and never covers the demo. */
@media (max-width: 800px) { .story-play { position: relative; top: auto; right: auto; margin: 10px 2px 0 auto; } }
