/* Close-up Hero and demo gallery. */

.closeup-heading{display:flex;flex-wrap:wrap;column-gap:6px;row-gap:3px;font-size:16px;line-height:1.6;margin:0 4px 15px;color:var(--muted)}.closeup-heading strong{color:var(--ink);font-weight:600}
.hero-transform{position:relative;isolation:isolate;overflow:hidden;border:1px solid #e0cdb6;border-radius:27px;background:#fffdf8;box-shadow:0 15px 44px #3a241612}
.transform-brand{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 23px;border-bottom:1px solid #eadfce;background:#fffaf1}.transform-brand>span{display:flex;align-items:center;gap:8px}.transform-brand img{width:29px;height:29px;object-fit:contain}.transform-brand b{font:700 28px/1 var(--brand);letter-spacing:-.04em}.transform-brand small{font-size:11px;color:var(--muted);line-height:1.6;text-align:right}
.transform-content{padding:25px 27px 91px}.transform-label{font-size:12px;color:#7a614d;letter-spacing:.01em;display:flex;align-items:center;gap:6px;line-height:1.6}.spoken-note{min-height:93px}.spoken-note p{font-size:25px;line-height:1.7;margin-top:10px;font-weight:500;min-height:59px}.spoken-note p>span{border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:background .2s,color .2s}.spoken-note .is-selected{background:#ffd0ab;color:var(--ink);box-shadow:3px 0 #ffd0ab,-3px 0 #ffd0ab}.hero-caret{display:none;width:2px;height:26px;background:var(--orange);vertical-align:-5px;margin-left:3px}.hero-transform[data-phase="dictation"] .hero-caret{display:inline-block;animation:heroCaret .7s steps(1) infinite}
.transform-bridge{display:flex;align-items:center;justify-content:flex-start;gap:12px;height:61px}.transform-bridge>.ms{font-size:25px;color:#b7a28b}.instruction-bubble{padding:9px 15px;border-radius:12px 12px 12px 2px;background:var(--ink);color:var(--cream);font-size:15px;line-height:1.6;opacity:0;transform:translateY(5px);transition:opacity .2s,transform .2s}.hero-transform[data-phase="command"] .instruction-bubble,.hero-transform[data-phase="processing"] .instruction-bubble,.hero-transform[data-phase="result"] .instruction-bubble{opacity:1;transform:none}
.hero-result{position:relative;min-height:159px;padding:19px 22px;border:1px solid #e4d6c4;border-radius:17px;background:#f6eedf;transition:background .2s,border-color .2s}.hero-result .transform-label{font-size:12px}.hero-result .transform-label .ms{font-size:16px;color:var(--burnt);display:none}.hero-result>p{font-family:var(--body);font-size:30px;font-weight:500;line-height:1.42;letter-spacing:-.025em;margin-top:13px;color:var(--ink);position:relative;z-index:1;text-wrap:pretty}.output-placeholder{position:absolute;left:22px;right:22px;top:63px;display:flex;flex-direction:column;gap:15px}.output-placeholder i{display:block;height:10px;width:87%;background:#e3d5c0;border-radius:5px}.output-placeholder i:last-child{width:62%}.hero-transform[data-phase="result"] .output-placeholder{display:none}.hero-transform[data-phase="result"] .hero-result{background:#fff8ed;border-color:#ddae87}.hero-transform[data-phase="result"] .hero-result .transform-label .ms{display:block}.hero-transform[data-phase="result"] .hero-result .transform-label{color:var(--burnt)}
.hero-native-pill{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;border-radius:24px;padding:10px 13px;background:#26211e;color:#fff7ed;white-space:nowrap;min-height:42px;box-shadow:0 4px 12px #3a24161a;font-size:12px}.hero-native-pill>img{width:26px;height:26px;object-fit:contain}.hero-native-pill>.ms{font-size:18px;color:#ff934d}.hero-wave{display:flex;align-items:center;gap:3px;height:22px;width:32px}.hero-wave i{width:3px;height:9px;background:#ff934d;border-radius:5px}.hero-wave i:nth-child(2n){height:19px}.hero-wave i:nth-child(3n){height:14px}.hero-transform.is-playing[data-phase="dictation"] .hero-wave i,.hero-transform.is-playing[data-phase="command"] .hero-wave i{animation:heroWave .6s ease-in-out infinite alternate}.hero-wave i:nth-child(2n){animation-delay:-.23s!important}.hero-wave i:nth-child(3n){animation-delay:-.37s!important}
.hero-surface-toggle{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;background:transparent;z-index:2;border-radius:26px}.hero-surface-toggle:focus-visible{outline-offset:-5px}.hero-play-indicator{position:absolute;right:18px;bottom:25px;font-size:21px;width:38px;height:38px;display:grid;place-items:center;background:#eadfcebd;border-radius:50%;color:var(--ink);opacity:1;transition:opacity .15s}.is-playing .hero-play-indicator{opacity:0}.hero-transform:hover .hero-play-indicator,.hero-surface-toggle:focus-visible .hero-play-indicator{opacity:1}.is-playing .hero-play-indicator:before{content:'pause';font-family:'Material Symbols Outlined';font-feature-settings:'liga';position:absolute;inset:0;display:grid;place-items:center;background:#eadfce;border-radius:50%;font-size:20px}
.hero-motion-tools{position:absolute;right:12px;top:68px;display:flex;gap:4px;z-index:3;opacity:0;transition:opacity .15s}.hero-transform:hover .hero-motion-tools,.hero-transform:focus-within .hero-motion-tools,.hero-transform:not(.is-playing) .hero-motion-tools{opacity:1}.hero-motion-tools button{width:40px;height:40px;padding:0;border-radius:50%;background:#fffdf7eb;border:1px solid #e0d0bb;display:grid;place-items:center;color:var(--ink)}.hero-motion-tools .ms{font-size:21px}

.gallery-download{display:flex;justify-content:center;margin-top:29px}.gallery-download .btn{font-size:15px;min-height:50px;padding-inline:25px}.demo-section .scene-option.is-active{border-color:#cbb190;background:#fff}.demo-section .scene-option{font-size:14px}.demo-section .explorer-header>p{font-size:14px}.demo-section .explorer-header{padding-block:19px}
@keyframes heroCaret{50%{opacity:0}}@keyframes heroWave{to{transform:scaleY(.45)}}
@media(max-width:1100px) and (min-width:821px){.closeup-heading{font-size:14px}.transform-brand{padding-inline:18px}.transform-content{padding-inline:20px}.spoken-note p{font-size:22px}.hero-result>p{font-size:27px}.hero-result{padding:17px 18px}.hero-native-pill{font-size:11px}.transform-brand small{font-size:10px}}
@media(max-width:820px){.closeup-hero{max-width:600px}.closeup-heading{justify-content:center;font-size:16px}.hero-transform{text-align:left}.hero-transform .hero-motion-tools{opacity:1}.demo-section .scene-option{font-size:13px}}
@media(max-width:520px){.closeup-heading{font-size:13px;margin-bottom:12px;gap:4px}.hero-transform{border-radius:22px}.transform-brand{padding:16px 17px;gap:10px}.transform-brand b{font-size:25px}.transform-brand img{width:26px;height:26px}.transform-brand small{font-size:9px;max-width:130px}.transform-content{padding:22px 20px 84px}.transform-label{font-size:11px}.spoken-note{min-height:101px}.spoken-note p{font-size:22px;line-height:1.75;margin-top:9px;min-height:67px}.transform-bridge{height:62px;gap:9px}.transform-bridge>.ms{font-size:23px}.instruction-bubble{font-size:13px;padding:9px 12px}.hero-result{padding:17px 16px;min-height:166px;border-radius:14px}.hero-result .transform-label{font-size:11px}.hero-result>p{font-size:26px;line-height:1.4;margin-top:13px}.output-placeholder{left:16px;right:16px;gap:14px;top:62px}.hero-native-pill{bottom:23px;font-size:10px;gap:7px;padding:9px 12px;min-height:39px}.hero-native-pill>img{width:24px;height:24px}.hero-native-pill>.ms{font-size:16px}.hero-wave{width:26px;gap:2px}.hero-wave i{width:3px}.hero-motion-tools{top:65px;right:11px;gap:4px}.hero-motion-tools button{width:38px;height:38px}.hero-motion-tools .ms{font-size:20px}.hero-play-indicator{bottom:24px;right:11px;width:31px;height:31px;font-size:18px}.demo-section .scene-option{font-size:12px}.demo-section .explorer-header>p{font-size:11px}.gallery-download{margin-top:22px}.gallery-download .btn{font-size:13px;min-height:48px;padding-inline:18px}}
@media(max-width:360px){.closeup-heading{font-size:11px}.transform-content{padding-inline:16px}.spoken-note p{font-size:20px}.hero-result>p{font-size:24px}.hero-play-indicator{right:8px;width:27px;height:27px}.hero-native-pill{gap:5px;padding-inline:10px}.hero-native-pill>img{width:21px;height:21px}.hero-native-pill>.ms{display:none}.hero-motion-tools button{width:35px;height:35px}}
@media(prefers-reduced-motion:reduce){.instruction-bubble,.hero-result,.hero-play-indicator,.hero-motion-tools{transition:none}.hero-wave i,.hero-caret{animation:none!important}}

/* Keep the approved Thai headline readable within the existing Hero. */
.hero-first-line{display:block;white-space:nowrap;font-size:.94em}
.hero-parenthesis{font-size:.64em;color:var(--burnt);letter-spacing:-.025em}
@media(max-width:360px){.hero-first-line{font-size:.88em}}
