/* Lightweight loading experience + stable layout patches. */
.site-loader{background:#17072f!important;transition:opacity .28s ease,visibility .28s ease!important;pointer-events:none!important;}
.site-loader .loader-orbit{display:none!important}
.site-loader .loader-brand{color:#fff;gap:9px;transition:none}
.site-loader .loader-brand img{width:70px;height:70px;border-radius:18px;box-shadow:0 12px 36px #0005;margin:0 0 9px;animation:phFloat 1.7s ease-in-out infinite}
.site-loader .loader-brand strong{font-family:'Noto Sans Sinhala',sans-serif;font-size:22px;letter-spacing:normal}
.site-loader .loader-brand span{font-size:12px;letter-spacing:0;color:#dcccf7}
.site-loader .loader-brand i{width:160px;height:3px;background:#ffffff25;margin-top:15px}
.site-loader .loader-brand i:after{width:38%;background:linear-gradient(90deg,#ffb54a,#ff6c54);animation:loaderLine 1s ease-in-out infinite}
.site-loader.revealing,.site-loader.done{opacity:0;visibility:hidden;pointer-events:none!important}
body.ph-body .steps>div{padding:64px 18px 22px!important;min-height:190px;transition:box-shadow .2s ease,transform .2s ease}
body.ph-body .steps>div>b{position:absolute!important;left:18px!important;top:16px!important;width:42px!important;height:42px!important;border-radius:12px!important;background:#ff7058!important;color:#fff!important;font:700 22px/1 system-ui,sans-serif!important;z-index:1}
body.ph-body .steps>div>span{margin:0 0 9px!important;padding-left:52px;min-height:16px;display:block}
body.ph-body .steps>div>h3{clear:both;overflow-wrap:anywhere}
body.ph-body .steps>div>p{overflow-wrap:anywhere}
body.ph-body .brand .brand-mark{border-radius:14px;background:transparent;filter:drop-shadow(0 5px 12px #0003)}
html{scroll-padding-top:96px}
@keyframes phFloat{50%{transform:translateY(-5px)}}
@media(max-width:900px){body.ph-body .steps{grid-template-columns:1fr!important}body.ph-body .steps>div{min-height:140px}}
@media(prefers-reduced-motion:reduce){.site-loader .loader-brand img{animation:none!important}}

/* Responsive UI refinement — 2026-11-23
   Reset legacy absolute-positioned step labels and keep the content in normal flow. */
body.ph-body .how{align-items:stretch;gap:clamp(16px,2vw,28px)}
body.ph-body .how-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
body.ph-body .how-copy .btn{align-self:flex-start}
body.ph-body .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;min-width:0}
body.ph-body .steps>div{
  box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  min-width:0;min-height:220px;padding:22px 19px!important;overflow:hidden;
  border:1px solid #eedfeb;border-radius:20px;box-shadow:0 12px 30px -22px rgba(43,10,78,.35);
  transform:none;
}
body.ph-body .steps>div:hover{transform:translateY(-3px);box-shadow:0 18px 34px -22px rgba(43,10,78,.35)}
body.ph-body .steps>div>b{
  position:static!important;inset:auto!important;
  flex:0 0 46px;width:46px!important;height:46px!important;margin:0 0 16px!important;
  border-radius:14px!important;background:#ff7058!important;
  color:#fff!important;font:700 22px/1 system-ui,sans-serif!important;
}
body.ph-body .steps>div>span{
  display:block;min-height:0;padding:0!important;margin:0 0 9px!important;
  color:#8c249f;font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;
}
body.ph-body .steps>div>h3{font-size:17px;line-height:1.45;margin:0 0 8px;color:#251334}
body.ph-body .steps>div>p{font-size:13px;line-height:1.7;margin:0;color:#716579}
body.ph-body .ph-trust{margin-top:34px;padding-bottom:42px}
body.ph-body .ph-trust-inner{gap:10px}
body.ph-body .ph-trust-item{max-width:100%;box-sizing:border-box;line-height:1.5;min-height:48px;padding:10px 15px}
body.ph-body .ph-trust-item span{min-width:0;overflow-wrap:anywhere}
body.ph-body footer{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:25px 42px;align-items:start}
body.ph-body footer>div:first-child{min-width:0}
body.ph-body footer .footer-links{min-width:0;align-content:start;gap:10px 19px}
body.ph-body footer .footer-links a{line-height:1.65}
body.ph-body footer>p:last-child{order:3;grid-column:1/-1;text-align:left}
@media(max-width:980px){
  body.ph-body .how{grid-template-columns:1fr}
  body.ph-body .steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ph-body footer{grid-template-columns:1fr}
}
@media(max-width:760px){
  body.ph-body{padding-bottom:0!important;overflow-x:clip}
  body.ph-body .how{margin-top:32px;padding-inline:16px;gap:14px}
  body.ph-body .how-copy{padding:24px 22px;border-radius:20px}
  body.ph-body .steps{grid-template-columns:1fr!important;gap:12px}
  body.ph-body .steps>div{min-height:0;padding:18px 20px!important;border-radius:18px}
  body.ph-body .steps>div>b{
    flex-basis:42px;width:42px!important;height:42px!important;
    margin-bottom:12px!important;font-size:20px!important;
  }
  body.ph-body .steps>div>span{font-size:13px;margin-bottom:5px!important}
  body.ph-body .steps>div>h3{font-size:17px;margin-bottom:5px}
  body.ph-body .steps>div>p{font-size:14px;line-height:1.7}
  body.ph-body .ph-trust{margin:25px auto 0;padding:0 16px 28px}
  body.ph-body .ph-trust-inner{display:grid;grid-template-columns:1fr;gap:9px;justify-items:stretch}
  body.ph-body .ph-trust-item{width:100%;min-height:48px;border-radius:14px;padding:10px 14px;justify-content:flex-start;font-size:13px}
  body.ph-body .ph-trust-item img{flex:0 0 24px;width:24px;height:24px}
  body.ph-body footer{grid-template-columns:minmax(0,1fr);padding:38px 20px 28px;gap:22px}
  body.ph-body footer .footer-links{order:2;display:flex;gap:11px 18px}
  body.ph-body footer .footer-links a{font-size:13px}
  body.ph-body footer>p:last-child{order:3;grid-column:1;margin-top:0;padding-top:18px;text-align:left}
  body.ph-body footer .footer-brand{font-size:23px}
  body.ph-body .support-agent{bottom:calc(14px + env(safe-area-inset-bottom));right:14px}
  body.ph-body .support-launcher{width:50px!important;min-width:50px;height:50px!important;padding:4px!important;border-radius:50%!important}
  body.ph-body .support-launcher em{display:none!important}
  body.ph-body .support-bot-icon{width:39px;height:39px;flex-shrink:0}
  body.ph-body .nav-inner{min-width:0}
  body.ph-body .brand-copy{min-width:0}
}
@media(min-width:520px) and (max-width:760px){
  body.ph-body .ph-trust-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:761px) and (max-width:980px){
  body.ph-body .steps{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){
  body.ph-body .steps>div:hover{transform:none}
}

/* Delivery section redesign: three concise rows, not tall narrow cards. */
body.ph-body .how{
  max-width:1180px;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);
  gap:20px;margin-top:48px;align-items:stretch;
}
body.ph-body .how-copy{
  border-radius:24px;padding:clamp(26px,3vw,40px);
  background:linear-gradient(145deg,#37115f 0%,#210a3f 100%);
  box-shadow:0 18px 38px -25px rgba(42,8,78,.5)
}
body.ph-body .how-copy h2{font-size:clamp(26px,2.35vw,34px);line-height:1.32;margin:15px 0}
body.ph-body .how-copy p{font-size:14px;line-height:1.8;margin-bottom:18px}
body.ph-body .how-copy .eyebrow{
  align-self:flex-start;color:#f3c958;background:rgba(255,255,255,.09);
  border-radius:999px;padding:7px 12px;letter-spacing:.02em;font-size:12px
}
body.ph-body .how-copy .btn{min-height:45px;padding:12px 20px}
body.ph-body .steps{
  display:grid;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:repeat(3,minmax(0,1fr));gap:12px
}
body.ph-body .steps>.step-card{
  display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;justify-content:stretch;
  gap:18px;padding:18px 22px!important;min-height:0;
  border-radius:20px;box-shadow:0 10px 22px -20px rgba(43,10,78,.4)
}
body.ph-body .steps>.step-card>b{
  position:static!important;display:grid;place-items:center;
  width:52px!important;height:52px!important;min-height:52px!important;
  margin:0!important;flex:none!important;border-radius:15px!important;
  font-size:22px!important
}
body.ph-body .steps .step-content{min-width:0;align-self:center}
body.ph-body .steps .step-content>span{
  display:block;min-height:0;margin:0 0 3px!important;padding:0!important;
  color:#92339e;font-size:12px;font-weight:700;line-height:1.5
}
body.ph-body .steps .step-content>h3{
  margin:0 0 5px;font-size:17px;line-height:1.45;color:#241132
}
body.ph-body .steps .step-content>p{
  margin:0;font-size:13px;line-height:1.65;color:#6d6076
}
body.ph-body .ph-trust{margin-top:24px;padding-bottom:36px}
body.ph-body .ph-trust-inner{gap:10px}
body.ph-body .ph-trust-item{
  box-shadow:none;border:1px solid #eadde9;border-radius:14px;
  background:#fff;padding:10px 13px;font-size:12px
}
@media(max-width:980px){
  body.ph-body .how{grid-template-columns:1fr;gap:14px}
  body.ph-body .how-copy{padding:28px}
  body.ph-body .steps{grid-template-rows:none;grid-auto-rows:auto}
  body.ph-body .steps>.step-card{min-height:110px}
}
@media(max-width:760px){
  body.ph-body .how{margin-top:30px;padding:0 16px;gap:12px}
  body.ph-body .how-copy{padding:24px 22px}
  body.ph-body .how-copy h2{font-size:26px}
  body.ph-body .steps>.step-card{
    grid-template-columns:44px minmax(0,1fr);gap:13px;
    padding:17px 15px!important;min-height:0;border-radius:17px
  }
  body.ph-body .steps>.step-card>b{
    width:42px!important;height:42px!important;min-height:42px!important;
    font-size:19px!important;border-radius:12px!important
  }
  body.ph-body .steps .step-content>h3{font-size:16px}
  body.ph-body .steps .step-content>p{font-size:13px}
  body.ph-body .ph-trust{margin-top:23px}
}
@media(max-width:360px){
  body.ph-body .steps>.step-card{grid-template-columns:38px minmax(0,1fr);gap:11px}
  body.ph-body .steps>.step-card>b{width:38px!important;height:38px!important;min-height:38px!important;font-size:17px!important}
}
