
:root{--navy:#081c48;--pink:#ec1a70;--purple:#6350d5;--teal:#069b86;--ink:#203954;--line:#dae7ef}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f3f7fc;font:400 14px Prompt,system-ui,sans-serif;color:var(--ink)}
a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.46;cursor:not-allowed}
.container{max-width:1070px;padding:0 17px;margin:auto}
.header{background:#fff;border-bottom:1px solid #ebf0f5;position:relative;z-index:5}
.top{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:83px}.logo{width:190px;height:73px;object-fit:contain;object-position:left}
nav{display:flex;gap:15px;align-items:center;color:#295174;font-size:12px;font-weight:700}.phone{padding:9px 12px;background:#e9f5f9;border-radius:22px;color:#076781}
.hero{margin:20px 0 21px;background:linear-gradient(130deg,#092658 0%,#152e72 76%,#125e87);border-radius:22px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;padding:29px 32px;color:#fff;min-height:240px;gap:20px}
.hero-copy{max-width:650px}.eyebrow{font-weight:800;font-size:11px;letter-spacing:.07em;color:#008ca5}.hero .eyebrow{color:#98e8fa}
.hero h1{font-size:clamp(25px,4vw,39px);line-height:1.35;margin:11px 0}.hero h1 span{color:#ffdf95}.hero p{line-height:1.7;color:#deedfa;margin:4px 0}
.product{width:240px;flex:none;background:#fff;border-radius:17px;padding:10px;box-shadow:0 20px 30px #00183e51}.product img{display:block;width:100%;height:auto;object-fit:contain}
.feature-pills{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}.feature-pills span{padding:4px 8px;border:1px solid #a7c5e47e;border-radius:20px;font-size:10px}
.price{display:flex;gap:12px;align-items:baseline;font-size:12px;color:#d7e9f7;font-weight:700}.price strong{font-size:25px;color:#ffe3a4}
.stepper{display:flex;gap:10px;align-items:center;justify-content:space-between;max-width:860px;margin:22px auto}
.s{display:flex;gap:8px;align-items:center;flex:1;color:#8292a8;font-size:12px;font-weight:750}
.s b{display:flex;align-items:center;justify-content:center;border-radius:50%;width:29px;height:29px;flex:none;color:#506b81;background:#e3eaf0;font-weight:900}
.s.active{color:#087e91}.s.active b,.s.done b{background:#0c8995;color:#fff}.s.done{color:#29929b}
.panel{background:#fff;border:1px solid #e2eaf2;border-radius:19px;padding:30px 31px;box-shadow:0 10px 30px #0924500b;margin:13px 0 20px}
.panel h2{font-size:23px;margin:5px 0 7px;color:#18385c}.muted{color:#698097;line-height:1.75}.tiny{font-size:11px}
.types{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:23px 0}
.type{border-radius:15px;padding:23px;text-align:left;display:flex;flex-direction:column;gap:10px;border:2px solid;align-items:flex-start;min-height:180px}
.type strong{font-size:18px}.type small{font-size:12px}.typeicon{font-size:34px;line-height:1}
.type.individual{background:#edfaf3;border-color:#badfcf;color:#0c6656}.type.individual.chosen{background:#d4f5e4;border-color:#08a77d;box-shadow:0 0 0 3px #05a47b25}
.type.company{background:#f5f0fe;border-color:#d6c9f2;color:#5e3899}.type.company.chosen{background:#e9dcff;border-color:#7952d0;box-shadow:0 0 0 3px #7952d02c}
.type.individual small{color:#497d70}.type.company small{color:#77649c}
.alert-important{background:#fff4e6;border:2px solid #fac992;border-radius:13px;padding:20px;margin:8px 0 16px}
.alert-important strong{color:#a43820;font-size:clamp(19px,3vw,24px);line-height:1.35;display:block}
.alert-important p{color:#8f5a28;line-height:1.8;margin:7px 0 0;font-size:12px}
.ack{display:flex;gap:10px;align-items:flex-start;margin:10px 0 16px;padding:12px 13px;border:1px solid #dfe8ed;border-radius:10px;font-size:12px;line-height:1.75;background:#fbfdff}
.ack input{accent-color:#098e91;width:18px;height:18px;flex:none;margin:2px 0 0}.ack b{color:#184e62}
.actions{display:flex;margin-top:22px;justify-content:flex-end;gap:10px;flex-wrap:wrap}.actions.between{justify-content:space-between}
.button{border:0;border-radius:10px;min-height:45px;padding:11px 18px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-align:center}
.button.primary{color:white;background:linear-gradient(100deg,#eb1c75,#684fcb)}.button.secondary{background:#eaf0f6;color:#3c5d77}.button.primary:hover{filter:brightness(1.08)}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
label{display:block;font-size:12px;font-weight:700;color:#2d4c68}label em{color:#d33837;font-style:normal}
input:not([type=checkbox]),textarea{width:100%;border:1px solid #d4e1e9;border-radius:9px;min-height:43px;padding:10px 11px;color:#1b3d5b;background:#fdfefe;outline:none;margin:6px 0 13px}
input:focus,textarea:focus{border-color:#0699a9;box-shadow:0 0 0 3px #0ba0bb1c}
textarea{resize:vertical}.honeypot{position:absolute!important;left:-100000px!important;max-height:0!important}
.signing{background:#fff8ea;border:2px solid #eed7a4;border-radius:15px;padding:18px 20px;margin:19px 0 23px}
.signing strong{color:#925214;display:block;font-size:17px}.signing p{font-size:12px;color:#754f25;line-height:1.7;margin:7px 0}
.progress{font-size:12px;color:#407285;font-weight:750;margin-bottom:15px}.track{height:7px;background:#e3ebf1;border-radius:7px;overflow:hidden;margin-top:8px}
.track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#099d88,#42b7cb);transition:width .3s}
.docs{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.document{border:1px solid #dce9ef;border-radius:13px;padding:15px;display:flex;gap:10px;min-width:0;background:#fafdff}
.document .ico{width:40px;height:40px;flex:none;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#e9f6f6;color:#098d94;font-size:21px}
.document h3{font-size:13px;line-height:1.6;margin:0 0 4px;color:#234460}.document p{font-size:11px;color:#6b8294;line-height:1.6;margin:0 0 9px}
.document .status{display:block;color:#08966e;font-size:11px;word-break:break-all;margin-top:8px}
.document .uploadbtn,.document .samplebtn{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid #cfdce7;padding:8px 10px;font-weight:750;font-size:11px;margin:3px 5px 3px 0;background:#fff;color:#146487}
.document .uploadbtn{background:#0b7795;color:white;border-color:#0b7795;cursor:pointer}.document .uploadbtn input{display:none}
.document .signedrule{color:#95581c;font-size:11px;margin:5px 0}
.document .signcheck{display:flex;gap:6px;align-items:flex-start;font-size:11px;margin:6px 0}
.document .signcheck input{width:16px;height:16px;accent-color:#0d9a7b}
.reminder{margin-top:20px;background:#eaf7fa;border:1px solid #c6e6ed;color:#236780;border-radius:12px;padding:14px 15px;font-size:12px;line-height:1.75}
.review{background:#f6f9fc;border:1px solid #e0eaf1;border-radius:12px;margin:13px 0 18px;padding:6px 13px}
.review>div{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e2ecf2;gap:15px;padding:10px 0;font-size:12px}.review>div:last-child{border:0}
.review>div span{color:#7890a4}.review b{text-align:right;max-width:65%;word-break:break-word}
.panel h3{margin:19px 0 9px;color:#1c3b61}
.error{border:1px solid #edb3bd;border-radius:12px;padding:14px 18px;color:#ac2838;background:#ffeef1;font-size:13px;margin:17px 0}
.success{text-align:center;padding:60px 25px}.successicon{margin:auto;background:#dcf8ef;color:#098b71;border-radius:50%;display:flex;align-items:center;justify-content:center;width:70px;height:70px;font-size:45px;font-weight:800}
.receipt{font-weight:900;color:#09769a;background:#edf9fc;padding:14px 20px;display:inline-block;border-radius:12px;margin:20px}
footer{display:flex;gap:15px;flex-wrap:wrap;justify-content:space-between;border-top:1px solid #dce8f0;padding:25px 0;color:#758a9c;font-size:11px}
.modalcover{position:fixed;inset:0;background:#0a1735c9;z-index:10;display:flex;align-items:center;justify-content:center;padding:15px}
.modalcover[hidden]{display:none}
.modal{background:#fff;border-radius:17px;padding:25px;position:relative;width:min(490px,100%);max-height:94vh;overflow:auto}
.close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:26px;color:#567489}
.samplepaper{position:relative;min-height:220px;margin:16px auto;border:1px solid #c6d3e1;background:#fdfdfd;box-shadow:0 8px 22px #263e5e21;max-width:290px;text-align:center;padding:24px}
.samplepaper:before{content:"ตัวอย่างจำลอง";position:absolute;transform:rotate(-30deg);font-size:22px;font-weight:900;color:#d9635680;top:40%;left:7%}
.samplepaper .lines{height:8px;border-radius:5px;background:#d4dee7;margin:15px auto;width:90%}.samplepaper .lines.short{width:55%}
.samplepaper .signature{font-size:10px;margin-top:36px;text-align:right;color:#52657e}.samplepaper .stamp{font-size:11px;color:#a53d5b;border:2px solid #cd526e;border-radius:50%;width:75px;height:64px;display:flex;justify-content:center;align-items:center;margin:6px 0 0 auto}
@media(max-width:720px){.top{min-height:63px}.logo{height:58px;width:158px}nav{font-size:10px;gap:7px}.phone{padding:7px}.hero{padding:18px;display:block;margin:12px 0;border-radius:16px}.hero h1{font-size:24px}.hero p{font-size:12px}.product{width:min(100%,280px);margin:16px auto 0}.hero .price strong{font-size:24px}.panel{padding:22px 16px}.fields,.docs,.types{grid-template-columns:1fr}.type{min-height:142px;padding:17px}.type strong{font-size:17px}.stepper{gap:2px}.s{flex-direction:column;text-align:center;font-size:10px;gap:5px}.s b{width:27px;height:27px}.panel h2{font-size:20px}.signing{padding:15px}.signing strong{font-size:15px}.actions.between .button{flex:1}.document{padding:12px}.product img{max-height:200px}}

/* HERO PAY merchant eligibility: concise condition with Mastercard logo */
.alert-important.mastercard-eligibility{display:flex;align-items:center;gap:19px;justify-content:flex-start;padding:17px 20px;}
.alert-important.mastercard-eligibility img{width:114px;height:72px;object-fit:contain;flex:none;}
.alert-important.mastercard-eligibility strong{font-size:clamp(19px,2.8vw,26px);line-height:1.4;margin:0;}
@media(max-width:600px){.alert-important.mastercard-eligibility{padding:13px;gap:10px;}.alert-important.mastercard-eligibility img{width:93px;height:65px;}.alert-important.mastercard-eligibility strong{font-size:20px;}}
