/*
 * 2026 home page ("ใจเบา") — one mobile-first stylesheet for app/Views/home2026.
 * Ported from the approved design (design/public-spectrum/final.py): the 390px artboard is the base,
 * the 1440px artboard arrives through min-width queries. Breakpoints: 600 · 768 · 1024 · 1200 · 1300.
 */

/* ------------------------------------------------------------------ tokens + base */
:root{
  --fd:"Kanit","IBM Plex Sans Thai",sans-serif; --fb:"IBM Plex Sans Thai",sans-serif;
  --bg:#ffffff; --band:#EAF6FF; --surface:#ffffff; --hero:linear-gradient(180deg,#DCEEFD,#EAF5FE 46%,#ffffff);
  --ink:#101840; --soft:#4C5378; --mute:#626987; --line:#E1EDF7;
  --primary:#101840; --primary-2:#1C2A63; --on-primary:#ffffff; --primary-ink:#101840;
  --accent:#3FA9E0; --accent-ink:#1667A0; --accent-t:#E1F0FB;
  --warm:#F5A623; --warm-ink:#98600B; --warm-t:#FDEFD6;
  --teal:#22C3CE; --teal-ink:#053B40;
  --pill:9999px; --r-lg:4px; --arch:4px;
  --sh-1:0 2px 3px rgba(16,24,64,.04),0 18px 34px -22px rgba(30,90,140,.22);
  --sh-2:0 3px 6px rgba(16,24,64,.05),0 30px 50px -26px rgba(30,90,140,.28);
  --sh-pri:0 16px 30px -14px rgba(30,140,150,.5);
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{background:var(--bg)}
body{margin:0;font-family:var(--fb);color:var(--ink);line-height:1.62;-webkit-font-smoothing:antialiased}
html.lock{overflow:hidden}
img{max-width:100%;display:block}
picture{display:contents}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none;margin:0;padding:0}
h1,h2,h3,h4{font-family:var(--fd);margin:0;color:var(--ink);font-weight:600;line-height:1.2;letter-spacing:normal}
p{margin:0}
button{font:inherit;color:inherit}
dialog:not([open]){display:none!important}   /* layout rules below set display on dialogs; closed ones must stay out of the flow */
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:8px}
.footer :focus-visible,.crisis :focus-visible{outline-color:#8FD0FF}
[tabindex="-1"]:focus{outline:none}
.nw{white-space:nowrap}
.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;border-radius:8px;background:var(--ink);color:#fff;font-family:var(--fd);font-weight:600}
.skip:focus{top:12px}
.hl{color:var(--accent-ink)}
.page{position:relative;overflow:hidden;background:var(--bg)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:var(--fd);font-weight:600;font-size:15px;padding:13px 20px;
  border-radius:var(--pill);cursor:pointer;border:1.5px solid transparent;white-space:nowrap;min-height:48px;
  transition:transform .2s,box-shadow .2s,background .2s,border-color .2s,color .2s}
.btn svg{flex:none}
.btn-pri{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:var(--on-primary);box-shadow:var(--sh-pri)}
.btn-out{background:var(--surface);border-color:#CBD5E4;color:var(--ink)}
.btn-ghost{background:rgba(255,255,255,.55);border-color:rgba(16,24,64,.16);color:var(--ink)}
.pill-1323{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#a3232f;color:#fff;font-family:var(--fd);
  font-weight:600;border-radius:999px;min-height:44px;box-shadow:0 10px 22px -12px rgba(163,35,47,.55);transition:background .2s,transform .2s}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:var(--fd);font-weight:600;font-size:13px;color:var(--accent-ink)}
@media (hover:hover){
  .btn:hover{transform:translateY(-2px)}
  .btn-out:hover{border-color:var(--accent);color:var(--accent-ink)}
  .btn-ghost:hover{background:#fff}
  .pill-1323:hover{background:#8e1d28;transform:translateY(-1px)}
}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes fl{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-10px) rotate(6deg)}}
@keyframes pl{0%{box-shadow:0 0 0 0 rgba(110,200,190,.5)}70%{box-shadow:0 0 0 12px rgba(110,200,190,0)}100%{box-shadow:0 0 0 0 rgba(110,200,190,0)}}
@keyframes livepulse{0%{box-shadow:0 0 0 0 rgba(34,164,93,.5)}70%{box-shadow:0 0 0 10px rgba(34,164,93,0)}100%{box-shadow:0 0 0 0 rgba(34,164,93,0)}}
@keyframes cpulse{0%{box-shadow:0 0 0 0 rgba(34,195,206,.35)}70%{box-shadow:0 0 0 14px rgba(34,195,206,0)}100%{box-shadow:0 0 0 0 rgba(34,195,206,0)}}
/* hero colour washes, slowly breathing — transform only, so it stays on the compositor */
@keyframes drift{from{transform:scale(1.12) translate3d(-1.1%,-.8%,0)}to{transform:scale(1.18) translate3d(1.1%,.9%,0)}}

/* ------------------------------------------------------------------ layout */
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.sec{padding:56px 0}
.sec-band{background:linear-gradient(180deg,#fff 0%,var(--band) 24%,var(--band) 76%,#fff 100%)}
.sec-eye{margin-bottom:10px}
.sec-title{font-size:clamp(27px,1.05vw + 23px,38px);line-height:1.22;text-wrap:balance}
.sec-desc{margin-top:12px;color:var(--soft);font-size:15px;text-wrap:pretty}
.sec-head{max-width:700px}
@media (min-width:768px){
  .wrap{padding:0 32px}
  .sec{padding:76px 0}
  .sec-head.ctr{margin:0 auto;text-align:center}
  .sec-eye{margin-bottom:12px}
  .sec-desc{margin-top:14px;font-size:clamp(15px,.2vw + 14.2px,17px)}
  .eyebrow{font-size:14px}
  .btn{font-size:15.5px;padding:14px 26px}
}
@media (min-width:1024px){ .sec{padding:92px 0} }
@media (min-width:1200px){ .wrap{padding:0 40px} }

/* ------------------------------------------------------------------ nav (glass bar) */
.nav{position:absolute;top:10px;left:12px;right:12px;z-index:20}
.nav-in{display:flex;align-items:center;gap:8px;padding:7px 7px 7px 14px;border-radius:999px;
  background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);
  box-shadow:0 2px 4px rgba(16,24,64,.04),0 16px 36px -18px rgba(40,30,110,.24)}
.brand{display:flex;align-items:center;gap:8px;min-height:44px;flex:none}
.brand img{width:36px;height:36px}
.brand svg{display:block;flex:none}
.wm-d{display:none}
.brand .brand-ul{transform:scaleX(.42);transform-origin:left center;transform-box:fill-box;transition:transform .35s ease}
.nav-links{display:none}
.nav-act{margin-left:auto;display:flex;align-items:center;gap:8px;flex:none}
.nav .pill-1323{font-size:13.5px;padding:0 14px}
.t-long{display:none}
.nav .dd-login{display:none}
.burger{width:44px;height:44px;border-radius:999px;border:0;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;
  display:grid;place-items:center;cursor:pointer}
.nav-links a,.dd-btn{min-height:44px;padding:0 15px;border-radius:999px;display:inline-flex;align-items:center;gap:6px;border:0;background:none;cursor:pointer;
  font-family:var(--fb);font-size:15px;font-weight:500;color:var(--soft);white-space:nowrap;transition:background .2s ease,color .2s ease,box-shadow .2s ease}
.nav-links a svg,.dd-btn svg{color:var(--mute)}
.nav-links a.active,.dd-wrap.open > .dd-btn{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(16,24,64,.06),0 8px 18px -10px rgba(40,30,110,.3)}
.btn-login{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 20px;border-radius:999px;border:0;cursor:pointer;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;font-family:var(--fd);font-weight:600;font-size:15px;
  box-shadow:0 10px 22px -14px rgba(16,24,64,.6);transition:transform .2s ease,box-shadow .2s ease}
.chev{transition:transform .2s ease}
.dd-wrap.open .chev{transform:rotate(180deg)}
.dd-wrap.open > .btn-login{box-shadow:0 0 0 3px rgba(118,68,255,.22),0 10px 22px -14px rgba(16,24,64,.6)}
@media (hover:hover){
  .brand:hover .brand-ul{transform:scaleX(1)}
  .nav-links a:hover,.dd-btn:hover{background:rgba(255,255,255,.75);color:var(--ink)}
  .btn-login:hover{transform:translateY(-1px);box-shadow:0 14px 26px -14px rgba(16,24,64,.7)}
}
@media (min-width:600px){
  .nav{top:16px;left:24px;right:24px}
  .nav-in{padding:8px 8px 8px 18px}
  .wm-d{display:block}.wm-m{display:none}
  .brand{gap:11px}
  .brand img{width:44px;height:44px}
  .t-long{display:inline}
  .nav .pill-1323{font-size:14.5px;padding:0 18px}
}
@media (min-width:1200px){
  .nav{top:0;left:0;right:0;padding:22px 24px 0}
  .nav-in{max-width:1180px;margin:0 auto;justify-content:space-between;gap:12px;padding:9px 10px 9px 22px;
    -webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25);
    box-shadow:0 2px 4px rgba(16,24,64,.04),0 24px 56px -22px rgba(40,30,110,.24)}
  .nav-links{display:flex;align-items:center;gap:0}
  .nav-links a,.dd-btn{padding:0 11px;font-size:14.5px}
  .nav-act{margin-left:0;gap:10px}
  .nav .dd-login{display:inline-flex}
  .burger{display:none}
  .nav .pill-1323{font-size:15px;padding:0 20px;min-height:46px}
}
@media (min-width:1320px){
  .nav{padding:22px 40px 0}
  .nav-in{gap:16px}
  .nav-links{gap:2px}
  .nav-links a,.dd-btn{padding:0 15px;font-size:15px}
}

/* dropdown panels (desktop nav) — disclosure pattern: button[aria-expanded] + panel */
.dd-wrap{position:relative;display:inline-flex}
.dd{display:none;position:absolute;top:calc(100% + 16px);left:50%;transform:translateX(-50%);width:352px;padding:8px;border-radius:8px;text-align:left;white-space:normal;
  background:#fff;border:1px solid #E3E8F2;box-shadow:0 2px 6px rgba(16,24,64,.06),0 30px 60px -22px rgba(40,30,110,.38);z-index:40}
.dd-wrap.open .dd,.no-js .dd-wrap:focus-within .dd{display:block}
.dd::before{content:"";position:absolute;top:-8px;left:50%;width:14px;height:14px;background:#fff;border-left:1px solid #E3E8F2;border-top:1px solid #E3E8F2;transform:translateX(-50%) rotate(45deg)}
.dd.right{left:auto;right:0;transform:none;width:372px}
.dd.right::before{left:auto;right:46px;transform:rotate(45deg)}
.dd-head{display:flex;align-items:center;gap:7px;padding:8px 10px 10px;margin-bottom:4px;border-bottom:1px solid #EEF1F6;font-family:var(--fd);font-weight:600;font-size:12.5px;color:var(--mute)}
.dd .row{display:flex;align-items:center;gap:12px;min-height:58px;padding:9px 10px;border-radius:6px;color:var(--ink);transition:background .15s}
.dd .row:hover,.dd .row:focus-visible{background:#F3F7FD}
.dd .chip{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;background:var(--t);color:var(--c);flex:none}
.dd .txt{flex:1;min-width:0}
.dd .txt b{display:block;font-family:var(--fd);font-weight:600;font-size:15px;line-height:1.3}
.dd .txt small{display:block;margin-top:2px;font-size:12.5px;font-weight:400;color:var(--mute);line-height:1.4}
.dd .row > svg{color:#B6BECE;flex:none;transition:transform .15s,color .15s}
.dd .row:hover > svg{color:var(--c)}
.dd-foot{display:flex;align-items:center;gap:8px;margin-top:4px;padding:10px 10px 6px;border-top:1px solid #EEF1F6;font-size:12px;color:var(--mute)}
.dd-foot svg{color:var(--accent-ink);flex:none}

/* ------------------------------------------------------------------ mobile menu (<dialog>, <1200px) */
.mm{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow-y:auto;overscroll-behavior:contain;color:var(--ink);
  background:radial-gradient(70% 22% at 6% 0%,rgba(232,225,255,.5),rgba(232,225,255,0) 74%),radial-gradient(70% 22% at 96% 1%,rgba(255,227,236,.5),rgba(255,227,236,0) 74%),
    radial-gradient(60% 20% at 0% 72%,#DEF4EE,rgba(222,244,238,0) 74%),linear-gradient(180deg,#DCEEFD,#EAF5FE 40%,#F6FAFE)}
.mm::backdrop{background:rgba(16,24,64,.35)}
.mm-in{max-width:560px;margin:0 auto;padding:10px 12px 30px}
.mm-top{display:flex;align-items:center;gap:8px;padding:7px 7px 7px 14px;border-radius:999px;background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.9);
  box-shadow:0 2px 4px rgba(16,24,64,.04),0 16px 36px -18px rgba(40,30,110,.24)}
.mm-top .brand img{width:36px;height:36px}
.mm-close{margin-left:auto;width:44px;height:44px;border-radius:999px;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;display:grid;place-items:center;border:0;cursor:pointer}
.mm-card{margin-top:14px;background:#fff;border:1px solid #E3E8F2;border-radius:8px;padding:6px;box-shadow:0 1px 2px rgba(16,24,64,.04),0 16px 34px -22px rgba(40,30,110,.3)}
.mm-h{display:flex;align-items:center;gap:7px;padding:10px 10px 8px;font-family:var(--fd);font-weight:600;font-size:12.5px;color:var(--mute)}
.mm-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:6px 10px;border-radius:6px;color:var(--ink);font-family:var(--fd);font-weight:500;font-size:16px;text-align:left;background:none;border:0;cursor:pointer}
.mm-row .chip{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;background:var(--t);color:var(--c);flex:none}
.mm-row .txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.mm-row .txt small{font-family:var(--fb);font-weight:400;font-size:12px;color:var(--mute)}
.mm-row .end{margin-left:auto;color:#B6BECE;flex:none;display:flex}
.mm-row.active{background:#EEF5FD;font-weight:600;box-shadow:inset 3px 0 0 var(--accent-ink)}
.mm-acc > .mm-row[aria-expanded="true"]{background:#FDFAFB}
.mm-acc > .mm-row[aria-expanded="true"] .end{transform:rotate(180deg);color:var(--ink)}
.mm-sub{margin:2px 0 8px 57px;padding-left:12px;border-left:2px solid #F5E7EB;display:flex;flex-direction:column}
.mm-sub[hidden]{display:none}
.mm-sub a{display:flex;align-items:center;gap:8px;min-height:44px;font-size:15px;color:var(--soft)}
.mm-sub a svg{color:#C23D5B}
.mm-login .mm-row{min-height:56px;font-size:15px}
.mm-cta{margin-top:16px;display:flex;flex-direction:column;gap:10px}
.mm-cta .btn{width:100%}
.mm-cta .pill-1323{min-height:52px;font-size:16px}
.mm-social{margin-top:18px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.mm-social a{width:44px;height:44px;border-radius:8px;border:1px solid #E3E8F2;background:#fff;display:grid;place-items:center;color:var(--soft)}
.mm-note{margin-top:12px;text-align:center;font-size:12px;color:var(--mute)}

/* ------------------------------------------------------------------ hero */
.hero{position:relative;overflow:clip;padding:112px 0 0;text-align:center;background:var(--hero)}
/* The four colour washes live on their own layer so they can drift without repainting the hero.
   inset:0 keeps every gradient percentage identical to the hero box; the keyframes only scale and
   translate, so the blobs stay in their original places and the layer always overhangs the edges. */
.hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(64% 34% at 6% 0%,rgba(232,225,255,.5),rgba(232,225,255,0) 74%),radial-gradient(64% 34% at 96% 2%,rgba(255,227,236,.5),rgba(255,227,236,0) 74%),
    radial-gradient(60% 30% at 0% 78%,#DEF4EE,rgba(222,244,238,0) 74%),radial-gradient(60% 30% at 100% 74%,rgba(255,235,220,.5),rgba(255,235,220,0) 74%);
  transform:scale(1.12);animation:drift 26s ease-in-out infinite alternate}
.hero-deco{position:absolute;inset:0;z-index:1;pointer-events:none}
.hero-deco span{position:absolute;display:block;animation:fl 8s ease-in-out infinite}
.hero-deco svg{display:block}
.hero-deco .dot{border-radius:50%}
.hero-deco .ring{border-radius:50%;border:3px solid currentColor}
.deco-d{display:none}
.hero-in{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:0 20px;display:flex;flex-direction:column;align-items:center}
.hero .eyebrow{min-height:40px;padding:0 14px;gap:7px;border-radius:999px;background:#fff;border:1px solid #ece3d6;font-family:var(--fb);font-size:13px;font-weight:500;color:#575d7c}
.hero .eyebrow svg{color:#e0456b}
.hero h1{font-size:clamp(38px,2.29vw + 29px,62px);font-weight:700;margin:14px 0 0;line-height:1.16;max-width:900px}
.hero h1 .hl,.hero .quote .qa,.hero .quote .qb{-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;padding:.16em .02em}
.hero h1 .hl{background-image:linear-gradient(90deg,#B85A80,#7A6AD0 52%,#4A84BF)}
.hero .quote{display:flex;flex-wrap:wrap;justify-content:center;gap:0 14px;margin:8px 0 0;font-family:var(--fd);font-weight:600;font-size:clamp(24px,.95vw + 20.3px,34px);line-height:1.4}
.hero .quote .qa{color:#199562;background-image:linear-gradient(90deg,#23964F,#199562)}
.hero .quote .qb{color:#0288D1;background-image:linear-gradient(90deg,#0288D1,#2A86D9)}
@media (forced-colors:active){.hero h1 .hl,.hero .quote .qa,.hero .quote .qb{background:none;-webkit-text-fill-color:currentColor}}
.hero .sub{max-width:640px;margin:8px 0 0;font-size:clamp(14.5px,.29vw + 13.4px,17.5px);color:var(--soft);line-height:1.62;text-wrap:pretty}
.hero-cta{display:flex;flex-direction:column;gap:10px;margin-top:20px;width:100%}
.hero-cta .btn{width:100%}
.hero-cta .btn-pri{box-shadow:0 12px 26px -16px rgba(60,52,140,.34)}
/* secondary action row (QR + satisfaction) — a tier between the CTAs and the plain links:
   pill like the CTAs but smaller, no resting shadow, accent-tinted; .chip-lead (QR) stands out most */
.hero-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px;width:100%}
.hero-chips .chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-family:var(--fd);font-weight:600;font-size:12.5px;
  padding:6px 13px;min-height:34px;border-radius:var(--pill);background:var(--surface);border:1px solid #CDE4F6;color:var(--accent-ink);
  text-decoration:none;white-space:nowrap;transition:transform .2s,box-shadow .2s,background .2s,border-color .2s,color .2s}
.hero-chips .chip svg{flex:none;color:var(--accent)}
.hero-chips .chip-lead{background:var(--accent-t);border-color:#A9D3F1}
.hero-chips .chip-lead svg{color:var(--accent-ink)}
@media (hover:hover){.hero-chips .chip:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:var(--sh-1)}}
.hero-links{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:center;margin-top:14px}
.hero-links a{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--soft);padding:8px 2px;min-height:44px;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(76,83,120,.35)}
.hero-links a svg{color:var(--accent-ink)}
.hero-note{display:flex;align-items:center;gap:10px;margin-top:16px;padding:10px 14px 10px 10px;border-radius:14px;text-align:left;
  background:#F0FAF8;border:1px solid #CDEBE6;box-shadow:0 10px 24px -20px rgba(12,125,134,.35)}
.hero-note .ph{width:32px;height:32px;border-radius:50%;background:#CBEFEC;color:#0A6A72;display:grid;place-items:center;flex:none;animation:pl 2.4s 3}
.hero-note p{font-size:13px;color:var(--ink);line-height:1.45}
.hero-note b{color:#0A6A72;font-weight:600}
.hero-note a{color:#0A6A72;font-weight:600;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
/* three circle-cropped cartoons: centre on top, the smaller two tucked ~25% behind it, vertically centred on it */
.iscene{--c1:184px;--cs:122px;--b1:16px;--top:30px;position:relative;align-self:stretch;margin:22px -10px 0;height:calc(var(--c1) + var(--b1) + var(--top))}
.iscene .cartoon{position:absolute;border-radius:50%;overflow:hidden;background:var(--paper);animation:bob 5s ease-in-out infinite;
  box-shadow:0 0 0 4px #fff,0 16px 30px -16px var(--glow)}
.iscene .cartoon img{position:absolute;inset:9%;width:82%;height:82%;object-fit:cover}
.iscene .c1{left:calc(50% - var(--c1) / 2);bottom:var(--b1);width:var(--c1);height:var(--c1);z-index:2;box-shadow:0 0 0 5px #fff,0 18px 34px -16px var(--glow)}
.iscene .c0,.iscene .c2{bottom:calc(var(--b1) + var(--c1) / 2 - var(--cs) / 2);width:var(--cs);height:var(--cs);z-index:1}
.iscene .c0{left:calc(50% - var(--c1) / 2 - var(--cs) * .75);animation-delay:.2s}
.iscene .c2{right:calc(50% - var(--c1) / 2 - var(--cs) * .75);animation-delay:.6s}
@media (min-width:600px){
  .hero{padding-top:112px}
  .hero-cta{flex-direction:row;justify-content:center;width:auto;gap:14px}
  .hero-cta .btn{width:auto}
  .hero-links{gap:6px 22px;margin-top:18px}
  .hero-links a{font-size:14px}
  .hero-note{padding:10px 22px 10px 11px;border-radius:16px}
  .hero-note .ph{width:34px;height:34px}
  .hero-note p{font-size:14px}
  .iscene{--c1:250px;--cs:170px;--b1:22px;margin:30px auto 0;width:100%;max-width:760px}
}
@media (min-width:900px){ .hero-note p{white-space:nowrap} }
@media (min-width:1024px){
  .hero{padding-top:128px}
  .hero::before{
    background:radial-gradient(38% 52% at 10% 0%,rgba(232,225,255,.5),rgba(232,225,255,0) 72%),radial-gradient(38% 52% at 92% 0%,rgba(255,227,236,.5),rgba(255,227,236,0) 72%),
      radial-gradient(34% 40% at 0% 64%,#DEF4EE,rgba(222,244,238,0) 72%),radial-gradient(34% 40% at 100% 60%,rgba(255,235,220,.5),rgba(255,235,220,0) 72%)}
  .deco-d{display:block}.deco-m{display:none}
  .hero-in{padding:0 40px}
  .hero .eyebrow{min-height:44px;padding:0 16px;gap:8px;font-size:14.5px}
  .hero h1{margin-top:20px;line-height:1.14}
  .hero .quote{gap:0 20px;margin-top:14px;line-height:1.3}
  .hero .sub{margin-top:13px;line-height:1.66}
  .hero-cta{margin-top:30px}
  .hero-links{margin-top:20px}
  .hero-note{margin-top:22px}
  .iscene{--c1:320px;--cs:220px;--b1:26px;--top:14px;margin-top:34px;max-width:1000px}
  .hero-links a{min-height:0;padding:6px 0}
  .iscene .cartoon{box-shadow:0 0 0 5px #fff,0 22px 44px -20px var(--glow)}
}

/* ------------------------------------------------------------------ picker: bands on phones, cards from 600px */
#form-select{padding-bottom:0;background:radial-gradient(70% 170px at 0% 150px,rgba(232,225,255,.42),rgba(232,225,255,0) 72%),radial-gradient(70% 170px at 100% 210px,rgba(222,244,238,.9),rgba(222,244,238,0) 72%),#fff}
.picker .sec-head{padding-bottom:24px}
.picker .sec-title{font-size:36px;font-weight:700;line-height:1.12}
.assess{margin:0 -20px;border-bottom:3px solid var(--ink)}
.pcard{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-areas:"num img" "title title" "who who" "desc desc" "btn btn";
  align-items:end;column-gap:12px;padding:24px 20px;background:#fff;border-top:1.5px solid #E3E8F2}
.pcard:nth-child(even){background:#F4F7FC}
.pnum{grid-area:num;font-family:var(--fd);font-weight:800;font-size:84px;line-height:.8;color:#7E8497;font-variant-numeric:tabular-nums;align-self:end}
.pdot{display:none}
.pimg{grid-area:img}
.pimg img{width:126px;height:126px;object-fit:contain}
.pcard h3{grid-area:title;margin-top:14px;font-size:28px;font-weight:700;line-height:1.18}
.pcard .who{grid-area:who;margin-top:8px;display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--soft)}
.pcard .who svg{color:var(--mute);flex:none}
.pdesc{grid-area:desc;margin-top:8px;font-size:15px;line-height:1.62;color:var(--soft);text-wrap:pretty}
.pbtn{grid-area:btn;margin-top:18px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 16px;border-radius:var(--r-lg);
  background:var(--pd);color:#fff;font-family:var(--fd);font-weight:600;font-size:16.5px;box-shadow:0 12px 24px -16px var(--pd);
  transition:background .2s ease,color .2s ease,border-color .2s ease}
.pbtn svg{transition:transform .2s ease}
@media (hover:hover){ .pbtn:hover svg{transform:translateX(3px)} }
@media (min-width:600px){
  #form-select{padding-bottom:76px;background:radial-gradient(42% 44% at 2% 44%,rgba(232,225,255,.5),rgba(232,225,255,0) 72%),radial-gradient(42% 44% at 98% 60%,rgba(222,244,238,1),rgba(222,244,238,0) 72%),linear-gradient(180deg,#fff 0%,#F3F9FF 30%,#F3F9FF 72%,#fff 100%)}
  .picker .sec-head{padding-bottom:0}
  .picker .sec-title{font-size:clamp(27px,1.05vw + 23px,38px);font-weight:600;line-height:1.22}
  .assess{margin:36px 0 0;border:0;display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
  .pcard{flex:0 1 calc(50% - 8px);grid-template-rows:auto auto auto 1fr auto auto;
    grid-template-areas:"num dot" "img img" "title title" "desc desc" "who who" "btn btn";
    align-items:start;justify-items:center;row-gap:10px;text-align:center;padding:22px 20px 20px;
    background:var(--surface);border:1px solid #E3E8F2;border-radius:var(--r-lg);
    box-shadow:0 1px 2px rgba(27,34,51,.05),0 14px 34px -8px rgba(27,34,51,.09);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
  .pcard:nth-child(even){background:var(--surface)}
  .pnum{justify-self:start;align-self:center;font-weight:500;font-size:20px;line-height:1;color:var(--mute);letter-spacing:.02em}
  .pdot{display:block;grid-area:dot;justify-self:end;align-self:center;width:14px;height:14px;border-radius:50%;background:var(--pc);box-shadow:0 0 0 5px var(--pt)}
  .pimg{width:128px;height:128px;border-radius:50%;background:var(--pt);display:grid;place-items:center;overflow:hidden;margin:2px 0 6px}
  .pimg img{width:112px;height:112px}
  .pcard h3{margin:0;font-size:18.5px;font-weight:600;line-height:1.3;text-wrap:balance}
  .pdesc{margin:0;font-size:14px;line-height:1.55;text-wrap:balance}
  .pcard .who{margin:0;padding-top:8px;justify-content:center;font-size:13px}
  .pbtn{justify-self:stretch;margin:0;min-height:46px;padding:0 12px;font-size:15px;gap:8px;box-shadow:none;
    background:var(--pt);border:1px solid var(--pr);color:var(--pd)}
  .assess.single .pcard{flex-basis:360px}
}
@media (min-width:600px) and (hover:hover){
  .pcard:hover{transform:translateY(-4px);border-color:var(--pr);box-shadow:0 1px 2px rgba(27,34,51,.05),0 22px 40px -12px var(--pr)}
  .pbtn:hover{background:var(--pd);border-color:var(--pd);color:#fff}
}
@media (min-width:900px){ .pcard{flex-basis:calc(33.333% - 11px)} }
@media (min-width:1024px){ #form-select{padding-bottom:92px} .assess{margin-top:40px} }
@media (min-width:1200px){
  .assess:not(.single){display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (min-width:1300px){ .assess:not(.single){margin:40px -50px 0} }

/* ------------------------------------------------------------------ how it works */
.how-sec{background:radial-gradient(70% 34% at 0% 30%,rgba(221,238,253,.9),rgba(221,238,253,0) 72%),radial-gradient(70% 34% at 100% 72%,rgba(255,227,236,.375),rgba(255,227,236,0) 72%)}
.how2 .eyebrow{color:#A8482A}
.how2 .sec-title{font-size:clamp(27px,.67vw + 24.4px,34px)}
.how2 .sec-desc{margin-top:8px;font-size:14.5px}
.how-steps{margin-top:24px;display:flex;flex-direction:column;gap:20px}
.hstep{display:flex;gap:16px;align-items:flex-start}
.hstep .hic{position:relative;flex:none;width:48px;height:48px;border-radius:8px;background:#fff;border:1px solid #E3E8F2;display:grid;place-items:center;
  color:var(--primary-2);box-shadow:0 8px 18px -12px rgba(16,24,64,.28)}
.hstep .hic b{position:absolute;top:-8px;right:-8px;width:22px;height:22px;border-radius:50%;background:#B9532A;color:#fff;
  font-family:var(--fd);font-weight:600;font-size:12px;line-height:1;display:grid;place-items:center;box-shadow:0 0 0 2px #fff}
.hstep h3{font-size:17px;font-weight:600;line-height:1.35}
.hstep p{margin-top:4px;color:var(--soft);font-size:14.5px;line-height:1.55;text-wrap:pretty}
@media (min-width:768px){
  .how-sec{background:radial-gradient(38% 64% at 0% 50%,rgba(221,238,253,1),rgba(221,238,253,0) 72%),radial-gradient(38% 64% at 100% 50%,rgba(255,227,236,.45),rgba(255,227,236,0) 72%)}
  .how2 .sec-desc{margin-top:12px;font-size:16px;text-wrap:balance}
  .how-steps{margin-top:32px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .hstep{gap:14px}
  .hstep h3{font-size:18px}
}
@media (min-width:1100px){
  .how2{display:grid;grid-template-columns:300px minmax(0,1fr);gap:48px;align-items:center}
  .how-steps{margin-top:0}
}

/* ------------------------------------------------------------------ about: text + 3×2 tiles share top and bottom edges on desktop */
.about p.body{margin-top:12px;color:var(--soft);font-size:14.5px;line-height:1.72;text-wrap:pretty}
.checks{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.checks li{display:flex;gap:9px;align-items:flex-start;font-size:14px;line-height:1.55;color:var(--soft)}
.checks li svg{flex:none;margin-top:1px;color:#1E8A5A}
.checks b{color:var(--ink);font-family:var(--fd);font-weight:600}
.tiles{margin-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tile{display:flex;flex-direction:column;border-radius:var(--arch);overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-1);transition:transform .28s,box-shadow .28s}
.tile img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block}
.tile .cap{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 11px 11px;border-top:1px solid var(--line)}
.tile .cap b{display:block;font-family:var(--fd);font-weight:600;font-size:14px;color:var(--ink);line-height:1.3}
.tile .cap small{display:block;font-size:12px;color:var(--mute);line-height:1.3}
.tile .cap svg{flex:none;color:var(--mute)}
.about-note{margin-top:12px;font-size:12.5px;color:var(--mute);display:flex;gap:6px;align-items:flex-start}
.about-note svg{flex:none;margin-top:1px}
@media (hover:hover){ .tile:hover{transform:translateY(-5px);box-shadow:var(--sh-2)} }
@media (min-width:768px){
  .about .sec-title{font-size:clamp(27px,.67vw + 24.4px,34px)}
  .about p.body{margin-top:16px;font-size:15.5px;line-height:1.75}
  .checks{margin-top:18px;gap:10px}
  .checks li{gap:10px;font-size:15px;line-height:1.6}
  .tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:28px}
  .tile .cap{padding:11px 14px 13px}
  .tile .cap b{font-size:15.5px}
  .tile .cap small{font-size:12.5px}
  .about-note{font-size:13.5px;gap:7px}
}
@media (min-width:1024px){
  .about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:1fr auto;grid-template-areas:"txt tiles" "note tiles";column-gap:56px}
  .about-txt{grid-area:txt}
  .about-note{grid-area:note;margin-top:0;padding-top:20px}
  .tiles{grid-area:tiles;margin-top:0;grid-template-rows:repeat(2,minmax(0,1fr))}
  .tile{min-height:0}
  .tile picture,.tile img{flex:1 1 0;min-height:0}
  .tile img{height:100%;aspect-ratio:auto}
}

/* ------------------------------------------------------------------ stats bento */
.sgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.slabel{display:inline-flex;align-items:center;gap:8px;font-family:var(--fd);font-weight:600;color:var(--soft)}
.slabel svg{color:var(--accent-ink);flex:none}
.snum{font-family:var(--fd);font-weight:800;line-height:1;color:var(--primary-ink);font-variant-numeric:tabular-nums}
.snum small{font-family:var(--fb);font-weight:500;color:var(--soft);-webkit-text-fill-color:var(--soft);margin-left:8px}
.sbig{grid-column:span 2;position:relative;overflow:hidden;padding:20px 20px 18px;border-radius:var(--arch);border:1px solid #E3E8F2;box-shadow:var(--sh-1);display:flex;flex-direction:column;
  background:radial-gradient(55% 75% at 100% 0%,rgba(222,244,238,.95),rgba(222,244,238,0) 70%),linear-gradient(135deg,#F3EFFF 0%,#EDF5FE 70%)}
.sbig .slabel{font-size:14px}
.sbig .snum{margin-top:12px;font-size:44px;background:linear-gradient(90deg,#101840,#4B3FB0);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;padding:.1em 0}
.sbig .snum small{font-size:14px}
.sbig .sdesc{margin-top:8px;font-size:13.5px;line-height:1.55;max-width:260px;color:var(--soft);position:relative}
.sbeat{position:absolute;width:120px;height:36px;top:14px;right:10px;color:#CFC5F7}
.savatars{position:relative;margin-top:auto;padding-top:18px;display:flex;align-items:center;gap:12px;color:var(--soft);font-size:12.5px}
.savatars .av{display:flex}
.savatars .av span{width:38px;height:38px;border-radius:50%;border:3px solid #fff;display:grid;place-items:center;overflow:hidden;background:var(--t);box-shadow:0 4px 10px -6px rgba(16,24,64,.35)}
.savatars .av span+span{margin-left:-10px}
.savatars .av img{width:32px;height:32px;object-fit:contain}
.ssmall{position:relative;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:8px;border-radius:var(--arch);background:var(--surface);border:1px solid #E3E8F2;box-shadow:var(--sh-1)}
.ssmall .ico{display:none;position:absolute;place-items:center;border-radius:8px;background:var(--t);color:var(--c)}
.ssmall .slabel{font-size:13px}
.ssmall .snum{font-size:30px}
.ssmall .snum small{font-size:12.5px;margin-left:5px}
.slabel.live{color:var(--c)}
.live-dot{width:10px;height:10px;border-radius:50%;background:#22A45D;animation:livepulse 1.8s 4;display:inline-block;flex:none}
.live-cap{font-size:11.5px;color:var(--mute)}
.stats-note{margin-top:10px;display:flex;align-items:flex-start;gap:6px;font-size:12px;color:var(--mute)}
.stats-note svg{flex:none;margin-top:2px}
.trust{margin-top:18px;display:flex;flex-wrap:wrap;gap:9px}
.tbadge{display:inline-flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:var(--pill);padding:9px 13px;font-family:var(--fd);font-weight:500;font-size:12.5px;color:var(--ink);box-shadow:var(--sh-1)}
.tbadge .ti{color:var(--accent-ink);display:grid;place-items:center}
@media (min-width:768px){
  .sgrid{grid-template-columns:1.45fr 1fr;grid-template-rows:1fr 1fr;gap:18px;margin-top:36px}
  .sbig{grid-column:auto;grid-row:span 2;padding:26px 28px 24px}
  .sbig .slabel{font-size:15px}
  .sbig .snum{margin-top:16px;font-size:clamp(48px,2.9vw + 24px,66px)}
  .sbig .snum small{font-size:16px}
  .sbig .sdesc{margin-top:12px;font-size:15px;max-width:400px;line-height:1.6}
  .sbeat{width:220px;height:62px;top:auto;right:-6px;bottom:70px;-webkit-mask-image:linear-gradient(90deg,transparent 0,transparent 42%,#000 62%);mask-image:linear-gradient(90deg,transparent 0,transparent 42%,#000 62%)}
  .savatars{padding-top:26px;font-size:14px}
  .savatars .av span{width:48px;height:48px}
  .savatars .av span+span{margin-left:-12px}
  .savatars .av img{width:40px;height:40px}
  .ssmall{padding:22px 24px;gap:12px}
  .ssmall .ico{display:grid;top:20px;right:20px;width:44px;height:44px}
  .ssmall .slabel{font-size:15px}
  .ssmall .snum{font-size:clamp(36px,1.4vw + 26px,46px)}
  .ssmall .snum small{font-size:15px;margin-left:8px}
  .live-cap{font-size:12.5px}
  .stats-note{margin-top:14px;font-size:12.5px;justify-content:center;align-items:center}
  .stats-note svg{margin-top:0}
  .trust{margin-top:30px;justify-content:center;gap:11px}
  .tbadge{gap:9px;padding:11px 17px;font-size:14px}
}
@media (min-width:1024px){ .sgrid{margin-top:40px} .sbig{padding:30px 32px 28px} .ssmall{padding:24px 26px} .ssmall .ico{top:22px;right:22px} .sbeat{width:320px;height:90px;bottom:26px} }

/* ------------------------------------------------------------------ partners */
.partners{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.partner{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:14px;box-shadow:var(--sh-1);min-height:76px;transition:transform .25s,box-shadow .25s}
.partner.wide{grid-column:1/-1;order:-1}
.partner:last-child:not(.wide){grid-column:1/-1}
.partner img{width:auto;max-height:34px}
.partner .plab{display:flex;flex-direction:column;line-height:1.25}
.partner .plab b{font-family:var(--fd);font-weight:600;font-size:14px;color:var(--ink)}
.partner .plab small{font-size:11px;color:var(--mute)}
@media (hover:hover){ .partner:hover{transform:translateY(-3px);box-shadow:var(--sh-2)} }
@media (min-width:768px){
  .partners{display:flex;justify-content:center;align-items:stretch;gap:20px;flex-wrap:wrap;margin-top:34px}
  .partner{flex:0 0 250px;min-height:96px;padding:14px 22px;gap:12px}
  .partner.wide{order:0}
  .partner img{max-height:none}
  .partner .plab b{font-size:15px}
  .partner .plab small{font-size:11.5px}
}

/* ------------------------------------------------------------------ crisis band (same navy as the footer: one dark area) */
.crisis{position:relative;padding:36px 0 4px;text-align:center;color:#fff;
  background:radial-gradient(45% 120% at 0% 0%,rgba(140,110,240,.24),rgba(140,110,240,0) 70%),radial-gradient(45% 120% at 100% 0%,rgba(34,195,206,.18),rgba(34,195,206,0) 70%),#141D4C}
.cbox{padding:24px 20px;border-radius:var(--r-lg);background:linear-gradient(120deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.14);box-shadow:0 22px 44px -26px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.08)}
.crisis .ci{width:54px;height:54px;margin:0 auto 14px;border-radius:50%;background:rgba(34,195,206,.16);border:1px solid rgba(34,195,206,.4);color:var(--teal);display:grid;place-items:center;flex:none;animation:cpulse 2.4s 4}
.crisis .ct{font-family:var(--fd);font-weight:600;font-size:20px;line-height:1.6}
.crisis .ctx p:not(.ct){margin-top:6px;color:rgba(255,255,255,.78);font-size:14.5px}
.crisis .btn{margin-top:16px;width:100%;background:#fff;color:var(--primary-ink);box-shadow:0 14px 28px -14px rgba(34,195,206,.6)}
.crisis .btn svg{color:var(--primary-ink)}
.crisis .num{font-family:var(--fd);font-weight:700;letter-spacing:.03em;font-size:22px}
@media (min-width:768px){
  .crisis{padding:52px 0 6px;text-align:left}
  .cbox{display:flex;align-items:center;gap:24px;padding:26px 30px}
  .crisis .ci{width:60px;height:60px;margin:0}
  .crisis .ctx{flex:1;min-width:0}
  .crisis .ct{font-size:clamp(20px,.6vw + 15.5px,23px)}
  .crisis .ctx p:not(.ct){margin-top:5px;font-size:15.5px}
  .crisis .cact{display:flex;gap:12px;flex:none}
  .crisis .btn{margin-top:0;width:auto}
  .crisis .num{font-size:25px}
}

/* ------------------------------------------------------------------ footer */
.footer{position:relative;overflow:hidden;color:#fff;background:linear-gradient(180deg,#141D4C,#0B1233)}
.fwater{position:absolute;width:220px;height:220px;right:-60px;bottom:120px;color:rgba(183,166,255,.07);pointer-events:none}
.ftop{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"brand brand" "svc help" "visits visits";gap:30px 18px;max-width:1180px;margin:0 auto;padding:42px 20px 26px}
.fbrand{grid-area:brand}
.ftop > .fcol:nth-of-type(2){grid-area:svc}
.ftop > .fcol:nth-of-type(3){grid-area:help}
.fcard{grid-area:visits}
.fbrand .fb-row{display:flex;align-items:center;gap:12px}
.fbrand img{width:46px;height:46px}
.fb-wm b{display:block;font-family:"IBM Plex Sans Thai Looped",var(--fd);font-weight:600;font-size:19px;color:#fff;line-height:1.15}
.fb-wm small{display:block;margin-top:4px;font-family:Kanit,var(--fd);font-weight:600;font-size:10px;letter-spacing:.05em;
  background:linear-gradient(90deg,#FF9DBB,#B7A6FF 52%,#8FD0FF);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.fbrand p{margin-top:14px;font-size:13.5px;color:rgba(255,255,255,.72);line-height:1.7;max-width:330px}
.fb-tel{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin-top:6px;color:#fff;font-family:var(--fd);font-weight:500;font-size:14px}
.fb-tel svg{color:var(--teal);flex:none}
.fb-tel b{color:var(--teal);font-weight:700;letter-spacing:.02em}
.social{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.social a{width:44px;height:44px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);display:grid;place-items:center;color:rgba(255,255,255,.8);transition:background .2s,color .2s,border-color .2s,transform .2s}
.fh{font-family:var(--fd);font-weight:600;font-size:15px;color:#fff;margin-bottom:10px}
.fh::after{content:"";display:block;width:26px;height:2px;margin-top:9px;border-radius:2px;background:linear-gradient(90deg,var(--teal),#8C7BFF)}
.flinks{display:flex;flex-direction:column}
.flinks a{display:flex;align-items:center;gap:8px;min-height:40px;font-size:13.5px;color:rgba(255,255,255,.72);transition:color .2s,transform .2s}
.flinks a::before{content:"";width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.28);flex:none;transition:background .2s,transform .2s}
.fb-contact{display:inline-flex;align-items:center;gap:8px;min-height:42px;margin-top:10px;padding:0 10px;border-radius:8px;border:1px solid rgba(255,255,255,.22);color:#fff;font-family:var(--fd);font-weight:500;font-size:12.5px;line-height:1.3;transition:background .2s}
.fb-contact svg{color:var(--teal);flex:none}
.fcard{padding:16px;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.12);border-radius:var(--r-lg);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.fcard .fh{margin-bottom:12px}
.vgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.vt{display:flex;flex-direction:column;gap:3px;padding:9px 10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);border-radius:4px}
.vt span{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.62)}
.vt b{font-family:var(--fd);font-weight:600;font-size:15.5px;color:#fff;font-variant-numeric:tabular-nums;line-height:1.1}
.vt.on{border-color:rgba(52,209,127,.35);background:rgba(52,209,127,.08)}
.vt.on b{color:#7EE6AE}
.vt .live-dot{width:8px;height:8px;background:#34D17F}
.vtot{display:flex;justify-content:space-between;align-items:center;margin-top:8px;padding:10px 12px;border-radius:4px;
  background:linear-gradient(90deg,rgba(34,195,206,.18),rgba(140,110,240,.2));border:1px solid rgba(255,255,255,.12)}
.vtot span{font-family:var(--fd);font-weight:600;font-size:13.5px;color:#fff}
.vtot b{font-family:var(--fd);font-weight:700;font-size:18px;font-variant-numeric:tabular-nums;
  background:linear-gradient(90deg,#8FD0FF,#D6CCFF);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
@media (forced-colors:active){.fb-wm small,.vtot b,.sbig .snum{background:none;-webkit-text-fill-color:currentColor}}
.fbar{position:relative;max-width:1180px;margin:0 auto;padding:20px 20px 26px;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;color:rgba(255,255,255,.55);text-align:center}
.fbar::before{content:"";position:absolute;top:0;left:20px;right:20px;height:1px;
  background:linear-gradient(90deg,rgba(255,157,187,0),rgba(255,157,187,.45) 20%,rgba(183,166,255,.5) 50%,rgba(143,208,255,.45) 80%,rgba(143,208,255,0))}
.fpol{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 16px}
.fpol a{display:inline-flex;align-items:center;min-height:32px;font-size:12px;color:rgba(255,255,255,.68);transition:color .2s}
.copy{max-width:260px;line-height:1.5}
.totop{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:45;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;border:2px solid rgba(255,255,255,.9);box-shadow:0 6px 14px rgba(16,24,64,.28),0 18px 38px -12px rgba(16,24,64,.55);transition:background .2s,transform .2s,box-shadow .2s,opacity .25s ease,visibility .25s}
.totop svg{width:22px;height:22px}
.js .totop{opacity:0;visibility:hidden;pointer-events:none}
.js .totop.show{opacity:1;visibility:visible;pointer-events:auto}
@media (hover:hover){
  .social a:hover{color:var(--teal-ink);background:var(--teal);border-color:transparent;transform:translateY(-2px)}
  .flinks a:hover{color:#fff;transform:translateX(2px)}
  .flinks a:hover::before{background:var(--teal);transform:scale(1.4)}
  .fb-contact:hover{background:rgba(255,255,255,.08)}
  .fpol a:hover{color:#fff}
  .totop:hover{background:var(--primary-2);transform:translateY(-2px);box-shadow:0 8px 18px rgba(16,24,64,.34),0 26px 48px -12px rgba(16,24,64,.62)}
}
@media (min-width:768px){
  .ftop{grid-template-columns:1.2fr 1fr;grid-template-areas:"brand visits" "svc help";gap:40px 44px;padding:56px 32px 44px}
  .fcard{align-self:start}
  .fwater{width:300px;height:300px;right:-70px;bottom:40px}
  .fbrand p{font-size:14px;margin-top:18px}
  .fb-tel{margin-top:10px;font-size:15px}
  .social{margin-top:14px}
  .social a{width:38px;height:38px}
  .fh{font-size:16px;margin-bottom:14px}
  .flinks a{min-height:36px;font-size:14.5px;gap:10px}
  .fb-contact{margin-top:14px;font-size:14px;padding:0 14px}
  .fcard{padding:20px}
  .fcard .fh{margin-bottom:14px}
  .vt{padding:9px 11px}
  .vt b{font-size:16px}
  .vtot{padding:11px 12px}
  .vtot span{font-size:14px}
  .vtot b{font-size:19px}
  .fbar{padding:22px 32px 26px;font-size:12.5px}
  .fbar::before{left:32px;right:32px}
  .fpol{gap:4px 12px}
  .fpol a{font-size:13px;min-height:28px}
  .fpol a+a::before{content:"·";margin:0 12px 0 0;color:rgba(255,255,255,.3)}
  .copy{max-width:none}
}
@media (min-width:1100px){
  .ftop{grid-template-columns:1.45fr 1fr 1fr 1.2fr;grid-template-areas:"brand svc help visits";gap:44px;padding:60px 40px 50px}
  .fb-wm b{font-size:23px}
  .fb-wm small{font-size:11.5px}
  .fbrand img{width:54px;height:54px}
  .fbar{padding:22px 40px 26px}
  .fbar::before{left:40px;right:40px}
  .totop{right:24px;bottom:calc(24px + env(safe-area-inset-bottom));width:54px;height:54px}.totop svg{width:24px;height:24px}
}

/* ------------------------------------------------------------------ dialogs: bottom sheets on phones, centred cards from 768px */
.dlg{padding:0;border:0;color:var(--ink);background:#fff;max-width:none;max-height:none;overscroll-behavior:contain}
.dlg::backdrop{background:rgba(16,24,64,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.grab{display:block;width:40px;height:4px;border-radius:99px;background:#D5DBE6;margin:8px auto 0}
.x-close{width:44px;height:44px;border-radius:999px;border:0;background:#F1F4F9;color:var(--ink);display:grid;place-items:center;cursor:pointer;flex:none}
@media (max-width:767.98px){
  .dlg{position:fixed;inset:auto 0 0 0;margin:0;width:100%;max-height:calc(100% - 24px);overflow-y:auto;border-radius:16px 16px 0 0;
    box-shadow:0 -20px 50px -20px rgba(10,14,50,.5)}
  .dlg[open]{animation:sheet-in .28s ease-out}
}
@keyframes sheet-in{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@keyframes pop-in{from{transform:scale(.97);opacity:0}to{transform:none;opacity:1}}
@media (min-width:768px){
  .dlg{margin:auto;border-radius:10px;box-shadow:0 2px 8px rgba(10,14,50,.12),0 40px 90px -30px rgba(10,14,50,.6);max-height:calc(100% - 48px)}
  .dlg[open]{animation:pop-in .2s ease-out}
  .dlg .grab{display:none}
  .x-close{width:40px;height:40px}
}

/* QR dialog */
.qm{display:flex;flex-direction:column;padding:0 18px 24px}
.qm .x-close{position:absolute;top:14px;right:14px;z-index:2}
.qm-body{display:contents}
.qm-eye{order:1;align-self:flex-start;margin-top:14px;display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:999px;background:var(--accent-t);color:var(--accent-ink);font-family:var(--fd);font-weight:600;font-size:13px;letter-spacing:.04em}
.qm h2{order:2;margin:10px 56px 12px 0;font-size:20px;line-height:1.3}
.qm-art{order:3;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:26px 18px 18px;border-radius:8px;
  background:radial-gradient(90% 60% at 0% 0%,rgba(232,225,255,.5),rgba(232,225,255,0) 70%),radial-gradient(90% 60% at 100% 100%,#DEF4EE,rgba(222,244,238,0) 72%),linear-gradient(165deg,#DCEEFD,#EEF7FE)}
.qr-frame{position:relative;padding:10px;background:#fff;border-radius:8px;box-shadow:0 2px 4px rgba(16,24,64,.05),0 18px 36px -18px rgba(40,30,110,.35)}
.qr-frame img{display:block;width:212px;height:212px}
.qr-frame .k{position:absolute;width:24px;height:24px;border:3px solid #23964F}
.qr-frame .tl{top:-9px;left:-9px;border-right:0;border-bottom:0;border-top-left-radius:8px}
.qr-frame .tr{top:-9px;right:-9px;border-left:0;border-bottom:0;border-top-right-radius:8px;border-color:#2A86D9}
.qr-frame .bl{bottom:-9px;left:-9px;border-right:0;border-top:0;border-bottom-left-radius:8px;border-color:#2A86D9}
.qr-frame .br{bottom:-9px;right:-9px;border-left:0;border-top:0;border-bottom-right-radius:8px}
.qm-free{display:inline-flex;align-items:center;gap:7px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.82);font-size:13.5px;font-weight:500;color:var(--ink)}
.qm-free svg{color:#1E8A5A}
.qm-lead{color:var(--soft);font-size:15px;line-height:1.65;text-wrap:pretty}
.lead-d,.qm-steps{display:none}
.lead-m{order:4;margin:14px 4px 12px;font-size:14.5px;text-align:center}
.qm-link{order:5;display:flex;align-items:center;gap:10px;min-height:50px;padding:6px 6px 6px 14px;border:1px solid #DDE4EF;border-radius:8px;background:#F7FAFD;color:var(--accent-ink)}
.qm-link svg{flex:none}
.qm-link span{flex:1;min-width:0;font-family:var(--fd);font-weight:500;font-size:16px;color:var(--ink)}
.qm-link button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border-radius:6px;border:1px solid #DDE4EF;background:#fff;
  font-family:var(--fd);font-weight:600;font-size:14px;color:var(--accent-ink);cursor:pointer;white-space:nowrap}
.qm-link button span{flex:none;font-size:14px;font-weight:600;color:inherit}
.qm-status{order:6;min-height:0;font-size:13px;color:#1E7A3A;text-align:center}
.qm-status:not(:empty){margin-top:6px}
.qm-act{order:7;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.qm-act .btn{min-height:50px;padding:0 12px;font-size:15px}
.qm-act.solo .btn-pri{grid-column:1/-1}
.qm-closebtn{display:none}
.t-d{display:none}
@media (min-width:768px){
  .qm{display:grid;grid-template-columns:minmax(260px,344px) minmax(0,1fr);width:min(820px,calc(100% - 48px));padding:0;overflow:hidden}
  .qm-body{display:block;padding:38px 40px 34px}
  .qm-eye{margin-top:0}
  .qm h2{margin:12px 40px 8px 0;font-size:27px}
  .qm-art{order:0;border-radius:0;padding:40px 30px;gap:18px}
  .qr-frame img{width:252px;height:252px}
  .lead-d{display:block}.lead-m{display:none}
  .qm-steps{display:grid;margin:18px 0 20px;gap:10px}
  .qm-steps li{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--ink)}
  .qm-steps b{width:28px;height:28px;flex:none;border-radius:999px;display:grid;place-items:center;background:var(--t);color:var(--c);font-family:var(--fd);font-weight:600;font-size:14px}
  .qm-act{display:flex;gap:10px;margin-top:16px}
  .qm-act .btn{padding:12px 26px}
  .qm-act .btn-pri{flex:1}
  .qm-closebtn{display:inline-flex}
  .qm-share{display:none!important}
  .t-d{display:inline}.t-m{display:none}
}

/* ------------------------------------------------------------------ cookie consent: banner (no scrim) + settings dialog */
.ck{position:fixed;z-index:60;left:10px;right:10px;bottom:10px;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"ic t" "d d" "act act";align-items:center;column-gap:10px;
  padding:16px 16px 8px;border-radius:12px;background:#fff;border:1px solid #E3E8F2;box-shadow:0 2px 6px rgba(16,24,64,.06),0 30px 60px -24px rgba(40,30,110,.42)}
.ck[hidden]{display:none}
.ck-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#FDEFD6;color:#98600B;flex:none}
.ck .ck-ic{grid-area:ic}
.ck-txt{display:contents}
.ck .t{grid-area:t;font-family:var(--fd);font-weight:600;font-size:16.5px;color:var(--ink);line-height:1.3}
.ck .d{grid-area:d;margin-top:8px;font-size:14px;color:var(--soft);line-height:1.6;text-wrap:pretty}
.ck .d a,.cs-foot a{color:var(--accent-ink);font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(22,103,160,.4);white-space:nowrap}
.d-long{display:none}
.ck-act{grid-area:act;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.ck-act .btn{min-height:48px;padding:0 10px;font-size:15px}
.ck-set{grid-column:1/-1;order:3;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 10px;border:0;background:none;
  font-family:var(--fd);font-weight:600;font-size:15px;color:var(--accent-ink);cursor:pointer;white-space:nowrap}
@media (min-width:1024px){
  .ck{left:50%;right:auto;bottom:24px;transform:translateX(-50%);width:min(1120px,calc(100% - 48px));grid-template-columns:48px minmax(0,1fr) auto;
    grid-template-areas:"ic t act" "ic d act";column-gap:18px;padding:18px 20px 18px 22px;border-radius:10px}
  .ck-ic{width:48px;height:48px}
  .ck .ck-ic{align-self:center}
  .ck .d{margin-top:3px}
  .d-long{display:inline}.d-short{display:none}
  .ck-act{display:flex;align-items:center;gap:10px;margin:0}
  .ck-set{order:0;grid-column:auto}
  .ck-act .btn{padding:0 22px;min-height:46px}
}
.cs{padding:8px 18px 22px}
.cs-head{display:flex;align-items:center;gap:12px;margin:8px 0 6px}
.cs-head h2{font-size:19px}
.cs-head .x-close{margin-left:auto}
.cs-lead{margin-bottom:10px;color:var(--soft);font-size:14px;line-height:1.65;text-wrap:pretty}
.cs-cat{display:flex;gap:12px;padding:14px 0;border-top:1px solid #EEF1F6}
.cs-cat .chip{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;background:var(--t);color:var(--c);flex:none}
.cs-cat .txt{flex:1;min-width:0}
.cs-top{display:flex;align-items:flex-start;gap:12px}
.cs-top h3{flex:1;min-width:0;padding-top:2px;font-size:15.5px;line-height:1.35}
.cs-cat p{margin-top:3px;font-size:13px;line-height:1.6;color:var(--soft);text-wrap:pretty}
.cs-cat small{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-size:12.5px;color:var(--mute)}
.cs-cat code{padding:1px 7px;border-radius:4px;background:#F3F5F9;border:1px solid #E6EAF1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--soft)}
.cs-always{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:#E6F5EA;color:#1E6B34;font-family:var(--fd);font-weight:600;font-size:13px;white-space:nowrap;flex:none}
.sw{position:relative;display:block;flex:none;width:48px;height:28px;border-radius:999px;border:0;padding:0;background:#8A93AB;cursor:pointer;transition:background .2s}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(16,24,64,.3);transition:transform .2s}
.sw[aria-checked="true"]{background:#1E8A5A}
.sw[aria-checked="true"]::after{transform:translateX(20px)}
.cs-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:14px;border-top:1px solid #EEF1F6}
.cs-foot a{order:3;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;font-size:14px}
.cs-foot .btn{flex:1 1 0;min-height:48px;padding:0 10px;font-size:15px}
@media (min-width:768px){
  .cs{width:min(660px,calc(100% - 48px));padding:26px 30px 22px}
  .cs-head{margin:0}
  .cs-head h2{font-size:21px}
  .cs-lead{margin:10px 0 14px;font-size:14.5px}
  .cs-cat{gap:14px;padding:16px 0}
  .cs-cat .chip{width:40px;height:40px}
  .cs-top h3{font-size:16px}
  .cs-cat p{font-size:13.5px}
  .cs-foot{flex-wrap:nowrap;margin-top:4px;padding-top:18px}
  .cs-foot a{order:0;width:auto;justify-content:flex-start}
  .cs-foot .btn{flex:none;padding:0 22px;min-height:46px}
  .cs-foot .btn-out{margin-left:auto}
}

/* ------------------------------------------------------------------ PDPA policy dialog */
.pp{display:flex;flex-direction:column}
@media (max-width:767.98px){ .pp{inset:14px 0 0 0;height:calc(100% - 14px);max-height:none} }
.pp-head{display:flex;align-items:flex-start;gap:12px;padding:10px 14px 14px 18px;border-bottom:1px solid #EEF1F6}
.pp-head .chip{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#E6F5EA;color:#1E7A3A;flex:none}
.pp-head > div{flex:1;min-width:0}
.pp-head .en{font-family:var(--fd);font-weight:600;font-size:12px;letter-spacing:.06em;color:var(--accent-ink);text-transform:uppercase}
.pp-head h2{font-size:19px;line-height:1.3;margin-top:1px}
.pp-head .sub{font-size:13px;color:var(--soft);margin-top:2px}
.pp-main{flex:1;min-height:0;display:flex;flex-direction:column}
.pp-side{border-bottom:1px solid #EEF1F6}
.pp-toc{display:flex;gap:8px;overflow-x:auto;padding:12px 18px;scrollbar-width:none}
.pp-toc::-webkit-scrollbar{display:none}
.pp-toc-h,.pp-dpo{display:none}
.pp-toc a{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 13px;border-radius:999px;border:1px solid #DDE4EF;font-size:13.5px;color:var(--soft);white-space:nowrap}
.pp-toc a i{font-style:normal;font-family:var(--fd);font-weight:600;color:var(--mute);display:inline-flex}
.pp-toc a.on{background:var(--accent-t);border-color:transparent;color:var(--accent-ink);font-weight:600}
.pp-toc a.on i{color:var(--accent-ink)}
.pp-scroll{flex:1;min-height:0;overflow-y:auto;padding:18px 18px 28px;scrollbar-width:thin;scrollbar-color:#CBD3E1 transparent}
.pp-foot{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px 18px 18px;border-top:1px solid #EEF1F6;background:#fff}
.pp-foot a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;font-size:14px;font-weight:500;color:var(--accent-ink)}
.pp-foot .btn{width:100%;min-height:50px}
.pp-intro{font-size:15px;line-height:1.85;color:var(--ink);text-wrap:pretty}
.pp-sec{padding-top:26px;scroll-margin-top:12px}
.pp-sec h3,.pp-consent h3{display:flex;align-items:flex-start;gap:10px;font-size:17px;line-height:1.4}
.pp-sec h3 b{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:var(--accent-t);color:var(--accent-ink);font-size:15px;flex:none}
.pp-sec p,.pp-consent p{margin-top:10px;font-size:14.5px;line-height:1.85;color:var(--soft);text-wrap:pretty}
.pp-defs{margin:12px 0 0;display:grid;gap:10px}
.pp-defs > div{padding:12px 16px;border-left:3px solid #8FC7EC;background:#F6FAFD;border-radius:0 8px 8px 0}
.pp-defs dt{font-family:var(--fd);font-weight:600;font-size:15.5px;color:var(--ink)}
.pp-defs dd{margin:3px 0 0;font-size:14.5px;line-height:1.75;color:var(--soft);text-wrap:pretty}
.pp-list{margin-top:8px;display:grid;gap:6px}
.pp-list li{display:flex;gap:10px;font-size:15px;line-height:1.75;color:var(--soft)}
.pp-list li b{flex:none;font-family:var(--fd);font-weight:600;color:var(--accent-ink)}
.pp-rights{margin-top:12px;display:grid;grid-template-columns:1fr;gap:10px}
.pp-rights li{display:flex;gap:12px;padding:12px 14px;border:1px solid #E6EBF3;border-radius:8px;background:#fff}
.pp-rights .ri{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#EEEBFB;color:#5245AE;flex:none}
.pp-rights .t{font-size:14.5px;line-height:1.65;color:var(--soft);text-wrap:pretty}
.pp-rights small{display:block;font-family:var(--fd);font-weight:600;font-size:12.5px;color:var(--mute)}
.pp-rights strong{font-weight:600;color:var(--ink)}
.pp-hl{background:linear-gradient(transparent 58%,#FDEFD6 58%);font-weight:600;color:var(--ink)}
.pp-contacts{margin-top:12px;display:grid;grid-template-columns:1fr;gap:12px}
.pp-card{padding:16px 16px 14px;border:1px solid #E6EBF3;border-radius:8px;background:#FBFCFE}
.pp-card small{font-family:var(--fd);font-weight:600;font-size:12.5px;color:var(--mute)}
.pp-card h4{font-size:15.5px;line-height:1.4;margin-bottom:4px}
.pp-card .row{display:flex;gap:9px;margin-top:6px;font-size:14px;line-height:1.6;color:var(--soft)}
.pp-card .row svg{color:var(--accent-ink);flex:none;margin-top:3px}
.pp-card a{color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(22,103,160,.35)}
.pp-consent{margin-top:32px;padding:18px 16px 20px;border-radius:10px;background:linear-gradient(180deg,#F4F7FC,#F6F3FE);border:1px solid #E6EBF3;scroll-margin-top:12px}
.pp-consent h3 svg{color:#5245AE;flex:none;margin-top:3px}
.pp-consent ol{list-style:none;padding:0;margin:12px 0 0;counter-reset:c;display:grid;gap:8px}
.pp-consent ol li{counter-increment:c;display:flex;gap:10px;font-size:14.5px;line-height:1.75;color:var(--soft);text-wrap:pretty}
.pp-consent ol li::before{content:counter(c);flex:none;width:24px;height:24px;margin-top:3px;border-radius:999px;background:#fff;border:1px solid #D9E1EE;
  display:grid;place-items:center;font-family:var(--fd);font-weight:600;font-size:12.5px;color:var(--accent-ink)}
@media (min-width:768px){
  .pp{width:min(820px,calc(100% - 48px));height:calc(100% - 48px);overflow:hidden}
  .pp-head{padding:22px 22px 18px 26px;gap:14px}
  .pp-head .chip{width:44px;height:44px}
  .pp-head h2{font-size:22px}
  .pp-head .sub{font-size:14px}
  .pp-scroll{padding:24px 36px 40px}
  .pp-rights{grid-template-columns:1fr 1fr}
  .pp-rights li.wide{grid-column:1/-1}
  .pp-contacts{grid-template-columns:1fr 1fr}
  .pp-sec h3,.pp-consent h3{font-size:18px;align-items:center}
  .pp-sec p,.pp-consent p{font-size:15px}
  .pp-consent{padding:22px 24px 24px}
  .pp-foot{flex-direction:row;align-items:center;justify-content:space-between;padding:12px 22px 12px 26px}
  .pp-foot .btn{width:auto;min-height:46px;padding:0 40px}
}
@media (min-width:1024px){
  .pp{width:min(1100px,calc(100% - 48px));height:min(800px,calc(100% - 48px))}
  .pp-main{display:grid;grid-template-columns:272px minmax(0,1fr)}
  .pp-side{display:flex;flex-direction:column;gap:14px;padding:20px 16px 20px 20px;border-bottom:0;border-right:1px solid #EEF1F6;background:#FAFBFD;min-height:0;overflow-y:auto}
  .pp-toc{flex-direction:column;gap:2px;overflow:visible;padding:0}
  .pp-toc-h{display:block;padding:0 10px 6px;font-family:var(--fd);font-weight:600;font-size:12.5px;color:var(--mute)}
  .pp-toc a{min-height:38px;padding:5px 10px;border:0;border-radius:6px;font-size:14px;line-height:1.35;white-space:normal}
  .pp-toc a i{width:24px;height:24px;border-radius:6px;justify-content:center;align-items:center;background:#EEF2F8;font-size:12.5px;flex:none}
  .pp-toc a.on{background:#fff;color:var(--ink);box-shadow:inset 3px 0 0 var(--accent-ink),0 1px 3px rgba(16,24,64,.06)}
  .pp-toc a.on i{background:var(--accent-t)}
  .pp-dpo{display:block;margin-top:auto;padding:14px 14px 12px;border-radius:8px;background:#fff;border:1px solid #E6EBF3}
  .pp-dpo .t{display:flex;align-items:center;gap:8px;font-family:var(--fd);font-weight:600;font-size:14px;color:var(--ink);line-height:1.35}
  .pp-dpo .t svg{color:#1E7A3A;flex:none}
  .pp-dpo a{display:block;margin-top:6px;font-size:13.5px;color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(22,103,160,.35)}
  .pp-scroll{padding:24px 44px 40px 40px}
}
@media (min-width:1024px) and (hover:hover){ .pp-toc a:hover{background:#fff;color:var(--ink)} }

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }

/* Scroll reveal. Only ever hidden when JS is running (_head.php swaps no-js→js before first paint),
   so without JS — and for anything the observer never reaches — every element stays visible. */
.js .rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.3,1)}
.js .rv.in{opacity:1;transform:none}
.js .rv-g > *{transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.3,1)}
.js .rv-g:not(.in) > *{opacity:0;transform:translateY(16px)}
.js .rv-g > :nth-child(2){transition-delay:70ms}
.js .rv-g > :nth-child(3){transition-delay:140ms}
.js .rv-g > :nth-child(4){transition-delay:210ms}
.js .rv-g > :nth-child(5){transition-delay:280ms}
.js .rv-g > :nth-child(n+6){transition-delay:350ms}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  /* the blanket rule above kills the transition, so the reveal has to start from its finished state */
  .js .rv,.js .rv-g > *{opacity:1!important;transform:none!important}
  .hero::before{transform:scale(1.12)}
}
