@font-face{font-family:"IBM Plex Sans Thai";font-weight:300;font-display:swap;src:url(fonts/IBMPlexSansThai-Light.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans Thai";font-weight:500;font-display:swap;src:url(fonts/IBMPlexSansThai-Medium.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans Thai";font-weight:700;font-display:swap;src:url(fonts/IBMPlexSansThai-Bold.woff2) format("woff2")}
:root{--bg:#f6f3ed;--paper:#fffdf9;--ink:#2a2522;--muted:#5f5851;--rule:#d9d2c6;--red:#BD1E1E}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"IBM Plex Sans Thai",system-ui,sans-serif;font-weight:300;line-height:1.8;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
a{color:var(--muted)}a:hover{color:var(--ink)}
img{max-width:100%;height:auto}
.wrap{max-width:1120px;width:100%;margin:0 auto;padding-left:24px;padding-right:24px}
:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 14px;border-radius:8px;z-index:10}
.skip:focus{left:8px;color:#fff}

/* header */
.top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-weight:500;font-size:20px}
.brand img{width:40px;height:40px;border-radius:8px;display:block}
.menu{margin-left:auto;display:flex;gap:0 28px}
.menu a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none;font-size:1rem}
.menu a[aria-current="page"]{color:var(--red);font-weight:500}
.menu a:hover{color:var(--red)}
.burger{display:none;margin-left:auto;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer;align-items:center;justify-content:center}
.burger .x{display:none}
.burger[aria-expanded="true"] .b{display:none}
.burger[aria-expanded="true"] .x{display:block}
@media(max-width:720px){
 .burger{display:inline-flex}
 .menu{display:none;flex-basis:100%;margin:0;flex-direction:column;border-top:1px solid var(--rule);padding:4px 0 8px}
 .menu.open{display:flex}
 .menu a{min-height:48px;font-size:1.125rem}
 .top{padding-top:8px;padding-bottom:8px}
}

/* home hero */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:48px;padding-top:72px;padding-bottom:88px}
.hero .txt{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:24px}
.hero h1{margin:0;font-size:clamp(4.5rem,11vw,8rem);display:flex;flex-direction:column;gap:4px;line-height:1.2}
.hero h1 .big{font-weight:700;line-height:1.3;color:var(--red)}
.hero h1 .sub{font-size:.37em;font-weight:500;line-height:1.4;color:var(--ink)}
.hero p{margin:0;font-size:1.125rem;line-height:1.9;max-width:560px}
.hero .mark{width:240px;height:240px;border-radius:28px;display:block;flex:0 0 auto}
.follow{display:flex;flex-direction:column;gap:12px;padding-top:8px}
.follow .lbl{font-weight:500;font-size:14px;color:var(--muted)}
.pills{display:flex;flex-wrap:wrap;gap:12px}
.pill{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 14px;border:1.5px solid var(--ink);border-radius:999px;color:var(--ink);text-decoration:none;font-weight:500;font-size:.9375rem}
.pill:hover{background:var(--ink);color:var(--bg)}
@media(max-width:720px){
 .hero{padding-top:40px;padding-bottom:64px;gap:40px}
 .hero .txt{flex-basis:280px;gap:20px}
 .hero h1{font-size:4.5rem}
 .hero .mark{width:120px;height:120px;border-radius:18px}
}

/* sections */
.sec{padding-bottom:96px;display:flex;flex-direction:column;gap:32px}
.sec-h{display:flex;align-items:baseline;gap:16px}
.sec-h .n{flex:none;white-space:nowrap;font-weight:500;font-size:14px;color:var(--red)}
.sec-h h2{margin:0;font-weight:500;font-size:1.5rem;line-height:1.4}
.cols{display:flex;flex-wrap:wrap;gap:32px}
.col{flex:1 1 260px;min-width:0;border-top:2px solid var(--ink);padding-top:20px;display:flex;flex-direction:column;gap:10px}
.col h3{margin:0;font-weight:500;font-size:1.25rem;color:var(--red);line-height:1.5}
.col h3 a{color:inherit;text-decoration:none}
.col p{margin:0;font-size:1rem;line-height:1.8}
@media(max-width:720px){.sec{padding-bottom:72px;gap:28px}.cols{gap:28px}}

/* footer */
.foot{border-top:1px solid var(--rule)}
.foot .wrap{padding-top:28px;padding-bottom:28px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted)}

/* book page */
.book{display:flex;flex-wrap:wrap;align-items:center;gap:56px;padding-top:56px;padding-bottom:80px}
.book .cv{flex:0 0 auto;margin:0 auto}
.book .cv img{display:block;width:340px;box-shadow:0 12px 32px rgba(42,37,34,.18)}
.book .info{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:20px}
.badge{align-self:flex-start;background:var(--red);color:#fff;font-weight:700;font-size:.9375rem;letter-spacing:.08em;padding:6px 14px;border-radius:999px;line-height:1.6}
.book h1{margin:0;font-size:2.5rem;font-weight:700;line-height:1.35}
.book h1 em{font-style:normal;color:var(--red)}
.book .lead{margin:0;font-size:1.125rem;line-height:1.9}
.price{display:flex;flex-direction:column;gap:6px;border:1.5px solid var(--ink);border-radius:16px;padding:20px 24px;background:var(--paper)}
.price .t{font-weight:500;font-size:14px;color:var(--red)}
.price .now{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px}
.price .now b{font-weight:700;font-size:2.75rem;line-height:1.2}
.price .now s{font-size:1.125rem;color:var(--muted)}
.price .d{font-size:1rem;color:var(--muted);line-height:1.7}
.price .d strong{font-weight:500;color:var(--ink)}
.btn{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;background:var(--red);color:#fff;text-decoration:none;font-weight:500;font-size:1.125rem;border-radius:999px}
.btn:hover{background:#a01818;color:#fff}
.btn.line{background:transparent;color:var(--ink);border:1.5px solid var(--ink);min-height:48px;padding:0 22px;font-size:1rem}
.btn.line:hover{background:var(--ink);color:var(--bg)}
.band{background:var(--ink);color:var(--bg);margin-bottom:80px}
.band p{margin:0;padding:28px 24px;max-width:1120px;margin-left:auto;margin-right:auto;font-size:1.375rem;font-weight:500;line-height:1.7}
.band em{font-style:normal;color:#ff8f8f}
.prose{max-width:720px;font-size:1.125rem;line-height:1.9;display:flex;flex-direction:column;gap:16px}
.prose p{margin:0}.prose b{font-weight:500}
.note{max-width:720px;font-size:.9375rem;line-height:1.8;color:var(--muted)}
.list{display:flex;flex-direction:column;gap:10px;max-width:720px;font-size:1.125rem;line-height:1.9;margin:0;padding:0;list-style:none}
.list li::before{content:"• "}
.order{background:var(--paper);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding-top:72px;margin-bottom:72px;scroll-margin-top:0}
.order .sec{padding-bottom:64px}
.step{flex:1 1 300px;min-width:0;border-top:2px solid var(--ink);padding-top:20px;display:flex;flex-direction:column;gap:12px}
.step .k{font-weight:500;font-size:14px;color:var(--red)}
.step h3{margin:0;font-weight:500;font-size:1.25rem;line-height:1.5}
.step p{margin:0;font-size:1rem;line-height:1.8}
.pay{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.qr{width:140px;height:140px;border:1.5px dashed var(--muted);border-radius:12px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.875rem;color:var(--muted);padding:8px;line-height:1.5}
.acct{flex:1 1 160px;font-size:1rem;line-height:1.8;color:var(--ink)}
.msg{background:var(--bg);border:1px solid var(--rule);border-radius:12px;padding:14px 16px;font-size:.9375rem;line-height:1.8}
.faq{display:flex;flex-direction:column;gap:24px;max-width:720px}
.faq h3{margin:0 0 6px;font-weight:500;font-size:1.125rem;line-height:1.6}
.faq p{margin:0;line-height:1.8}
@media(max-width:720px){
 .book{padding-top:32px;padding-bottom:56px;gap:32px}
 .book .cv img{width:200px}
 .book h1{font-size:1.75rem}
 .badge,.book .btn{align-self:center}
 .band{margin-bottom:56px}.band p{font-size:1.125rem}
 .order{padding-top:48px;margin-bottom:48px}
}
/* simple text pages */
.page{padding-top:56px;padding-bottom:96px;max-width:760px}
.page h1{font-size:2rem;font-weight:700;line-height:1.4;margin:0 0 24px}
.page h2{font-size:1.25rem;font-weight:500;margin:32px 0 8px}
.page p,.page li{font-size:1.0625rem;line-height:1.9}

/* offer */
.offer{border:1.5px solid var(--ink);border-radius:20px;background:var(--paper);max-width:860px;overflow:hidden}
.orow{display:flex;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid var(--rule)}
.oi{flex:none;font-size:1.75rem;line-height:1;width:40px;text-align:center}
.ot{flex:1;min-width:0}
.ot h3{margin:0;font-weight:500;font-size:1.125rem;line-height:1.5}
.ot p{margin:2px 0 0;font-size:.9375rem;color:var(--muted);line-height:1.7}
.ov{flex:none;text-align:right;font-size:.8125rem;color:var(--muted);line-height:1.5}
.ov b{display:block;font-weight:500;font-size:1.125rem;color:var(--ink)}
.otot{padding:28px 24px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:var(--bg)}
.otot .was{font-size:1.0625rem;color:var(--muted)}
.otot .now2{font-size:1.25rem;font-weight:500}
.otot .now2 b{font-weight:700;font-size:2.75rem;line-height:1.2;color:var(--red);margin-left:6px}
.otot .small{font-size:.9375rem;color:var(--muted);margin-bottom:12px}
@media(max-width:720px){
 .orow{flex-wrap:wrap;padding:18px 16px;gap:8px 12px}
 .ov{flex-basis:100%;text-align:left;padding-left:52px}
 .ov br{display:none}
 .ov b{display:inline;margin-left:6px}
 .otot .now2 b{font-size:2.25rem;white-space:nowrap}
 .otot{padding:24px 16px}
 .otot .btn{align-self:center}
}

.qrimg{width:200px;height:auto;border:1px solid var(--rule);border-radius:12px;background:#fff;display:block}
.al{display:inline-block;min-width:5.5em;color:var(--muted);font-size:.9375rem}
.acct b{font-weight:500}
.copy{margin-top:10px;min-height:44px;padding:0 18px;border:1.5px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-weight:500;font-size:.9375rem;cursor:pointer}
.copy:hover{background:var(--ink);color:var(--bg)}

/* dropdown */
.dd{position:relative;display:flex}
.ddb{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink);font:inherit;font-size:1rem;cursor:pointer}
.ddb:hover{color:var(--red)}
.ddb svg{transition:transform .15s}
.ddb[aria-expanded="true"] svg{transform:rotate(180deg)}
.ddp{position:absolute;top:100%;left:-16px;min-width:260px;margin:4px 0 0;padding:8px;list-style:none;background:var(--paper);border:1px solid var(--rule);border-radius:14px;box-shadow:0 10px 28px rgba(42,37,34,.12);z-index:20}
.ddp[hidden]{display:none}
.ddp a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:1rem}
.ddp a:hover{background:var(--bg);color:var(--red)}
@media(max-width:720px){
 .dd{flex-direction:column}
 .ddb{min-height:48px;font-size:1.125rem}
 .ddp{position:static;margin:0 0 4px;padding:0 0 0 16px;border:0;box-shadow:none;background:transparent;min-width:0}
 .ddp a{min-height:48px;font-size:1.0625rem;padding:0}
 .ddp a:hover{background:transparent}
}
