/* 13 · Coming soon, night: a desk with the laptop and a buyer's phone. */
.ks.soon { --sky1: #172743; --sky2: #0C1B2E; }

/* the room behind the desk */
.ks .so-wall { background: linear-gradient(180deg, #172743, #0C1B2E); }
.ks .so-window {
  position: absolute; top: 90px; inset-inline-end: 6%; width: 220px; height: 260px; border-radius: 110px 110px 10px 10px;
  background: radial-gradient(circle at 70% 30%, rgba(255,240,200,.35) 0 6%, transparent 7%), linear-gradient(#0E2140, #1B3157);
  box-shadow: inset 0 0 0 8px #233757, 0 0 0 2px rgba(255,255,255,.04);
}
.ks .so-window::after { content: ""; position: absolute; inset: 8px 50% 8px auto; width: 4px; margin-inline-end: -2px; background: #233757; }
.ks .so-shelf { display: none; position: absolute; top: 330px; inset-inline-start: 4%; width: 200px; height: 10px; border-radius: 4px; background: #233757; box-shadow: 30px -38px 0 -2px #2C4268, 64px -30px 0 -1px #3A5583, 104px -44px 0 -3px #2C4268; }

/* copy column */
.ks .so-copy { position: absolute; inset-inline-start: 96px; top: 140px; width: 490px; z-index: 3; }
.ks .so-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 99px; background: rgba(255,207,122,.14); color: #FFD58A; font-size: 14px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255,207,122,.3); }
.ks .so-chip i { width: 8px; height: 8px; border-radius: 50%; background: #FFCF7A; box-shadow: 0 0 10px #FFCF7A; animation: k-blink 1.8s ease-in-out infinite; }
.ks .so-h2 { max-width: 13em; }
.ks .so-lead { max-width: 30em; }
.ks .so-tabs { display: inline-flex; gap: 4px; margin-top: 30px; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.07); }
.ks .so-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px; background: none; color: #C9DCE2; font-size: 15px; font-weight: 800; transition: background .3s, color .3s; }
.ks .so-tab.on { background: #fff; color: #0F1D22; }
.ks .so-pro { font-size: 11px; font-weight: 900; letter-spacing: .04em; padding: 3px 7px; border-radius: 7px; color: #3A2A05; background: linear-gradient(135deg, #FFE08A, #E8A93A); }
.ks .so-facts { max-width: 28em; }

/* the stage, to the end side of the copy */
.ks .so-stage { position: absolute; z-index: 2; top: 150px; inset-inline-end: 20px; width: 900px; height: 680px; }
.ks .so-desk { position: absolute; inset-inline: -80px 0; bottom: 30px; height: 200px; }
.ks .so-desk-top { position: absolute; inset: 0 0 26px; background: linear-gradient(180deg, #5A3A26, #3E2718 90%); clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }
.ks[dir="rtl"] .so-desk-top { clip-path: polygon(0 0, 91% 0, 100% 100%, 0 100%); }
.ks .so-desk-edge { position: absolute; inset: auto 0 0; height: 26px; background: linear-gradient(#2E1C11, #24160D); }

.ks .so-lamp { position: absolute; bottom: 196px; inset-inline-end: 34px; width: 140px; height: 300px; }
.ks .so-lamp-base { position: absolute; bottom: 0; inset-inline-end: 30px; width: 70px; height: 14px; border-radius: 50% 50% 6px 6px; background: #1F2C3D; }
.ks .so-lamp-arm { position: absolute; bottom: 10px; inset-inline-end: 62px; width: 6px; height: 230px; border-radius: 3px; background: #2B3A50; transform: rotate(-12deg); transform-origin: bottom; }
.ks[dir="rtl"] .so-lamp-arm { transform: rotate(12deg); }
.ks .so-lamp-head { position: absolute; top: 40px; inset-inline-end: 66px; width: 86px; height: 48px; border-radius: 48px 48px 8px 8px; background: #E9A93A; transform: rotate(-24deg); box-shadow: inset 0 -6px 0 rgba(0,0,0,.15); }
.ks[dir="rtl"] .so-lamp-head { transform: rotate(24deg); }
.ks .so-lamp-cone { position: absolute; top: 76px; inset-inline-end: 40px; width: 520px; height: 420px; background: radial-gradient(ellipse at 85% 0%, rgba(255,214,140,.30), rgba(255,214,140,0) 62%); pointer-events: none; }
.ks[dir="rtl"] .so-lamp-cone { background: radial-gradient(ellipse at 15% 0%, rgba(255,214,140,.30), rgba(255,214,140,0) 62%); }

.ks .so-tea { position: absolute; bottom: 104px; inset-inline-start: 610px; width: 60px; height: 60px; }
.ks .so-glass { position: absolute; bottom: 6px; left: 18px; width: 24px; height: 34px; border-radius: 4px 4px 8px 8px; background: linear-gradient(#C24A2F, #8A2E1C); clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%); }
.ks .so-saucer { position: absolute; bottom: 0; left: 6px; width: 48px; height: 9px; border-radius: 50%; background: #E9EEF1; }
.ks .so-steam { position: absolute; bottom: 44px; left: 24px; width: 10px; height: 26px; border-inline-start: 2px solid rgba(255,255,255,.5); border-radius: 50%; animation: he-steam 3s ease-in-out infinite; }

/* laptop: the lid opens when the section arrives */
.ks .so-laptop { position: absolute; bottom: 150px; inset-inline-start: 70px; width: 690px; perspective: 1800px; transition: transform .8s var(--spring), filter .6s; }
.ks .so-lid { position: relative; width: 640px; height: 412px; margin: 0 auto; padding: 14px; border-radius: 18px 18px 4px 4px; background: linear-gradient(#2B3743, #1A232C); transform-origin: 50% 100%; animation: so-open 1.6s .3s var(--ease) both; box-shadow: 0 0 80px rgba(150,200,255,.12); }
.ks .so-screen { position: relative; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: #F4FAFB; }
.ks .so-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.ks .so-base { position: relative; width: 690px; height: 18px; border-radius: 2px 2px 14px 14px; background: linear-gradient(#C9D2DA, #8E9AA6); box-shadow: 0 18px 30px rgba(0,0,0,.45); }
.ks .so-pad { position: absolute; top: 0; left: 50%; width: 90px; height: 6px; margin-left: -45px; border-radius: 0 0 6px 6px; background: #A4AFBA; }
.ks .so-toast {
  position: absolute; top: 14px; inset-inline-start: 160px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: #fff; box-shadow: 0 10px 30px rgba(10,25,41,.25); color: #0F1D22; transform: translateY(-120%); opacity: 0; transition: transform .6s var(--spring), opacity .3s;
}
.ks[dir="rtl"] .so-toast { padding: 10px 10px 10px 14px; }
.ks .so-toast img { width: 30px; height: 30px; padding: 5px; border-radius: 9px; background: #E0F6FA; }
.ks .so-toast > span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.3; }
.ks .so-toast > span > b { font-size: 13px; }
.ks .so-toast > span > span { color: #4A6275; }
.ks .so-toast i { font-style: normal; font-size: 13px; font-weight: 900; color: #229954; margin-inline-start: 6px; }
.ks.so-arrived .so-toast { transform: none; opacity: 1; }

/* the buyer's phone on its stand: a shorter screen that fits the store page render (312 x 501) */
.ks .so-phone-wrap { position: absolute; bottom: 164px; inset-inline-end: 0px; width: 230px; transition: transform .8s var(--spring), filter .6s; }
.ks .so-stand { position: absolute; bottom: -22px; left: 50%; width: 150px; height: 40px; margin-left: -75px; border-radius: 10px; background: linear-gradient(#3A4656, #222C38); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.ks .so-phone.phone { --pz: .64; width: 336px; height: 619px; border-radius: 54px; transform: rotate(4deg); }
.ks[dir="rtl"] .so-phone.phone { transform: rotate(-4deg); }
.ks .so-phone .phone-scr { width: 312px; height: 595px; border-radius: 42px; background: #fff; }
.ks .so-phone .phone-isl { width: 92px; height: 26px; margin-left: -46px; }
.ks .so-store { position: absolute; inset: 0; }
.ks .so-bar { position: absolute; top: 44px; left: 0; right: 0; height: 50px; display: flex; align-items: center; justify-content: center; gap: 6px; background: #F2F4F6; color: #3A4A58; font-size: 14px; font-weight: 700; border-bottom: 1px solid #E1E6EA; }
.ks .so-bar svg { width: 14px; height: 14px; }
.ks .so-page { position: absolute; top: 94px; left: 0; width: 312px; height: 501px; }
.ks .so-look { position: absolute; inset: 0; width: 312px; height: 501px; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.ks .so-look.on { opacity: 1; transform: none; }
.ks .so-order { position: absolute; left: 10px; right: 10px; top: 520px; height: 54px; border: 0; border-radius: 27px; background: transparent; cursor: pointer; }
.ks .so-order:focus-visible { outline: 3px solid #0BBAD8; }
.ks .so-fly { position: absolute; top: 260px; inset-inline-start: 120px; width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.3); opacity: 0; pointer-events: none; }
.ks.so-flying .so-fly { animation: so-fly 1.2s var(--ease) both; }
.ks[dir="rtl"].so-flying .so-fly { animation-name: so-fly-rtl; }

/* focus: the chosen device steps forward */
.ks.so-f-desk .so-laptop { transform: translateY(-10px) scale(1.04); }
.ks.so-f-desk .so-phone-wrap { filter: brightness(.6) saturate(.8); }
.ks.so-f-store .so-phone-wrap { transform: translateY(-12px) scale(1.04); }
.ks.so-f-store .so-laptop { filter: brightness(.72) saturate(.85); }

.ks .so-looks-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 26px; }
.ks .so-looks-k { font-size: 14px; font-weight: 700; color: #9FB6BF; }
.ks .so-looks { display: inline-flex; gap: 4px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.07); }
.ks .so-lk { min-height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: #C9DCE2; font-size: 14px; font-weight: 800; }
.ks .so-lk.on { background: #0BBAD8; color: #04242B; }

@keyframes so-open { from { transform: rotateX(-92deg); filter: brightness(.3) } 60% { transform: rotateX(4deg) } to { transform: rotateX(-4deg); filter: none } }
@keyframes so-fly { 0% { opacity: 0; transform: translate(0, 0) scale(.6) } 15% { opacity: 1; transform: translate(-20px, -40px) scale(1) } 85% { opacity: 1; transform: translate(-300px, -120px) scale(.9) } 100% { opacity: 0; transform: translate(-330px, -110px) scale(.5) } }
@keyframes so-fly-rtl { 0% { opacity: 0; transform: translate(0, 0) scale(.6) } 15% { opacity: 1; transform: translate(20px, -40px) scale(1) } 85% { opacity: 1; transform: translate(300px, -120px) scale(.9) } 100% { opacity: 0; transform: translate(330px, -110px) scale(.5) } }

/* narrow screens: the copy, then the stage scaled to the width */
html.kp-narrow .ks.soon .kframe { padding: 88px 20px 40px; }
html.kp-narrow .ks .so-copy { position: relative; inset: auto; width: auto; }
html.kp-narrow .ks .so-stage { position: relative; inset: auto; zoom: var(--kfit, .4); margin-top: 24px; }
html.kp-narrow .ks .so-window { display: none; }
html.kp-narrow .ks .so-tabs { display: flex; }
html.kp-narrow .ks .so-tab { flex: 1; justify-content: center; padding: 0 10px; font-size: 14px; }
.ks .so-copy > * { max-width: 490px; }
.ks .so-copy > .so-h2 { font-size: 50px; }
.ks .so-tab { white-space: nowrap; }
html.kp-narrow .ks .so-copy > .so-h2 { font-size: 36px; }

/* phones (round 5): both tabs fit the width; a long name wraps inside its tab */
html.kp-narrow .ks .so-tab { flex: 1 1 0; min-width: 0; white-space: normal; text-align: center; line-height: 1.25; padding: 8px 10px; flex-wrap: wrap; gap: 4px 6px; }
