@charset "UTF-8";
:root{color-scheme:light;--ink:#203c2c;--green:#216b3c;--paper:#faf8f2;--line:#dce5d8;--muted:#516252}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.75 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--green);text-underline-offset:4px}a:focus-visible{outline:3px solid #805916;outline-offset:5px}header,main,footer{width:min(1120px,calc(100% - 40px));margin:auto}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}header img{width:180px;max-width:42vw;height:auto}nav{display:flex;gap:20px;flex-wrap:wrap}nav a{font-size:.9rem}main{padding:56px 0 64px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,4.5vw,3.7rem);line-height:1.22;letter-spacing:-.035em;max-width:720px;margin-bottom:24px}h2{font-size:1.75rem;line-height:1.35}h3{font-size:1.12rem;line-height:1.4}.eyebrow{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--green)}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center}.lead{font-size:1.12rem;max-width:640px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:12px;padding:12px 24px;background:var(--green);color:white;text-decoration:none;font-weight:700}.note{font-size:.85rem;color:var(--muted);margin-top:16px}.demo{background:white;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 16px 42px #203c2c0d}.demo-head{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:15px}.demo ul{list-style:none;margin:0;padding:0}.demo li{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px}.demo li span{overflow-wrap:anywhere}.demo strong{white-space:nowrap}.total{display:flex;justify-content:space-between;margin-top:20px;font-weight:700}.section{margin-top:72px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{border:1px solid var(--line);border-radius:16px;padding:24px;background:#fffdf8}.card p{margin-bottom:0;color:var(--muted)}.number{display:inline-block;font-size:.85rem;color:var(--green);font-weight:700;margin-bottom:18px}.steps{padding-left:24px}.steps li{margin:12px 0}.privacy{max-width:760px}.privacy section{margin-top:32px}footer{padding:28px 0;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;font-size:.85rem;color:var(--muted)}.skip{position:absolute;top:-90px;left:12px;background:white;padding:10px}.skip:focus{top:10px}.placeholder{font-family:monospace;overflow-wrap:anywhere}@media(max-width:700px){header{align-items:flex-start}nav{gap:10px}.hero{grid-template-columns:1fr;gap:30px}.features{grid-template-columns:1fr}main{padding-top:36px}.section{margin-top:44px}.demo{padding:22px}header,main,footer{width:calc(100% - 32px)}}

/* Homepage controls keep the English and Thai navigation usable at phone widths. */
.site-header{gap:16px}
.brand{display:inline-flex;flex:none;align-items:center}
.site-header nav{align-items:center;justify-content:flex-end;gap:8px 12px}
.site-header nav a{display:inline-flex;align-items:center;min-height:44px;padding:6px 4px;white-space:nowrap}
.site-header nav .language{padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:#fffdf8}
.site-header nav .nav-app{padding:6px 14px;border-radius:9px;background:var(--green);color:white;text-decoration:none;font-weight:700}
.hero-actions{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
.text-link{display:inline-flex;min-height:48px;align-items:center;font-weight:700}
.how-it-works{max-width:740px}
.final-cta{padding:36px;border-radius:22px;background:#e8f3e6}
.final-cta h2{max-width:680px}
.final-cta .note{margin-bottom:0}
.site-header nav a:hover,.text-link:hover{text-decoration:underline}
@media(max-width:700px){
  .site-header{flex-direction:column;align-items:stretch;gap:8px;padding:14px 0}
  .site-header img{width:160px;max-width:100%}
  .site-header nav{justify-content:flex-start}
  .site-header nav a{font-size:.85rem;padding-left:0;padding-right:0}
  .site-header nav .language,.site-header nav .nav-app{padding-left:10px;padding-right:10px}
  .final-cta{padding:24px}
}
@media(max-width:360px){
  .site-header nav{gap:4px 10px}
  .site-header nav a{font-size:.8rem}
}

/* Product-focused public homepage; privacy and 404 retain their original layout. */
.home{--paper:#faf8f2;--ink:#203c2c;--green:#216b3c;--line:#dce5d8;--pale:#e8f3e6}
.home .site-header,.home main,.home footer{width:min(1240px,calc(100% - 48px))}
.home .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:24px;align-items:center;padding:22px 0}
.home .brand{min-width:0}
.home .brand img{width:180px;max-width:100%;height:auto}
.home .section-nav{display:flex;align-items:center;gap:6px 24px;flex-wrap:wrap;justify-content:flex-end}
.home .section-nav a{display:inline-flex;min-height:44px;align-items:center;white-space:nowrap;font-size:1rem;text-decoration:none}
.home .section-nav a:hover{text-decoration:underline}
.home .section-nav .language{border:1px solid var(--line);background:#fffdf8;border-radius:999px;padding:4px 16px}
.home .nav-app{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 20px;border-radius:12px;background:var(--green);color:white;font-weight:700;text-decoration:none;white-space:nowrap}
.home main{padding:0 0 90px}
.home .hero{display:block;max-width:1060px;margin:auto;padding:104px 0 50px;text-align:center}
.home .hero .eyebrow{margin-bottom:24px}
.home .hero h1{max-width:1000px;margin:0 auto 28px;font-size:clamp(3rem,6.25vw,5.5rem);line-height:1.08;letter-spacing:-.05em;font-weight:760;text-wrap:balance}
.home .hero .lead{max-width:760px;margin:0 auto 30px;font-size:clamp(1.1rem,1.8vw,1.35rem);line-height:1.65}
.home .hero-actions{justify-content:center;gap:10px 28px}
.home .hero .note{margin-bottom:0}
.home .showcase{border-radius:36px;background:var(--pale);padding:36px;box-shadow:inset 0 0 0 1px var(--line)}
.home .product-frame{margin:0 auto;max-width:480px}
.home .product-frame picture{display:block;max-width:360px;margin:auto;line-height:0;border-radius:32px;overflow:hidden;background:var(--paper);border:6px solid var(--ink);box-shadow:0 28px 72px #203c2c26}
.home .product-frame img{display:block;width:100%;height:auto;aspect-ratio:390 / 800;object-fit:contain}
.home .product-frame figcaption{padding-top:20px;text-align:center;color:var(--muted);font-size:.9rem;line-height:1.6}
.home .section{max-width:1110px;margin:118px auto 0}
.home .section h2{max-width:760px;font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;letter-spacing:-.03em}
.home .features{gap:32px;margin-top:42px}
.home .card{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:22px 0 0}
.home .card .number{font-size:1rem;margin-bottom:28px}
.home .card h3{font-size:1.4rem;line-height:1.35;margin-bottom:16px}
.home .card p{line-height:1.7}
.home .how-it-works{max-width:1110px}
.home .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;list-style:none;counter-reset:step;padding:0;margin:42px 0 0}
.home .steps li{counter-increment:step;border-top:1px solid var(--line);padding:22px 0 0;margin:0;font-size:1.12rem;line-height:1.6}
.home .steps li::before{content:counter(step,decimal-leading-zero);display:block;color:var(--green);font-size:.95rem;font-weight:700;margin-bottom:20px}
.home .final-cta{max-width:none;margin-top:116px;padding:70px 32px;text-align:center;background:var(--pale);border:1px solid var(--line);border-radius:32px}
.home .final-cta h2{margin:0 auto 26px;text-wrap:balance}
.home .final-cta .note{margin:20px 0 0}
.home footer{gap:22px}
html[lang="th"] .home h1,html[lang="th"] .home h2{letter-spacing:normal;line-height:1.3}
@media(max-width:700px){
  .home .site-header,.home main,.home footer{width:calc(100% - 32px)}
  .home .site-header{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px 0}
  .home .brand img{width:156px}
  .home .section-nav{grid-column:1 / -1;grid-row:2;justify-content:flex-start;gap:4px 14px}
  .home .section-nav a{font-size:.91rem}
  .home .section-nav .language{padding:3px 12px}
  .home .nav-app{grid-column:2;grid-row:1;min-height:44px;padding:7px 14px;font-size:.88rem}
  .home .hero{padding:58px 0 38px}
  .home .hero .eyebrow{margin-bottom:18px}
  .home .hero h1{font-size:clamp(2.35rem,10vw,3.5rem);line-height:1.13;letter-spacing:-.035em;margin-bottom:22px}
  .home .hero .lead{font-size:1.06rem;line-height:1.65;margin-bottom:24px}
  .home .hero-actions{gap:8px 20px}
  .home .showcase{padding:14px;border-radius:24px}
  .home .product-frame picture{border-width:4px;border-radius:26px}
  .home .product-frame figcaption{font-size:.84rem;padding:14px 4px 2px}
  .home .section{margin-top:78px}
  .home .features{display:block;margin-top:30px}
  .home .card{margin-top:30px}
  .home .card .number{margin-bottom:16px}
  .home .how-it-works .steps{display:block;margin-top:30px}
  .home .steps li{margin-top:26px}
  .home .steps li::before{margin-bottom:10px}
  .home .final-cta{padding:42px 24px;border-radius:24px}
}
@media(max-width:360px){
  .home .section-nav{gap:4px 9px}
  .home .section-nav a{font-size:.84rem}
  .home .section-nav .language{padding:3px 10px}
}
