.scenario-section { --sc-ink: #091c3a; --sc-blue: #255ce5; --sc-muted: #4d6079; color: var(--sc-ink); background: #f8fafc; padding: 104px 0 88px; font-family: "Geist Sans", sans-serif; }
.scenario-section * { box-sizing: border-box; }
.scenario-section__inner { width: min(var(--site-content-width, 1200px), calc(100% - 2 * var(--site-gutter, 24px))); margin: auto; }
.scenario-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.scenario-heading h2 { font-size: clamp(44px, 4.5vw, 64px); line-height: 1.06; font-weight: 550; letter-spacing: -.04em; margin: 0; }
.scenario-heading > p { margin: 0 0 5px; color: var(--sc-muted); font-size: 16px; line-height: 1.6; max-width: 340px; }
.scenario-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #c8d2e2; margin-bottom: 28px; }
.scenario-tabs button { appearance: none; display: flex; justify-content: flex-start; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--sc-muted); padding: 20px 16px 20px 0; font: inherit; font-size: 17px; text-align: left; cursor: pointer; position: relative; transition: color 200ms; }
.scenario-tabs button::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 24px; height: 2px; background: var(--sc-blue); transform: scaleX(0); transform-origin: left; transition: transform 350ms cubic-bezier(.16,1,.3,1); }
.scenario-tabs button[aria-selected="true"] { color: var(--sc-blue); }
.scenario-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.scenario-tabs button:hover { color: var(--sc-ink); }
/* Preview a tab on hover without changing the active scene or its timed progress. */
@media (hover: hover) {
  .scenario-tabs button:not([aria-selected="true"]):hover { color: var(--sc-blue); }
  .scenario-tabs button:not([aria-selected="true"]):hover::after { transform: scaleX(1); }
}
.scenario-tabs button:not([aria-selected="true"]):focus-visible::after { transform: scaleX(1); }
.scenario-section svg { width: 21px; height: 21px; flex-shrink: 0; }
.scenario-tabs button svg { width: 22px; height: 22px; }
.scenario-section :is(button, a):focus-visible { outline: 2px solid var(--sc-blue); outline-offset: 6px; border-radius: 3px; }
.scenario-stage { display: grid; grid-template-rows: minmax(590px, auto) auto; background: #edf2f9; border-radius: 16px; overflow: hidden; }
.scenario-panel { grid-area: 1 / 1 / -1 / -1; display: grid; grid-template-columns: 43% 57%; grid-template-rows: subgrid; }
/* All scenarios reserve their natural height; only the selected panel is visible and accessible. */
.scenario-panel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.scenario-panel:not([hidden]) { position: relative; z-index: 2; background: #edf2f9; }
.scenario-panel[hidden].is-outgoing { position: relative; visibility: visible; z-index: 1; background: #edf2f9; pointer-events: none; }
.scenario-navigation { position: relative; display: grid; gap: 12px; padding-bottom: 12px; }
.scenario-navigation .scenario-tabs { margin-bottom: 0; }
.scenario-autoplay { display: flex; align-items: center; gap: 7px; justify-self: end; border: 0; background: transparent; color: var(--sc-muted); font: inherit; font-size: 12px; cursor: pointer; padding: 5px; }
.scenario-autoplay::before { content: ""; width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.scenario-autoplay[aria-pressed="true"]::before { width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.scenario-section.is-rotating .scenario-tabs button[aria-selected="true"]::after { animation: scenario-progress 7s linear forwards; }
.scenario-section.is-paused .scenario-tabs button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes scenario-progress { from { transform: scaleX(.04); } to { transform: scaleX(1); } }
.scenario-copy { display: flex; flex-direction: column; padding: 44px 16px 38px 40px; position: relative; z-index: 2; }
.scenario-copy h3 { margin: 0 0 20px; font-size: clamp(32px, 3.1vw, 44px); font-weight: 520; line-height: 1.08; letter-spacing: -.035em; }
.scenario-copy > p { color: var(--sc-muted); margin: 0; max-width: 365px; font-size: 15px; line-height: 1.65; min-height: 100px; }
.scenario-copy ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; font-size: 14px; }
.scenario-copy li { display: flex; align-items: center; gap: 10px; }
.scenario-copy li svg { color: var(--sc-blue); width: 17px; height: 17px; }
.scenario-copy__bottom { margin-top: auto; }
.scenario-channels { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 22px; font-size: 12px; }
.scenario-channels > span { color: var(--sc-muted); margin-right: 4px; }
.scenario-channels b { font-weight: 500; padding: 5px 8px; border: 1px solid #b6c5dd; border-radius: 5px; }
.scenario-link { display: inline-flex; align-items: center; gap: 24px; color: #fff; background: var(--sc-blue); border-radius: 999px; font-size: 17px; font-weight: 600; text-decoration: none; padding: 14px 26px; min-height: 50px; }
.scenario-link:hover { background: #1748bf; }
.scenario-art { min-width: 0; position: relative; isolation: isolate; min-height: 590px; background: radial-gradient(ellipse at 55% 53%, #dbe7fc 0%, transparent 65%); }
.scenario-orbit { position: absolute; inset: 100px 28px 70px 20px; border: 1px solid #c2d0e6; border-radius: 50%; transform: rotate(-25deg); z-index: -1; }
.scenario-orbit::after { content: ""; position: absolute; inset: 30px -18px; border: 1px solid #d3deee; border-radius: 50%; }
.scenario-phone { position: absolute; width: 266px; height: 440px; left: 36%; top: 65px; background: #fafcff; border: 1px solid #8397b5; border-radius: 31px; transform: perspective(1100px) rotateY(-16deg) rotateZ(11deg); box-shadow: 14px 22px 30px -20px #6b87b5; padding: 17px 16px; }
.scenario-phone::before { content: ""; position: absolute; inset: 4px; border: 1px solid #c6d2e3; border-radius: 27px; pointer-events: none; }
.scenario-phone__top { display: flex; justify-content: space-between; font-size: 12px; padding: 0 9px 15px; }
.scenario-phone__app { display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #dce4ef; padding: 10px 0 14px; font-size: 12px; font-weight: 550; }
.scenario-phone__app img { width: 18px; height: 18px; }
.scenario-phone__content { padding: 22px 4px; }
.scenario-phone h4 { font-size: 21px; font-weight: 550; line-height: 1.15; margin: 0 0 8px; letter-spacing: -.025em; }
.scenario-phone__content > p { font-size: 12px; line-height: 1.5; color: var(--sc-muted); margin: 0 0 22px; }
.scenario-phone__field > small { color: var(--sc-muted); font-size: 12px; display: block; }
.scenario-digits { display: flex; gap: 7px; margin: 9px 0 23px; }
.scenario-digits span { display: grid; place-items: center; width: 43px; height: 47px; border: 1px solid #b1c2dc; border-radius: 6px; font-size: 24px; color: var(--sc-blue); }
.scenario-phone__action { display: flex; align-items: center; justify-content: space-between; background: var(--sc-blue); color: white; border-radius: 6px; padding: 11px; font-size: 12px; }
.scenario-phone__action svg { width: 15px; height: 15px; }
.scenario-phone__home { position: absolute; width: 70px; height: 3px; background: #8d9eb8; bottom: 11px; left: calc(50% - 35px); border-radius: 3px; }
.scenario-event { position: absolute; top: 29px; left: 5%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #0e254a; color: #fff; border-radius: 9px; min-width: 230px; z-index: 2; box-shadow: 0 12px 24px -16px #0e254a; }
.scenario-event__mark { display: grid; place-items: center; width: 32px; height: 32px; background: #274a7a; border-radius: 6px; }
.scenario-event small, .scenario-event strong { display: block; font-size: 12px; line-height: 1.5; }
.scenario-event small { color: #c3d3ed; font-weight: 400; }
.scenario-event strong { font-weight: 500; }
.scenario-event__pulse { width: 6px; height: 6px; border-radius: 50%; background: #9ee8d1; margin-left: 8px; }
.scenario-message { position: absolute; top: 218px; left: 2%; width: 274px; padding: 19px; background: #fff; border-radius: 12px; box-shadow: 0 18px 36px -21px #617fac; z-index: 3; transform: rotate(-5deg); }
.scenario-message__head { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.scenario-message__head img { width: 21px; height: 21px; }
.scenario-message__head strong { font-size: 12px; font-weight: 550; }
.scenario-message__head small { margin-left: auto; color: var(--sc-muted); font-size: 12px; }
.scenario-message p { font-size: 13px; line-height: 1.5; margin: 0; }
.scenario-message__code { display: block; color: var(--sc-blue); font-size: 34px; font-weight: 500; letter-spacing: .16em; margin: 6px 0; font-variant-numeric: tabular-nums; }
.scenario-message .scenario-message__detail { color: var(--sc-muted); font-size: 12px; margin-top: 8px; }
.scenario-receipt { position: absolute; bottom: 48px; right: 5%; display: flex; align-items: center; gap: 12px; padding: 15px 19px; background: #fff; border-radius: 9px; box-shadow: 0 14px 28px -20px #617fac; z-index: 4; }
.scenario-receipt > span { display: grid; place-items: center; width: 30px; height: 30px; background: #e2f3ee; border-radius: 50%; color: #216852; }
.scenario-receipt strong, .scenario-receipt small { display: block; line-height: 1.5; }
.scenario-receipt strong { font-size: 12px; font-weight: 550; }
.scenario-receipt small { color: var(--sc-muted); font-size: 12px; }
.scenario-art__note { position: absolute; bottom: 15px; right: 30px; color: var(--sc-muted); font-size: 12px; }
.scenario-flow { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 23px 40px; margin: 0; border-top: 1px solid #ccd8e9; font-size: 13px; }
.scenario-flow li { display: flex; align-items: center; gap: 10px; }
.scenario-flow li > span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #97add0; border-radius: 50%; color: var(--sc-blue); }
.scenario-flow li > span svg { width: 14px; height: 14px; }
.scenario-flow li > svg { margin-left: auto; color: #6d82a3; }
.scenario-campaign { width: 100%; height: 100px; object-fit: cover; display: block; border-radius: 6px; margin: -6px 0 16px; }
.scenario-phone__field > strong { display: block; font-size: 22px; color: var(--sc-blue); margin: 9px 0 16px; }
.scenario-delivery { display: flex; justify-content: space-between; height: 1px; background: #a4bcdf; margin-bottom: 12px; }
.scenario-delivery i { width: 8px; height: 8px; margin-top: -4px; background: var(--sc-blue); border-radius: 50%; }
.scenario-art--notifications .scenario-phone__action { margin-top: 20px; }
.scenario-phone__field > p { font-size: 12px; padding: 10px; margin: 8px 20px 9px 0; background: #eaf0fa; border-radius: 6px; line-height: 1.4; }
.scenario-phone__field > p.scenario-reply { margin: 0 0 17px 20px; background: #dcebe8; }
html[lang="zh-CN"] .scenario-heading h2 { line-height: 1.15; }
html[lang="zh-CN"] .scenario-copy h3 { line-height: 1.2; }
@media (max-width: 1100px) {
  .scenario-heading h2 { font-size: 52px; }
  .scenario-heading > p { font-size: 14px; }
  .scenario-copy { padding-left: 28px; }
  .scenario-copy > p { min-height: 124px; }
  .scenario-stage { grid-template-rows: minmax(610px, auto) auto; }
  .scenario-art { min-height: 610px; }
  .scenario-phone { left: 30%; width: 245px; top: 85px; }
  .scenario-message { width: 240px; left: 0; top: 246px; }
  .scenario-event { left: 0; }
  .scenario-receipt { right: 4%; bottom: 40px; }
  .scenario-tabs button { font-size: 15px; }
}
@media (max-width: 760px) {
  .scenario-section { padding: 64px 0 56px; }
  .scenario-heading { display: block; margin-bottom: 26px; }
  .scenario-heading h2 { font-size: clamp(39px, 8.5vw, 58px); }
  .scenario-heading > p { margin-top: 20px; font-size: 14px; }
  .scenario-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
  .scenario-tabs button { font-size: 14px; padding: 15px 12px 15px 0; }
  .scenario-tabs button::after { right: 12px; }
  .scenario-stage { grid-template-rows: minmax(465px, auto) minmax(590px, auto) auto; }
  .scenario-panel { grid-template-columns: minmax(0, 1fr); }
  .scenario-copy { padding: 28px 24px 12px; min-height: 435px; }
  .scenario-copy h3 { font-size: 36px; }
  .scenario-copy > p { min-height: 0; max-width: 100%; font-size: 14px; }
  .scenario-copy ul { font-size: 13px; margin: 20px 0 24px; }
  .scenario-channels { margin-bottom: 14px; }
  .scenario-art { min-height: 535px; width: min(100%, 460px); justify-self: center; }
  .scenario-phone { width: 222px; height: 430px; top: 49px; left: auto; right: 26px; padding: 14px; }
  .scenario-phone__content { padding-top: 16px; }
  .scenario-phone h4 { font-size: 19px; }
  .scenario-phone__content > p { margin-bottom: 17px; }
  .scenario-phone__app { padding-bottom: 10px; }
  .scenario-digits { gap: 5px; margin-bottom: 18px; }
  .scenario-digits span { width: 37px; height: 40px; }
  .scenario-event { min-width: 205px; left: 20px; top: 24px; padding: 12px; }
  .scenario-message { left: 15px; top: 207px; width: 225px; padding: 16px; }
  .scenario-message__code { font-size: 29px; }
  .scenario-receipt { right: 16px; bottom: 40px; padding: 12px; }
  .scenario-art__note { right: 18px; bottom: 13px; font-size: 12px; }
  .scenario-flow { gap: 10px; padding: 20px; font-size: 12px; }
  .scenario-flow li { align-items: flex-start; flex-direction: column; gap: 8px; }
  .scenario-flow li > svg { display: none; }
  .scenario-campaign { height: 82px; }
}
@media (prefers-reduced-motion: reduce) { .scenario-tabs button, .scenario-tabs button::after { transition: none; } }
.scenario-tabs button svg { transform: none; }
.identity-art { background: #e7eef9; min-height: 590px; }
.identity-visual { position: absolute; top: 28px; left: 20px; right: 20px; height: 587px; transform: scale(.9); transform-origin: center top; }
.identity-source { position: absolute; top: 12px; left: 12px; width: 245px; padding: 22px 24px; background: #153ab0; color: #fff; border-radius: 14px; box-shadow: 0 16px 30px -22px #1c3675; }
.identity-source__brand { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 550; margin-bottom: 23px; }
.identity-source__brand img { width: 25px; height: 25px; }
.identity-source > small { color: #d0ddff; display: block; font-size: 12px; }
.identity-source > strong { display: block; font-size: 46px; font-weight: 500; letter-spacing: .16em; line-height: 1.2; margin: 8px 0 15px; font-variant-numeric: tabular-nums; }
.identity-source__sent { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #d0f4e8; }
.identity-source__sent svg { width: 16px; height: 16px; }
.identity-connection { position: absolute; top: 100px; left: 257px; right: 28px; height: 1px; background: #a4b8de; }
.identity-connection::after { content: ""; position: absolute; right: 0; top: 0; height: 60px; width: 1px; background: #a4b8de; }
.identity-connection span { display: block; position: absolute; width: 9px; height: 9px; top: -4px; left: 0; border-radius: 50%; background: #255ce5; }
.identity-login { position: absolute; top: 154px; right: 12px; width: min(350px, 80%); background: #fff; border-radius: 14px; box-shadow: 0 22px 40px -26px #6b81a7; }
.identity-login__bar { display: flex; align-items: center; gap: 9px; padding: 18px 22px; border-bottom: 1px solid #e5eaf2; font-size: 12px; }
.identity-login__symbol { display: grid; place-items: center; color: var(--sc-blue); width: 24px; height: 24px; background: #e9efff; border-radius: 6px; }
.identity-login__symbol svg { width: 16px; height: 16px; }
.identity-login__secure { margin-left: auto; color: #687c9c; }
.identity-login__body { padding: 24px; }
.identity-login h4 { font-size: 27px; font-weight: 550; letter-spacing: -.03em; line-height: 1.2; margin: 0 0 10px; }
.identity-login__body > p { font-size: 13px; line-height: 1.5; color: var(--sc-muted); margin: 0 0 22px; }
.identity-code { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 20px; }
.identity-code > span { display: grid; place-items: center; height: 58px; border-radius: 8px; background: #edf2fc; box-shadow: inset 0 -2px #b5c8ed; color: var(--sc-blue); }
.identity-code b { font-size: 30px; font-weight: 500; font-variant-numeric: tabular-nums; }
.identity-login__result { display: grid; align-items: center; min-height: 45px; border-radius: 7px; background: #e2f3ee; color: #216852; font-size: 13px; }
.identity-login__result > span { grid-area: 1 / 1; padding: 12px 9px; text-align: center; }
.identity-login__waiting { opacity: 0; }
.identity-login__success { display: flex; align-items: center; justify-content: center; gap: 7px; }
.identity-login__success svg { width: 17px; height: 17px; }
.identity-login__body > small { display: block; margin-top: 15px; color: var(--sc-muted); font-size: 12px; text-align: center; }
.identity-confirmation { position: absolute; bottom: 7px; left: 12px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #10294d; color: white; border-radius: 10px; z-index: 2; }
.identity-confirmation > span { display: grid; place-items: center; width: 32px; height: 32px; background: #adedd7; color: #164f3e; border-radius: 50%; }
.identity-confirmation strong, .identity-confirmation small { display: block; }
.identity-confirmation strong { font-size: 13px; font-weight: 550; margin-bottom: 4px; }
.identity-confirmation small { font-size: 12px; color: #c8d7ec; }
.identity-visual.is-playing .identity-connection span { animation: identity-deliver 1.4s 1 both; }
.identity-visual.is-playing .identity-source__sent { animation: identity-arrive 1.4s 1 both; }
.identity-visual.is-playing .identity-code b { animation: identity-digit .4s calc(1.5s + var(--digit) * .3s) both; }
.identity-visual.is-playing .identity-login__waiting { animation: identity-wait 3.2s both; }
.identity-visual.is-playing .identity-login__success { animation: identity-arrive .45s 3.2s both; }
.identity-visual.is-playing .identity-confirmation { animation: identity-arrive .5s 3.7s both; }
.scenario-section.is-paused .identity-visual.is-playing * { animation-play-state: paused; }
@keyframes identity-deliver { from { left: 0; } to { left: calc(100% - 9px); } }
@keyframes identity-digit { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes identity-arrive { from { opacity: 0; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
@keyframes identity-wait { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .identity-art { min-height: 640px; }
  .identity-visual { inset-inline: 10px; height: 667px; transform: scale(.86); }
  .identity-source { width: 215px; padding: 20px; }
  .identity-connection { left: 227px; }
  .identity-source__brand { margin-bottom: 12px; }
  .identity-source > strong { font-size: 40px; }
  .identity-login { width: 300px; top: 210px; }
  .identity-login__body { padding: 20px; }
  .identity-confirmation { bottom: 0; }
}
@media (max-width: 760px) {
  .identity-visual { top: 10px; left: 14px; right: 14px; height: 602px; }
  .identity-source { top: 12px; left: 0; width: 200px; padding: 18px; }
  .identity-source__brand { margin-bottom: 12px; font-size: 13px; }
  .identity-source > strong { font-size: 36px; margin-block: 5px 9px; }
  .identity-connection { left: 200px; top: 65px; right: 8px; }
  .identity-login { top: 177px; right: 0; width: min(290px, 100%); }
  .identity-login__bar { padding: 12px 16px; }
  .identity-login__body { padding: 18px; }
  .identity-login h4 { font-size: 23px; }
  .identity-login__body > p { margin-bottom: 14px; }
  .identity-code { margin-bottom: 14px; }
  .identity-code > span { height: 45px; }
  .identity-code b { font-size: 26px; }
  .identity-login__body > small { margin-top: 10px; }
  .identity-confirmation { left: 0; bottom: 10px; padding: 12px 15px; }
  .identity-art { min-height: 590px; }
}
@media (prefers-reduced-motion: reduce) { .identity-visual.is-playing * { animation: none !important; } }
.scene-art { background: #e8eef8; min-height: 590px; }
.scenario-scene { position: absolute; top: 30px; left: 20px; right: 20px; width: calc(100% - 40px); max-width: 480px; margin: auto; transform: scale(.9); transform-origin: center top; }
.scenario-scene small { font-size: 12px; line-height: 1.5; }
.scenario-scene p { font-size: 14px; line-height: 1.5; margin: 0; }
.scenario-scene h4 { margin: 0; font-size: 30px; font-weight: 550; line-height: 1.12; letter-spacing: -.03em; }
.campaign-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campaign-poster { display: grid; grid-template-columns: 45% 55%; grid-column: 1 / -1; border-radius: 14px; overflow: hidden; background: #f7e7d1; }
.campaign-poster > img { width: 100%; height: 240px; object-fit: cover; }
.campaign-poster > div { padding: 25px 20px; }
.campaign-poster > div > span { display: block; font-size: 12px; margin-bottom: 24px; color: #735439; }
.campaign-poster p { color: #6b5039; margin-top: 14px; }
.campaign-message { grid-column: 1 / -1; background: white; border-radius: 12px; padding: 20px; box-shadow: 0 15px 28px -23px #6b81a7; }
.scene-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.scene-brand > img { width: 22px; height: 22px; }
.scene-brand > strong { font-size: 13px; font-weight: 550; }
.scene-brand > span { margin-left: auto; color: #216852; font-size: 12px; }
.campaign-message__action { display: flex; justify-content: space-between; padding: 12px 0 0; margin-top: 12px; border-top: 1px solid #e2e8f2; font-size: 13px; color: var(--sc-blue); }
.campaign-read { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: #216852; margin-top: 8px; }
.campaign-read svg { width: 15px; height: 15px; }
.campaign-response { grid-column: 1 / -1; justify-self: end; padding: 14px 20px; border-radius: 12px 12px 3px 12px; background: #255ce5; color: white; font-size: 14px; }
.campaign-response > span { display: block; font-size: 12px; color: #dbe6ff; margin-top: 5px; }
.scene-art--marketing { background: #f0eee9; }
.delivery-tracking { background: #fff; border-radius: 14px; padding: 26px 28px; }
.delivery-tracking__header { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-bottom: 26px; color: var(--sc-muted); }
.delivery-tracking__live { color: #216852; }
.delivery-timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.delivery-timeline li { position: relative; display: flex; gap: 17px; padding-bottom: 28px; }
.delivery-timeline li:last-child { padding-bottom: 0; }
.delivery-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 27px; bottom: 0; width: 2px; background: #d6e3f7; transform-origin: top; }
.delivery-timeline li > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; background: #e8f0fc; border-radius: 50%; color: var(--sc-blue); }
.delivery-timeline li svg { width: 17px; height: 17px; }
.delivery-timeline strong { display: block; font-size: 14px; font-weight: 550; margin-bottom: 4px; }
.delivery-timeline small { color: var(--sc-muted); display: block; }
.delivery-timeline .delivery-timeline__current { background: #255ce5; box-shadow: inset 0 0 0 9px #dbe7fc; }
.delivery-notice { margin: 18px 0 0 30px; padding: 18px; display: flex; align-items: flex-start; gap: 13px; background: #10294d; border-radius: 12px; color: white; }
.delivery-notice__icon { display: grid; place-items: center; width: 33px; height: 33px; flex-shrink: 0; color: #bbd5ff; background: #28466e; border-radius: 8px; }
.delivery-notice strong { display: block; font-size: 14px; font-weight: 550; margin-bottom: 7px; }
.delivery-notice p { font-size: 13px; color: #d3dfef; }
.delivery-notice small { display: flex; align-items: center; gap: 5px; margin-top: 10px; color: #aee6cf; }
.delivery-notice small svg { width: 15px; height: 15px; }
.scene-art--care { background: #e4edea; }
.care-conversation { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 32px -24px #6b81a7; }
.care-conversation__header { display: flex; align-items: center; gap: 12px; padding: 20px; background: #10294d; color: white; }
.care-avatar { display: grid; place-items: center; width: 38px; height: 38px; background: #31547e; border-radius: 50%; font-size: 13px; }
.care-conversation__header strong { font-size: 14px; font-weight: 550; }
.care-conversation__header small { display: flex; align-items: center; gap: 6px; color: #cfe3de; margin-top: 4px; }
.care-conversation__header i { width: 5px; height: 5px; border-radius: 50%; background: #aee6cf; }
.care-conversation__header > span:last-child { margin-left: auto; font-size: 12px; color: #cfe3de; }
.care-conversation__body { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.care-conversation__today { align-self: center; color: var(--sc-muted); }
.care-question, .care-thanks { align-self: flex-start; width: 80%; background: #eef2f7; padding: 14px 16px; border-radius: 12px 12px 12px 3px; }
.care-question small { display: block; margin-top: 9px; color: var(--sc-muted); }
.care-answer { align-self: flex-end; width: 83%; background: #255ce5; color: white; padding: 14px 16px; border-radius: 12px 12px 3px 12px; }
.care-answer small { display: flex; justify-content: flex-end; align-items: center; gap: 5px; color: #e3ebff; margin-top: 9px; }
.care-answer svg { width: 15px; height: 15px; }
.care-typing { display: flex; align-items: center; justify-content: center; gap: 5px; width: 52px; height: 28px; align-self: flex-end; margin-block: -8px; }
.care-typing i { width: 5px; height: 5px; border-radius: 50%; background: #65837d; }
.care-composer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-top: 1px solid #e4ebe8; color: var(--sc-muted); font-size: 12px; }
.care-composer svg { color: #216852; }
.care-resolution { display: flex; align-items: center; gap: 12px; padding: 18px 5px; }
.care-resolution > span { display: grid; place-items: center; width: 31px; height: 31px; background: #c6e6d7; color: #216852; border-radius: 50%; flex-shrink: 0; }
.care-resolution strong { font-size: 13px; font-weight: 550; display: block; margin-bottom: 4px; }
.care-resolution small { color: var(--sc-muted); }
.is-playing .campaign-poster { animation: scene-settle .65s both; }
.is-playing .campaign-message { animation: scene-arrive .5s .9s both; }
.is-playing .campaign-read { animation: scene-arrive .35s 2.1s both; }
.is-playing .campaign-response { animation: scene-arrive .45s 3.1s both; }
.is-playing .delivery-timeline li:nth-child(2) { animation: scene-arrive .5s .8s both; }
.is-playing .delivery-timeline li:nth-child(3) { animation: scene-arrive .5s 1.6s both; }
.is-playing .delivery-timeline li::after { animation: delivery-connect 1s .3s both; }
.is-playing .delivery-notice { animation: scene-arrive .5s 2.5s both; }
.is-playing .care-question { animation: scene-arrive .45s .2s both; }
.is-playing .care-typing { animation: care-typing-window 2.3s both; }
.is-playing .care-typing i { animation: care-dot .6s .6s 3 alternate; }
.is-playing .care-typing i:nth-child(2) { animation-delay: .75s; }
.is-playing .care-typing i:nth-child(3) { animation-delay: .9s; }
.is-playing .care-answer { animation: scene-arrive .45s 2.3s both; }
.is-playing .care-thanks { animation: scene-arrive .45s 3.4s both; }
.is-playing .care-resolution { animation: scene-arrive .5s 4.2s both; }
.care-typing { opacity: 0; }
.scenario-section.is-paused .scenario-scene.is-playing * { animation-play-state: paused; }
@keyframes scene-arrive { from { opacity: 0; translate: 0 9px; } to { opacity: 1; translate: 0 0; } }
@keyframes scene-settle { from { transform: scale(.97); } to { transform: scale(1); } }
@keyframes delivery-connect { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes care-typing-window { 0%, 100% { opacity: 0; } 20%, 90% { opacity: 1; } }
@keyframes care-dot { to { transform: translateY(-3px); } }
@media (max-width: 1100px) and (min-width: 761px) {
  .scenario-scene { left: 12px; right: 12px; width: calc(100% - 24px); transform: scale(.86); }
}
@media (max-width: 760px) {
  .scenario-scene { top: 18px; left: 6px; right: 6px; width: calc(100% - 12px); }
  .campaign-poster { grid-template-columns: 42% 58%; }
  .campaign-poster > img { height: 220px; }
  .campaign-poster > div { padding: 20px 15px; }
  .campaign-poster > div > span { margin-bottom: 20px; }
  .scenario-scene h4 { font-size: 26px; }
  .campaign-message { padding: 18px; }
  .delivery-tracking { padding: 22px 18px; }
  .delivery-tracking__header { gap: 8px; }
  .delivery-timeline li { gap: 12px; padding-bottom: 24px; }
  .delivery-timeline li:last-child { padding-bottom: 0; }
  .delivery-notice { margin-left: 0; padding: 16px; gap: 10px; }
  .care-conversation__header { padding: 17px 14px; gap: 9px; }
  .care-conversation__header > span:last-child { display: none; }
  .care-conversation__body { padding: 15px 14px 20px; gap: 14px; }
  .care-question, .care-answer { width: 90%; padding: 12px; }
  .care-thanks { padding: 12px; }
  .care-resolution { gap: 9px; }
  .care-resolution strong { line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) { .scenario-scene.is-playing * { animation: none !important; } }
@media (max-width: 760px) {
  .scenario-tabs button { font-size: 14px; gap: 8px; }
  .scenario-tabs button svg { width: 19px; height: 19px; }
  .scenario-copy { min-height: 465px; }
  .scenario-message { width: 235px; }
  .scenario-art__note { left: 18px; right: 18px; text-align: center; line-height: 1.4; }
}

/* Inset the scene by one column on either side of the shared 12-column grid.
   Keep the section heading on the page grid and restore full width below desktop. */
@media (min-width: 1200px) {
  .scenario-navigation,
  .scenario-stage { margin-inline: calc((100% + 24px) / 12); }
  .scenario-tabs button { font-size: 15px; gap: 8px; }
  .scenario-copy { padding: 48px 24px 40px 40px; }
  .scenario-copy h3 { font-size: 36px; }
  .scenario-copy > p { font-size: 14px; }
  .scenario-copy ul { font-size: 13px; }
  .scenario-link { font-size: 15px; padding-inline: 24px; }
  .scenario-scene { top: 42px; transform: scale(.84); }
  .identity-visual { top: 40px; transform: scale(.84); }
}

/* Let copy establish its own rhythm instead of stretching the CTA to the floor. */
.scenario-copy > p { min-height: 0; }
.scenario-copy__bottom { margin-top: 8px; }
@media (min-width: 761px) {
  .scenario-stage { grid-template-rows: minmax(520px, auto) auto; }
  .scenario-art { min-height: 520px; }
  .identity-visual { height: 520px; }
  .scenario-copy { padding-block: 36px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .scenario-stage { grid-template-rows: minmax(570px, auto) auto; }
  .scenario-art { min-height: 570px; }
  .identity-visual { height: 570px; }
}
@media (max-width: 760px) {
  .scenario-stage { grid-template-rows: auto minmax(590px, auto) auto; }
  .scenario-copy { min-height: 0; padding-bottom: 28px; }
}

@media (min-width: 1101px) {
  .care-visual { transform: scale(.76); }
}

@media (max-width: 760px) {
  .scenario-stage { grid-template-rows: auto minmax(610px, auto) auto; }
}

/* Product-specific details within the shared scenario frames. */
.campaign-poster { position: relative; }
.scenario-channel-mark { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 6px; background: #fff; color: #147d8f; font-size: 12px; font-weight: 600; }
.scenario-email__header { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #e3e7ef; font-size: 12px; color: #7954b9; }
.scenario-email__meta { margin: 14px 0 20px; color: #65738b; font-size: 12px; overflow-wrap: anywhere; }
.scenario-email > p:not(.scenario-email__meta) { margin-top: 14px; color: #52627a; }
.scenario-email__order { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 20px; padding: 14px; border-radius: 8px; background: #f5f3fa; font-size: 13px; }
.scenario-email__action { display: inline-block; margin-top: 18px; color: #7954b9; font-size: 13px; }
