.demo-promo{position:fixed;inset:0;width:min(860px,calc(100% - 40px));max-height:calc(100dvh - 40px);margin:auto;padding:0;border:2px solid #111;border-radius:28px;background:#fefaf0;color:#173b78;box-shadow:8px 9px 0 #111;overflow:auto;}
body.demo-promo-open{overflow:hidden;}
.demo-promo[open]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);}
.demo-promo::backdrop{background:rgba(8,22,48,.64);backdrop-filter:blur(4px);}
.demo-promo-close{position:absolute;z-index:2;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;border:1.5px solid #111;border-radius:50%;background:#fefaf0;color:#173b78;font:26px/1 sans-serif;cursor:pointer;}
.demo-promo-close:hover{background:#fff0a8;}
.demo-promo-visual{order:2;position:relative;min-width:0;padding:66px 24px 28px;background-color:#173b78;background-image:linear-gradient(#ffffff0c 1px,transparent 1px),linear-gradient(90deg,#ffffff0c 1px,transparent 1px);background-size:28px 28px;display:flex;flex-direction:column;justify-content:center;gap:20px;}
.demo-promo-preview-label{font:700 9px/1.5 'Inter',sans-serif;letter-spacing:.12em;color:#fff0a8;}
.demo-promo-window{border:1.5px solid #111;border-radius:15px;box-shadow:6px 7px 0 #0c244d;overflow:hidden;transform:rotate(2deg);background:#fefaf0;}
.demo-promo-browser{display:flex;align-items:center;gap:12px;padding:12px;background:#fefaf0;border-bottom:1px solid #111;font:500 9px/1.5 'Inter',sans-serif;color:#666;}
.demo-promo-browser>span:first-child{display:flex;gap:5px;}
.demo-promo-browser i{width:7px;height:7px;border:1px solid #111;border-radius:50%;background:#e9232e;}
.demo-promo-browser i:nth-child(2){background:#fff0a8;}.demo-promo-browser i:nth-child(3){background:#0ea87d;}
.demo-promo-picture{aspect-ratio:4/3;overflow:hidden;background:#fefaf0;}
.demo-promo-picture img{display:block;width:100%;height:100%;object-fit:contain;}
.demo-promo-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;font:800 42px/1 'Archivo',sans-serif;color:#173b78;}
.demo-promo-placeholder>span{font:600 10px/1.5 'Inter',sans-serif;letter-spacing:.12em;margin-top:18px;}
.demo-promo-sticker{align-self:center;max-width:100%;font-size:11px;line-height:1.6;color:#fefaf0;text-align:center;}
.demo-promo-content{order:1;min-width:0;padding:48px 30px 24px;}
.demo-promo-eyebrow{display:flex;align-items:center;gap:7px;margin-bottom:20px;font-size:9px;line-height:1.6;letter-spacing:.07em;font-weight:700;color:#173b78;}
.demo-promo-eyebrow::before{content:'';width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#e9232e;}
.demo-promo h2{margin:0 0 20px;font:800 clamp(30px,3.5vw,42px)/1.1 'Archivo',sans-serif;letter-spacing:-.03em;text-transform:none;color:#173b78;}
.demo-promo p{margin:0 0 22px;font-size:14px;line-height:1.75;color:#626262;}
.demo-promo-cta{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:8px 9px 8px 18px;border:1.5px solid #111;border-radius:100px;background:#fff0a8;color:#173b78;box-shadow:3px 4px 0 #111;font-size:13px;font-weight:700;}
.demo-promo-cta i{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:#173b78;color:#fefaf0;font:22px/1 sans-serif;}
.demo-promo-cta:hover{background:#173b78;color:#fefaf0;}.demo-promo-cta:hover i{background:#fff0a8;color:#173b78;}
.demo-promo-later{display:block;min-height:44px;margin:12px auto 0;padding:8px 12px;border:0;background:none;color:#626262;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
.demo-promo :is(a,button):focus-visible{outline:3px solid #e9232e;outline-offset:4px;}
body.lang-th .demo-promo h2{font-family:'Kanit',sans-serif;line-height:1.3;letter-spacing:0;}
@media(max-width:600px){
  .demo-promo{inset:0;width:calc(100% - 24px);max-height:calc(100dvh - 32px);margin:auto;border-radius:22px;box-shadow:4px 4px 0 #111;}
  .demo-promo[open]{display:flex;flex-direction:column;}
  .demo-promo-visual{order:0;padding:24px 24px 18px;gap:12px;}
  .demo-promo-preview-label{padding-right:35px;font-size:8px;}
  .demo-promo-window{width:100%;max-width:340px;align-self:center;transform:none;}
  .demo-promo-picture{aspect-ratio:16/9;max-height:170px;}
  .demo-promo-browser{padding:7px 10px;font-size:8px;}
  .demo-promo-sticker{display:none;}
  .demo-promo-content{padding:24px 22px 12px;}
  .demo-promo-eyebrow{margin-bottom:12px;font-size:8px;}
  .demo-promo h2{font-size:30px;margin-bottom:12px;}
  .demo-promo p{font-size:13px;line-height:1.65;margin-bottom:18px;}
}
