@charset "UTF-8";
:root{--green-deep:#06452b;--green:#167a3c;--green-leaf:#79b957;--green-pale:#edf5e7;--mint-pale:#edf7f3;--cream:#fff8e2;--yellow:#f5d52d;--ink:#17251d;--muted:#62636b;--line:rgba(13,73,43,.15);--soft-shadow:0 8px 22px rgba(33,66,37,.085)}
*{box-sizing:border-box}
html,body{width:100%;min-width:320px;min-height:100%;margin:0}
html{scroll-behavior:smooth}
body{color:var(--ink);background:#fff;font-family:"Leelawadee UI","Noto Sans Thai",Tahoma,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,a{-webkit-tap-highlight-color:transparent}
.site-shell{width:100%;min-height:100svh;height:100svh;display:grid;grid-template-rows:clamp(78px,10.3vh,104px) minmax(0,1fr);position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 98% 42%,rgba(255,239,174,.18),transparent 31%),#fff}
.site-header{width:min(95%,1585px);height:100%;margin:0 auto;display:flex;align-items:center;gap:clamp(10px,1.05vw,18px);position:relative;z-index:10}
.logo-link{flex:0 0 auto;display:flex;align-items:center}
.brand-logo{display:block;width:clamp(66px,8vw,142px);height:clamp(66px,8vw,142px);object-fit:contain}
.brand-promise{flex:0 0 clamp(220px,22vw,365px);padding:0 clamp(10px,1.2vw,20px) 0 0;border-right:1px solid var(--line);color:var(--green-deep)}
.brand-promise>span:first-child{display:block;white-space:nowrap;font-size:clamp(16px,1.42vw,23px);line-height:1.2;font-weight:750;font-style:italic;letter-spacing:-.35px}
.brand-swoosh{display:block;width:100%;height:12px;margin-top:4px;border-top:4px solid var(--yellow);border-radius:55% 45% 0 0;transform:rotate(-3deg) skewY(-2deg)}
.primary-nav{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:2px}
.primary-nav a{padding:9px clamp(7px,.85vw,15px);border-radius:26px;border-right:1px solid var(--line);font-size:clamp(12px,.98vw,17px);line-height:1.25;font-weight:650;text-align:center;white-space:nowrap;transition:background .18s ease,color .18s ease}
.primary-nav a:last-child{border-right-color:transparent}
.primary-nav a:hover,.primary-nav a.active{background:#fff1b4;border-right-color:transparent}
.login-button{flex:0 0 auto;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px clamp(11px,1.2vw,20px);border:1.4px solid #48b978;border-radius:28px;color:#087b39;background:rgba(255,255,255,.84);font-size:clamp(12px,.96vw,16px);font-weight:700;white-space:nowrap}
.login-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.menu-toggle{display:none}
.home-main{width:100%;min-height:0;position:relative;display:grid;grid-template-rows:43% 25% 12% 20%;align-items:start;padding:2.2vh max(3.6vw,calc((100vw - 1585px)/2)) 34px;overflow:hidden}
.promo-ad{position:absolute;z-index:1;left:clamp(14px,1.8vw,30px);top:3.5%;width:clamp(250px,18vw,350px);aspect-ratio:25/27;display:block;overflow:hidden;border-radius:clamp(18px,1.8vw,28px);box-shadow:0 10px 24px rgba(22,68,43,.13);transition:transform .2s ease,box-shadow .2s ease}
.promo-ad img{display:block;width:100%;height:100%;object-fit:cover}
.promo-ad:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(22,68,43,.19)}
.promo-ad:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}
.hero{grid-row:1;width:min(78%,1240px);margin-left:13%;justify-self:center;text-align:center;position:relative;z-index:1;padding-top:8.2%;transform:translateY(-15px)}
.hero h1{margin:0;color:var(--green-deep);font-size:clamp(52px,5.1vw,82px);font-style:italic;font-weight:700;letter-spacing:-2.8px;line-height:1.04}
.hero-subtitle{margin:2px 0 0;color:#5d5e68;font-size:clamp(20px,2.05vw,32px);line-height:1.42;font-weight:500}
.hero-swoosh{width:clamp(165px,17vw,270px);height:14px;margin:clamp(6px,.9vh,11px) auto clamp(8px,1.2vh,15px);border-top:5px solid var(--yellow);border-radius:50% 50% 0 0;transform:rotate(-2deg) skewY(-2deg)}
.hero-description{margin:0 auto;color:#555761;font-size:clamp(15px,1.38vw,22px);line-height:1.5;font-weight:500}
.category-grid{transform:translateY(40px);grid-row:2;align-self:center;width:min(85%,1320px);margin-left:12%;justify-self:center;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.25vw,20px);position:relative;z-index:2}
.category-card{min-width:0;min-height:clamp(104px,13.2vh,132px);display:grid;grid-template-columns:clamp(52px,4.8vw,76px) minmax(0,1fr) 30px;align-items:center;gap:clamp(9px,.9vw,15px);padding:clamp(12px,1.35vw,21px);border:1px solid rgba(255,255,255,.96);border-radius:clamp(18px,1.7vw,27px);box-shadow:var(--soft-shadow);transition:transform .18s ease,box-shadow .18s ease}
.category-card:hover{transform:translateY(-3px);box-shadow:0 13px 26px rgba(33,66,37,.13)}
.category-math{background:linear-gradient(120deg,#f5f9e9,#f0f7e7)}
.category-software{background:linear-gradient(120deg,#f1f8f4,#eaf6f2)}
.category-shop{background:linear-gradient(120deg,#fff9e8,#fff2ca)}
.category-icon{width:100%;max-width:76px;aspect-ratio:1;object-fit:contain}
.category-copy{min-width:0;display:block}
.category-copy strong{display:block;margin-bottom:3px;color:#10291b;font-size:clamp(17px,1.48vw,24px);line-height:1.3;font-weight:750;white-space:nowrap}
.category-copy small{display:block;color:#252b26;font-size:clamp(12px,1vw,16px);line-height:1.5}
.card-arrow{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:var(--green-deep);background:rgba(255,255,255,.92);box-shadow:0 4px 11px rgba(0,0,0,.06);font-size:24px;line-height:1;font-weight:700}
.secondary-nav{transform:translateY(40px);grid-row:3;align-self:start;width:min(780px,70%);margin:0 0 0 15%;justify-self:center;display:flex;align-items:center;justify-content:space-between;gap:clamp(14px,2.1vw,34px);position:relative;z-index:2}
.secondary-nav a{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:3px 0;white-space:nowrap;font-size:clamp(15px,1.2vw,20px);font-weight:600;color:#15251b}
.secondary-nav a:hover{color:var(--green)}
.secondary-nav img{width:clamp(26px,2.1vw,34px);height:clamp(26px,2.1vw,34px);object-fit:contain}
.bottom-wave{position:absolute;z-index:-1;left:0;bottom:-1px;width:100%;height:clamp(100px,18vh,170px);object-fit:cover;object-position:center bottom;pointer-events:none}
.site-footer{position:absolute;left:0;right:0;bottom:0;z-index:20;height:34px;min-height:34px;padding:0 3%;display:flex;align-items:center;justify-content:space-between;color:#06452b;background:#fff;border-top:1px solid rgba(13,73,43,.16);font-size:11px;font-weight:600;letter-spacing:.1px;visibility:visible;opacity:1;}
@media(max-width:1250px) and (min-width:901px){.site-header{width:97%;gap:8px}.brand-logo{width:66px;height:66px}.brand-promise{flex-basis:205px}.brand-promise>span:first-child{font-size:16px}.primary-nav a{padding:8px 6px;font-size:12px}.login-button{padding-inline:9px}.hero{width:82%;margin-left:11%;padding-top:8%}.category-grid{width:88%;margin-left:10%}.category-card{grid-template-columns:48px minmax(0,1fr) 25px;gap:8px;padding:10px}.category-copy strong{font-size:17px}.category-copy small{font-size:11px}.secondary-nav{margin-left:10%}}
@media(max-width:900px){.category-grid,.secondary-nav{transform:none}.site-shell{height:auto;min-height:100svh;grid-template-rows:78px auto;overflow:clip}.site-footer{position:relative;left:auto;right:auto;bottom:auto;height:30px;min-height:30px}.site-header{width:calc(100% - 32px);gap:10px}.brand-logo{width:66px;height:66px}.brand-promise{flex:1 1 auto;border:0;padding:0}.brand-promise>span:first-child{font-size:clamp(15px,2.3vw,20px)}.brand-swoosh{max-width:245px}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;padding:9px;margin-left:auto;border:1px solid var(--line);border-radius:10px;background:white}.menu-toggle span{width:100%;height:2px;border-radius:2px;background:var(--green-deep)}.primary-nav{display:none;position:absolute;top:calc(100% - 1px);left:0;right:0;padding:10px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.98);box-shadow:var(--soft-shadow);flex-direction:column;align-items:stretch}.primary-nav.is-open{display:flex}.primary-nav a{border:0;font-size:15px}.login-button{min-height:37px;padding:6px 11px;font-size:13px}.home-main{min-height:720px;padding:25px 18px 120px;display:flex;flex-direction:column;align-items:center}.promo-ad{left:14px;top:18px;width:clamp(190px,29vw,270px)}.hero{width:86%;margin:0 0 0 12%;padding-top:38px}.hero h1{font-size:clamp(48px,8vw,70px)}.hero-subtitle{font-size:clamp(19px,3vw,26px)}.hero-description{font-size:clamp(14px,1.9vw,18px)}.category-grid{width:88%;margin:75px 0 0 10%;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.category-card{min-height:105px;grid-template-columns:42px minmax(0,1fr) 22px;gap:7px;padding:9px;border-radius:16px}.category-icon{width:42px}.category-copy strong{font-size:clamp(14px,1.9vw,17px)}.category-copy small{font-size:clamp(10px,1.35vw,12px)}.card-arrow{width:22px;height:22px;font-size:19px}.secondary-nav{width:min(620px,82%);margin:34px 0 0 10%;gap:12px}.secondary-nav a{font-size:14px;gap:7px}.secondary-nav img{width:25px;height:25px}.bottom-wave{height:130px}}
@media(max-width:620px){.site-shell{grid-template-rows:70px auto}.site-footer{height:28px;min-height:28px}.site-header{width:calc(100% - 22px);gap:8px}.brand-logo{width:55px;height:55px}.brand-promise{display:none}.login-button{margin-left:auto}.login-button svg{width:17px;height:17px}.menu-toggle{width:37px;height:37px}.home-main{min-height:0;padding:24px 16px 115px;display:flex;flex-direction:column;align-items:stretch}.promo-ad{position:relative;left:auto;top:auto;width:min(78%,330px);margin:0 auto 24px;aspect-ratio:25/27}.hero{width:100%;margin:0;padding:0}.hero h1{font-size:clamp(42px,11.5vw,58px);letter-spacing:-2px}.hero-subtitle{font-size:clamp(17px,4.7vw,22px)}.hero-swoosh{width:155px;height:11px;border-top-width:4px;margin:9px auto 13px}.hero-description{font-size:14px;line-height:1.65}.hero-description br{display:none}.category-grid{width:100%;margin:30px 0 0;grid-template-columns:1fr;gap:11px}.category-card{min-height:88px;grid-template-columns:52px minmax(0,1fr) 28px;padding:10px 13px;border-radius:16px}.category-icon{width:48px}.category-copy strong{font-size:18px}.category-copy small{font-size:12px}.card-arrow{width:27px;height:27px;font-size:21px}.secondary-nav{width:min(100%,360px);margin:25px auto 0;display:grid;grid-template-columns:repeat(2,1fr);gap:13px 6px}.secondary-nav a{justify-content:center;font-size:14px;gap:7px}.secondary-nav img{width:24px;height:24px}.bottom-wave{height:105px}.site-footer{font-size:10px;padding-inline:15px}}
@media(max-height:760px) and (min-width:901px){.site-shell{grid-template-rows:76px minmax(0,1fr) 22px}.brand-logo{width:65px;height:65px}.home-main{padding-top:0;grid-template-rows:42% 26% 12% 20%}.hero{padding-top:6%}.hero h1{font-size:clamp(48px,4.3vw,66px)}.hero-subtitle{font-size:clamp(19px,1.8vw,26px)}.hero-swoosh{margin-block:5px 8px}.hero-description{font-size:16px;line-height:1.4}.category-card{min-height:92px}.secondary-nav{margin-top:0}.bottom-wave{height:100px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
