:root{
  --blue:#0b67d1;
  --blue-dark:#083b78;
  --cyan:#14b8d4;
  --teal:#18b89a;
  --ink:#10233f;
  --muted:#63758d;
  --line:#dbe8f2;
  --soft:#f4fbff;
  --white:#ffffff;
  --shadow:0 12px 34px rgba(14,64,110,.10);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,"Noto Sans Thai",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;color:var(--ink);line-height:1.55}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit}
.container{width:min(1120px,calc(100% - 32px));margin:auto}
.header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(219,232,242,.9)}
.nav{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--blue-dark)}
.brand img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid var(--line)}
.brand-text{display:flex;flex-direction:column;line-height:1.08}.brand-text small{font-size:11px;color:var(--muted);font-weight:600}
.nav-links{display:flex;align-items:center;gap:6px}.nav-links a{padding:10px 12px;border-radius:12px;color:#27445f;font-weight:700;font-size:14px}.nav-links a:hover{background:var(--soft)}
.nav-cta{background:linear-gradient(135deg,var(--blue),var(--cyan));color:white!important;padding:10px 16px!important}
.menu-btn{display:none;border:1px solid var(--line);background:white;border-radius:12px;padding:9px 12px;color:var(--ink)}
.hero{padding:22px 0 16px;background:linear-gradient(180deg,#f8fdff 0%,#fff 100%)}
.hero-copy{text-align:center;max-width:800px;margin:0 auto 20px}.eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#eaf8ff;color:#0a6aa4;font-size:13px;font-weight:800}
h1{font-size:clamp(34px,6vw,62px);line-height:1.02;margin:14px 0 10px;letter-spacing:-1.5px}.gradient-text{background:linear-gradient(100deg,var(--blue),var(--cyan),var(--teal));-webkit-background-clip:text;background-clip:text;color:transparent}.lead{font-size:clamp(16px,2.5vw,21px);color:var(--muted);margin:0 auto;max-width:700px}
.actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;border-radius:14px;border:1px solid var(--line);font-weight:800;background:white;color:var(--ink)}.btn-primary{border-color:transparent;color:white;background:linear-gradient(135deg,var(--blue),var(--cyan));box-shadow:0 8px 22px rgba(11,103,209,.2)}.btn-soft{background:var(--soft)}
.hero-banner{overflow:hidden;border-radius:28px;border:1px solid var(--line);box-shadow:var(--shadow);background:white}.hero-banner img{width:100%;height:auto}
.hero-actions{justify-content:center;margin-top:16px;margin-bottom:0}
.section{padding:54px 0}.section.soft{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}.section-head h2{font-size:clamp(26px,4vw,38px);line-height:1.12;margin:0}.section-head p{margin:6px 0 0;color:var(--muted);max-width:650px}.link-arrow{color:var(--blue);font-weight:800;white-space:nowrap}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.trust-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:white}.trust-icon{font-size:25px}.trust-card h3{margin:8px 0 4px;font-size:17px}.trust-card p{margin:0;color:var(--muted);font-size:14px}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{display:flex;flex-direction:column;min-height:100%;padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:white;box-shadow:0 8px 24px rgba(31,84,130,.06);transition:.2s ease}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-top{display:flex;gap:14px;align-items:flex-start}.product-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-weight:900;font-size:20px;color:white;background:linear-gradient(135deg,var(--blue),var(--teal));box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}.product-card h3{font-size:20px;line-height:1.18;margin:2px 0 2px}.by{font-size:12px;color:var(--muted)}.product-summary{color:var(--muted);font-size:14px;margin:15px 0}.chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.chip{font-size:12px;padding:6px 9px;border-radius:999px;background:#eef8ff;color:#23658e;font-weight:700}.card-meta{margin-top:auto;display:flex;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid #edf3f7;font-size:13px}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.card-actions .btn{min-height:42px;padding:8px 11px;font-size:13px}
.badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#eaf9f5;color:#14765f;font-weight:800;font-size:12px}.badge.blue{background:#edf5ff;color:#175caa}.badge.gray{background:#f2f5f7;color:#667785}
.category-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.category-bar button{border:1px solid var(--line);background:white;border-radius:999px;padding:9px 14px;font-weight:800;color:#36516b}.category-bar button.active{background:var(--ink);color:white;border-color:var(--ink)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.step{padding:18px;border-radius:18px;background:white;border:1px solid var(--line)}.step-num{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--cyan));color:white;font-weight:900}.step h3{margin:10px 0 4px;font-size:16px}.step p{margin:0;color:var(--muted);font-size:14px}
.notice-list{display:grid;gap:10px}.notice-row{display:grid;grid-template-columns:110px 1fr auto;gap:15px;align-items:center;border:1px solid var(--line);border-radius:16px;background:white;padding:14px}.notice-date{font-size:13px;color:var(--muted)}.notice-row strong{display:block}.notice-row p{margin:2px 0 0;color:var(--muted);font-size:14px}
.page-hero{padding:46px 0 26px;background:linear-gradient(180deg,#f4fbff,#fff)}.page-hero h1{font-size:clamp(32px,5vw,48px);margin:0 0 10px}.page-hero p{max-width:720px;color:var(--muted);font-size:17px;margin:0}.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:12px}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:26px;align-items:start}.detail-main,.detail-side{border:1px solid var(--line);border-radius:22px;background:white;padding:22px}.detail-side{position:sticky;top:92px}.feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:0;list-style:none}.feature-list li{padding:11px 12px;border-radius:12px;background:var(--soft);font-weight:700}.privacy-box{padding:18px;border-radius:18px;background:linear-gradient(135deg,#effaff,#effcf7);border:1px solid #d4efe8}.privacy-box h3{margin:0 0 6px}.privacy-box p{margin:0;color:#426171}.side-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf3f7}.side-row:last-of-type{border-bottom:0}.side-row span{color:var(--muted)}.side-row strong{text-align:right}
.download-card{display:grid;grid-template-columns:1fr auto;gap:18px;padding:20px;border-radius:20px;border:1px solid var(--line);background:white}.download-card + .download-card{margin-top:14px}.download-card h3{margin:0 0 4px}.download-card p{margin:0;color:var(--muted)}.download-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.callout{padding:18px 20px;border-radius:18px;border:1px solid #cfe4f6;background:#f5fbff;color:#335c78}.callout strong{color:var(--ink)}
.content-card{padding:22px;border:1px solid var(--line);border-radius:20px;background:white}.content-card h2,.content-card h3{margin-top:0}.content-card p:last-child{margin-bottom:0}
.footer{padding:36px 0 22px;border-top:1px solid var(--line);background:#f9fcfe}.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:24px}.footer h4{margin:0 0 9px}.footer a{display:block;color:#4c647b;padding:4px 0;font-size:14px}.footer-brand p{color:var(--muted);max-width:390px}.footer-bottom{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:13px}
.empty{padding:34px;text-align:center;border:1px dashed #c7d8e6;border-radius:18px;color:var(--muted)}
@media(max-width:900px){.trust-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}.detail-grid{grid-template-columns:1fr}.detail-side{position:static}.footer-grid{grid-template-columns:1fr 1fr}.notice-row{grid-template-columns:95px 1fr}.notice-row .badge{display:none}}
@media(max-width:680px){
  .container{width:min(100% - 22px,1120px)}
  .header{position:sticky}.nav{min-height:62px}.menu-btn{display:block}
  .nav-links{display:none;position:absolute;top:62px;left:11px;right:11px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:8px;flex-direction:column;align-items:stretch}.nav-links.open{display:flex}.nav-links a{padding:11px 12px}
  .hero{padding:14px 0 4px}.hero-copy{text-align:left}.actions{justify-content:flex-start}.hero-actions{justify-content:center;margin-top:12px;gap:8px}.hero-actions .btn{min-height:42px;padding:9px 14px}.hero-banner{border-radius:18px}
  .section{padding:28px 0}.section-head{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:14px}.section-head h2{font-size:clamp(24px,7vw,31px)}.section-head p{margin-top:4px;line-height:1.45}
  #why{padding-top:24px;padding-bottom:28px}
  .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .trust-card{padding:14px 12px;border-radius:16px;min-height:0}.trust-icon{font-size:21px;line-height:1}.trust-card h3{margin:7px 0 3px;font-size:15px;line-height:1.25}.trust-card p{font-size:12.5px;line-height:1.42}
  .product-grid,.steps{grid-template-columns:1fr}.product-card{padding:17px}.card-actions{grid-template-columns:1fr}.feature-list{grid-template-columns:1fr}.download-card{grid-template-columns:1fr}.download-actions{justify-content:flex-start}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.notice-row{grid-template-columns:1fr;gap:3px}.page-hero{padding-top:32px}h1{letter-spacing:-.7px}.brand-text small{display:none}
}


/* MEasyMate Home R4 — blue-first, compact mobile index */
.home-categories{
  padding:30px 0 34px;
  background:linear-gradient(180deg,#f7fcff 0%,#edf7ff 100%);
  border-top:1px solid #e2f0fb;
  border-bottom:1px solid #d8eaf8;
}
.home-section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.home-section-title h2{margin:0;font-size:clamp(24px,3.8vw,34px);line-height:1.12;color:#0d3765}
.mini-label{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#dff3ff;color:#09639d;font-size:12px;font-weight:850;white-space:nowrap}
.home-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.home-category-card{
  min-width:0;display:flex;align-items:center;gap:11px;padding:14px 15px;
  border:1px solid #cfe6f7;border-radius:17px;
  background:linear-gradient(145deg,#ffffff 0%,#eef8ff 100%);
  box-shadow:0 7px 18px rgba(11,103,209,.06);
}
.home-category-card:hover{border-color:#9ecff1;box-shadow:0 9px 22px rgba(11,103,209,.10)}
.home-category-icon{
  flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;
  border-radius:13px;background:linear-gradient(145deg,#0b67d1,#19aee1);
  color:#fff;font-size:15px;font-weight:900;box-shadow:0 7px 16px rgba(11,103,209,.18)
}
.home-category-card strong{display:block;color:#0b315c;font-size:17px;line-height:1.08}
.home-category-card small{display:block;color:#637b92;font-size:12px;line-height:1.2;margin-top:3px}
.home-trust-strip{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px;
}
.home-trust-strip span{
  display:flex;align-items:center;justify-content:center;min-height:38px;padding:7px 9px;
  border-radius:12px;background:rgba(255,255,255,.78);border:1px solid #d7eaf8;
  color:#365e82;font-size:12.5px;font-weight:800;text-align:center;
}
.hero{background:linear-gradient(180deg,#eef8ff 0%,#f9fdff 52%,#fff 100%)}
.hero-banner{border-color:#c9e6f8;box-shadow:0 12px 32px rgba(11,103,209,.12)}
.section.soft{background:#eef8ff}

@media(max-width:680px){
  .hero{padding-top:12px;padding-bottom:2px}
  .hero-actions{margin-top:10px}
  .home-categories{padding:22px 0 24px}
  .home-section-title{display:block;margin-bottom:12px}
  .home-section-title .mini-label{margin-bottom:7px}
  .home-section-title h2{font-size:23px;line-height:1.15}
  .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .home-category-card{gap:9px;padding:10px 11px;border-radius:14px;min-height:64px}
  .home-category-icon{flex-basis:35px;width:35px;height:35px;border-radius:11px;font-size:13px}
  .home-category-card strong{font-size:15.5px}
  .home-category-card small{font-size:11px;margin-top:2px}
  .home-trust-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
  .home-trust-strip span{min-height:34px;padding:6px 7px;font-size:11.5px;border-radius:10px}
  .section.soft{background:#f0f8ff}
}

/* MEasyMate Product Store R5 — compact app-store mobile layout */
.products-hero{padding:24px 0 16px;background:linear-gradient(180deg,#eef8ff 0%,#f8fcff 100%)}
.products-hero .mini-label{margin-bottom:8px}
.products-hero h1{font-size:clamp(28px,5vw,42px);line-height:1.08;margin:0 0 6px;letter-spacing:-.7px}
.products-hero p{max-width:760px;margin:0;color:var(--muted);font-size:15px;line-height:1.45}

@media(max-width:680px){
  .products-hero{padding:18px 0 12px}
  .products-hero .mini-label{padding:5px 8px;margin-bottom:6px;font-size:10.5px}
  .products-hero h1{font-size:26px;line-height:1.08;margin-bottom:4px}
  .products-hero p{font-size:12.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  .products-hero + .section{padding-top:14px}
  .category-bar{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;margin:0 -11px 12px;padding:0 11px 4px;scrollbar-width:none}
  .category-bar::-webkit-scrollbar{display:none}
  .category-bar button{flex:0 0 auto;padding:7px 11px;font-size:12px;border-radius:999px}

  .product-grid{gap:10px}
  .product-card{padding:12px 12px 11px;border-radius:16px;box-shadow:0 4px 14px rgba(31,84,130,.05)}
  .product-top{gap:10px;align-items:center}
  .product-icon{width:46px;height:46px;border-radius:14px;font-size:16px;flex:0 0 46px}
  .product-card h3{font-size:17px;line-height:1.16;margin:1px 0}
  .product-card .badge{padding:4px 7px;font-size:10px;line-height:1.1}
  .product-card .by{font-size:10.5px}
  .product-summary{font-size:12.5px;line-height:1.38;margin:9px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .chips{gap:5px;margin-bottom:9px;max-height:27px;overflow:hidden}
  .chip{font-size:10px;padding:4px 7px;line-height:1.15}
  .card-meta{padding-top:8px;font-size:11px;align-items:center}
  .card-meta strong{font-size:11px}
  .card-actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}
  .card-actions .btn{min-height:36px;padding:7px 8px;font-size:11px;border-radius:10px}
}


/* MEasyMate Product Store R6 — brand banner + contextual CTAs */
.store-banner-wrap{
  padding:18px 0 0;
  background:linear-gradient(180deg,#f7fcff 0%,#eef8ff 100%);
}
.store-banner{
  display:block;overflow:hidden;border-radius:22px;
  border:1px solid #c9e6f8;background:#fff;
  box-shadow:0 10px 28px rgba(11,103,209,.10);
}
.store-banner img{width:100%;height:auto;display:block}
.store-banner-wrap + .products-hero{padding-top:18px}
@media(max-width:680px){
  .store-banner-wrap{padding-top:12px}
  .store-banner{border-radius:16px}
  .store-banner-wrap + .products-hero{padding-top:14px}
}
