
:root{
  --bg:#f8fafc;
  --panel:#ffffff;
  --panel2:#f1f5f9;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --accent:#16a34a;
  --accent2:#0284c7;
  --shadow: 0 14px 40px rgba(2,6,23,.10);
  --radius:18px;
}
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans Thai", "Noto Sans";
  color:var(--text);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(2,132,199,.10), transparent 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(22,163,74,.10), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg) 35%, #ffffff);
}
a{ color:inherit; text-decoration:none; }
.container{ max-width:1120px; margin:0 auto; padding: 24px 18px 64px; }
img{ max-width:100%; height:auto; }

.topbar{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding: 14px 16px;
  border:1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.2px; }
.logo{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, rgba(22,163,74,.95), rgba(2,132,199,.85));
  box-shadow: 0 10px 24px rgba(2,6,23,.14);
  position:relative;
}
.logo:after{
  content:"w"; position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:900; font-size:18px;
}
.nav{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.nav a{
  font-weight:800; font-size:13px;
  padding: 9px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(241,245,249,.95);
}
.nav a.active{
  background: linear-gradient(90deg, rgba(22,163,74,.95), rgba(2,132,199,.85));
  color:#fff;
  border:none;
}
@media(max-width:720px){
  .container{ padding: 18px 14px 48px; }
  .topbar{ flex-direction:column; align-items:flex-start; gap:12px; border-radius: 18px; }
  .nav{ width:100%; justify-content:flex-start; overflow-x:auto; padding-bottom:4px; }
  .nav a{ font-size:12px; white-space:nowrap; }
}

.hero{
  margin-top: 18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.hero img{ width:100%; height: 320px; object-fit: cover; display:block; }
.heroInner{ padding: 18px 18px 20px; }
h1{ margin:0 0 8px; font-size: clamp(26px, 3.2vw, 42px); line-height:1.1; letter-spacing:-.3px; }
h2{ margin: 18px 0 10px; font-size: 20px; letter-spacing:-.2px; }
h3{ margin: 14px 0 8px; font-size: 16px; letter-spacing:-.1px; }
p{ margin: 0 0 10px; color: var(--muted); line-height: 1.75; }
.small{ font-size: 13px; color: var(--muted); }

.badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 12px; }
.badge{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(241,245,249,.92);
  border:1px solid var(--line);
}

.grid{ display:grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 12px; }
.card{
  grid-column: span 6;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
@media(max-width:900px){ .card{ grid-column: span 12; } }
.cardHead{
  padding: 13px 14px;
  background: rgba(241,245,249,.96);
  border-bottom: 1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.cardHead .title{ font-weight:900; }
.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  color: var(--muted);
  white-space:nowrap;
}
.cardBody{ padding: 12px 14px 14px; }
ul{ margin: 0; padding-left: 18px; }
li{ margin: 7px 0; line-height: 1.65; }

.kpi{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 12px;
}
@media(max-width:700px){ .kpi{ grid-template-columns:1fr; } }
.kpiBox{
  border:1px solid var(--line);
  background: rgba(241,245,249,.92);
  border-radius: 14px;
  padding: 12px 14px;
}
.kpiBox .num{ font-weight:950; font-size: 18px; }
.kpiBox .lbl{ color: var(--muted); font-size: 12px; margin-top: 4px; }

.callout{
  margin-top: 12px;
  border:1px solid var(--line);
  background: rgba(241,245,249,.92);
  border-radius: 14px;
  padding: 12px 14px;
}
.callout b{ color: var(--text); }

.footer{
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 12px;
  display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between;
}
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* extras */
.twoCol{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
@media(max-width:900px){ .twoCol{ grid-template-columns:1fr; } }
.quote{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px dashed var(--line);
  background: rgba(255,255,255,.75);
  color: var(--muted);
}
.faq .q{ font-weight: 900; margin-top: 10px; color: var(--text); }
.faq .a{ margin-top: 6px; }

/* banner */
.hero img.banner90{
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
}
@media(max-width:640px){
  .hero{ border-radius: 16px; }
  .hero img{ height: 220px; }
  .heroInner{ padding: 14px 14px 16px; }
  h2{ font-size: 18px; }
  p, li{ font-size: 15px; line-height: 1.65; }
  .kpi{ gap: 8px; }
  .callout, .quote{ font-size: 15px; }
}
