/* Pruxus look & feel. Tokens from the Pruxus design system. */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Noto+Sans+Thai:wght@300;400;500;700&display=swap');

:root{
  --deep-teal:#0F3A3F; --deep-teal-raised:#163F45; --cream:#F4F1EA; --paper:#FFFDF8;
  --yellow:#EDB72A; --yellow-hover:#D9A51F; --ink-on-yellow:#12302F;
  --step-create:#4F7A34; --step-test:#C65A12; --step-train:#6B3FA0; --on-step:#F4F1EA;
  --font-display:"Noto Sans Thai","Helvetica Neue",Arial,sans-serif;
  --font-body:"Google Sans","Noto Sans Thai","Helvetica Neue",Arial,sans-serif;
  --r-sm:12px; --r-md:20px; --r-lg:24px; --r-pill:999px;
  /* light theme (default) */
  --surface:var(--cream); --surface-raised:var(--paper);
  --ink:#12302F; --ink-muted:#4A5556; --ink-subtle:#5E6968;
  --eyebrow:#A84C17; --highlight:#3E6A2B; --line:#D8D2C3; --focus:#12302F;
}
[data-theme="light"]{
  --surface:var(--cream); --surface-raised:var(--paper);
  --ink:#12302F; --ink-muted:#4A5556; --ink-subtle:#5E6968;
  --eyebrow:#A84C17; --highlight:#3E6A2B; --line:#D8D2C3; --focus:#12302F;
}
[data-theme="dark"]{
  --surface:var(--deep-teal); --surface-raised:var(--deep-teal-raised);
  --ink:#F4F1EA; --ink-muted:#C9DAD7; --ink-subtle:#9DB8B4;
  --eyebrow:#EDB72A; --highlight:#EDB72A; --line:#2C5A5F; --focus:#EDB72A;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:72px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{font:400 17px/1.6 var(--font-body);background:var(--cream);color:var(--ink);-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
a{color:inherit}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}

.section{background:var(--surface);color:var(--ink);padding:96px 0}
.wrap{width:min(1120px,100% - 32px);margin-inline:auto}
.narrow{width:min(780px,100% - 32px)}
@media(max-width:700px){.section{padding:64px 0}}

/* type */
h1,h2,h3{font-family:var(--font-display);font-weight:700;color:var(--ink);text-wrap:balance}
h1{font-size:clamp(2.4rem,6vw,4rem);line-height:1.02;letter-spacing:-2px}
h2{font-size:clamp(2rem,4.5vw,2.75rem);line-height:1.06;letter-spacing:-1.2px}
h3{font-size:1.5rem;line-height:1.2;letter-spacing:-.5px}
.hl{color:var(--highlight)}
h2 .hl{color:inherit}
.eyebrow{font:500 13px/1.2 var(--font-body);letter-spacing:3px;text-transform:uppercase;color:var(--eyebrow);margin-bottom:16px}
.lead{font:400 21px/1.5 var(--font-body);color:var(--ink-muted);max-width:60ch;margin-top:20px}
.section-lead{color:var(--ink-muted);max-width:65ch;margin:16px 0 48px}

/* nav */
.nav{position:sticky;top:0;z-index:20;background:var(--deep-teal);color:var(--cream);border-bottom:1px solid #2C5A5F}
.nav-inner{display:flex;justify-content:space-between;align-items:center;height:64px}
.logo{display:flex;align-items:center;gap:10px;font:700 1.3rem var(--font-display);text-decoration:none;color:var(--cream)}
.logo-mark{height:40px;width:auto;display:block}
.logo-word{height:15px;width:auto;display:block}
.nav nav{display:flex;gap:24px;align-items:center}
.nav nav a{text-decoration:none;font-size:.95rem;color:#C9DAD7}
.nav nav a:hover{color:#fff}
.nav{transition:box-shadow .25s}
.nav.scrolled{box-shadow:0 4px 14px rgba(0,0,0,.28)}
.nav nav{gap:20px}
.nav nav a:not(.btn){font-family:"Noto Sans Thai","Google Sans",sans-serif;font-size:.92rem;line-height:1.4;padding:6px 0;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.nav nav a:not(.btn).active{color:#fff;border-bottom-color:var(--yellow)}
.nav nav a:not(.btn):focus-visible{outline:2px solid var(--yellow);outline-offset:4px;border-radius:4px}
@media(max-width:1020px){.nav nav a:not(.btn){display:none}}
.nav nav .btn{color:var(--ink-on-yellow)}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--yellow);color:var(--ink-on-yellow);border:2px solid transparent;padding:16px 28px;border-radius:var(--r-pill);font:700 17px/1 var(--font-body);text-decoration:none;cursor:pointer}
.btn:hover{background:var(--yellow-hover)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn-ghost:hover{background:var(--surface-raised)}
.btn-sm{padding:10px 20px;font-size:15px}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.btn[disabled]:hover{background:transparent}

/* hero */
.hero{padding:112px 0 96px}
.hero-inner{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:center}
@media(max-width:900px){.hero-inner{grid-template-columns:1fr}}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:36px}
.hero-price{margin-top:24px;color:var(--ink-muted)}
.hero-price strong{color:var(--ink);font:700 1.4rem var(--font-display)}
/* hero: page mock-ups */
.mock{position:relative;height:460px;max-width:520px;width:100%;margin-inline:auto}
.pg{position:absolute;border-radius:14px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.35);background:#fff}
.pg .bar{height:24px;background:#E9E5DA;display:flex;gap:5px;align-items:center;padding:0 10px}
.pg .bar i{width:7px;height:7px;border-radius:50%;background:#B9B3A3}
.pg b{display:block;border-radius:6px}
/* A: cream + teal page */
.pg-a{width:72%;left:0;top:44px;transform:rotate(-3deg);background:var(--cream)}
.a-hero{background:#0F3A3F;padding:20px 18px 22px}
.a-hero .l1{width:78%;height:13px;background:#F4F1EA;margin-bottom:8px}
.a-hero .l2{width:52%;height:13px;background:#EDB72A;margin-bottom:14px}
.a-hero .l3{width:64%;height:7px;background:#4d7a7e;margin-bottom:16px}
.a-hero .pill{width:76px;height:20px;background:#EDB72A;border-radius:99px}
.a-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 14px 16px}
.a-cards i{height:54px;border-radius:8px;background:#FFFDF8;border-top:5px solid #EDB72A}
.a-cards i:nth-child(2){border-top-color:#4F7A34}
.a-cards i:nth-child(3){border-top-color:#C65A12}
/* B: dark tech page */
.pg-b{width:56%;right:0;top:170px;transform:rotate(3.5deg);background:#0f172a}
.pg-b .bar{background:#1e293b}.pg-b .bar i{background:#475569}
.b-body{padding:16px 16px 18px}
.b-body .l1{width:70%;height:11px;background:#e2e8f0;margin-bottom:8px}
.b-body .l2{width:45%;height:11px;background:#22d3ee;margin-bottom:14px}
.b-body .glow{width:100%;height:46px;background:linear-gradient(135deg,#0e7490,#22d3ee);opacity:.85;margin-bottom:10px}
.b-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.b-row i{height:34px;border-radius:6px;background:#1e293b;border:1px solid #334155}
/* C: phone, bold style */
.pg-c{width:122px;height:244px;left:5%;bottom:0;border:6px solid #12302F;border-radius:26px;background:#fff7ed;padding:0 12px 12px;transform:rotate(-5deg);box-shadow:0 20px 50px rgba(0,0,0,.4)}
.c-top{height:70px;margin:0 -12px 12px;background:linear-gradient(135deg,#f43f5e,#f59e0b)}
.pg-c .l1{width:80%;height:9px;background:#12302F;margin-bottom:6px}
.pg-c .l2{width:55%;height:9px;background:#f43f5e;margin-bottom:12px}
.pg-c .c-btn{width:62%;height:18px;background:#12302F;border-radius:99px;margin-bottom:12px}
.c-img{height:52px;border-radius:8px;background:#fde4c8}
/* price burst */
.burst-wrap{position:absolute;top:-8px;right:-6px;z-index:5;filter:drop-shadow(0 6px 4px rgba(0,0,0,.35)) drop-shadow(0 18px 24px rgba(0,0,0,.55));transform:rotate(9deg)}
.burst{width:190px;height:190px;border-radius:50%;background:var(--step-test);color:var(--cream);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.05}
.burst .s1,.burst .s2{font:700 17px/1.2 var(--font-display)}
.burst b{font:700 2.7rem/1.05 var(--font-display);letter-spacing:-1.5px}
html[lang=th] .burst b{letter-spacing:0}
@media(max-width:900px){.mock{height:430px}}
@media(max-width:480px){.mock{height:400px}.burst{width:160px;height:160px}.burst b{font-size:2.2rem}}

/* language switch */
.lang{background:transparent;color:var(--cream);border:2px solid #2C5A5F;border-radius:var(--r-pill);padding:6px 14px;font:700 13px/1 var(--font-body);letter-spacing:1px;cursor:pointer}
.lang:hover{border-color:var(--yellow);color:var(--yellow)}

/* Thai typography: no negative tracking (it collides vowel marks), more line-height */
html[lang=th] h1,html[lang=th] h2,html[lang=th] h3,html[lang=th] .step legend,html[lang=th] .row.total,html[lang=th] .price{letter-spacing:0}
html[lang=th] h1{line-height:1.2}
html[lang=th] h2{line-height:1.25}
html[lang=th] h3{line-height:1.35}
html[lang=th] .lead,html[lang=th] .section-lead,html[lang=th] body{line-height:1.75}
html[lang=th] .eyebrow,html[lang=th] .step-count,html[lang=th] .price-label{letter-spacing:1.5px}

/* cards */
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:var(--surface-raised);border-radius:var(--r-md);border-top:10px solid var(--yellow);padding:24px;display:flex;flex-direction:column;gap:12px}
.card.c2{border-top-color:var(--step-create)}
.card.c3{border-top-color:var(--step-test)}
.card.c4{border-top-color:var(--step-train)}
.card p{color:var(--ink-muted);font-size:16px}
.num{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font:700 20px/1 var(--font-display);background:var(--yellow);color:var(--ink-on-yellow)}
.c2 .num{background:var(--step-create);color:var(--on-step)}
.c3 .num{background:var(--step-test);color:var(--on-step)}
.c4 .num{background:var(--step-train);color:var(--on-step)}

/* gallery */
.style-card{background:var(--surface-raised);border-radius:var(--r-md);border-top:10px solid var(--yellow);overflow:hidden;display:flex;flex-direction:column}
.thumb{height:180px;margin:16px 16px 0;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;color:#fff;font:700 1.5rem var(--font-display);letter-spacing:-.5px;position:relative;text-align:center;padding:12px}
.badge{position:absolute;top:10px;right:10px;font:700 11px/1 var(--font-body);letter-spacing:2px;text-transform:uppercase;background:var(--cream);color:var(--ink-on-yellow);padding:7px 12px;border-radius:var(--r-pill)}
.style-body{padding:20px 24px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.style-body h3{font-size:1.25rem}
.style-body p{color:var(--ink-muted);font-size:15px;flex:1}
.style-body .btn{margin-top:12px;justify-content:center}

/* pricing */
.price-box{display:grid;grid-template-columns:minmax(260px,1fr) 1.5fr;gap:48px;align-items:start;margin-top:8px}
@media(max-width:800px){.price-box{grid-template-columns:1fr;gap:32px}}
.price-main{background:var(--surface-raised);border-radius:var(--r-md);border-top:10px solid var(--yellow);padding:32px}
.price-label{font:700 13px/1.2 var(--font-body);letter-spacing:2px;text-transform:uppercase;color:var(--eyebrow)}
.price{font:700 5rem/1 var(--font-display);letter-spacing:-3px;margin:16px 0 8px;color:var(--ink)}
.price span{font-size:1.6rem;letter-spacing:0;margin-left:4px}
.price-note{color:var(--ink-muted);font-size:15px;margin-bottom:24px}
.price-list h3{margin-bottom:16px}
.checks{list-style:none;display:grid;gap:12px}
.checks li{padding-left:30px;position:relative;color:var(--ink-muted)}
.checks li::before{content:"";position:absolute;left:0;top:.45em;width:16px;height:16px;border-radius:50%;background:var(--yellow)}

/* steps */
.steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:32px}
.steps li{border-top:3px solid var(--ink);padding-top:20px;display:flex;flex-direction:column;gap:8px}
.steps .n{font:700 4rem/.9 var(--font-display);letter-spacing:-3px;color:var(--highlight)}
html[lang=th] .steps .n{letter-spacing:0}
.steps strong{font:700 1.25rem var(--font-display)}
.steps span.d{color:var(--ink-muted);font-size:16px}

/* quiz */
.quiz{color:var(--ink);background:var(--surface-raised);border-radius:var(--r-md);border-top:10px solid var(--yellow);padding:32px}
.progress{height:8px;background:var(--line);border-radius:var(--r-pill);overflow:hidden}
#bar{height:100%;width:0;background:var(--step-create);transition:width .3s}
.step-count{font:700 13px/1.2 var(--font-body);letter-spacing:2px;text-transform:uppercase;color:var(--eyebrow);margin:16px 0 20px}
.step{display:none;border:0}
.step.active{display:block}
.step legend{font:700 1.75rem/1.15 var(--font-display);letter-spacing:-.5px;margin-bottom:20px}
.step legend small{font:400 .9rem var(--font-body);letter-spacing:0;color:var(--ink-subtle)}
.options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.opt{border:2px solid var(--line);border-radius:var(--r-sm);padding:14px 18px;cursor:pointer;display:block;position:relative;background:var(--surface-raised)}
.opt:hover{border-color:var(--ink-subtle)}
.opt input{position:absolute;opacity:0}
.opt strong{display:block;font-weight:500;font-size:16px}
.opt span{display:block;font-size:14px;color:var(--ink-muted)}
.opt em{font-style:normal;font-size:14px;color:var(--eyebrow);font-weight:700}
.opt:has(input:checked){border-color:var(--ink);background:#FBF3D9}
.opt:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.checks-list{grid-template-columns:1fr}
.field{display:block;font:500 15px var(--font-body);margin-top:18px}
.field input,.field textarea{display:block;width:100%;margin-top:6px;padding:12px 16px;border:2px solid var(--line);border-radius:var(--r-sm);background:#fff;color:var(--ink);font:400 17px var(--font-body)}
.field input:focus,.field textarea:focus{outline:3px solid var(--focus);outline-offset:2px;border-color:var(--ink)}
.hint{font:400 15px/1.45 var(--font-body);color:var(--ink-subtle);margin-top:16px}
.error{color:#A8321A;font-size:15px;margin-top:16px;min-height:1.5em}
.quiz-nav{display:flex;justify-content:space-between;margin-top:32px;gap:12px}
.quiz.done .quiz-nav #next{display:none}
.result h3{font-size:1.75rem;margin-bottom:16px}
.row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.row.total{border:0;font:700 1.75rem var(--font-display);letter-spacing:-.5px;padding-top:20px}
.row.total span:last-child{color:var(--highlight)}
.result-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

/* footer (closing band) */
.footer{border-top:1px solid #2C5A5F;background:var(--deep-teal);color:var(--cream);padding:48px 0;font-size:15px}
.footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:#C9DAD7}

/* modal */
.modal{position:fixed;inset:0;z-index:50;background:rgba(15,58,63,.97);display:flex;flex-direction:column}
.modal-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;color:var(--cream);flex-wrap:wrap}
.modal-bar strong{font-family:var(--font-display)}
.modal-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.modal-tools button,.modal-tools a{background:var(--deep-teal-raised);color:var(--cream);border:2px solid #2C5A5F;padding:8px 16px;border-radius:var(--r-pill);font:500 14px var(--font-body);cursor:pointer;text-decoration:none}
.modal-tools button.on{background:var(--yellow);color:var(--ink-on-yellow);border-color:var(--yellow)}
.modal-tools button,.modal-tools a{display:inline-flex;align-items:center;gap:8px}
.modal-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.modal-tools .icon-btn{padding:8px;width:40px;height:40px;justify-content:center}
.modal-body{flex:1;display:flex;justify-content:center;padding:0;min-height:0}
.modal-body iframe{width:100%;height:100%;border:0;background:#fff;transition:width .25s}

@media(max-width:600px){
  .nav nav a:not(.btn){display:none}
  .quiz{padding:22px}
  .price{font-size:4rem}
}

/* service: plain list, one colour */
.svc{display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:start}
@media(max-width:860px){.svc{grid-template-columns:1fr;gap:8px}}
.svc .section-lead{margin-bottom:0}
.checks.plain{gap:24px;margin-top:8px}
.checks.plain li{color:var(--ink-muted)}
.checks.plain strong{display:block;color:var(--ink);font:700 1.2rem var(--font-display);margin-bottom:2px}
.checks.plain li::before{top:.5em}

/* anatomy of a landing page */
.anatomy{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:64px;align-items:start}
@media(max-width:860px){.anatomy{grid-template-columns:1fr;gap:40px}.wf{margin-inline:auto;width:100%;max-width:420px}}
.mk{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--yellow);color:var(--ink-on-yellow);font:700 13px/1 var(--font-display);flex:none;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.an-list{list-style:none;display:grid;gap:0}
.an-list li{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.an-list li:first-child{padding-top:0}
.an-list li>div{display:flex;flex-direction:column;gap:2px}
.an-list strong{font:700 1.15rem var(--font-display)}
.an-list li>div>span{color:var(--ink-muted);font-size:16px}
.wf{background:#FFFDF8;border-radius:14px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.wf-bar{height:28px;background:#E9E5DA;display:flex;gap:5px;align-items:center;padding:0 12px}
.wf-bar i{width:7px;height:7px;border-radius:50%;background:#B9B3A3}
.wf-bar span{flex:1;height:12px;border-radius:99px;background:#FFFDF8;margin-left:10px}
.wf-body{padding:16px 18px 20px;display:grid;gap:18px}
.wf b,.wf u,.wf s,.wf em,.wf i{display:block;text-decoration:none}
.wf b{height:7px;border-radius:4px;background:#D8D2C3}
.wf-body>div{position:relative}
.wf .mk{position:absolute;left:-14px;top:-8px;z-index:2;width:22px;height:22px;font-size:12px}
.wf-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:14px;align-items:center}
.wf-text{position:relative;display:grid;gap:7px}
.wf-text .h{height:13px;background:#12302F;border-radius:4px}
.wf-text .h.s{width:70%}
.wf-text .sub{width:85%;margin-top:2px}
.cta-wrap{position:relative;margin-top:6px}
.cta-wrap .mk{left:auto;right:-6px;top:-10px}
.wf .cta{width:76px;height:20px;border-radius:99px;background:#EDB72A}
.wf-img{position:relative;aspect-ratio:1/0.95;border-radius:10px;background:linear-gradient(135deg,#0F3A3F,#2C5A5F);overflow:hidden}
.wf-img::after{content:"";position:absolute;left:14%;bottom:-18%;width:60%;aspect-ratio:1;border-radius:50%;background:#EDB72A;opacity:.9}
.wf-img .mk{left:auto;right:6px;top:6px}
.wf-proof{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.wf-proof i{height:18px;border-radius:99px;background:#EAE5D8}
.wf-ben{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.wf-ben div{display:grid;gap:5px}
.wf-ben u{aspect-ratio:1.5;border-radius:8px;background:#E3DDCE}
.wf-test{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wf-test div{display:flex;gap:8px;align-items:center}
.wf-test em{width:26px;height:26px;border-radius:50%;background:#12302F;flex:none}
.wf-test span{display:grid;gap:5px;flex:1}
.wf-feat{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.wf-feat div{display:flex;gap:8px;align-items:flex-start}
.wf-feat s{width:16px;height:16px;border-radius:4px;background:#12302F;flex:none;margin-top:1px}
.wf-feat span{display:grid;gap:5px;flex:1}
.wf-faq{background:#EAE5D8;border-radius:8px;padding:14px;display:grid;gap:9px}
.wf-faq b{background:#C9C2AF}
.wf-faq b:nth-child(odd){width:70%}
.wf-final{display:grid;justify-items:center;gap:8px;padding:6px 0}
.wf-final .h{width:60%;height:10px;background:#12302F}
.wf-test,.wf-feat,.wf-faq{margin-left:10px}
.wf-faq .mk{left:-24px}
.hero{overflow:hidden}

/* anatomy mockup: sample text and product image */
.wf{color:#12302F}
.wf p{margin:0}
.wf-bar span{font-size:8px;line-height:12px;color:#8A8576;padding-left:8px}
.wf .t1{font:700 17px/1.2 var(--font-display);letter-spacing:-.2px}
.wf .t2{font-size:9.5px;line-height:1.5;color:#5E6B66;margin-top:4px}
.wf .cta{width:fit-content;height:auto;padding:6px 14px;font:700 10px/1 var(--font-display);color:#2B2200;white-space:nowrap}
.wf-img svg{position:absolute;inset:0;width:100%;height:100%;z-index:1}
.wf-proof i{height:auto;padding:5px 3px;font-size:8px;line-height:1.2;font-style:normal;font-weight:600;text-align:center;color:#3E4D49}
.wf .bt{font-size:9.5px;font-weight:700;line-height:1.3}
.wf .bd{font-size:8px;line-height:1.4;color:#5E6B66}
.wf .bn{font-size:8px;font-weight:700;margin-top:2px}
.wf-hero{margin-left:16px}
.cta-wrap .mk{right:-14px;top:-6px}
.wf-ben u{aspect-ratio:2.2}
.wf-ben u:nth-child(1){background:#E3DDCE}
.wf-ben div:nth-child(2) u{background:#F3D98A}
.wf-ben div:nth-child(3) u{background:#BFD5D2}
.wf-test em{display:grid;place-items:center;color:#EDB72A;font:700 11px/1 var(--font-display)}
.wf-test span{gap:2px}
.wf-feat s{display:grid;place-items:center;color:#EDB72A;font-size:10px;line-height:1}
.wf-feat span{gap:1px}
.wf-faq{gap:0}
.wf-faq .q{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:600;padding:6px 0;border-bottom:1px solid #C9C2AF}
.wf-faq .q:last-of-type{border-bottom:0}
.wf-faq .q i{font-style:normal;font-size:11px}
.wf .t3{font:700 12px/1.3 var(--font-display);text-align:center}

/* collapsible anatomy */
.collapse{position:relative;overflow:hidden;transition:max-height .5s ease}
.collapse .fade{position:absolute;left:0;right:0;bottom:0;height:140px;background:linear-gradient(to bottom,rgba(15,58,63,0),var(--surface) 85%);pointer-events:none;transition:opacity .3s}
.collapse.open .fade{opacity:0}
.collapse-toggle{display:flex;justify-content:center;margin-top:24px}
@media(prefers-reduced-motion:reduce){.collapse{transition:none}}

/* all buttons: Noto Sans Thai */
.btn,.lang,.modal-tools button,.modal-tools a{font-family:"Noto Sans Thai","Google Sans",sans-serif;line-height:1.35}
@media(max-width:600px){.logo-word{height:12px}.logo-mark{height:34px}}

.thumb.has-img{box-shadow:inset 0 0 0 1px rgba(18,48,47,.12)}

/* anatomy: highlight linked parts */
.wf-head{display:grid;gap:7px}
.cta-wrap{width:fit-content}
.wf [data-t]{cursor:pointer;transition:opacity .2s}
.wf.has-active [data-t]:not(.hl-on){opacity:.38}
.wf [data-t].hl-on{outline:3px solid var(--yellow);outline-offset:5px;border-radius:8px}
.wf .mk{transition:transform .2s,box-shadow .2s}
.wf .mk.on{transform:scale(1.3);box-shadow:0 0 0 5px rgba(237,183,42,.4)}
.an-list li{cursor:pointer;padding-inline:12px;margin-inline:-12px;border-radius:10px;transition:background .2s}
.an-list li.on{background:rgba(237,183,42,.12)}
.an-list li.on strong{color:var(--yellow)}
.an-list li:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
@media(prefers-reduced-motion:reduce){.wf [data-t],.wf .mk,.an-list li{transition:none}}

/* nav CTA: short label on phones */
.t-short{display:none}
@media(max-width:600px){.t-full{display:none}.t-short{display:inline}}

/* process: vertical sequence with arrows */
.timeline{list-style:none;margin-top:48px;max-width:720px}
.timeline li{position:relative;display:flex;align-items:flex-start;gap:20px;padding-bottom:56px}
.timeline li:last-child{padding-bottom:0}
.timeline .dot{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--step-create);color:#fff;font:700 20px/1 var(--font-display)}
.timeline strong{font:700 1.3rem/1.35 var(--font-display);min-height:44px;display:flex;align-items:center}
html[lang=th] .timeline strong{line-height:1.5}
/* line from one circle to the next, with an arrowhead pointing down */
.timeline li:not(:last-child)::after{content:"";position:absolute;left:21px;top:52px;bottom:19px;width:2px;background:var(--step-create)}
.timeline li:not(:last-child)::before{content:"";position:absolute;left:15px;bottom:8px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:11px solid var(--step-create)}

/* process timeline v2: arrows touch both circles, icons and subtitles */
.timeline li{padding-bottom:44px}
.timeline li:not(:last-child)::after{top:44px;bottom:11px}
.timeline li:not(:last-child)::before{bottom:0}
.timeline .tl-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.timeline strong{gap:12px}
.timeline .ico{flex:none;width:26px;height:26px;fill:none;stroke:var(--step-create);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.timeline .sub{color:var(--ink-muted);font-size:16px;line-height:1.65;max-width:56ch;padding-left:38px}

/* hero illustration (replaces the CSS page mock-ups) */
.mock.has-art{height:auto;max-width:560px}
.hero-art{background:var(--cream);border-radius:24px;padding:14px 14px 6px;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.hero-art img{display:block;width:100%;height:auto}
.has-art .burst-wrap{top:-40px;right:-14px}
.has-art .burst{width:168px;height:168px}
.has-art .burst b{font-size:2.3rem}
.has-art .burst .s1,.has-art .burst .s2{font-size:15px}
@media(max-width:480px){.has-art .burst-wrap{top:-34px;right:-6px}.has-art .burst{width:132px;height:132px}.has-art .burst b{font-size:1.8rem}.has-art .burst .s1,.has-art .burst .s2{font-size:13px}}

/* hero illustration v2: transparent image sits directly on the dark hero (no card) */
.hero-art{background:none;box-shadow:none;padding:0;border-radius:0}
.mock.has-art{max-width:600px}
/* crop the empty band above the illustration so it reads larger */
.hero-art{aspect-ratio:1536/880;overflow:hidden}
.hero-art img{height:100%;object-fit:cover;object-position:50% 100%}
.mock.has-art{max-width:640px}
.has-art .burst-wrap{top:-62px;right:-8px}
@media(max-width:480px){.has-art .burst-wrap{top:-44px;right:-4px}}

/* price badge sits at the bottom, below the two people */
.has-art .burst-wrap{top:auto;bottom:-58px;right:2px}
@media(max-width:480px){.has-art .burst-wrap{top:auto;bottom:-46px;right:0}}
.has-art .burst-wrap{bottom:-96px;right:6px}
.hero{padding-bottom:104px}
@media(max-width:480px){.has-art .burst-wrap{bottom:-70px}.hero{padding-bottom:88px}}

/* hero illustration v3 (red circle version): show the whole image, no cropping */
.hero-art{aspect-ratio:auto;overflow:visible}
.hero-art img{height:auto;object-fit:initial}

/* price badge: lower, so it no longer covers the woman's arm */
.has-art .burst-wrap{bottom:-112px;right:10px}
.hero{padding-bottom:140px}
@media(max-width:480px){.has-art .burst-wrap{bottom:-84px;right:2px}.hero{padding-bottom:116px}}

/* mobile hero: bigger title, smaller intro text */
@media(max-width:600px){
  .hero h1{font-size:2.7rem}
  .hero .lead{font-size:16px;margin-top:16px}
}

/* FAQ accordion */
.faq{margin-top:40px;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;font:700 1.15rem/1.45 var(--font-display)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--yellow);color:var(--ink-on-yellow);font:700 20px/1 var(--font-body)}
.faq details[open] summary::after{content:"\2212"}
.faq summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.faq details p{color:var(--ink-muted);padding:0 48px 22px 0;max-width:66ch;line-height:1.75}
html[lang=th] .faq summary{line-height:1.5}

/* questionnaire now sits on cream: lift the card */
#quote .quiz{box-shadow:0 12px 40px rgba(18,48,47,.10);border:1px solid var(--line);border-top:10px solid var(--yellow)}

/* deep green-blue theme (the brand teal nudged toward blue, hue ~193), white text */
[data-theme="deepblue"]{
  --surface:#0C3B48; --surface-raised:#114857;
  --ink:#FFFFFF; --ink-muted:#D3E7EC; --ink-subtle:#A9CAD3;
  --eyebrow:#EDB72A; --highlight:#EDB72A; --line:#2B6A7A; --focus:#EDB72A;
}
/* FAQ: title on the left, questions on the right (desktop only) */
@media(min-width:900px){
  .faq-layout{display:grid;grid-template-columns:minmax(240px,.8fr) 1.7fr;gap:72px;align-items:start}
  .faq-head{position:sticky;top:104px}
  .faq-layout .faq{margin-top:0}
}

/* single Thai font: no negative tracking anywhere */
html[lang=th] .thumb,html[lang=th] .burst b{letter-spacing:0}

/* pricing: what is not included + VAT note */
.exc-title{margin-top:36px;margin-bottom:16px}
.checks.no li::before{background:none;border:2px solid var(--ink-subtle);box-sizing:border-box}
.vat-note{color:var(--ink-muted);font-size:15px;margin-top:20px}
.hero-vat{margin-top:18px;font-size:14px;color:var(--ink-subtle)}

/* expertise section: light yellow, numbered cards */
[data-theme="butter"]{--surface:#FBF1CC;--surface-raised:#FFFBEA;--ink:#12302F;--ink-muted:#3F4A47;--ink-subtle:#5E6968;--eyebrow:#8A5A00;--highlight:#12302F;--line:#E6D595;--focus:#12302F}
.xp-list{list-style:none;counter-reset:xp;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px}
.xp-list li{counter-increment:xp;position:relative;background:var(--surface-raised);border:1px solid var(--line);border-radius:var(--r-md);padding:68px 24px 26px;color:var(--ink-muted);box-shadow:0 8px 24px rgba(18,48,47,.08)}
.xp-list li::before{content:counter(xp);position:absolute;left:24px;top:22px;width:34px;height:34px;border-radius:50%;background:#12302F;color:#EDB72A;display:grid;place-items:center;font:700 16px/1 var(--font-display)}
.xp-list strong{display:block;color:var(--ink);font:700 1.2rem/1.35 var(--font-display);margin-bottom:8px}
@media(max-width:860px){.xp-list{grid-template-columns:1fr}}
.xp-top{display:grid;grid-template-columns:1fr minmax(0,340px);gap:48px;align-items:center;margin-bottom:40px}
.xp-top .section-lead{margin-bottom:0}
.xp-art{width:100%;height:auto;display:block;mix-blend-mode:multiply}
@media(max-width:860px){.xp-top{grid-template-columns:1fr;gap:12px}.xp-art{max-width:280px}}
@media(max-width:480px){.xp-art{max-width:200px}}

/* pricing "included" list: checkmark inside the yellow dot */
.price-list .checks:not(.no) li::before{width:20px;height:20px;top:.3em;background:var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232B2200' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.price-list .checks:not(.no) li{padding-left:34px}

/* process steps with illustration (one image, two halves) */
.timeline .has-art .sub{padding-left:0}
.timeline .has-art strong{min-height:44px}
.tl-art{width:100%;max-width:260px;aspect-ratio:4/3;margin-top:12px;background:url("../assets/steps-illustration.webp") no-repeat;background-size:200% auto;mix-blend-mode:multiply}
.tl-art.a2{background-position:left bottom}
.tl-art.a3{background-position:right bottom}
@media(max-width:480px){.tl-art{max-width:150px}}
.tl-art.b1,.tl-art.b4{background-image:url("../assets/steps-illustration-2.webp");aspect-ratio:6/5}
.tl-art.b1{background-position:left bottom}
.tl-art.b4{background-position:right bottom}
/* step 4: start the crop right of the left scene so no edge shows */
.tl-art.b4{background-size:210% auto;aspect-ratio:10/9}
/* step 5: single picture */
.tl-art.c5{background-image:url("../assets/step-5.png");background-size:100% auto;background-position:center;aspect-ratio:524/455}
/* step 6: wide single picture */
.tl-art.d6{background-image:url("../assets/step-6.webp");background-size:100% auto;background-position:center;aspect-ratio:2/1;max-width:340px}
@media(max-width:480px){.tl-art.d6{max-width:220px}}

/* process: each step opens its own details */
.tl-more{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease}
.tl-more-in{overflow:hidden;min-height:0}
.timeline.open .tl-more{grid-template-rows:1fr}
.timeline:not(.open) li{padding-bottom:28px}
.timeline li:last-child{padding-bottom:0!important}
.timeline li{transition:padding-bottom .4s ease}
.timeline strong[role=button]{cursor:pointer;width:fit-content}
.timeline strong[role=button] span{text-decoration:underline dotted;text-decoration-thickness:1.5px;text-underline-offset:6px}
.timeline .chev{flex:none;width:22px;height:22px;fill:none;stroke:var(--step-create);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.timeline.open .chev{transform:rotate(180deg)}
.timeline strong[role=button]:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:6px}
@media(prefers-reduced-motion:reduce){.tl-more,.timeline li{transition:none}}

/* anatomy on tablet / mobile: tap a number, get a speech bubble (the list below is hidden visually, kept for screen readers) */
.wf{position:relative}
.an-hint{display:none}
.an-bubble{position:absolute;z-index:6;background:#12302F;color:#F4F1EA;border-radius:12px;padding:10px 12px;box-shadow:0 10px 24px rgba(0,0,0,.35);font-size:12px;line-height:1.5;display:grid;gap:2px}
.an-bubble[hidden]{display:none}
.an-bubble strong{color:#EDB72A;font:700 13px/1.35 var(--font-display)}
.an-bubble span{color:#E6EEEC}
.an-bubble::after{content:"";position:absolute;left:var(--ax,24px);top:-7px;margin-left:-7px;border:7px solid transparent;border-top:0;border-bottom:8px solid #12302F}
.an-bubble.up::after{top:auto;bottom:-7px;border-bottom:0;border-top:8px solid #12302F}
@media(max-width:860px){
  .an-hint{display:block;color:var(--eyebrow);font-size:15px;margin:-28px 0 28px}
  .an-list{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .anatomy{position:relative;gap:20px}
  .wf .mk{width:26px;height:26px}
}
@media(min-width:861px){.an-bubble{display:none!important}}

/* price badge: extra line "special price for BNI Miracle" (bigger badge, same top edge) */
.burst .s3{display:block;font:600 11px/1.3 var(--font-display);max-width:112px;margin-top:5px}
.has-art .burst{width:196px;height:196px}
.has-art .burst-wrap{bottom:-140px}
@media(max-width:480px){
  .has-art .burst{width:158px;height:158px}
  .has-art .burst-wrap{bottom:-108px}
  .burst .s3{font-size:10px;max-width:92px;margin-top:3px}
}

/* hero subtitle: a little smaller */
.hero .lead{font-size:18px}
@media(max-width:600px){.hero .lead{font-size:15px}}

/* gallery: the picture opens the preview too */
.thumb.clickable{cursor:pointer;transition:transform .2s,box-shadow .2s}
.thumb.clickable:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(18,48,47,.22)}
.thumb.clickable:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.thumb.clickable{transition:none}.thumb.clickable:hover{transform:none}}

/* sign-up form */
.su-info{margin-bottom:24px;display:grid;gap:14px}
.queue-status{background:#12302F;color:#F4F1EA;border-radius:var(--r-sm);padding:12px 18px;font-size:15px}
.queue-status b{color:#EDB72A}
.disclaimer{background:#FBF1CC;border:1px solid #E6D595;border-radius:var(--r-sm);padding:14px 18px;font-size:15px;line-height:1.6;color:#3F4A47}
.disclaimer strong{color:#12302F}
#signup .field:first-child{margin-top:0}
.field.req>span::after,.grp.req>legend::after{content:" *";color:#A8321A}
.hint-s{display:block;margin-top:6px;font-weight:400;font-size:14px;color:var(--ink-subtle)}
.grp{border:0;margin-top:22px}
.grp legend{font:500 15px var(--font-body);margin-bottom:8px;padding:0}
.options.two{grid-template-columns:1fr 1fr}
.options.three{grid-template-columns:repeat(3,1fr)}
@media(max-width:600px){.options.three{grid-template-columns:1fr}}
.consent{display:flex;gap:12px;align-items:flex-start;margin-top:24px;font-size:15px;cursor:pointer;color:var(--ink-muted)}
.consent input{width:20px;height:20px;margin-top:3px;flex:none;accent-color:#12302F}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#sendBtn{margin-top:8px;width:100%}
#sendBtn:disabled{opacity:.6;cursor:wait}
.su-done{text-align:center;padding:12px 0 4px}
.su-check{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:var(--yellow);color:var(--ink-on-yellow);display:grid;place-items:center;font-size:32px;font-weight:700}
.su-done h3{font-size:1.75rem;margin-bottom:8px}
.su-num{font-size:1.2rem}
.su-num b{display:block;font:800 4.5rem/1.1 var(--font-display);color:var(--highlight);margin:4px 0}
.su-done .hint{max-width:44ch;margin-inline:auto}
.demo-note{color:#A8321A}

.consent-note{margin-top:14px;font-size:13px;line-height:1.5;color:var(--ink-subtle);text-align:center}

/* sign-up v3 */
.field.req>span::after,.grp.req>legend::after{content:" *";color:#D32F2F;font-weight:700}
#suName.short{max-width:280px}
.radios{display:flex;flex-wrap:wrap;gap:10px 32px}
.rad{display:flex;align-items:center;gap:10px;font-size:16px;cursor:pointer}
.rad input{width:20px;height:20px;margin:0;accent-color:#12302F;flex:none;cursor:pointer}
.rad input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
#sendBtn,.su-open{display:flex;justify-content:center;align-items:center;text-align:center}
.su-open-row{display:flex;justify-content:center}
.su-open{font-size:1.3rem;padding:20px 56px;width:min(100%,440px)}
.su-wrap{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s ease;margin-top:0}
.su-wrap.open{grid-template-rows:1fr}
.su-wrap-in{overflow:hidden;min-height:0}
.su-wrap.open .su-wrap-in{padding-bottom:10px}
@media(prefers-reduced-motion:reduce){.su-wrap{transition:none}}

/* sign-up pop-up */
.su-dialog{margin:auto;padding:0;border:0;border-top:10px solid var(--yellow);border-radius:var(--r-md);width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);background:var(--surface-raised);color:var(--ink);overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.45)}
.su-dialog[open]{display:flex;flex-direction:column}
.su-dialog::backdrop{background:rgba(15,58,63,.82)}
.su-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 14px 28px;border-bottom:1px solid var(--line);flex:none}
.su-head h3{font:700 1.2rem/1.35 var(--font-display);letter-spacing:0}
.su-x{flex:none;width:44px;height:44px;border-radius:50%;border:2px solid var(--line);background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer}
.su-x:hover{background:var(--line)}
.su-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.su-x:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.su-scroll{overflow-y:auto;overscroll-behavior:contain;padding:8px 28px 28px;flex:1;min-height:0}
.su-dialog .quiz,#quote .su-dialog .quiz{box-shadow:none;border:0;border-radius:0;padding:12px 0 0;background:transparent}
@media(max-width:700px){
  .su-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
  .su-head{padding:14px 12px 12px 18px}
  .su-head h3{font-size:1.05rem}
  .su-scroll{padding:6px 18px 24px}
}

/* sign-up v4 */
#signup .field{margin-top:30px}
#signup .field:first-child{margin-top:4px}
.field select{display:block;width:100%;margin-top:8px;padding:12px 44px 12px 16px;border:2px solid var(--line);border-radius:var(--r-sm);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312302F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/20px;color:var(--ink);font:400 16px var(--font-body);appearance:none;-webkit-appearance:none;cursor:pointer}
.field select:focus{outline:3px solid var(--focus);outline-offset:2px;border-color:var(--ink)}
.su-scroll{padding:8px 64px 40px}
#sendBtn{margin-top:36px}
@media(max-width:700px){.su-scroll{padding:6px 24px 28px}#signup .field{margin-top:26px}}

/* sign-up v5: limited-slots note is plain text under the button */
.su-info{margin-bottom:0}
.queue-status{margin-bottom:20px}
.disclaimer{background:none;border:0;border-radius:0;padding:0;margin-top:18px;text-align:center;font-size:16px;line-height:1.6;color:var(--ink-muted)}
.disclaimer strong{color:var(--ink)}

/* sign-up v6 */
.su-open{gap:12px}
.su-open svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.disclaimer{font-size:14px;font-style:italic;color:var(--ink-subtle);margin-top:14px}

/* sign-up v7: shorter dropdowns and name box */
.field select{width:auto;min-width:0;max-width:100%}
#suName.short{max-width:220px}

/* sign-up v8: both dropdowns share the width of the wider one (the domain question) */
#signupBox{display:flow-root}
.field select{width:170px;max-width:100%}

/* preview zoom-out: desktop layout scaled down to fit a small screen */
.modal-body.zoomed{justify-content:flex-start;overflow:hidden}
.modal-body.zoomed iframe{flex:none;transform-origin:top left;transition:none}

/* big sign-up button: short label on phones */
@media(max-width:600px){.su-open .su-pre{display:none}}

/* preview loading */
.modal-body{position:relative}
.modal-loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;background:var(--deep-teal)}
.modal-loading[hidden]{display:none}
.modal-loading p{color:var(--cream);font-size:1rem;letter-spacing:.02em}
.ml-spin{position:relative;width:96px;height:96px;display:grid;place-items:center}
.ml-spin::before{content:"";position:absolute;inset:0;border-radius:50%;border:5px solid rgba(244,241,234,.16);border-top-color:var(--yellow);animation:ml-turn 1s linear infinite}
.ml-spin img{width:44px;height:auto;animation:ml-pulse 1.4s ease-in-out infinite}
@keyframes ml-turn{to{transform:rotate(360deg)}}
@keyframes ml-pulse{0%,100%{transform:scale(.88);opacity:.75}50%{transform:scale(1.08);opacity:1}}
@media(prefers-reduced-motion:reduce){.ml-spin::before{animation-duration:3s}.ml-spin img{animation:none}}

/* examples section: a darker beige than the cream sections around it */
[data-theme="sand"]{--surface:#E7DFCB;--surface-raised:#F8F4EA;--ink:#12302F;--ink-muted:#4A5556;--ink-subtle:#5E6968;--eyebrow:#A84C17;--highlight:#3E6A2B;--line:#CFC5AB;--focus:#12302F}
