/* =============================================================================
   หน้าเว็บสาธารณะ (views/*.html render ด้วย lib/landing.js) — CI SmartQTag: ส้ม #ff8800 · เข้ม #2b2d42 · Sarabun
   ========================================================================== */
:root {
  --brand: #ff8800;
  --brand-600: #b95900;   /* ปุ่มหลัก + ตัวหนังสือเน้น: ตัวอักษรขาวบนสีนี้ 4.7:1 (สีโลโก้คือ --brand) */
  --brand-700: #a85300;
  --brand-soft: #fff4e6;
  --brand-soft-2: #ffe7cc;
  --ink: #1d2128;
  --ink-logo: #2b2d42;
  --ink-2: #4b5260;
  --muted: #6b7280;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --green: #15803d;
  --green-soft: #e7f6ee;
  --blue: #2557d6;
  --blue-soft: #eaf0ff;
  --amber: #b45309;
  --amber-soft: #fff4e5;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(29, 33, 40, .10);
  --shadow-sm: 0 6px 20px rgba(29, 33, 40, .08);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Sarabun', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lp-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.lp-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.lp-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(255, 136, 0, .45); outline-offset: 2px; }

/* ---------- ปุ่ม ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 8px 22px rgba(185, 89, 0, .26); }
.lp-btn-primary:hover { background: var(--brand-700); }
.lp-btn-ghost { background: #fff; color: var(--ink); border-color: #d6dae1; }
.lp-btn-ghost:hover { border-color: var(--ink); }
.lp-btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.lp-btn-light:hover { background: rgba(255, 255, 255, .16); }
.lp-btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; box-shadow: none; }
.lp-btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.lp-btn-block { display: flex; width: 100%; }

/* ---------- หัวเว็บ ---------- */
.lp-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.lp-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(29, 33, 40, .05); }
.lp-nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.lp-logo { text-decoration: none; }
.lp-logo-mark { font-size: 28px; font-weight: 800; color: var(--ink-logo); letter-spacing: .3px; white-space: nowrap; }
.lp-logo-mark .q { position: relative; color: var(--brand); margin: 0 1px; }
.lp-logo-mark .q::after {
  content: ""; position: absolute; top: 64%; left: 52%; transform: translate(-50%, -50%);
  width: .5em; height: .5em; border: 2px solid currentColor; border-radius: 3px;
}
.lp-logo-mark .tag { color: var(--brand); }
.lp-menu { display: flex; gap: 6px; margin: 0 auto; }
.lp-menu a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15.5px; }
.lp-menu a:hover { color: var(--ink); background: var(--bg-soft); }
.lp-menu-login { display: none; }
.lp-nav-cta { display: flex; align-items: center; gap: 14px; }
.lp-link-login { text-decoration: none; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.lp-link-login:hover { color: var(--brand-700); }
.lp-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* ---------- ตัวหนังสือเน้น ---------- */
.lp-hl { position: relative; color: var(--brand-600); white-space: nowrap; }
.lp-underline { position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .38em; fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; opacity: .55; }
.lp-hl-soft { color: var(--brand-600); }
.lp-kicker { color: var(--brand-700); font-weight: 700; font-size: 15px; letter-spacing: .04em; margin-bottom: 8px; }
.lp-squiggle { position: absolute; fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; opacity: .35; pointer-events: none; }

/* ---------- HERO ---------- */
.lp-hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.lp-squiggle-a { width: 230px; left: -40px; top: 40px; transform: rotate(-12deg); }
.lp-squiggle-b { width: 170px; right: -30px; bottom: 30px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 99px;
  background: var(--brand-soft); color: var(--brand-700); font-weight: 700; font-size: 14.5px; margin-bottom: 20px;
}
.lp-eyebrow .lp-ic { width: 18px; height: 18px; }
.lp-hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; line-height: 1.22; }
.lp-lead { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 560px; }
.lp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lp-hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.lp-hero-notes li { display: flex; align-items: center; gap: 6px; }
.lp-hero-notes .lp-ic { width: 17px; height: 17px; color: var(--green); }

/* ภาพประกอบ hero */
.lp-hero-art { position: relative; min-height: 560px; display: flex; justify-content: center; align-items: center; }
.lp-blob { position: absolute; width: 440px; height: 440px; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: var(--brand-soft); }
.lp-phone {
  position: relative; width: 290px; height: 560px; background: #12151b; border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 70px rgba(29, 33, 40, .28); transform: rotate(-2deg);
}
.lp-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #12151b; border-radius: 0 0 16px 16px; z-index: 2; }
.lp-screen { height: 100%; background: #fff; border-radius: 34px; padding: 40px 18px 18px; overflow: hidden; display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.lp-scr-head { display: flex; align-items: center; gap: 10px; }
.lp-scr-head b { display: block; font-size: 14px; }
.lp-scr-head small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.lp-scr-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.lp-scr-img { background: var(--bg-soft); border-radius: 16px; padding: 10px; }
.lp-scr-img svg { width: 100%; height: auto; }
.lp-scr-title { font-weight: 800; font-size: 16px; line-height: 1.3; }
.lp-scr-sn { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--muted); margin-top: -6px; }
.lp-scr-ok { display: flex; align-items: center; gap: 8px; background: var(--green-soft); color: #126b33; font-weight: 700; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; }
.lp-scr-ok span { width: 8px; height: 8px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 4px rgba(34, 163, 90, .18); }
.lp-scr-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-scr-rows div { background: var(--bg-soft); border-radius: 10px; padding: 6px 9px; }
.lp-scr-rows span { display: block; color: var(--muted); font-size: 11px; }
.lp-scr-rows b { font-size: 12.5px; }
.lp-scr-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-scr-btns span { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; font-weight: 600; font-size: 12.5px; }
.lp-scr-btns .lp-ic { width: 15px; height: 15px; }
.lp-scr-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand-600); color: #fff; font-weight: 700; border-radius: 12px; padding: 11px; }
.lp-scr-cta .lp-ic { width: 16px; height: 16px; }

.lp-float {
  position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.35;
  animation: lp-bob 6s ease-in-out infinite;
}
.lp-float b { display: block; font-size: 14.5px; }
.lp-float span { display: block; color: var(--muted); }
.lp-float-sticker { left: -34px; top: 150px; padding: 12px; animation-delay: -1s; }
.lp-float-sticker .lp-qr { width: 64px; height: 64px; }
.lp-float-sticker .lp-mono { font-size: 11.5px; color: var(--ink); }
.lp-float-note { right: -18px; top: 300px; animation-delay: -3s; }
.lp-float-ok { left: -24px; bottom: 18px; animation-delay: -4.5s; }
.lp-float-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.lp-qr { fill: none; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* สีกลุ่มไอคอน */
.lp-tone-a { background: var(--brand-soft); color: var(--brand-700); }
.lp-tone-b { background: var(--blue-soft); color: var(--blue); }
.lp-tone-c { background: var(--green-soft); color: var(--green); }

/* ---------- STATS ---------- */
.lp-stats { padding: 8px 0 40px; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lp-stat { text-align: center; padding: 18px 12px; }
.lp-stat + .lp-stat { border-left: 1px solid var(--line); }
.lp-stat b { display: block; font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1.1; }
.lp-stat span { color: var(--muted); font-size: 15px; }
.lp-stat-a b { color: var(--brand-600); }
.lp-stat-b b { color: var(--blue); }
.lp-stat-c b { color: var(--green); }

/* ---------- section ---------- */
.lp-section { padding: 88px 0; }
.lp-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.lp-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.lp-head p:not(.lp-kicker) { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.lp-center { text-align: center; margin-top: 40px; }
.lp-center-row { justify-content: center; }

/* ปัญหา */
.lp-pain { background: var(--bg-soft); }
.lp-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.lp-card h3 { font-size: 20px; font-weight: 700; margin: 16px 0 10px; }
.lp-card p { color: var(--ink-2); font-size: 16px; }
.lp-card-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.lp-card-ic .lp-ic { width: 24px; height: 24px; }

/* ฟีเจอร์หลัก */
.lp-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.lp-feature + .lp-feature { margin-top: 36px; }
.lp-feature-rev .lp-feature-copy { order: 2; }
.lp-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-700); font-weight: 700; font-size: 14px; }
.lp-chip .lp-ic { width: 17px; height: 17px; }
.lp-feature-copy h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 16px 0 14px; }
.lp-feature-copy > p { color: var(--ink-2); font-size: 18px; }
.lp-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.lp-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; }
.lp-checks .lp-ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--green-soft); color: var(--green); stroke-width: 3; margin-top: 2px; }
.lp-feature-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-feature-art::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 40px; background: var(--brand-soft); transform: rotate(-3deg); z-index: -1;
}

/* mockup: แผ่นสติ๊กเกอร์ */
.lp-sheet { width: 100%; max-width: 470px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; transform: rotate(1.5deg); }
.lp-sheet-label { display: flex; gap: 10px; align-items: center; border: 1px dashed #cfd4dc; border-radius: 8px; padding: 9px; font-size: 12px; line-height: 1.35; }
.lp-sheet-label .lp-qr { width: 52px; height: 52px; flex-shrink: 0; }
.lp-sheet-label b { display: block; font-size: 12.5px; }
.lp-sheet-label span { display: block; color: var(--muted); }
.lp-tag-print { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm); }
.lp-tag-print .lp-ic { width: 17px; height: 17px; }

/* mockup: แผงข้อมูล */
.lp-panel { width: 100%; max-width: 470px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; }
.lp-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-panel-head b { font-size: 16px; }
.lp-pill { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #f1f3f6; color: var(--muted); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.lp-pill-ok { background: var(--green-soft); color: var(--green); }
.lp-pill-warn { background: var(--amber-soft); color: var(--amber); }
.lp-progress { height: 8px; border-radius: 99px; background: #eceff3; margin: 14px 0 12px; overflow: hidden; }
.lp-progress i { display: block; height: 100%; background: #22a35a; border-radius: 99px; }
.lp-rows { display: grid; gap: 6px; }
.lp-row { display: grid; grid-template-columns: 20px 1fr auto; grid-template-areas: "box sn pill" "box sub pill"; column-gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.lp-row .lp-box { grid-area: box; width: 18px; height: 18px; border: 2px solid #c8cdd5; border-radius: 5px; }
.lp-row .lp-box.is-on { background: var(--brand-600); border-color: var(--brand-600); box-shadow: inset 0 0 0 3px #fff; }
.lp-row .lp-mono { grid-area: sn; color: var(--muted); }
.lp-row .lp-mono b { color: var(--ink); }
.lp-row .lp-pill { grid-area: pill; }
.lp-row-sub { grid-area: sub; color: var(--muted); font-size: 12.5px; }
.lp-row.is-sel { background: #fff8f0; border-color: #f5c999; }
.lp-preview { margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: var(--green-soft); color: #14532d; font-size: 14px; display: flex; justify-content: space-between; }

/* mockup: เอกสาร */
.lp-flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.lp-flow span { padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow-sm); }
.lp-flow span.is-on { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.lp-flow i { width: 16px; height: 2px; background: #c8cdd5; }
.lp-paper { width: 100%; max-width: 470px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); padding: 22px 22px 18px; font-size: 13px; transform: rotate(-1.2deg); }
.lp-paper-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); }
.lp-paper-co { display: flex; gap: 10px; align-items: center; }
.lp-paper-co b { display: block; font-size: 13.5px; }
.lp-paper-co small, .lp-paper-title small { display: block; color: var(--muted); font-size: 11px; }
.lp-paper-title { text-align: right; }
.lp-paper-title b { color: var(--brand-600); font-size: 14px; }
.lp-paper-party { margin: 12px 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; }
.lp-paper-party span { display: block; color: var(--muted); font-size: 11px; }
.lp-paper-table > div { display: grid; grid-template-columns: 1fr 50px 90px; gap: 8px; padding: 7px 8px; border-bottom: 1px solid #f0f1f3; }
.lp-paper-table > div > span:nth-child(n+2) { text-align: right; }
.lp-paper-table small { display: block; color: var(--muted); font-size: 10.5px; }
.lp-pt-h { background: var(--ink); color: #fff; border-radius: 4px; font-weight: 700; font-size: 12px; border-bottom: 0 !important; }
.lp-paper-total { display: flex; justify-content: flex-end; gap: 18px; padding: 10px 8px; font-size: 14px; }
.lp-paper-total b { font-size: 16px; }
.lp-paper-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; text-align: center; color: var(--muted); font-size: 11.5px; }
.lp-paper-sign span { border-top: 1px solid #9aa1ad; padding-top: 4px; }

/* mockup: ติดตามงานซ่อม */
.lp-track-sub { margin: 8px 0 14px; color: var(--muted); font-size: 13.5px; }
.lp-ok-text { color: var(--green); }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lp-steps li { position: relative; padding: 0 0 16px 30px; font-size: 14px; }
.lp-steps li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c8cdd5; background: #fff; }
.lp-steps li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: #e2e5ea; }
.lp-steps li:last-child { padding-bottom: 0; }
.lp-steps li:last-child::after { display: none; }
.lp-steps li.is-done::before { background: #22a35a; border-color: #22a35a; }
.lp-steps li.is-now::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px rgba(255, 136, 0, .18); }
.lp-steps b { display: block; }
.lp-steps span { color: var(--muted); font-size: 13px; }
.lp-steps li:not(.is-done):not(.is-now) b { color: var(--muted); }
.lp-track-photos { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.lp-track-photos span { width: 46px; height: 46px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); }
.lp-track-photos em { font-style: normal; color: var(--muted); font-size: 13px; }

/* เครื่องมืออื่น */
.lp-more { background: var(--bg-soft); }
.lp-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s, box-shadow .2s; }
.lp-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.lp-mini h3 { font-size: 18px; margin: 14px 0 6px; }
.lp-mini p { color: var(--ink-2); font-size: 15px; }

/* ขั้นตอน */
.lp-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: how; }
.lp-how li { position: relative; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.lp-how-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; font-size: 20px; }
.lp-how li:first-child .lp-how-n { background: var(--brand-600); }
.lp-how h3 { font-size: 19px; margin: 16px 0 8px; }
.lp-how p { color: var(--ink-2); font-size: 15.5px; }

/* อุตสาหกรรม */
.lp-industries { background: var(--bg-soft); }
.lp-industries .lp-ind { background: #fff; }
.lp-ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-ind { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.lp-ind > .lp-ic { width: 30px; height: 30px; color: var(--brand-600); }
.lp-ind h3 { font-size: 18.5px; margin: 14px 0 6px; }
.lp-ind p { color: var(--ink-2); font-size: 15.5px; }

/* แพ็กเกจ */
.lp-pricing { background: #fff; }
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; }
/* 3 แพ็กเกจ (เริ่มต้น · ทั่วไป · PRO — รอบ 38) */
.lp-plans-3 { grid-template-columns: repeat(3, minmax(0, 370px)); gap: 20px; }
.lp-plans-3 .lp-plan { padding: 30px 24px; }
@media (max-width: 1100px) { .lp-plans-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); } }
.lp-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.lp-plan-pro { border: 2px solid var(--brand); box-shadow: 0 24px 60px rgba(232, 116, 12, .16); }
.lp-plan-badge { position: absolute; top: -14px; left: 28px; background: var(--brand-600); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 14px; border-radius: 99px; }
.lp-plan h3 { font-size: 24px; font-weight: 800; }
.lp-plan-desc { color: var(--muted); margin-top: 4px; font-size: 15.5px; }
.lp-price { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; }
.lp-price b { font-size: 46px; font-weight: 800; line-height: 1; }
.lp-price span { color: var(--muted); }
.lp-plan-year { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
.lp-plan-year em { font-style: normal; color: var(--green); font-weight: 700; }
.lp-plan .lp-checks { margin: 22px 0 24px; }
.lp-plan .lp-btn { margin-top: auto; }
.lp-plan-note { margin: -8px 0 22px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-700); font-size: 14px; }
.lp-plans-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 15px; }

/* FAQ */
#faq { background: var(--bg-soft); }
.lp-faq { max-width: 860px; }
.lp-faq-list { display: grid; gap: 12px; }
.lp-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.lp-faq-item[open] { border-color: #f5c999; box-shadow: var(--shadow-sm); }
.lp-faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary h3 { font-size: 18px; font-weight: 700; }
.lp-faq-ic { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.lp-faq-ic::before, .lp-faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--ink-2); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.lp-faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.lp-faq-item[open] .lp-faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.lp-faq-item p { padding: 0 0 20px; color: var(--ink-2); font-size: 16.5px; }

/* ---------- ส่วนเสริม: ลิงก์ ตัวช่วย ---------- */
.lp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lp-hero-alt { margin-top: 16px; color: var(--ink-2); font-size: 15.5px; }
.lp-hero-alt a { color: var(--brand-700); font-weight: 700; text-underline-offset: 3px; }
.lp-scan-hint { display: block; margin-top: 4px; font-style: normal; font-weight: 700; color: var(--brand-700); font-size: 12px; }
.lp-more-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 18px; color: var(--brand-700); font-weight: 700; text-decoration: none; }
.lp-more-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-more-link .lp-ic { width: 18px; height: 18px; transition: transform .15s; }
.lp-more-link:hover .lp-ic { transform: translateX(3px); }
.lp-card-link { color: inherit; text-decoration: none; }
.lp-card-link:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.lp-plan-day { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.lp-center-note { text-align: center; color: var(--muted); margin-top: 20px; font-size: 15.5px; }
.lp-more-grid.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-how.lp-how-3 { grid-template-columns: repeat(3, 1fr); }

/* ตารางเทียบ */
.lp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.lp-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.lp-table th, .lp-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lp-table thead th { background: var(--bg-soft); font-size: 15px; color: var(--ink-2); font-weight: 700; }
.lp-table tbody th { font-weight: 700; width: 26%; }
.lp-table tbody tr:last-child > * { border-bottom: 0; }
.lp-table .is-us { background: #fff8f0; }
.lp-table thead .is-us { background: var(--brand-600); color: #fff; }
.lp-yes, .lp-part, .lp-no { display: inline-flex; align-items: flex-start; gap: 8px; }
.lp-yes .lp-ic, .lp-part .lp-ic, .lp-no .lp-ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; stroke-width: 3; margin-top: 2px; }
.lp-yes { font-weight: 700; }
.lp-yes .lp-ic { background: var(--green-soft); color: var(--green); }
.lp-part { color: var(--ink-2); }
.lp-part .lp-ic { background: var(--amber-soft); color: var(--amber); }
.lp-no { color: var(--muted); }
.lp-no .lp-ic { background: #f1f3f6; color: #8a919c; }

/* ฟอร์มขอคำปรึกษา */
.lp-consult { background: var(--bg-soft); }
.lp-consult-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.lp-consult-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
.lp-consult-copy > p:not(.lp-kicker) { color: var(--ink-2); font-size: 18px; }
.lp-form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-field { display: grid; gap: 6px; align-content: start; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.lp-field b { color: var(--brand-700); }
.lp-field input, .lp-field select, .lp-field textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1.5px solid #d6dae1; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.lp-field textarea { resize: vertical; min-height: 92px; }
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 136, 0, .15); }
.lp-field.is-invalid input { border-color: #d14343; }
.lp-field-err { color: #b42318; font-size: 13.5px; font-weight: 600; }
.lp-chips-field { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.lp-chips-field legend { width: 100%; font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.lp-chips-field label { position: relative; cursor: pointer; }
.lp-chips-field input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lp-chips-field span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 99px; border: 1.5px solid #d6dae1; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background .15s, border-color .15s, color .15s; }
.lp-chips-field input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-700); }
.lp-chips-field input:focus-visible + span { outline: 3px solid rgba(255, 136, 0, .45); outline-offset: 2px; }
.lp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lp-form-note { color: var(--muted); font-size: 14px; text-align: center; margin-top: -4px; }
.lp-form-msg:empty { display: none; }
.lp-form-msg { padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.lp-form-msg.is-err { background: #fdecec; color: #9b1c1c; }
.lp-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.lp-form.is-done > :not(.lp-form-msg) { display: none; }
.lp-form.is-done .lp-form-msg { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 40px 16px; background: transparent; color: var(--ink); font-size: 17px; }
.lp-form-done-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.lp-form-done-ic .lp-ic { width: 32px; height: 32px; stroke-width: 3; }
.lp-form-msg h3 { font-size: 22px; font-weight: 800; }
.lp-form-msg p { color: var(--ink-2); font-weight: 400; }

/* แถบปุ่มติดล่าง (มือถือ) */
.lp-sticky { display: none; }

/* ---------- หน้าโซลูชัน ---------- */
.lp-sub-hero { padding: 36px 0 72px; text-align: center; background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--brand-soft) 100%); }
.lp-sub-hero-in { max-width: 920px; }
.lp-sub-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.lp-sub-hero .lp-lead { margin-left: auto; margin-right: auto; max-width: 720px; }
.lp-sub-hero .lp-hero-cta, .lp-sub-hero .lp-hero-notes { justify-content: center; }
.lp-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 14.5px; color: var(--muted); }
.lp-crumbs li + li::before { content: "/"; margin-right: 6px; color: #b8bec8; }
.lp-crumbs a { color: var(--ink-2); text-decoration: none; }
.lp-crumbs a:hover { color: var(--brand-700); text-decoration: underline; }
.lp-sub-alt { background: var(--bg-soft); }
.lp-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lp-split-copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 12px; }
.lp-split-copy > p { color: var(--ink-2); font-size: 17.5px; }
.lp-split-copy .lp-btn { margin-top: 24px; }
.lp-split-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); }
.lp-split-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.lp-split-card > p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 12px; }
.lp-dl { margin: 0; display: grid; gap: 14px; }
.lp-dl div + div { padding-top: 14px; border-top: 1px solid var(--line); }   /* คั่นด้วยเส้นบาง (รอบ 56 — เดิมแถบสีหนาด้านซ้าย) */
.lp-dl dt { font-weight: 800; }
.lp-dl dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15.5px; }
.lp-doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: doc; }
.lp-doc-list li { counter-increment: doc; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 15.5px; }
.lp-doc-list li::before { content: counter(doc); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-700); font-size: 13px; font-weight: 800; flex-shrink: 0; }
.lp-split-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.lp-flow-wide { gap: 8px; }
.lp-flow-wide span { font-size: 15px; padding: 9px 16px; }
.lp-flow-wide i { width: 22px; }
.lp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-related-card { display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #f5c999; }
.lp-related-card .lp-kicker { margin: 0; font-size: 13.5px; color: var(--brand-700); }
.lp-related-card h3 { margin: 4px 0 8px; }
.lp-related-card .lp-more-link { margin-top: auto; padding-top: 14px; }

/* ---------- หน้าตัวอย่าง (/demo) ---------- */
.lp-demo { padding: 36px 0 72px; }
.lp-demo-grid { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.lp-demo .lp-crumbs ol { justify-content: flex-start; }
.lp-demo h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.lp-demo-steps { list-style: none; counter-reset: st; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-demo-steps li { counter-increment: st; position: relative; padding-left: 46px; }
.lp-demo-steps li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.lp-demo-steps li:first-child::before { background: var(--brand-600); }
.lp-demo-steps b { display: block; font-size: 17px; }
.lp-demo-steps span { color: var(--ink-2); font-size: 15.5px; }
.lp-demo-scan { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 14px 18px; border: 1px dashed #f5c999; border-radius: 16px; background: #fffaf3; max-width: 520px; }
.lp-demo-scan .lp-qr { width: 92px; height: 92px; flex-shrink: 0; background: #fff; padding: 6px; border-radius: 10px; }
.lp-demo-scan b { display: block; }
.lp-demo-scan span { color: var(--ink-2); font-size: 15px; }
.lp-demo-device { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-demo-device::before { content: ""; position: absolute; width: 420px; height: 420px; top: 46%; left: 50%; transform: translate(-50%, -50%); border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: var(--brand-soft); z-index: -1; }
.lp-demo-phone { position: relative; width: 336px; height: 690px; background: #12151b; border-radius: 48px; padding: 12px; box-shadow: 0 30px 70px rgba(29, 33, 40, .28); }
.lp-demo-phone .lp-notch { z-index: 2; }
/* แถบบนสุด 30px เว้นให้รอยบากของกรอบมือถือ ไม่ทับหัวหน้าสินค้า */
.lp-demo-screen { position: relative; width: 312px; height: 666px; padding-top: 30px; border-radius: 38px; overflow: hidden; background: #fff; }
/* หน้าสินค้าจริงกว้าง 390px (ขนาดมือถือทั่วไป) ย่อ 80% ให้พอดีกรอบ: สูง (666 - 30) / 0.8 */
.lp-demo-screen iframe { display: block; width: 390px; height: 795px; border: 0; transform: scale(.8); transform-origin: 0 0; }
.lp-demo .lp-squiggle-a { display: none; }
.lp-demo-open { margin-top: 0; }

/* ปิดท้าย */
.lp-final { padding: 88px 0; }
.lp-final-box { position: relative; overflow: hidden; text-align: center; background: var(--ink); color: #fff; border-radius: 32px; padding: 72px 32px; max-width: calc(var(--wrap) - 48px); }
.lp-final-box h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; max-width: 760px; margin: 0 auto; }
.lp-final-box h2 span { color: var(--brand); white-space: nowrap; }
.lp-final-box p { margin-top: 14px; color: #c9ced6; font-size: 18px; }
.lp-squiggle-c { width: 240px; right: -30px; top: -10px; opacity: .5; }

/* ท้ายเว็บ */
.lp-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #fff; }
.lp-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.lp-foot-brand p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 360px; }
.lp-contact { display: grid; gap: 6px; margin-top: 16px; }
.lp-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.lp-contact a:hover { color: var(--brand-700); }
.lp-contact .lp-ic { width: 17px; height: 17px; color: var(--brand-600); }
.lp-footer nav h3 { font-size: 16px; margin-bottom: 12px; }
.lp-footer nav a { display: block; color: var(--ink-2); text-decoration: none; padding: 4px 0; font-size: 15px; }
.lp-footer nav a:hover { color: var(--brand-700); }
.lp-foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
/* นิติบุคคลผู้ให้บริการ (lib/company.js) — ลิงก์ไปหน้าข้อมูลที่กรมพัฒนาธุรกิจการค้า */
.lp-foot-legal { display: block; margin-top: 6px; font-size: 13px; line-height: 1.6; }
.lp-foot-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- เผยตอนเลื่อนถึง (มี JS เท่านั้น เนื้อหายังอ่านได้ถ้าไม่มี JS) ---------- */
.js .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .lp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-float { animation: none; }
  .js .lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-btn:hover, .lp-mini:hover { transform: none; }
}

/* ---------- จอกลาง ---------- */
@media (max-width: 1080px) {
  .lp-menu a { padding: 8px 8px; font-size: 15px; }
  .lp-more-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-how { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .lp-burger { display: inline-flex; }
  .lp-link-login { display: none; }
  .lp-menu {
    position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: 0 16px 30px rgba(29, 33, 40, .08);
  }
  .lp-menu.is-open { display: flex; }
  .lp-menu a { padding: 12px; font-size: 16.5px; }
  .lp-menu-login { display: block; }
  .lp-nav-cta { margin-left: auto; }
  .lp-hero { padding-top: 36px; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .lp-hero-copy { text-align: center; }
  .lp-lead { margin-left: auto; margin-right: auto; }
  .lp-hero-cta, .lp-hero-notes { justify-content: center; }
  .lp-feature { grid-template-columns: 1fr; gap: 28px; }
  .lp-feature-rev .lp-feature-copy { order: 0; }
  .lp-pain-grid, .lp-ind-grid { grid-template-columns: 1fr 1fr; }
  .lp-plans { grid-template-columns: minmax(0, 480px); }
  .lp-foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .lp-foot-brand { grid-column: 1 / -1; }
}

/* ---------- มือถือ ---------- */
@media (max-width: 640px) {
  .lp-br { display: none; }
  body { font-size: 16px; }
  .lp-wrap { padding: 0 16px; }
  .lp-nav { height: 64px; gap: 10px; }
  .lp-menu { top: 64px; }
  .lp-logo-mark { font-size: 24px; }
  .lp-nav-cta { gap: 8px; }
  .lp-btn-sm { padding: 0 12px; }
  .lp-lead { font-size: 17px; }
  .lp-btn-lg { height: 52px; padding: 0 20px; font-size: 16px; width: 100%; }
  .lp-hero-art { min-height: 520px; transform: scale(.92); margin: -10px -16px 0; }
  .lp-float-sticker { left: 0; top: 120px; }
  .lp-float-note { right: 0; top: 300px; }
  .lp-float-ok { left: 4px; bottom: 12px; }
  .lp-blob { width: 340px; height: 340px; }
  .lp-section { padding: 64px 0; }
  .lp-head { margin-bottom: 32px; }
  .lp-pain-grid, .lp-ind-grid, .lp-more-grid, .lp-how { grid-template-columns: 1fr; }
  .lp-stat + .lp-stat { border-left: 0; border-top: 1px solid var(--line); }
  .lp-sheet { grid-template-columns: 1fr; }
  .lp-sheet-label:nth-child(n+4) { display: none; }
  .lp-paper { padding: 16px; transform: none; }
  .lp-paper-head { flex-direction: column; }
  .lp-paper-title { text-align: left; }
  .lp-paper-table > div { grid-template-columns: 1fr 34px 76px; font-size: 12px; }
  .lp-final-box { border-radius: 24px; padding: 52px 20px; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; }
  .lp-faq-item { padding: 0 16px; }
  .lp-faq-item summary h3 { font-size: 16.5px; }
}

/* ---------- ส่วนเสริม: จอกลางและมือถือ ---------- */
@media (max-width: 960px) {
  .lp-consult-grid, .lp-split, .lp-demo-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-demo-copy { text-align: center; }
  .lp-demo .lp-crumbs ol, .lp-demo .lp-hero-cta { justify-content: center; }
  .lp-demo-steps { text-align: left; max-width: 520px; margin-left: auto; margin-right: auto; }
  .lp-demo-scan { margin-left: auto; margin-right: auto; text-align: left; }
  .lp-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(29, 33, 40, .08);
    transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
  }
  .lp-sticky.is-on { transform: none; visibility: visible; transition: transform .25s ease; }
  .lp-sticky .lp-btn { height: 46px; padding: 0 12px; font-size: 15px; }
  .lp-footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .lp-field-row { grid-template-columns: 1fr; }
  .lp-form { padding: 20px; border-radius: 18px; }
  .lp-related-grid, .lp-more-grid.lp-grid-3, .lp-how.lp-how-3 { grid-template-columns: 1fr; }
  .lp-split-card { padding: 22px; }
  .lp-sub-hero { padding: 24px 0 52px; }
  .lp-flow-wide span { font-size: 14px; padding: 7px 12px; }
  .lp-flow-wide i { width: 12px; }
  .lp-demo { padding-top: 24px; }
  .lp-demo-scan { display: none; }
  .lp-demo-device::before { width: 300px; height: 300px; }
  .lp-demo-phone { width: 100%; max-width: 360px; height: 680px; border-radius: 36px; padding: 8px; }
  .lp-demo-phone .lp-notch { top: 8px; width: 96px; height: 22px; }
  .lp-demo-screen { width: 100%; height: 100%; padding-top: 26px; border-radius: 30px; }
  .lp-demo-screen iframe { width: 100%; height: 100%; transform: none; }
  /* ตารางเทียบ → การ์ดทีละงาน */
  .lp-table-wrap { border: 0; box-shadow: none; background: transparent; overflow: visible; border-radius: 0; }
  .lp-table { min-width: 0; }
  .lp-table thead { display: none; }
  .lp-table, .lp-table tbody, .lp-table tr, .lp-table th, .lp-table td { display: block; width: auto; }
  .lp-table tr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; overflow: hidden; }
  .lp-table tbody th { width: auto; padding: 0 0 6px; border: 0; font-size: 16.5px; }
  .lp-table td { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: start; padding: 8px 0 0; border: 0; font-size: 15px; }
  .lp-table td::before { content: attr(data-label); color: var(--muted); font-size: 13.5px; font-weight: 600; padding-top: 2px; }
  .lp-table td.is-us { margin: 10px -16px -14px; padding: 10px 16px 14px; }
  .lp-table tbody tr:last-child > * { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-related-card:hover, .lp-more-link:hover .lp-ic { transform: none; }
  .lp-sticky, .lp-sticky.is-on { transition: none; }
}


/* =============================================================================
   ส่วนใหม่ (2026-10-16): ซื้อและเจ้าหนี้ · บัญชีและภาษี · ภาพรวมทั้งระบบ
   ========================================================================== */
.lp-new { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--brand-600); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 800; line-height: 1.6; letter-spacing: .02em; }
.lp-feature-note { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); color: var(--ink-2); font-size: 14.5px; }

/* mockup: รับสินค้า + จ่ายเงิน */
.lp-buy-rows { display: grid; gap: 6px; }
.lp-buy-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.lp-buy-row small { display: block; color: var(--muted); font-size: 12px; }
.lp-buy-row b { font-size: 13px; color: var(--green); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-buy-pay { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); display: grid; gap: 4px; font-size: 13.5px; }
.lp-buy-pay > div { display: flex; justify-content: space-between; gap: 12px; }
.lp-buy-pay span { color: var(--ink-2); }
.lp-buy-pay b { font-variant-numeric: tabular-nums; }
.lp-buy-pay .is-total { margin-top: 4px; padding-top: 6px; border-top: 1px solid #dfe3e9; font-size: 15px; }
.lp-buy-pay .is-total span { color: var(--ink); font-weight: 700; }
.lp-buy-pay .is-total b { color: var(--brand-700); }

/* mockup: งบการเงิน */
.lp-books { transform: rotate(1deg); }
.lp-books-rows { margin-top: 12px; display: grid; font-size: 13.5px; }
.lp-books-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 2px; border-bottom: 1px solid #f0f1f3; }
.lp-books-rows b { font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-books-rows .lp-books-sec { display: block; padding-top: 10px; border-bottom: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.lp-books-rows .is-net { margin-top: 4px; padding-top: 9px; border-top: 2px solid var(--ink); border-bottom: 0; font-size: 15px; font-weight: 800; }
.lp-books-rows .is-net b { font-weight: 800; color: var(--green); }
.lp-books-draft { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); font-size: 13.5px; font-weight: 600; }
.lp-books-draft .lp-ic { width: 17px; height: 17px; }
.lp-books-draft em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 700; }
.lp-books-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.lp-books-chips span { padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm); }

/* ภาพรวมทั้งระบบ: 8 ขั้นต่อเนื่อง (4 x 2 บนจอใหญ่) */
.lp-journey { background: var(--bg-soft); }
.lp-jsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 18px; counter-reset: jstep; }
.lp-jsteps li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: jstep; }
.lp-jsteps li::before { content: counter(jstep); position: absolute; top: 16px; right: 18px; color: #c3c8d0; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
/* เส้นเชื่อมไปขั้นถัดไป (ไม่มีหลังขั้นสุดท้ายของแถว) */
.lp-jsteps li::after { content: ''; position: absolute; top: 44px; right: -18px; width: 18px; border-top: 2px dashed #f2b36b; }
.lp-jsteps li:nth-child(4n)::after, .lp-jsteps li:last-child::after { display: none; }
.lp-jsteps li.is-new { border-color: #f5c999; box-shadow: 0 10px 28px rgba(232, 116, 12, .10); }
.lp-jstep-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 10px; }
.lp-jstep-ic .lp-ic { width: 24px; height: 24px; }
.lp-jsteps b { font-size: 17px; line-height: 1.35; }
.lp-jsteps span:not(.lp-jstep-ic) { color: var(--ink-2); font-size: 14.5px; }
.lp-jsteps .lp-new { position: absolute; top: 14px; right: 40px; margin: 0; }
@media (max-width: 960px) {
  .lp-jsteps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lp-jsteps li::after { display: none; }
}
@media (max-width: 640px) {
  .lp-buy-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .lp-books { transform: none; }
  .lp-jsteps li { padding: 16px; }
  .lp-jsteps b { font-size: 15.5px; }
  .lp-jsteps span:not(.lp-jstep-ic) { font-size: 13.5px; }
}
.lp-nowrap { white-space: nowrap; }

/* =============================================================================
   ทำงานเป็นทีม (รอบ 6): หน้าที่ สิทธิ์รายคน เข้าระบบล่าสุด
   ========================================================================== */
.lp-team { transform: rotate(-1deg); }
.lp-team-rows { margin-top: 12px; display: grid; gap: 6px; }
.lp-team-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av who perm" "av who when"; align-items: center; gap: 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.lp-team-av { grid-area: av; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.lp-team-who { grid-area: who; display: flex; flex-direction: column; min-width: 0; }
.lp-team-who b { font-size: 14px; }
.lp-team-who small { color: var(--muted); font-size: 12px; }
.lp-team-perm { grid-area: perm; justify-self: end; padding: 1px 9px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 12px; white-space: nowrap; }
.lp-team-perm.is-off { background: var(--amber-soft); color: var(--amber); }
.lp-team-row em { grid-area: when; justify-self: end; font-style: normal; color: var(--muted); font-size: 12px; white-space: nowrap; }
.lp-team-perms { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); font-size: 13.5px; }
.lp-team-perms b { width: 100%; text-align: center; font-size: 13px; color: var(--ink-2); }
.lp-team-perms span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.lp-team-perms i { position: relative; width: 28px; height: 16px; border-radius: 99px; background: #d5d9df; }
.lp-team-perms i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.lp-team-perms .is-on { color: var(--ink); font-weight: 700; }
.lp-team-perms .is-on i { background: var(--brand-600); }
.lp-team-perms .is-on i::after { left: 14px; }
@media (max-width: 640px) {
  .lp-team { transform: none; }
  .lp-team-row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "av who" "av perm" "av when"; gap: 2px 12px; }
  .lp-team-perm, .lp-team-row em { justify-self: start; }
}

/* mockup: ติดตามช่าง (แผนที่จำลองด้วยเส้นถนน — ไม่ใช่แผนที่จริง) */
.lp-pill-brand { background: var(--brand-soft); color: var(--brand-700); }
.lp-gps-map { position: relative; margin: 14px 0 12px; height: 200px; border-radius: 14px; overflow: hidden; background: #eef1f4; border: 1px solid var(--line); }
.lp-gps-roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-gps-park { fill: #dcefe0; }
.lp-gps-water { fill: none; stroke: #cfe3f3; stroke-width: 18; stroke-linecap: round; }
.lp-gps-road { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.lp-gps-road.is-main { stroke-width: 14; }
.lp-gps-route { fill: none; stroke: var(--brand-600); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 9; }
.lp-gps-dest rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.lp-gps-dest use { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-gps-tech path { fill: var(--brand-600); stroke: #fff; stroke-width: 2; }
.lp-gps-tech text { fill: #fff; font-size: 14px; font-weight: 800; font-family: inherit; }
.lp-gps-pulse { fill: none; stroke: rgba(185, 89, 0, .45); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: lp-gps-pulse 2s ease-out infinite; }
.lp-gps-status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff8f0; border: 1px solid #f5d2a8; }
.lp-gps-status b { display: block; font-size: 15px; }
.lp-gps-status small { display: block; color: var(--muted); font-size: 13px; }
.lp-gps-dot { position: relative; flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-600); }
.lp-gps-team { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.lp-gps-team b { color: var(--ink); }
.lp-gps-team span { display: inline-flex; align-items: center; gap: 6px; }
.lp-gps-team i { width: 9px; height: 9px; border-radius: 50%; }
.lp-gps-team .is-go { background: var(--brand-600); }
.lp-gps-team .is-site { background: var(--green); }
.lp-gps-team .is-free { background: #2563eb; }
@keyframes lp-gps-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-gps-pulse { animation: none; opacity: .5; } }

/* mockup: บอร์ดงานคลัง */
.lp-stock-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.lp-stock-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px; border-radius: 12px; background: #f7f8fa; }
.lp-stock-col > em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.lp-stock-card { display: flex; flex-direction: column; gap: 2px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.lp-stock-card b { font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-stock-card small { font-size: 11.5px; color: var(--muted); }
.lp-stock-card.is-ready { border-color: #86efac; background: #f6fef9; }
.lp-stock-kind { align-self: flex-start; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.lp-stock-kind.is-dl { background: var(--brand-soft); color: #b95900; }
.lp-stock-kind.is-demo { background: #eef2ff; color: #4338ca; }
.lp-stock-kind.is-loan { background: #f1f5f9; color: #334155; }
@media (max-width: 520px) { .lp-stock-cols { grid-template-columns: 1fr 1fr; } .lp-stock-col:last-child { grid-column: 1 / -1; } }

/* mockup: เครื่องมือ PDF */
.lp-pdf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.lp-pdf-tile { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; }
.lp-pdf-tile i { flex: none; width: 26px; height: 26px; border-radius: 8px; }
.lp-pdf-tile .is-pages { background: var(--brand-soft); box-shadow: inset 0 0 0 2px #ffd5a8; }
.lp-pdf-tile .is-edit { background: #eef2ff; box-shadow: inset 0 0 0 2px #c7d2fe; }
.lp-pdf-tile .is-convert { background: #ecfdf3; box-shadow: inset 0 0 0 2px #bbf7d0; }
.lp-pdf-tile .is-secure { background: #f1f5f9; box-shadow: inset 0 0 0 2px #cbd5e1; }

/* ---------- รอบ 56: ลดลักษณะงาน AI (เจ้าของ: "ยังดูมีความเป็น ai มั้ย") ----------
   เลิก: ป้ายตัวเล็กเหนือหัวข้อ · หัวข้อสองสี · เส้นหยักวาดมือ · ตัวเลขใหญ่หลายสี · ไอคอนพาสเทลสลับสี · การ์ดไอคอนเรียงตาราง 16 ใบ */
/* ไอคอนในการ์ด/ขั้นตอน: สีเดียวของแบรนด์ (เดิมส้ม/ฟ้า/เขียวสลับกัน) */
.lp-card-ic.lp-tone-a, .lp-card-ic.lp-tone-b, .lp-card-ic.lp-tone-c,
.lp-jstep-ic.lp-tone-a, .lp-jstep-ic.lp-tone-b, .lp-jstep-ic.lp-tone-c { background: var(--brand-soft); color: var(--brand-700); }
/* ตัวเลขการใช้งานจริง: สีหมึกเดียวกัน ขนาดพอดีกับเนื้อหา (เดิมตัวใหญ่สีน้ำเงิน/เขียว) */
.lp-stat b, .lp-stat-a b, .lp-stat-b b, .lp-stat-c b { color: var(--ink); font-size: clamp(28px, 3vw, 36px); font-variant-numeric: tabular-nums; }
/* รายการเครื่องมือ: แถวเส้นบาง ไอคอนเล็กสีเดียว (เดิมการ์ดกล่องไอคอนเรียงเป็นตาราง) */
.lp-more-grid { gap: 0 40px; }
.lp-more-grid > .lp-mini { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-content: start; padding: 18px 0 20px; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.lp-more-grid > .lp-mini:hover { transform: none; box-shadow: none; }
.lp-more-grid > .lp-mini > .lp-card-ic { grid-row: span 2; width: 22px; height: 22px; margin-top: 3px; background: none; border-radius: 0; color: var(--brand-600); }
.lp-more-grid > .lp-mini > .lp-card-ic .lp-ic { width: 20px; height: 20px; }
.lp-more-grid > .lp-mini h3 { margin: 0 0 4px; font-size: 17px; }
.lp-more-grid > .lp-mini p { grid-column: 2; font-size: 15px; }
/* ปิดท้าย: หัวข้อสีเดียว */
.lp-final-box h2 span { color: inherit; }
/* "ใหม่" ต่อท้ายหัวข้อฟีเจอร์ (เดิมอยู่ในป้ายเหนือหัวข้อ) */
.lp-feature-copy h3 .lp-new { vertical-align: .2em; margin-left: 10px; }
/* หัวข้อหลักมีคำค้นยาวขึ้น: ให้ตัดบรรทัดได้บนจอแคบ (เดิม nowrap → ล้นจอมือถือ) */
.lp-hero h1 .lp-hl { white-space: normal; }
.lp-hero h1 { text-wrap: balance; }

/* =============================================================================
   ERP ครบวงจร (#erp, 2026-11-20): สารบัญโมดูลแบบสมุดบัญชี — เส้นบนหนา แถวคั่นเส้นบาง รายการเป็นข้อความคั่นเส้นตั้ง
   (ต่างจากรายการเครื่องมือ lp-more ที่มีไอคอน) · ส่วนหัวซ้ายติดจอขณะเลื่อนบนจอใหญ่
   ========================================================================== */
.lp-erp { border-top: 1px solid var(--line); }
.lp-erp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.lp-erp-intro { position: sticky; top: 112px; padding-top: 20px; border-top: 2px solid var(--ink); }   /* เส้นหนาเดียวกับสมุดด้านขวา หัวสองฝั่งตรงกัน */
.lp-erp-intro h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; }
.lp-erp-intro p { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 34em; }
.lp-erp-map { margin: 0; border-top: 2px solid var(--ink); }
.lp-erp-row { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 4px 24px; padding: 15px 0 16px; border-bottom: 1px solid var(--line); }
.lp-erp-row dt { font-weight: 800; font-size: 17px; line-height: 1.5; }
.lp-erp-row dt .lp-new { vertical-align: .12em; margin-left: 8px; }
.lp-erp-row dd { margin: 0; overflow: hidden; }
/* เส้นคั่นอยู่หน้าทุกรายการ ขยับรายการซ้ายเท่าระยะเส้น แล้วตัดส่วนเกิน → ต้นบรรทัดไม่มีเส้นค้าง */
.lp-erp-row ul { list-style: none; margin: 0 0 0 -13px; padding: 0; display: flex; flex-wrap: wrap; row-gap: 2px; }
.lp-erp-row li { position: relative; padding: 0 12px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.lp-erp-row li::before { content: ''; position: absolute; left: 0; top: .4em; bottom: .4em; width: 1px; background: #cfd4dc; }
.lp-erp-row li .lp-new { vertical-align: .1em; }

/* ระบบแบบขายขาด (#pricing): แถบข้อความทางการ ไม่ใช่การ์ดราคา · ติดต่อทางอีเมลเท่านั้น */
.lp-perpetual { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; max-width: 960px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.lp-perpetual h3 { font-size: 20px; font-weight: 800; }
.lp-perpetual p { margin-top: 6px; color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.lp-perpetual-act { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lp-perpetual-act span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .lp-erp-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-erp-intro { position: static; padding-top: 0; border-top: 0; }
  .lp-erp-intro p { max-width: 640px; }
}
@media (max-width: 640px) {
  .lp-erp-row { grid-template-columns: 1fr; padding: 14px 0; }
  .lp-erp-row dt { font-size: 16.5px; }
  .lp-erp-row li { font-size: 15px; }
  .lp-erp-intro p { font-size: 17px; }
  .lp-perpetual { grid-template-columns: 1fr; margin-top: 40px; }
  .lp-perpetual-act { align-items: stretch; text-align: center; }
  .lp-perpetual-act .lp-btn { width: 100%; }
}
