/* Reference lock: existing LiteShort black canvas, Poppins Latin text and red selection.
   Native language names and current checkmark follow the user's language-list reference.
   All imagery, four sections, phone frames and body typography retain their existing roles. */
.header-actions{position:absolute;right:60px;top:28px;display:flex;align-items:center;gap:8px;pointer-events:auto;z-index:3}
.header-actions .menu-toggle{position:static;flex:none}
.language-selector{position:relative;min-width:0}
.language-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 14px;border:1px solid #ffffff35;border-radius:24px;background:#14141499;backdrop-filter:blur(14px);color:#fff;cursor:pointer;list-style:none;font-size:14px;line-height:24px;white-space:nowrap;user-select:none;transition:background .18s,border-color .18s}
.language-toggle::-webkit-details-marker{display:none}
.language-toggle:hover,.language-selector[open] .language-toggle{background:#242424e6;border-color:#ffffff65}
.language-toggle:focus-visible{outline:2px solid var(--highlight);outline-offset:5px}
.language-globe{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex:none}
.language-chevron{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;transition:transform .18s}
.language-selector[open] .language-chevron{transform:rotate(180deg)}
.language-short{display:none}
.language-options{position:absolute;right:0;top:calc(100% + 10px);width:260px;max-width:calc(100vw - 32px);max-height:min(540px,calc(100svh - 104px));overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;padding:8px;border:1px solid #ffffff2b;border-radius:18px;background:#141414f5;backdrop-filter:blur(22px);box-shadow:0 18px 50px #0009}
.language-options a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:10px 14px;border-radius:9px;font-size:15px;line-height:24px;color:#ededed;text-decoration:none;overflow-wrap:break-word}
.language-options a:hover{background:#ffffff0c;color:#fff}
.language-options a[aria-current=page]{color:var(--highlight);background:#ff3e670f;font-weight:600}
.language-check{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.language-open .poster-loop{animation-play-state:paused}
.legal-language-note{font-size:.85em;white-space:nowrap;opacity:.8}
.app-copy-measure{position:absolute!important;visibility:hidden!important;pointer-events:none!important;margin:0!important;min-height:0!important;height:auto!important;inset:auto!important;z-index:-1!important}
html:lang(zh-Hans) body{font-family:Poppins,'Microsoft YaHei','PingFang SC',sans-serif}
html:lang(zh-Hant) body{font-family:Poppins,'Microsoft JhengHei','PingFang TC',sans-serif}
html:lang(ja) body{font-family:Poppins,'Yu Gothic','Hiragino Kaku Gothic ProN','Meiryo',sans-serif}
html:lang(ko) body{font-family:Poppins,'Malgun Gothic','Apple SD Gothic Neo',sans-serif}
html:lang(th) body{font-family:Poppins,'Leelawadee UI','Noto Sans Thai',Tahoma,sans-serif}
html:not(:lang(en)) .hero-copy h1,html:not(:lang(en)) .section-copy h2{overflow-wrap:break-word;text-wrap:balance;line-height:1.16}
html:not(:lang(en)) .hero-copy p,html:not(:lang(en)) .section-copy p,html:not(:lang(en)) .closing-copy p{overflow-wrap:break-word}
html:lang(th) .hero-copy h1,html:lang(th) .section-copy h2{line-height:1.35}
html:not(:lang(en)) .closing-copy h2{overflow-wrap:break-word;line-height:1.3}
html:not(:lang(en)) .faq-head h2{overflow-wrap:anywhere;line-height:1.3}
.faq-head [data-close-faq]{flex:none}
.punctuation-pair{white-space:nowrap}
.closing-copy p>.punctuation-pair{display:inline}
.zh-punctuation{font-family:'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Noto Sans SC',sans-serif;font-variant-east-asian:simplified;vertical-align:baseline;letter-spacing:0}
html:lang(zh) :is(.hero-copy,.section-copy,.closing-copy,.faq-content,.footer-inner){line-break:strict;word-break:normal;overflow-wrap:normal}
html:lang(ja) :is(.hero-copy,.section-copy,.closing-copy,.faq-content,.footer-inner){line-break:strict;word-break:normal;overflow-wrap:normal}
html:lang(ko) :is(.hero-copy,.section-copy,.closing-copy,.faq-content,.footer-inner){word-break:keep-all;overflow-wrap:break-word}
.faq-question{min-width:0}
@media(min-width:721px){html:not(:lang(en)) .app-stack .app-tabs{gap:clamp(12px,1.65vw,26px);flex-wrap:wrap;justify-content:center}html:not(:lang(en)) .app-stack .app-tabs button{white-space:normal}html:not(:lang(en)) .contact-panel{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}html:not(:lang(en)) .closing-content{min-height:min-content;flex-shrink:0}.contact-panel[data-scrollable=true]{overflow-y:auto}}
@media(max-width:1440px){.header-actions{right:32px}}
@media(min-width:721px) and (max-width:1100px){
 .header-actions{right:26px;top:24px}.header-actions .menu-toggle{display:flex;width:44px;height:44px;flex-direction:column;gap:5px;align-items:center;justify-content:center;background:none;border:0}
 .menu-toggle span{width:22px;height:2px;background:#ffffffe0;transition:transform .2s,opacity .2s}
 .menu-open .menu-toggle span:first-child{transform:translateY(7px) rotate(45deg)}.menu-open .menu-toggle span:nth-child(2){opacity:0}.menu-open .menu-toggle span:last-child{transform:translateY(-7px) rotate(-45deg)}
 .topbar #main-nav{position:fixed;inset:0;width:100%;height:100svh;flex-direction:column;gap:36px;background:#090909f5;backdrop-filter:blur(16px);opacity:0;visibility:hidden;pointer-events:none}
 .topbar.menu-open #main-nav{opacity:1;visibility:visible;pointer-events:auto}.topbar #main-nav a{font-size:22px;line-height:1.4;max-width:calc(100vw - 64px);text-align:center}
}
@media(max-width:720px){
 .header-actions{right:calc(var(--mobile-gutter) - 4px);top:max(20px,env(safe-area-inset-top));gap:4px}
 .language-toggle{min-width:68px;padding:9px 10px;gap:6px;font-size:13px;background:#121212b3}
 .language-current-name{display:none}.language-short{display:inline}.language-globe{width:17px;height:17px}.language-chevron{display:none}
 .language-options{right:-48px;width:260px;top:calc(100% + 12px);padding:6px;border-radius:16px}
 .language-options a{font-size:15px;line-height:24px;padding:10px 14px;min-height:44px}
 .topbar #main-nav a{max-width:calc(100vw - 48px);text-align:center;line-height:1.5}
 html:not(:lang(en)) .hero-copy h1{font-size:clamp(28px,8.2vw,34px);letter-spacing:0;line-height:1.16}
 html:lang(th) .hero-copy h1,html:lang(th) .section-copy h2{line-height:1.35}
 html:not(:lang(en)) .app-stack .app-tabs{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;max-width:none;align-items:stretch}
 html:not(:lang(en)) .app-stack .app-tabs button{flex:0 0 auto;white-space:nowrap;min-width:44px;max-width:100%;font-size:clamp(13px,3.65vw,15px);line-height:1.45;display:flex;align-items:center;justify-content:center;text-align:center}
 html:not(:lang(en)) .legal-links{justify-content:flex-start;gap:4px 18px}
 .legal-links a{flex-wrap:wrap;column-gap:4px}
 html:not(:lang(en)) .app-panel .app-copy{min-height:var(--localized-caption-height,calc(var(--mobile-leading)*2))}
}
@media(prefers-reduced-motion:reduce){.language-toggle,.language-chevron{transition:none}}
@media(min-width:1600px) and (min-height:900px){
 .header-actions{right:calc(60 * var(--wide-unit));top:calc(28 * var(--wide-unit))}
 .language-toggle{font-size:calc(14 * var(--wide-unit));min-height:calc(44 * var(--wide-unit));padding:calc(9 * var(--wide-unit)) calc(14 * var(--wide-unit));gap:calc(8 * var(--wide-unit))}
 .language-globe{width:calc(18 * var(--wide-unit));height:calc(18 * var(--wide-unit))}.language-chevron{width:calc(14 * var(--wide-unit));height:calc(14 * var(--wide-unit))}
 .language-options{width:calc(260 * var(--wide-unit));max-height:min(calc(540 * var(--wide-unit)),calc(100svh - 104px))}.language-options a{font-size:calc(15 * var(--wide-unit));line-height:1.5;min-height:calc(44 * var(--wide-unit))}
}
