/* Preview-only presentation: keep the Chinese page's ceramic surface and typography. */
#workflow-start.wp-state-preview { margin: 16px auto 0; }
.wp-state-intro { margin: 0 0 8px; color: var(--body); text-align: center; font-size: 14px; line-height: 1.5; }
.wp-state-hint { margin: 0 0 14px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.5; }
.wp-state-controls { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 0 0 12px; padding: 7px; border: 1px solid rgba(28,34,46,.07); border-radius: 20px; background: #e7e9ee; box-shadow: inset 0 2px 5px rgba(31,43,66,.09),inset 0 1px 0 rgba(255,255,255,.72); }
.wp-state-controls button { position: relative; display: flex; min-width: 0; min-height: 72px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; overflow: hidden; z-index: 1; padding: 10px 14px 13px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--body); font-family: 'Manrope','Noto Sans SC',sans-serif; text-align: left; cursor: pointer; transition: background .18s,border-color .18s,box-shadow .18s,color .18s; }
.wp-state-title { display: block; color: inherit; font-size: 14px; font-weight: 700; line-height: 1.35; }
.wp-state-description { display: block; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.45; }
.wp-state-controls button[aria-selected="true"] { background: #fff; border-color: rgba(75,123,236,.34); color: var(--accent-deep); box-shadow: 0 2px 7px rgba(28,34,46,.11),inset 0 1px 0 #fff; }
.wp-state-controls.has-thumb button[aria-selected="true"] { background: transparent; border-color: transparent; box-shadow: none; }
.wp-state-thumb { box-sizing: border-box; position: absolute; top: 0; left: 0; z-index: 0; border-radius: 14px; background: #fff; border: 1px solid rgba(75,123,236,.34); box-shadow: 0 2px 7px rgba(28,34,46,.11),inset 0 1px 0 #fff; transition: transform .22s var(--ease-io, cubic-bezier(.32,.08,.24,1)); pointer-events: none; }
.wp-state-controls button[aria-selected="true"] .wp-state-description { color: #596a85; }
.wp-state-controls button:focus-visible,.wp-player-controls button:focus-visible { outline: 2px solid #5b87f0; outline-offset: 3px; }
.wp-state-progress { position: absolute; right: 14px; bottom: 7px; left: 14px; height: 2px; overflow: hidden; border-radius: 99px; background: rgba(74,91,120,.13); }
.wp-state-progress > span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8fb3ff,#3a68dd); transform: scaleX(0); transform-origin: 0 50%; transition: transform .16s linear; }
.wp-stage-shell { --wp-cap-fs: 16px; --wp-cap-h: calc(var(--wp-cap-fs) * 2.7 + 18px); position: relative; width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.76); border-radius: 14px; background: #111923; box-shadow: 0 18px 48px rgba(34,48,72,.14),inset 0 1px 0 rgba(255,255,255,.8); }
.wp-stage-shell video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #111923; }
/* Selectors stay above the page-level `.wi-window-switching-demo p/video` rules (0,1,1) that also wrap two of the players. */
.wp-stage-shell .wp-caption { box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: var(--wp-cap-h); margin: 0; padding: 9px 16px; overflow: hidden; background: #111923; color: rgba(255,255,255,.94); font-family: 'Manrope','Noto Sans SC',sans-serif; font-size: var(--wp-cap-fs); font-weight: 400; line-height: 1.35; letter-spacing: normal; text-align: center; }
.wp-stage-shell .wp-caption > span { display: block; max-height: 2.7em; overflow: hidden; color: inherit; font: inherit; text-wrap: balance; }
div.wp-stage-shell video { border-radius: 0; background: #111923; }
.wp-player-controls + .wp-state-hint { margin: 10px 0 0; }
.wp-stage-freeze { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - var(--wp-cap-h)); object-fit: contain; pointer-events: none; opacity: 1; transition: opacity .2s var(--ease-io, cubic-bezier(.32,.08,.24,1)); }
.wp-stage-freeze.is-fading { opacity: 0; }
.wp-player-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 10px 0 0; }
.wp-player-controls button { min-height: 36px; padding: 7px 13px; border: 1px solid rgba(28,34,46,.1); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--body); font: 600 12px 'Manrope','Noto Sans SC',sans-serif; cursor: pointer; box-shadow: 0 1px 4px rgba(28,34,46,.05),inset 0 1px 0 rgba(255,255,255,.8); }
.wp-player-controls button:hover { background: #fff; border-color: rgba(75,123,236,.24); }
.wp-stage-shell:fullscreen,.wp-stage-shell:-webkit-full-screen { --wp-cap-fs: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; width: 100vw; height: 100vh; border: 0; border-radius: 0; background: #111923; }
.wp-stage-shell:fullscreen video,.wp-stage-shell:-webkit-full-screen video { flex: 1 1 0; width: 100%; height: auto; min-height: 0; aspect-ratio: auto; object-fit: contain; }
.wp-stage-shell:fullscreen .wp-caption,.wp-stage-shell:-webkit-full-screen .wp-caption { flex: 0 0 auto; }

/* The story chapters share the same single-player controls, scoped away from the four-step hero carousel. */
.wp-story-preview .wp-state-controls { grid-template-columns: repeat(3,minmax(0,1fr)); }
.wp-story-preview .wp-state-controls button { min-height: 68px; align-items: center; gap: 4px; padding: 10px 8px 14px; text-align: center; }
.wp-story-duration { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.2; }
.wp-story-preview .wp-state-controls button[aria-selected="true"] .wp-story-duration { color: var(--accent-deep); }
.wp-story-copy { margin: 0 0 14px; text-align: center; }
.wp-story-copy h2 { margin: 0; }
.wi-window-switching-demo .wp-story-copy p { max-width: 740px; margin: 10px auto 18px; color: var(--body); font-size: 15px; line-height: 1.65; text-align: center; }

@media (max-width: 820px) {
  #workflow-start.wp-state-preview { margin-top: 16px; }
  .wp-state-controls { gap: 6px; padding: 5px; border-radius: 17px; }
  .wp-state-controls button { min-height: 74px; padding: 10px 10px 14px; border-radius: 12px; }
  .wp-state-thumb { border-radius: 12px; }
  .wp-state-title { font-size: 13px; }
  .wp-state-description { font-size: 10px; }
  .wp-state-progress { right: 10px; left: 10px; }
  .wp-stage-shell { border-radius: 12px; }
}
@media (max-width: 600px) {
  #workflow-start.wp-state-preview { margin-top: 16px; }
  .wp-state-intro { margin-bottom: 8px; font-size: 14px; }
  .wp-state-hint { margin-bottom: 10px; font-size: 11px; }
  .wp-state-controls { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-bottom: 12px; }
  .wp-state-controls button { min-height: 76px; padding: 10px 11px 14px; }
  .wp-state-title { font-size: 13px; }
  .wp-state-description { font-size: 10px; line-height: 1.4; }
  .wp-story-preview .wp-state-controls { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .wp-story-preview .wp-state-controls button { min-height: 68px; gap: 3px; padding-right: 5px; padding-left: 5px; }
  .wp-story-preview .wp-state-title { font-size: 11px; line-height: 1.3; }
  .wp-story-duration { font-size: 10px; }
  .wp-story-copy { margin-bottom: 12px; }
  .wi-window-switching-demo .wp-story-copy p { margin: 8px auto 14px; font-size: 14px; }
  .wp-stage-shell { --wp-cap-fs: 14px; }
  .wp-player-controls { gap: 6px; padding-top: 8px; }
  .wp-player-controls button { min-height: 44px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .wp-state-controls button,.wp-state-progress > span,.wp-state-thumb,.wp-stage-freeze { transition: none; }
}

/* Product philosophy: authentic frames show how Side-Pilot changes the workspace relationship. */
.wi-product-idea { margin: 64px auto; padding: clamp(24px, 4vw, 40px); color: var(--ink); background: var(--raise); border: 1px solid rgba(28,34,46,.07); border-radius: 24px; box-shadow: var(--sh-raise-sm); }
.wi-product-idea__intro { margin: 0 auto 28px; text-align: center; }
.wi-product-idea__eyebrow { margin: 0 0 10px !important; color: var(--accent-deep) !important; font-size: 11px !important; font-weight: 700; letter-spacing: .12em; }
.wi-product-idea__intro h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 3vw, 34px); line-height: 1.22; letter-spacing: -.035em; }
.wi-product-idea__intro > p:last-child { margin: 12px 0 0; color: var(--body); font-size: 15px; line-height: 1.65; }
.wi-product-idea__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wi-product-idea__card { min-width: 0; padding: 18px 16px 15px; border: 1px solid rgba(28,34,46,.07); border-radius: 18px; background: #f8f9fb; box-shadow: inset 0 1px 0 rgba(255,255,255,.85); }
.wi-product-idea__card h3 { min-height: 54px; margin: 0; color: var(--ink); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.35; letter-spacing: -.025em; }
.wi-product-idea__comparison { display: block; margin-top: 14px; }
.wi-product-idea__comparison figure { min-width: 0; margin: 0; }
.wi-product-idea__comparison figcaption { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.wi-product-idea__state-label { display: inline-flex; min-width: 42px; min-height: 22px; align-items: center; justify-content: center; padding: 2px 7px; border-radius: 999px; background: rgba(28,34,46,.07); color: var(--body); font-size: 10px; font-weight: 700; white-space: nowrap; }
.wi-product-idea__state--near .wi-product-idea__state-label { background: rgba(75,123,236,.12); color: var(--accent-deep); }
.wi-product-idea__comparison img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid rgba(28,34,46,.09); border-radius: 10px; background: #e7e9ee; }
.wi-product-idea__transition { display: flex; min-height: 32px; align-items: center; justify-content: center; gap: 8px; color: var(--accent-deep); font-size: 11px; font-weight: 700; }
.wi-product-idea__transition span { font-size: 15px; line-height: 1; }
.wi-product-idea__copy { min-height: 43px; margin: 13px 0 10px; color: var(--body); font-size: 13px; line-height: 1.6; }
.wi-product-idea__link { display: inline-flex; min-height: 36px; align-items: center; gap: 6px; color: var(--accent-deep); font-size: 12px; font-weight: 700; text-decoration: none; }
.wi-product-idea__link:hover { color: #264da8; text-decoration: underline; text-underline-offset: 3px; }
.wi-product-idea__link:focus-visible { outline: 2px solid #5b87f0; outline-offset: 3px; border-radius: 4px; }
.wi-product-idea__outro { margin: 26px 0 0; color: var(--body); font-size: 14px; line-height: 1.6; text-align: center; }
@media (max-width: 980px) {
  .wi-product-idea { margin: 48px auto; }
  .wi-product-idea__grid { grid-template-columns: 1fr; gap: 12px; }
  .wi-product-idea__card { padding: 18px; }
  .wi-product-idea__card h3 { min-height: 0; font-size: 19px; }
  .wi-product-idea__copy { min-height: 0; }
}
@media (max-width: 600px) {
  .wi-product-idea { margin: 40px auto; padding: 20px 16px; border-radius: 18px; }
  .wi-product-idea__intro { margin-bottom: 20px; }
  .wi-product-idea__intro h2 { font-size: 25px; }
  .wi-product-idea__intro > p:last-child { font-size: 14px; }
  .wi-product-idea__grid { gap: 10px; }
  .wi-product-idea__card { padding: 16px 13px 12px; border-radius: 15px; }
  .wi-product-idea__card h3 { font-size: 17px; }
  .wi-product-idea__comparison { margin-top: 12px; }
  .wi-product-idea__comparison figcaption { margin-bottom: 6px; font-size: 10px; }
  .wi-product-idea__comparison img { border-radius: 8px; }
  .wi-product-idea__copy { margin: 11px 0 7px; font-size: 13px; }
  .wi-product-idea__link { min-height: 44px; font-size: 12px; }
  .wi-product-idea__outro { margin-top: 20px; font-size: 13px; }
}
