/* SABAii — หน้าแนะนำ 0.8 (แนวเดียวกับ fastwork.com/selling)
   พื้นขาวสะอาด + รูปถ่ายจริงขนาดใหญ่ · ส่วนมืด (กรมท่าเข้ม) สลับขาว · การเปลี่ยนส่วนเป็นแผ่นเลื่อนทับกัน
   การเคลื่อนไหวความลึกแบบ 0.6 ยังอยู่: .fc (ระยะ Z จาก JS) > .fl (ลอยเบา ๆ) > .card (เข้าฉาก + เอียงประจำใบ) */
:root {
  --bg: #FFFFFF; --ink: #0B1B4D; --sub: #5E6B85; --mute: #A3ACBF; --blue: #0A6CF1; --red: #E2453A; --card: #FFFFFF;
  --night: #0A1233; --night2: #121C45; --line: rgba(11, 27, 77, .08); --surface: #F1F4F9;
  --f-display: "Anuphan", "Noto Sans Thai Looped", system-ui, sans-serif;
  --f-ui: "Inter", "Anuphan", "Thonburi", "Leelawadee UI", Tahoma, sans-serif;
  --f-hand: "Mali", "Anuphan", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 26px 50px -24px rgba(11, 27, 77, .42), 0 2px 6px rgba(11, 27, 77, .06);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: clip; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h2 { font: 600 clamp(32px, 5vw, 56px)/1.2 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.sub { color: var(--sub); font-size: clamp(16px, 1.6vw, 19px); max-width: 34em; }
.red { color: var(--red) !important; }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px var(--f-display); white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn:active { transform: scale(.97); }
.btn.dark { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 12px 24px -12px rgba(11, 27, 77, .6); }
.btn.dark:hover { background: #142a6b; }
.btn.ghost { background: #fff; border: 1px solid rgba(11, 27, 77, .14); }
.btn.ghost:hover { border-color: rgba(11, 27, 77, .3); }
.btn.light { background: #fff; color: var(--ink); }
.btn.line { border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.btn.line:hover { background: rgba(255, 255, 255, .08); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- หัวเว็บ: เม็ดยาลอย · เปลี่ยนเป็นมืดเมื่ออยู่บนส่วนมืด ---------- */
.top { position: fixed; z-index: 30; top: calc(12px + env(safe-area-inset-top, 0px)); left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
.top-in { pointer-events: auto; width: min(1100px, 100%); height: 56px; display: flex; align-items: center; gap: 22px; padding: 0 9px 0 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0); transition: background .4s, box-shadow .4s, color .4s, width .5s var(--ease); }
.top.solid .top-in { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 27, 77, .35); width: min(760px, 100%); }
.top.on-dark .top-in { background: rgba(18, 28, 69, .72); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 10px 30px -18px rgba(0, 0, 0, .6); }
.top.on-dark .btn.dark { background: #fff; color: var(--ink); }
.logo { display: flex; align-items: center; gap: 9px; font: 800 18px var(--f-ui); letter-spacing: -.02em; }
.logo img { border-radius: 8px; }
.logo b { color: var(--blue); }
.top.on-dark .logo b { color: #7FB0FF; }
.links { display: flex; gap: 22px; margin-left: auto; font: 500 14.5px var(--f-display); color: var(--sub); }
.top.on-dark .links { color: rgba(255, 255, 255, .7); }
.links a:hover { color: inherit; opacity: .8; }

/* ================= 1 · HERO ================= */
.hero { position: relative; min-height: max(100svh, 780px); display: grid; place-items: center; overflow: clip; padding: 110px 0 120px; perspective: 1100px; perspective-origin: 50% 42%; background: #fff; }
.hero-in { position: relative; z-index: 3; max-width: 820px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 20px; will-change: transform, opacity; }
.hero h1 { font: 600 clamp(42px, 6.6vw, 84px)/1.14 var(--f-display); letter-spacing: -.03em; }
.hero h1 .ln { display: block; white-space: nowrap; }
/* คำที่เปลี่ยน: สลายเป็นจุดสามจุด แล้วจุดรวมตัวเป็นคำใหม่ */
.morph { position: relative; display: inline-flex; justify-content: center; vertical-align: baseline; margin: 0 .22em; transition: width .6s var(--ease); }
.mw { display: inline-block; white-space: nowrap; background: linear-gradient(100deg, var(--c1, #0A6CF1), var(--c2, #7C4DFF)); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .35s, filter .45s, transform .5s var(--ease); padding: 0 .04em; }
.mdots { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .16em; pointer-events: none; }
.mdots i { width: .13em; height: .13em; border-radius: 50%; background: var(--c1, var(--blue)); opacity: 0; transform: scale(.2); transition: opacity .25s, transform .35s var(--ease); }
.morph.melt .mw { opacity: 0; filter: blur(14px); transform: scale(.35, .7); }
.morph.melt .mdots i { opacity: 1; transform: scale(1); animation: mdot .6s ease-in-out infinite alternate; }
.morph.melt .mdots i:nth-child(2) { animation-delay: .15s; } .morph.melt .mdots i:nth-child(3) { animation-delay: .3s; }
@keyframes mdot { to { transform: translateY(-.18em) scale(.8); } }
.morph.form .mw { transition: none; opacity: 0; filter: blur(14px); transform: scale(1.35, 1.1); }
.mmeas { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; padding: 0 .04em; pointer-events: none; }
.lead { color: var(--sub); font: 400 clamp(16.5px, 1.6vw, 19px)/1.65 var(--f-display); max-width: 30em; text-wrap: balance; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.scroll { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; font: 500 13px var(--f-display); color: var(--sub); }
.scroll svg { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* การ์ดรูปถ่ายจริง (แบบการ์ดผลงานของ Fastwork) */
.cards { position: absolute; inset: 0; z-index: 2; pointer-events: none; transform-style: preserve-3d; will-change: transform; }
.fc { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z, 1); will-change: transform, opacity; transform-style: preserve-3d; }
.fl { animation: float var(--fd, 8s) ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s); }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 35% { transform: translate3d(3px, var(--amp, -10px), 0); } 70% { transform: translate3d(-2px, calc(var(--amp, -10px) * .4), 0); } }
.card { background: var(--card); border-radius: 18px; font-family: var(--f-ui); line-height: 1.4; }
.card.pc { position: relative; padding: 7px 7px 0; rotate: var(--r, 0deg); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 27, 77, .06), 0 calc(14px + 16px * var(--d, 1)) calc(28px + 26px * var(--d, 1)) calc(-16px - 8px * var(--d, 1)) rgba(11, 27, 77, calc(.22 + .12 * var(--d, 1))); }
.card.pc img { width: 100%; aspect-ratio: var(--ar, 4 / 5); object-fit: cover; border-radius: 12px; background: var(--surface); }
.card.pc figcaption { display: flex; align-items: center; gap: 9px; padding: 9px 4px 11px; }
.card.pc figcaption span:last-child { min-width: 0; }
.card.pc b { display: block; font: 600 13.5px/1.3 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.pc small { display: block; font: 500 11.5px/1.3 var(--f-display); color: var(--sub); white-space: nowrap; }
/* แสงสะท้อนจากทิศเดียวกันทุกใบ ขยับตามการหมุนของฉาก */
.card.pc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(140% 90% at var(--lx, 50%) var(--ly, 8%), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 46%); mix-blend-mode: soft-light; }
.bdg { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 9.5px var(--f-display); color: var(--c); background: color-mix(in srgb, var(--c) 15%, #fff); box-shadow: 0 0 0 2px #fff, 0 0 0 3px color-mix(in srgb, var(--c) 30%, #fff); }
/* ตำแหน่ง (จอคอม) — ซ้าย 4 ใบ ขวา 4 ใบ ล้นขอบเล็กน้อยเหมือนวางกองบนโต๊ะ */
.k1 { --x: 2.5%; --y: -3%; --w: 196px; --ar: 4 / 4.6; }
.k2 { --x: 11%; --y: 21%; --w: 168px; --ar: 1; --fd: 9s; --amp: -8px; }
.k3 { --x: -2.5%; --y: 40%; --w: 214px; --ar: 4 / 3.4; --z: 2; }
.k4 { --x: 6%; --y: 67%; --w: 226px; --ar: 4 / 4.4; --fd: 7.5s; }
.k5 { --x: calc(97% - 200px); --y: -4%; --w: 200px; --ar: 4 / 4.4; --fd: 8.5s; }
.k6 { --x: calc(89% - 168px); --y: 23%; --w: 168px; --ar: 1; --fd: 7s; --amp: -12px; }
.k7 { --x: calc(102% - 220px); --y: 42%; --w: 220px; --ar: 4 / 3.3; --z: 2; --fd: 9.5s; }
.k8 { --x: calc(93% - 214px); --y: 68%; --w: 214px; --ar: 4 / 4.2; }

/* ================= 2 · คำโปรย ================= */
.say { padding: 150px 20px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.say-h { font-size: clamp(34px, 5.4vw, 64px); }
.wpill { display: inline-flex; align-items: center; gap: .14em; height: .92em; padding: 0 .3em 0 .22em; border-radius: 999px; vertical-align: -.1em; background: var(--ink); margin: 0 .06em; box-shadow: 0 .2em .4em -.2em rgba(11, 27, 77, .6); }
.wpill .dot { width: .2em; height: .2em; border-radius: 50%; background: #FF5B52; box-shadow: 0 0 0 .07em rgba(255, 91, 82, .3); animation: rec 1.2s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }
.wpill .wave { display: flex; align-items: center; gap: .05em; height: .5em; }
.wpill .wave i { width: .06em; height: 30%; border-radius: .05em; background: #fff; animation: wave 1s ease-in-out infinite alternate; }
.wpill .wave i:nth-child(2n) { animation-delay: -.35s; } .wpill .wave i:nth-child(3n) { animation-delay: -.7s; animation-duration: .8s; }
@keyframes wave { to { height: 100%; } }

/* ================= 2 · STORY (ติดจอ) ================= */
.story { position: relative; height: 340vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  padding: 70px max(24px, env(safe-area-inset-right, 0px)) 20px max(24px, env(safe-area-inset-left, 0px)); }
.steps { display: flex; flex-direction: column; gap: 22px; max-width: 460px; }
.steps ol { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.steps li { padding: 14px 0 14px 22px; border-left: 3px solid var(--line); opacity: .38; transition: opacity .5s, border-color .5s; }
.steps li b { display: block; font: 700 clamp(22px, 2.6vw, 30px)/1.25 var(--f-display); letter-spacing: -.01em; }
.steps li span { display: block; color: var(--sub); font-size: 16px; margin-top: 4px; }
.pin[data-step="0"] li[data-s="0"], .pin[data-step="1"] li[data-s="1"], .pin[data-step="2"] li[data-s="2"] { opacity: 1; border-color: var(--blue); }
.sbar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sbar i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.stage { position: relative; height: 100%; display: grid; place-items: center; }
.phone { position: relative; width: 300px; height: 620px; border-radius: 50px; background: #0B1B4D; padding: 11px; will-change: transform;
  box-shadow: 0 50px 90px -40px rgba(11, 27, 77, .65), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: perspective(1400px) rotateY(-8deg) rotateX(5deg); }
.phone::before { content: ""; position: absolute; z-index: 5; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #0B1B4D; }
.scr { position: absolute; inset: 11px; border-radius: 40px; background: #fff; overflow: hidden; padding: 62px 18px 18px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(22px) scale(.98); transition: opacity .55s var(--ease), transform .65s var(--ease); font-size: 13px; line-height: 1.45; }
.pin[data-step="0"] .s0, .pin[data-step="1"] .s1, .pin[data-step="2"] .s2 { opacity: 1; transform: none; }
.seg { display: flex; background: var(--surface); border-radius: 12px; padding: 3px; font-size: 12px; font-weight: 600; }
.seg span { flex: 1; text-align: center; padding: 7px 0; border-radius: 9px; color: var(--sub); }
.seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.micbig { position: relative; height: 150px; display: grid; place-items: center; }
.micbig span { position: relative; z-index: 2; width: 74px; height: 74px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(10, 108, 241, .7); }
.micbig span svg { width: 32px; height: 32px; }
.micbig i { position: absolute; width: 74px; height: 74px; border-radius: 50%; border: 2px solid rgba(10, 108, 241, .35); animation: ring 2.2s var(--ease) infinite; }
.micbig i + i { animation-delay: 1.1s; }
@keyframes ring { to { transform: scale(2); opacity: 0; } }
.lstat { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--blue); }
.quote { background: var(--surface); border-radius: 16px; padding: 12px 14px; color: #33406A; font-size: 13px; }
.quote mark { background: #FFF2A8; color: inherit; border-radius: 3px; padding: 0 2px; }
.pbtn { margin-top: auto; height: 46px; border-radius: 16px; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
.pbtn.dark { background: var(--ink); }
.ph-h { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.ph-h.big { font-size: 22px; line-height: 1.25; margin-bottom: 4px; }
.ph-sub { font-size: 12px; color: var(--sub); font-weight: 600; margin-bottom: -4px; }
.qchips { display: flex; gap: 6px; }
.qchips span { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--surface); font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; }
.qchips .on { background: var(--ink); color: #fff; }
.prow { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 16px; padding: 11px 12px; }
.prow > div { flex: 1; min-width: 0; }
.prow b { display: block; font-size: 13.5px; } .prow small { display: block; font-size: 12px; color: var(--sub); font-weight: 600; } .prow small.r { color: var(--red); }
.prow em { display: block; font-style: normal; font-size: 11.5px; color: #8590A8; margin-top: 3px; }
.ok { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: none; }
.pin[data-step="1"] .s1 .prow { animation: slidein .7s var(--ease) both; }
.pin[data-step="1"] .s1 .prow + .prow { animation-delay: .15s; }
@keyframes slidein { from { opacity: 0; transform: translateX(26px); } }
.ph-brand { display: flex; justify-content: space-between; align-items: center; }
.ph-brand b { font-size: 17px; font-weight: 800; } .ph-brand i { font-style: normal; color: var(--blue); }
.av { width: 30px; height: 30px; border-radius: 50%; background: #E7F0FE; color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.trow { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.trow > div { flex: 1; min-width: 0; }
.trow b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow small { font-size: 12px; color: var(--sub); } .trow em { font-style: normal; color: var(--red); font-weight: 600; }
.trow .go { height: 32px; font-size: 12px; padding: 0 11px; }
.trow .go.doing { background: #E7F0FE; color: var(--blue); font-variant-numeric: tabular-nums; }
.pin[data-step="2"] .s2 .trow { animation: slidein .7s var(--ease) both; }
.pin[data-step="2"] .s2 .trow:nth-of-type(3) { animation-delay: .1s; } .pin[data-step="2"] .s2 .trow:nth-of-type(4) { animation-delay: .2s; }
.ph-nav { margin-top: auto; align-self: center; display: flex; gap: 4px; background: #fff; border-radius: 18px; padding: 5px; box-shadow: 0 6px 20px rgba(21, 35, 61, .14); font-size: 11.5px; font-weight: 600; color: var(--sub); }
.ph-nav span { padding: 8px 14px; border-radius: 13px; } .ph-nav .on { background: var(--surface); color: var(--ink); }
.float-chip { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; white-space: nowrap; opacity: 0; scale: .85; transition: opacity .5s, scale .6s var(--ease); will-change: transform; }
.float-chip svg { width: 17px; height: 17px; color: var(--blue); }
.float-chip .q { font: 800 26px/1 var(--f-display); color: var(--blue); margin-top: 8px; }
.fcp1 { left: calc(50% - 290px); top: 26%; } .fcp2 { right: calc(50% - 300px); top: 20%; } .fcp3 { left: calc(50% - 300px); top: 60%; } .fcp4 { right: calc(50% - 280px); top: 64%; }
.pin[data-step="0"] .fcp1, .pin[data-step="1"] .fcp2, .pin[data-step="1"] .fcp3, .pin[data-step="2"] .fcp4 { opacity: 1; scale: 1; }


/* ---------- สายพาน ---------- */
.belt { display: flex; gap: 20px; width: max-content; padding: 14px 20px 30px; will-change: transform; }
.nc { position: relative; flex: none; width: 230px; height: 290px; border-radius: 14px; overflow: hidden; box-shadow: 0 22px 40px -22px rgba(11, 27, 77, .45), 0 1px 3px rgba(11, 27, 77, .1); }
.nc .ntag { position: absolute; left: 10px; bottom: 10px; font: 600 11px var(--f-ui); background: rgba(22, 24, 29, .7); color: #fff; border-radius: 8px; padding: 3px 9px; }
.nc.photo img { width: 100%; height: 100%; object-fit: cover; }
.nc.board { background: radial-gradient(120% 90% at 40% 30%, #3D5A48, #23362B); color: #F1F3EE; font: 600 19px/1.6 var(--f-hand); padding: 30px 22px; }
.nc.board em { font-style: normal; color: #FFD36E; }
.nc.sticky { background: #FFE98A; color: #20304F; font: 600 19px/1.55 var(--f-hand); padding: 26px 22px; }
.nc.sticky.blue { background: #CFE3FF; }
.nc.sheet { background: #fff; color: #2B3240; padding: 18px 20px; display: flex; flex-direction: column; font-size: 13px; }
.nc.sheet b { font-size: 13px; border-bottom: 2px solid #16181D; padding-bottom: 6px; margin-bottom: 4px; }
.nc.sheet .ln2 { line-height: 2.1; border-bottom: 1px solid #D6E4F5; }
.nc.sheet mark { background: #FFF2A8; }
.belt.styles figure { flex: none; width: 176px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.belt.styles img { width: 100%; aspect-ratio: 440 / 951; object-fit: cover; border-radius: 24px; border: 5px solid #fff; box-shadow: 0 26px 46px -24px rgba(11, 27, 77, .5); background: var(--surface); }
.belt.styles figcaption { font-weight: 700; font-size: 14.5px; }


/* ---------- STORY แบบรายการของ Fastwork: ขั้นที่ทำอยู่ตัวใหญ่สีเข้ม ขั้นอื่นจาง ---------- */
.story { height: 320vh; }
.pin { padding-top: 90px; }
.steps ol { gap: 4px; }
.steps li { border: 0; padding: 10px 0; opacity: 1; color: var(--mute); transition: color .5s; }
.steps li b { font: 600 clamp(26px, 3.2vw, 40px)/1.2 var(--f-display); letter-spacing: -.02em; transition: transform .6s var(--ease); transform-origin: left center; transform: scale(.82); }
.steps li span { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s, margin .5s; margin-top: 0; font-family: var(--f-display); }
.pin[data-step="0"] li[data-s="0"], .pin[data-step="1"] li[data-s="1"], .pin[data-step="2"] li[data-s="2"] { color: var(--ink); }
.pin[data-step="0"] li[data-s="0"] b, .pin[data-step="1"] li[data-s="1"] b, .pin[data-step="2"] li[data-s="2"] b { transform: none; }
.pin[data-step="0"] li[data-s="0"] span, .pin[data-step="1"] li[data-s="1"] span, .pin[data-step="2"] li[data-s="2"] span { max-height: 6em; opacity: 1; margin-top: 8px; }
.sbar { max-width: 320px; }
.phone { box-shadow: 0 60px 100px -40px rgba(11, 27, 77, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.stage::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 108, 241, .14), transparent); filter: blur(10px); }
.go { height: 34px; padding: 0 13px; border-radius: 11px; background: var(--blue); color: #fff; font: 600 13px var(--f-display); display: inline-grid; place-items: center; flex: none; }
.mono { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--blue); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex: none; box-shadow: 0 0 0 0 rgba(10, 108, 241, .45); animation: pulse 1.6s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(10, 108, 241, 0); } 100% { box-shadow: 0 0 0 0 rgba(10, 108, 241, 0); } }
.trow .bdg, .mtask .bdg { width: 30px; height: 30px; border-radius: 10px; box-shadow: none; }

/* ================= 3 · ปัญหา (มืด) ================= */
.pain { position: relative; background: var(--night); color: #fff; margin-top: 40px; }
.pain-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-top: calc(110px + env(safe-area-inset-top, 0px)); will-change: transform, opacity; transform-origin: 50% 0; }
.pain-pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 60%, rgba(10, 108, 241, .22), transparent 70%); pointer-events: none; }
.pain-head { position: relative; z-index: 2; text-align: center; text-shadow: 0 2px 20px rgba(10, 18, 51, .8); }
.pain-head h2 { font-size: clamp(32px, 4.6vw, 56px); }
.pain-head p { color: rgba(255, 255, 255, .6); font: 400 clamp(16px, 1.6vw, 19px) var(--f-display); margin-top: 6px; }
.pile { position: relative; flex: 1; width: min(1000px, 100%); }
.pn { position: absolute; left: 50%; top: 60%; width: clamp(150px, 19vw, 230px); aspect-ratio: 1; margin: calc(clamp(150px, 19vw, 230px) / -2) 0 0 calc(clamp(150px, 19vw, 230px) / -2); padding: 22px 20px;
  background: var(--c); color: #1D2333; font: 500 clamp(16px, 1.7vw, 21px)/1.45 var(--f-hand); border-radius: 3px;
  box-shadow: 0 30px 40px -24px rgba(0, 0, 0, .7), 0 2px 0 rgba(255, 255, 255, .4) inset;
  transform: translate(var(--x), var(--y)) rotate(var(--r)); will-change: transform, opacity; }
.pn::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; background: linear-gradient(135deg, rgba(0, 0, 0, .12) 50%, rgba(255, 255, 255, .5) 50%); }
.pain-space { height: 110vh; }

/* แผ่นขาวที่เลื่อนขึ้นมาทับ */
.relief { position: relative; z-index: 2; background: #fff; color: var(--ink); border-radius: 36px 36px 0 0; margin-top: -10vh; padding: 110px 0 40px; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .5); }
.rel-h { text-align: center; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.3; }
.rel-h > span { display: block; }
.rel-h .g { color: var(--mute); font-weight: 500; }
.uline { position: relative; display: inline-block; }
.uline svg { position: absolute; left: -4%; bottom: -.22em; width: 108%; height: .4em; overflow: visible; }
.uline path { stroke: var(--ink); stroke-width: 3.5; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.2s .5s var(--ease); }
.rel-h.in .uline path, .no-anim .uline path { stroke-dashoffset: 0; }
.rows { margin-top: 90px; display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.txt h3 { font: 500 clamp(24px, 2.8vw, 34px)/1.3 var(--f-display); letter-spacing: -.015em; color: var(--sub); }
.txt h3 b { font-weight: 600; color: var(--ink); }
.txt p { margin-top: 12px; color: var(--sub); font: 400 16.5px/1.65 var(--f-display); max-width: 28em; }
.vis { position: relative; min-height: 170px; display: flex; align-items: center; gap: 14px; }
.arrow { width: 110px; height: 64px; flex: none; color: var(--ink); }
.arrow path { stroke-width: 2.4; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset .9s .2s var(--ease); }
.row.in .arrow path, .no-anim .arrow path { stroke-dashoffset: 0; }
.bubble { display: flex; gap: 10px; align-items: flex-start; max-width: 270px; }
.bubble .who { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 12px var(--f-display); }
.said { background: var(--surface); border-radius: 4px 18px 18px 18px; padding: 10px 14px; font: 500 14.5px/1.5 var(--f-display); min-height: 44px; }
.said::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--blue); vertical-align: -.15em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.said.done::after { display: none; }
.gets { display: flex; flex-direction: column; gap: 8px; }
.typer { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.tin { min-height: 58px; border-radius: 18px; background: var(--surface); padding: 0 18px; display: flex; align-items: center; font: 500 17px var(--f-display); overflow: hidden; white-space: nowrap; }
.caret { width: 2px; height: 22px; background: var(--blue); margin-left: 2px; animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.tout { display: flex; gap: 8px; flex-wrap: wrap; min-height: 38px; }
.tc { height: 36px; padding: 0 15px; border-radius: 18px; display: inline-flex; align-items: center; font: 600 14px var(--f-display); background: color-mix(in srgb, var(--c, #0B1B4D) 12%, #fff); color: var(--c, var(--ink));
  opacity: 0; transform: translateY(10px) scale(.92); transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; }
.tc.dark { background: var(--ink); color: #fff; } .tc.ghost { background: var(--surface); color: var(--sub); font-weight: 500; }
.typer.done .tc, .talk.done .tc { opacity: 1; transform: none; }
.typer.done .tc:nth-child(2), .talk.done .tc:nth-child(2) { transition-delay: .14s; } .typer.done .tc:nth-child(3) { transition-delay: .28s; }
.polar { flex: none; width: 150px; background: #fff; padding: 8px 8px 0; border-radius: 6px; rotate: -4deg; box-shadow: 0 20px 34px -18px rgba(11, 27, 77, .5), 0 0 0 1px var(--line); }
.polar img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polar figcaption { font: 500 13px/2.4 var(--f-hand); text-align: center; color: var(--sub); }
.mtask { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mtask b { display: block; font: 600 14.5px var(--f-display); } .mtask small { display: block; font: 500 12px var(--f-display); color: var(--blue); }

/* สายพานโน้ต (อยู่ในแผ่นขาว) */
.notes { padding: 90px 0 110px; overflow-x: clip; }
.notes .head { text-align: center; margin-bottom: 44px; }
.head2 { text-align: center; margin: 64px auto 24px; }
.head2 h3 { font: 600 clamp(22px, 2.6vw, 30px)/1.3 var(--f-display); }
.nc { border-radius: 16px; }

/* ================= 4 · จุดเด่น (มืด) ================= */
.feat { background: var(--night); color: #fff; padding: 140px max(20px, env(safe-area-inset-right, 0px)) 120px max(20px, env(safe-area-inset-left, 0px)); overflow: clip; }
.feat-h { text-align: center; font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 90px; }
.flist { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 70px; }
.fx { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; will-change: transform, opacity; }
.fx.alt .fcard { order: 2; }
.fcard { position: relative; aspect-ratio: 5 / 4; border-radius: 30px; overflow: hidden; display: grid; place-items: center; padding: 30px; isolation: isolate; }
.fcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); pointer-events: none; }
.g1 { background: radial-gradient(80% 80% at 20% 10%, #FFF3C4, transparent 60%), radial-gradient(70% 80% at 90% 90%, #B9E3FF, transparent 60%), linear-gradient(135deg, #E8F1FF, #D7F5EC); }
.g2 { background: radial-gradient(80% 80% at 80% 10%, #FFD9E8, transparent 60%), radial-gradient(70% 80% at 10% 90%, #D7D0FF, transparent 60%), linear-gradient(135deg, #F3EDFF, #FFEFF5); }
.g3 { background: radial-gradient(80% 80% at 10% 10%, #D9F7E5, transparent 60%), radial-gradient(70% 80% at 90% 90%, #FFE2C9, transparent 60%), linear-gradient(135deg, #EEFBF4, #FFF4EA); }
.g4 { background: radial-gradient(80% 80% at 90% 10%, #CFE3FF, transparent 60%), radial-gradient(70% 80% at 10% 90%, #E6F0FF, transparent 60%), linear-gradient(135deg, #EAF2FF, #F2F6FF); }
.mini { width: min(340px, 100%); background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -28px rgba(11, 27, 77, .45); font-family: var(--f-display); }
.mh { font: 600 17px var(--f-display); margin-bottom: 6px; }
.mini .trow { padding: 7px 0; }
.mini .trow .go { height: 30px; font-size: 12px; padding: 0 10px; }
.timer { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { stroke: var(--surface); stroke-width: 9; }
.ring circle.on { stroke: var(--blue); stroke-dasharray: 327; stroke-dashoffset: 120; animation: ring 6s linear infinite; }
@keyframes ring { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 40; } }
.ring b { font-size: 32px; letter-spacing: -.02em; }
.timer p { color: var(--sub); font-size: 14px; }
.timer .pbtn { width: 100%; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; display: grid; place-items: center; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; margin-top: 8px; }
.days i { font-style: normal; font-size: 11.5px; color: var(--mute); padding-bottom: 4px; }
.days span { position: relative; height: 38px; display: grid; place-items: center; border-radius: 12px; font: 600 14px var(--f-ui); }
.days .now { background: var(--ink); color: #fff; }
.days .dot::after { content: ""; position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.days .dot.r::after { background: var(--red); }
.legend { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--sub); }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); } .legend i.r { background: var(--red); } .legend i + * { margin-right: 6px; }
.offrow { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.offrow b { flex: 1; font-size: 14.5px; font-weight: 600; }
.plane { width: 32px; height: 32px; border-radius: 10px; background: #FF9F0A; color: #fff; display: grid; place-items: center; } .plane svg { width: 18px; height: 18px; stroke-width: 1.8; }
.tog { width: 46px; height: 28px; border-radius: 14px; background: #34C759; position: relative; } .tog::after { content: ""; position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.trow.done b { text-decoration: line-through; color: var(--sub); }
.ok { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: none; }
.lockline { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.lockline svg { width: 16px; height: 16px; color: var(--blue); }
.ftxt h3 { font: 500 clamp(28px, 3.4vw, 42px)/1.25 var(--f-display); letter-spacing: -.02em; }
.gw { font-weight: 600; background: linear-gradient(95deg, #FFB347, #FF6B8B 45%, #8B7BFF 80%, #5AA9FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftxt p { margin-top: 14px; color: rgba(255, 255, 255, .62); font: 400 17px/1.65 var(--f-display); max-width: 26em; }

/* ================= 5 · ปิดท้าย ================= */
.final { background: var(--night); padding: 0 12px 12px; }
.frame { position: relative; overflow: hidden; border-radius: 28px; min-height: calc(100svh - 12px); display: flex; flex-direction: column; color: #fff; background: #0E1638; isolation: isolate; }
.mosaic { position: absolute; inset: -6%; z-index: -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; opacity: .3; filter: blur(3px) saturate(.9); transform: rotate(-4deg) scale(1.08); }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 50%, rgba(10, 18, 51, .55), rgba(10, 18, 51, .92)); }
.fin { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 120px 20px 60px; }
.fin h2 { font-size: clamp(40px, 6.6vw, 80px); line-height: 1.15; }
.fin p { color: rgba(255, 255, 255, .7); font: 400 clamp(16px, 1.6vw, 19px) var(--f-display); }
.foot { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; font: 400 13px var(--f-display); color: rgba(255, 255, 255, .55);
  padding: 20px 26px calc(20px + env(safe-area-inset-bottom, 0px)); }
.foot .credit a { text-decoration: underline; }

/* ---------- ปุ่มลอยล่างจอ ---------- */
.dock { position: fixed; z-index: 35; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -16px rgba(11, 27, 77, .45);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; white-space: nowrap; }
.dock.show { transform: translate(-50%, 0); opacity: 1; }
.dock .dots { display: flex; } .dock .dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2px solid #fff; margin-left: -7px; } .dock .dots i:first-child { margin-left: 0; }
.dk-t { font: 500 13.5px var(--f-display); color: var(--sub); }

/* จอสัมผัส: ไม่ใช้ backdrop-filter (ต้องเบลอฉากที่ขยับอยู่ข้างหลังใหม่ทุกเฟรม → เลื่อนกระตุก) ใช้พื้นทึบขึ้นแทน */
@media (pointer: coarse) {
  .top.solid .top-in { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .96); }
  .top.on-dark .top-in { background: rgba(18, 28, 69, .95); }
  .dock { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .handbtn { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .97); }
}

/* ================= เข้าฉาก ================= */
/* ไม่ใช้ filter: blur ตอนเผย — เบลอต้องวาดใหม่ทุกเฟรม ทำให้มือถือกระตุกตอนเลื่อน */
.anim .rv { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.anim .rv.in { opacity: 1; transform: none; }
.anim .hero .card.pc { animation: pop 1.2s var(--ease) both; animation-delay: calc(.25s + var(--i) * 85ms); }
@keyframes pop { from { opacity: 0; transform: translate3d(0, 60px, 0) scale(.82); filter: blur(10px); } }
.anim .hero-in > * { animation: rise 1.1s var(--ease) both; }
.anim .hero-in > :nth-child(2) { animation-delay: .12s; } .anim .hero-in > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(8px); } }

/* จอมือถือ: ขั้นก่อนหน้าเลื่อนขึ้นไป ขั้นถัดไปโผล่จากล่าง (ตามทิศที่เลื่อน) + ชัดลึก */
.scr { transition: opacity .55s var(--ease), transform .7s var(--ease); }
.pin[data-step="1"] .s0, .pin[data-step="2"] .s0, .pin[data-step="2"] .s1 { transform: translateY(-26px) scale(.98); }


/* เข้าแอป: วงขาวขยายจากปุ่ม (สีเดียวกับพื้นแบบสอบถาม) */
.portal { position: fixed; inset: 0; z-index: 100; background: #fff; pointer-events: none; clip-path: circle(0px at var(--cx) var(--cy)); transition: clip-path .64s cubic-bezier(.7, 0, .25, 1); }
.portal.open { clip-path: circle(150vmax at var(--cx) var(--cy)); }
.leaving main { opacity: .55; transition: opacity .5s; }
.leaving .app-link { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .scr { filter: none; } }

/* ================= โหมดโบกมือ ================= */
.handbtn { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 24px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  font: 700 14px var(--f-ui); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(11, 27, 77, .45); cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s; }
.handbtn svg { width: 20px; height: 20px; color: var(--blue); transform-origin: 70% 90%; }
.anim .handbtn svg { animation: handwave 2.8s ease-in-out 2s infinite; }
@keyframes handwave { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(16deg); } 76% { transform: rotate(-10deg); } 84% { transform: rotate(12deg); } 92% { transform: rotate(-4deg); } }
.handbtn:active { transform: scale(.96); }
.handbtn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.handbtn[aria-pressed="true"] svg { color: #fff; animation: none; }
.hb { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; animation: hbin .45s var(--ease) both; }
.hb.out { opacity: 0; transform: scale(.85); transition: opacity .2s, transform .25s; }
@keyframes hbin { from { opacity: 0; transform: translateY(10px) scale(.85); } }
.hb-cam { position: relative; width: 84px; height: 84px; border-radius: 26px; overflow: hidden; background: var(--ink); border: 3px solid #fff; box-shadow: 0 16px 34px -14px rgba(11, 27, 77, .6); }
.hb-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.hb:not([data-state="ready"]) .hb-cam::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: hbspin .9s linear infinite; }
@keyframes hbspin { to { transform: rotate(360deg); } }
.hb[data-state="ready"] .hb-cam { border-color: var(--blue); }
.hb-st { font: 700 11.5px var(--f-ui); background: rgba(11, 27, 77, .82); color: #fff; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.hb-dot { position: fixed; z-index: 39; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 20%, rgba(10, 108, 241, .95) 24% 46%, rgba(10, 108, 241, 0) 72%); transition: opacity .2s, transform .09s linear; }
.hb-dot.on { opacity: 1; }
.hb-dot.hit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: hbhit .5s var(--ease) forwards; }
@keyframes hbhit { to { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .anim .handbtn svg, .hb-cam::after { animation: none; } }
.handbtn[hidden] { display: none; }


/* ================= จอกลาง ================= */
@media (max-width: 1180px) and (min-width: 861px) {
  .k2, .k6 { display: none; }
  .k1 { --w: 170px; } .k3 { --w: 180px; --x: -4%; } .k4 { --w: 190px; --x: 3%; }
  .k5 { --w: 170px; --x: calc(98% - 170px); } .k7 { --w: 186px; --x: calc(104% - 186px); } .k8 { --w: 184px; --x: calc(97% - 184px); }
  .hero h1 { font-size: clamp(40px, 5.8vw, 66px); }
  .hero-in { max-width: 560px; }
  .row { gap: 36px; }
}

/* ================= มือถือ ================= */
@media (max-width: 860px) {
  .links { display: none; }
  .top-in { height: 52px; justify-content: space-between; }
  .top.solid .top-in { width: 100%; }
  .hero { min-height: max(100svh, 760px); padding: 210px 0 230px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 52px); }
  .hero h1 .ln { white-space: normal; }
  .k2, .k8 { display: none; }
  .k1 { --x: -26px; --y: 62px; --w: 132px; --ar: 1; }
  .k5 { --x: calc(50% - 64px); --y: 30px; --w: 128px; --ar: 1; }
  .k6 { --x: calc(100% - 112px); --y: 74px; --w: 136px; --ar: 1; }
  .k3 { --x: -30px; --y: calc(100% - 222px); --w: 156px; --ar: 1; }
  .k4 { --x: calc(50% - 62px); --y: calc(100% - 176px); --w: 128px; --ar: 1; }
  .k7 { --x: calc(100% - 128px); --y: calc(100% - 236px); --w: 156px; --ar: 1; }
  .card.pc { padding: 5px 5px 0; border-radius: 14px; }
  .card.pc img { border-radius: 10px; }
  .card.pc figcaption { gap: 7px; padding: 7px 2px 8px; }
  .card.pc .bdg { width: 24px; height: 24px; font-size: 7.5px; }
  .card.pc b { font-size: 11.5px; } .card.pc small { font-size: 10px; }
  .scroll { display: none; }
  .say { padding: 110px 20px 10px; }
  .story { height: 320vh; }
  .pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 6px; padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
  .steps { max-width: none; gap: 10px; }
  .steps ol { position: relative; height: 118px; }
  .steps li { position: absolute; inset: 0; padding: 0; opacity: 0; color: var(--ink); transform: translateY(10px); transition: opacity .45s, transform .5s var(--ease); }
  .steps li b { transform: none; font-size: 26px; }
  .steps li span { max-height: none; opacity: 1; margin-top: 4px; font-size: 14.5px; }
  .pin[data-step="0"] li[data-s="0"], .pin[data-step="1"] li[data-s="1"], .pin[data-step="2"] li[data-s="2"] { opacity: 1; transform: none; }
  .stage { align-items: start; }
  .phone { zoom: .78; }
  .fcp1 { left: 2%; top: 30%; } .fcp2 { right: 2%; top: 12%; } .fcp3 { left: 2%; top: 58%; } .fcp4 { right: 2%; top: 64%; }
  .float-chip { height: 38px; font-size: 12.5px; padding: 0 12px; }
  .pain-pin { padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
  .pn { width: 150px; margin: -75px 0 0 -75px; padding: 16px 14px; font-size: 16px; }
  .pn:nth-child(1) { --x: -64% !important; --y: -118% !important; } .pn:nth-child(2) { --x: 54% !important; --y: -100% !important; }
  .pn:nth-child(3) { --x: -60% !important; --y: -2% !important; } .pn:nth-child(4) { --x: 56% !important; --y: 12% !important; }
  .pn:nth-child(5) { --x: -4% !important; --y: 112% !important; }
  .relief { border-radius: 26px 26px 0 0; padding-top: 80px; }
  .rows { margin-top: 50px; }
  .row { grid-template-columns: 1fr; gap: 22px; padding: 38px 0; }
  .vis { min-height: 0; flex-wrap: wrap; }
  .arrow { width: 70px; height: 46px; }
  .talk .arrow { display: none; }
  .polar { width: 120px; }
  .nc { width: 190px; height: 240px; }
  .belt.styles figure { width: 140px; }
  .feat { padding-top: 100px; }
  .feat-h { margin-bottom: 50px; }
  .flist { gap: 56px; }
  .fx { grid-template-columns: 1fr; gap: 24px; }
  .fx.alt .fcard { order: 0; }
  .fcard { aspect-ratio: auto; min-height: 300px; padding: 26px 20px; border-radius: 24px; }
  .final { padding: 0 8px 8px; }
  .frame { border-radius: 22px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .dock { left: max(12px, env(safe-area-inset-left, 0px)); transform: translate(0, 140%); }
  .dock.show { transform: none; }
  .handbtn { padding: 0 13px; } .handbtn span { display: none; }
}
@media (max-height: 720px) and (max-width: 860px) { .phone { zoom: .66; } .steps ol { height: 104px; } }
@media (max-width: 480px) { .dk-t { display: none; } }
@media (max-width: 370px) { .hero h1 { font-size: 34px; } }

/* ปิดการเคลื่อนไหว: ทุกอย่างอยู่นิ่ง อ่านได้ครบ */
@media (prefers-reduced-motion: reduce) {
  .fl, .wave i, .wpill .dot, .pulse, .micbig i, .scroll svg, .caret, .ring circle.on, .said::after { animation: none !important; }
  .belt { overflow-x: auto; width: auto; scrollbar-width: none; }
  .float-chip, .scr, .steps li, .steps li b, .steps li span { transition: none; }
  .pain-space { height: 0; }
  .pain-pin { position: relative; height: auto; min-height: 100svh; padding-bottom: 60px; }
  .pn { position: relative; left: auto; top: auto; margin: 0; transform: rotate(var(--r)); }
  .pile { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 40px 20px; scale: 1; }
  .relief { margin-top: 0; }
  .uline path, .arrow path { stroke-dashoffset: 0; transition: none; }
}
.foot > a { color: inherit; text-decoration: underline; }
