/* Scroll enhancement: document order and native scrolling stay intact. */
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1002; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.motion-enabled .reveal-pending { opacity: 0; translate: 0 28px; }
.motion-enabled .reveal-ready { transition: opacity 650ms ease var(--reveal-delay, 0ms), translate 750ms cubic-bezier(.2,.65,.25,1) var(--reveal-delay, 0ms); }
.motion-enabled .reveal-ready:not(.reveal-pending) { opacity: 1; translate: 0 0; }
.motion-enabled .home-hero .connection-visual__globe { transform: translate3d(0, var(--globe-shift, 0px), 0) rotate(var(--globe-turn, 0deg)) scale(var(--globe-scale, 1)); transform-origin: 50% 52%; }
.motion-enabled .home-hero .route-label--china { transform: translate3d(0, var(--label-shift, 0px), 0); }
.motion-enabled .home-hero .route-label--korea { transform: translate3d(0, var(--label-reverse, 0px), 0); }
.motion-enabled .home-hero .connection-security { transform: translate3d(0, var(--badge-shift, 0px), 0); }
.site-nav > a[aria-current="location"] { color: var(--blue); background: var(--blue-soft); }

/* Each sentence has its own scene. Native document scrolling drives the sequence. */
.immersive-service .visually-hidden,
.service-story.is-immersive .story-chapter > .story-copy { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#service.immersive-service { padding: 0; background: #f7f8fb; }
.service-story { --story-offset: 78px; --story-screen: calc(100svh - var(--story-offset)); position: relative; }
.story-stage { display: none; }
.story-chapters { padding-block: 50px; }
.story-chapter { position: relative; display: grid; place-items: center; min-height: 440px; padding: 70px 0; text-align: center; }
.story-chapter + .story-chapter { border-top: 1px solid var(--line); }
.story-copy { max-width: 760px; }
.story-copy__eyebrow { display: block; margin-bottom: 24px; color: #6e7e9a; font-size: 15px; font-weight: 600; letter-spacing: .025em; }
.story-copy h3 { margin: 0 0 26px; color: var(--text); font-size: clamp(44px, 4.9vw, 72px); line-height: 1.18; font-weight: 750; letter-spacing: -.065em; }
.story-copy h3 > span { color: var(--blue); }
.story-copy p { margin: 0; color: #68768b; font-size: 20px; line-height: 1.8; }
.story-copy small { display: block; max-width: 450px; margin-top: 18px; color: #758096; font-size: 14px; line-height: 1.65; }
.story-chapter .story-copy small { margin-inline: auto; }
.service-story.is-immersive { display: grid; }
.service-story.is-immersive .story-stage { grid-area: 1 / 1; display: flex; flex-direction: column; position: sticky; top: var(--story-offset); align-self: start; height: var(--story-screen); min-width: 0; z-index: 1; background: radial-gradient(ellipse at 75% 50%, #e9efff 0%, #f7f8fb 57%); overflow: clip; }
.service-story.is-immersive .story-chapters { grid-area: 1 / 1; padding: 0; pointer-events: none; }
.service-story.is-immersive .story-chapter { display: block; min-height: 0; height: calc(var(--story-screen) * 1.08); padding: 0; border: 0; }
.story-stage__top { display: flex; align-items: center; justify-content: space-between; flex: none; gap: 20px; min-height: 80px; }
.story-stage__brand { color: #6e7e9a; font-size: 13px; letter-spacing: .14em; font-weight: 650; }
.story-stage__top > a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #53698e; font-size: 16px; }
.story-stage__top > a:hover { color: var(--blue); }
.story-screen { position: relative; flex: 1; min-height: 0; }
.story-slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; transform: translateY(55px) scale(.975); pointer-events: none; transition: opacity 180ms ease, transform 450ms ease; will-change: opacity, transform; }
.story-slide__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; gap: 24px; }
.story-slide__copy { min-width: 0; }
.service-story[data-active-step="0"] [data-story-slide="0"],
.service-story[data-active-step="1"] [data-story-slide="1"],
.service-story[data-active-step="2"] [data-story-slide="2"] { opacity: 1; transform: none; transition: opacity 450ms ease 180ms, transform 750ms cubic-bezier(.2,.65,.2,1) 180ms; }
.story-slide.is-past { transform: translateY(-55px) scale(1.02); }
.story-art { position: relative; width: 100%; height: 360px; }
.story-stage__bottom { display: flex; align-items: center; justify-content: space-between; flex: none; min-height: 90px; gap: 24px; padding-right: 130px; }
.story-scroll-cue { display: inline-flex; align-items: center; gap: 18px; color: #7b87a0; font-size: 14px; }
.story-scroll-cue > span { color: var(--blue); font-size: 24px; }
.story-stage__pagination { display: flex; align-items: center; gap: 20px; }
.story-stage__count { color: #96a1b3; font-size: 14px; font-variant-numeric: tabular-nums; }
.story-stage__count b { color: var(--blue); font-weight: 650; }
.story-stage__progress { width: 110px; height: 3px; overflow: hidden; background: #dfe6f4; border-radius: 3px; }
.story-stage__progress i { display: block; width: 100%; height: 100%; transform: scaleX(var(--story-progress, .33333)); transform-origin: left; background: var(--blue); transition: transform 650ms ease; }
.story-browser { position: absolute; width: 65%; top: 35px; left: 17.5%; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #dbe3f4; box-shadow: 0 22px 35px rgba(42,72,139,.09); transform: rotate(-4deg); }
.story-browser__bar { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; }
.story-browser__bar > span { display: flex; gap: 4px; }
.story-browser__bar i { width: 5px; height: 5px; border-radius: 50%; background: #d1dbef; }
.story-browser__bar small { color: #7989a6; font-size: 12px; }
.story-video { position: relative; height: 137px; overflow: hidden; border-radius: 8px; background: #e4ecff; }
.story-video__sun { position: absolute; top: 20px; left: 30px; width: 32px; height: 32px; border-radius: 50%; background: #f7fcff; }
.story-video__hill { position: absolute; width: 210px; height: 140px; bottom: -98px; left: -22px; border-radius: 50% 50% 0 0; background: #7c9ded; transform: rotate(20deg); }
.story-video__hill--back { left: 90px; bottom: -80px; background: #b3c8f7; transform: rotate(-20deg); }
.story-video__play { position: absolute; top: 43px; left: calc(50% - 23px); display: grid; place-items: center; width: 46px; height: 46px; color: #fff; background: var(--blue); border: 5px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 13px; text-indent: 2px; box-shadow: 0 7px 18px rgba(40,85,232,.22); }
.story-browser__lines { display: grid; gap: 7px; padding: 14px 2px 3px; }
.story-browser__lines i { height: 5px; width: 75%; background: #e4eaf6; border-radius: 3px; }
.story-browser__lines i:last-child { width: 45%; }
.story-app { position: absolute; display: flex; align-items: center; gap: 9px; padding: 12px 16px; background: #fff; border: 1px solid #e2e8f4; border-radius: 13px; color: #687a9d; box-shadow: 0 12px 35px rgba(54,79,130,.09); font-size: 14px; }
.story-app--search { left: 6%; top: 90px; transform: rotate(-7deg); }
.story-app--search strong { color: var(--blue); font-size: 25px; font-weight: 650; }
.story-app--chat { right: 6%; top: 200px; transform: rotate(6deg); }
.story-app--chat strong { color: #765d1e; background: #fff0a6; border-radius: 7px; padding: 5px 8px; font-size: 14px; }
.story-network__hub { position: absolute; top: 38px; left: calc(50% - 72px); display: grid; justify-items: center; gap: 8px; width: 144px; color: #5d74a1; font-size: 14px; }
.story-network__hub svg { width: 65px; height: 65px; padding: 14px; border-radius: 20px; color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(40,85,232,.18); }
.story-network__lines { position: absolute; top: 155px; left: 17%; right: 17%; height: 37px; display: flex; justify-content: space-between; border: 1.5px solid #98b2f7; border-bottom: 0; border-radius: 10px 10px 0 0; }
.story-network__lines::before { position: absolute; content: ""; height: 22px; top: -22px; left: 50%; border-left: 1.5px solid #98b2f7; }
.story-network__lines i:nth-child(2) { height: 100%; margin: auto; border-left: 1.5px solid #98b2f7; }
.story-network__servers { position: absolute; top: 192px; left: 6%; right: 6%; display: flex; justify-content: space-around; gap: 12px; }
.story-network__servers > span { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 78px; padding: 15px 18px; border: 1px solid #c4d4fb; border-radius: 12px; background: #fff; color: var(--blue); }
.story-network__servers i { width: 6px; height: 6px; border-radius: 50%; background: #5c8cf3; box-shadow: 0 0 0 4px #eff4ff; }
.story-network__servers strong { font-size: 21px; font-weight: 650; }
.story-clock { position: absolute; top: 38px; left: calc(50% - 89px); display: grid; place-items: center; width: 178px; height: 178px; border: 1px solid #d5dff5; border-radius: 50%; background: #fff; box-shadow: 0 20px 45px rgba(40,65,110,.08); }
.story-clock__orbit { position: absolute; inset: 11px; border: 3px solid #e8eefc; border-top-color: var(--blue); border-right-color: var(--blue); border-radius: 50%; transform: rotate(-45deg); }
.story-clock__pause { display: flex; gap: 13px; }
.story-clock__pause i { width: 11px; height: 39px; border-radius: 4px; background: var(--blue); }
.story-clock__dot { position: absolute; top: 10px; left: 50%; width: 9px; height: 9px; background: var(--blue); border: 2px solid #fff; border-radius: 50%; }
.story-pause-label { position: absolute; top: 235px; left: 50%; transform: translateX(-50%); width: max-content; border-radius: 30px; padding: 7px 18px; color: #5b739f; background: #fff; border: 1px solid #dbe4f9; font-size: 14px; }

/* Larger illustrations accompany the copy without competing with it. */
.story-browser { top: 38px; left: 9%; width: 82%; padding: 18px; }
.story-video { height: 160px; }
.story-video__play { top: 54px; }
.story-app--search { top: 103px; left: 0; }
.story-app--chat { top: 230px; right: 0; }
.story-network__orbit { position: absolute; width: 275px; height: 275px; top: 8px; left: calc(50% - 137.5px); border: 1px solid #d8e3fc; border-radius: 50%; box-shadow: 0 0 0 32px #edf2ff; }
.story-network__hub { top: 38px; }
.story-network__hub svg { width: 78px; height: 78px; border-radius: 24px; }
.story-network__lines { top: 177px; height: 38px; }
.story-network__servers { top: 215px; left: 0; right: 0; }
.story-network__servers > span { min-width: 90px; padding: 18px 22px; }
.story-clock { width: 228px; height: 228px; top: 25px; left: calc(50% - 114px); }
.story-clock__orbit { inset: 16px; border-width: 4px; }
.story-clock__pause i { width: 14px; height: 52px; }
.story-pause-label { top: 281px; font-size: 16px; }
@media (max-width: 1100px) {
  .story-slide__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .story-copy h3 { font-size: clamp(40px, 4.9vw, 54px); }
  .story-copy p { font-size: 18px; }
  .story-network__servers > span { min-width: 70px; padding-inline: 15px; }
}
@media (max-width: 900px) {
  .service-story { --story-offset: 68px; }
  .story-stage__top { min-height: 70px; }
  .story-stage__bottom { min-height: 80px; }
  .story-copy h3 { font-size: 42px; }
  .story-copy p br { display: none; }
}
@media (max-width: 760px) {
  .story-slide__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; text-align: center; }
  .story-slide__copy { max-width: 580px; }
  .story-copy__eyebrow { margin-bottom: 16px; font-size: 14px; }
  .story-copy h3 { font-size: clamp(32px, 9.4vw, 56px); margin-bottom: 19px; }
  .story-copy p { font-size: 17px; line-height: 1.75; }
  .story-copy small { margin: 14px auto 0; max-width: 360px; }
  .story-art { width: 280px; height: 180px; }
  .story-browser { top: 3px; left: 15%; width: 70%; padding: 10px; border-radius: 12px; }
  .story-browser__bar { padding-bottom: 8px; }
  .story-browser__bar small { font-size: 10px; }
  .story-video { height: 89px; }
  .story-video__play { top: 25px; width: 36px; height: 36px; left: calc(50% - 18px); }
  .story-browser__lines { padding-top: 9px; gap: 4px; }
  .story-browser__lines i { height: 4px; }
  .story-app { padding: 7px 11px; border-radius: 10px; }
  .story-app--search { top: 45px; }
  .story-app--chat { top: 111px; }
  .story-network__orbit { width: 150px; height: 150px; top: 0; left: calc(50% - 75px); box-shadow: 0 0 0 20px #edf2ff; }
  .story-network__hub { top: 0; gap: 5px; font-size: 12px; }
  .story-network__hub svg { width: 49px; height: 49px; padding: 9px; border-radius: 15px; }
  .story-network__lines { top: 94px; height: 20px; }
  .story-network__lines::before { top: -13px; height: 13px; }
  .story-network__servers { top: 114px; }
  .story-network__servers > span { padding: 10px 15px; min-width: 75px; }
  .story-network__servers strong { font-size: 19px; }
  .story-clock { top: 0; width: 126px; height: 126px; left: calc(50% - 63px); }
  .story-clock__orbit { inset: 9px; border-width: 3px; }
  .story-clock__pause { gap: 9px; }
  .story-clock__pause i { width: 8px; height: 31px; }
  .story-pause-label { top: 139px; font-size: 14px; padding: 5px 15px; }
  .story-stage__top { gap: 12px; }
  .story-stage__top > a { font-size: 14px; }
  .story-stage__brand { font-size: 11px; letter-spacing: .09em; }
  .story-stage__bottom { min-height: 64px; padding-right: 0; }
  .story-scroll-cue { gap: 9px; font-size: 13px; }
  .story-stage__pagination { gap: 10px; }
  .story-stage__progress { width: 50px; }
}
@media (max-width: 640px) {
  /* Reserve space for the persistent trial CTA and the support launcher. */
  .service-story.is-immersive .story-stage { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .story-stage__bottom { padding-right: 58px; }
  .story-stage__progress { width: 36px; }
  .story-stage__pagination { gap: 8px; }
  .story-copy small { font-size: 13px; }
  .story-chapter { min-height: 400px; padding-block: 55px; }
}
@media (max-width: 380px) {
  .story-slide__inner { gap: 16px; }
  .story-stage__progress { display: none; }
  .story-scroll-cue { font-size: 12px; }
  .story-copy p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .reading-progress span { transition: none; }
  .motion-enabled .reveal-pending { opacity: 1; translate: none; }
  .motion-enabled .reveal-ready { transition: none; }
  .motion-enabled .home-hero .connection-visual__globe,
  .motion-enabled .home-hero .route-label,
  .motion-enabled .home-hero .connection-security { transform: none; }
}
@media (prefers-reduced-motion: reduce), (max-height: 699px), print {
  .service-story.is-immersive { display: block; }
  .service-story.is-immersive .story-stage { display: none; }
  .service-story.is-immersive .story-chapters { padding-block: 30px; pointer-events: auto; }
  .service-story.is-immersive .story-chapter { display: grid; height: auto; min-height: 400px; padding: 55px 0; }
  .service-story.is-immersive .story-chapter > .story-copy { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; }
}
@media print {
  .reading-progress { display: none; }
  .motion-enabled .reveal-pending { opacity: 1; translate: none; }
}
