/* เว็บสาธารณะ Posaro (www) — เรียบ หรู น่าเชื่อถือ • มือถือก่อน • โทนเขียวเข้ม + มินต์ */
:root {
  --ink: #0b1f1d; --ink-2: #102b28; --ink-line: rgba(255, 255, 255, .09); --on-ink: #eaf5f2; --on-ink-muted: #a3bcb6;
  --primary: #0f766e; --primary-strong: #0b5e57; --primary-soft: #e8f4f1; --mint: #5eead4;
  --text: #14211f; --muted: #5d6b67; --line: #e3e9e7; --bg: #ffffff; --bg-alt: #f5f8f7; --surface: #ffffff;
  --ok: #15803d; --ok-soft: #e7f6ec; --warn: #a15c07; --warn-soft: #fef3c7; --danger: #b91c1c; --danger-soft: #fee2e2;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -18px rgba(16, 24, 40, .18);
  --shadow-lg: 0 30px 80px -30px rgba(2, 20, 18, .55);
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #2dd4bf; --primary-strong: #5eead4; --primary-soft: rgba(45, 212, 191, .12);
    --text: #e5efed; --muted: #9fb2ad; --line: #1f3330; --bg: #0b1514; --bg-alt: #0f1d1b; --surface: #12211f;
    --ok: #4ade80; --ok-soft: rgba(74, 222, 128, .12); --warn: #fbbf24; --warn-soft: rgba(251, 191, 36, .12); --danger: #f87171; --danger-soft: rgba(248, 113, 113, .12);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { display: flex; flex-direction: column; min-height: 100vh; font-family: "IBM Plex Sans Thai", "Leelawadee UI", "Thonburi", system-ui, sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; }
.center { text-align: center; }
.nw { white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
main { flex: 1; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; border-color: var(--primary); }
.btn .ico { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .ico { transform: translateX(2px); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px -10px rgba(15, 118, 110, .8); }
.btn.primary:hover { background: var(--primary-strong); border-color: var(--primary-strong); }
@media (prefers-color-scheme: dark) { .btn.primary, .btn.primary:hover { color: #052420; } }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: var(--on-ink); }
.btn.ghost:hover { border-color: var(--mint); background: rgba(255, 255, 255, .05); }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: #e9f7f4; }
.btn.lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- แถบบน ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 31, 29, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--ink-line); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink); font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.logo { width: 32px; height: 32px; flex: none; }
.links { display: flex; gap: 6px; }
.links a { color: var(--on-ink-muted); padding: 8px 12px; border-radius: 10px; font-size: 15px; }
.links a:hover, .links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.nav-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--on-ink-muted); font-size: 14px; padding: 6px 10px; border-radius: 10px; }
.lang:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .07); }
.lang .ico { width: 17px; height: 17px; }
.menu-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--ink-line); background: transparent; color: var(--on-ink); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; padding: 10px 16px 18px; background: var(--ink); border-bottom: 1px solid var(--ink-line); }
  .nav.open .links { display: flex; }
  .links a { padding: 12px 14px; font-size: 16px; }
}
@media (max-width: 520px) { .nav-cta { display: none; } }

/* ---------- ส่วนหัวมืด (หน้าแรก / หน้าอื่น) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); isolation: isolate; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%); }
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 600px; left: 50%; top: -260px; transform: translateX(-30%);
  background: radial-gradient(closest-side, rgba(45, 212, 191, .28), rgba(45, 212, 191, 0)); pointer-events: none; }
.hero { padding: 88px 0 56px; }
.hero-in { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
@media (min-width: 961px) { .hero-shot { width: 122%; max-width: none; } }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.22; font-weight: 600; margin: 14px 0 20px; }
html[lang="en"] .hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.15; letter-spacing: -.02em; }
.grad { background: linear-gradient(92deg, #5eead4, #a7f3d0 60%, #d9f99d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead, .page-hero .lead { color: var(--on-ink-muted); font-size: 18px; max-width: 600px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--on-ink-muted); font-size: 14px; }
.note .ico { width: 16px; height: 16px; color: var(--mint); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.light { color: var(--mint); }
.hero-art, .art-card { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(145deg, var(--ink-2), var(--ink)); color: var(--mint); border: 1px solid var(--ink-line); }
.hero-art .ico, .art-card .ico { width: 96px; height: 96px; stroke-width: 1.1; opacity: .9; }
.facts { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; }
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 22px 22px; background: var(--ink); }
.facts .ico { color: var(--mint); width: 22px; height: 22px; margin-top: 3px; }
.facts b { display: block; color: #fff; font-weight: 600; }
.facts span { display: block; color: var(--on-ink-muted); font-size: 14px; line-height: 1.5; }
.page-hero { padding: 72px 0 64px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 12px auto 14px; max-width: 860px; }
.page-hero .lead { margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; }
.ver { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ink-line); color: var(--on-ink); font-size: 14px; }
.ver .ico { width: 16px; height: 16px; color: var(--mint); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.jump a { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--ink-line); color: var(--on-ink); font-size: 14px; background: rgba(255, 255, 255, .03); }
.jump a:hover { border-color: var(--mint); text-decoration: none; }

/* ภาพหน้าจอโปรแกรมในกรอบหน้าต่าง */
.shot { margin: 0; border-radius: 14px; overflow: hidden; background: #0e1c1a; border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-lg); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: #13302c; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.shot img { width: 100%; height: auto; }
.wide-shot { margin-top: 48px; }

/* ---------- ส่วนเนื้อหา ---------- */
.sec { padding: 96px 0; }
.sec.alt { background: var(--bg-alt); }
.sec.dark { background: var(--ink); color: var(--on-ink); }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 10px; }
.sec-head .lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.sec-head.left { text-align: left; margin-left: 0; margin-bottom: 26px; }
.sec-head.light h2 { color: #fff; }
.sec-head.light .eyebrow { color: var(--mint); }
.sec h2 { font-size: clamp(24px, 3vw, 32px); }

.ibox { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft); color: var(--primary); flex: none; }
.ibox .ico { width: 22px; height: 22px; }
.ibox.sm { width: 36px; height: 36px; border-radius: 10px; }
.ibox.sm .ico { width: 18px; height: 18px; }

.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.mode, .feat, .card, .plan, .module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.mode { padding: 32px; position: relative; }
.mode.featured, .plan.featured { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); box-shadow: var(--shadow); background: linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 70%, var(--surface)), var(--surface) 46%); }
.mode-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mode h3 { font-size: 22px; }
.mode .muted { margin-top: 6px; }
.badge { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .badge { color: #052420; } }
.from { margin: 18px 0 4px; color: var(--muted); font-size: 15px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.amt { font-size: 34px; font-weight: 600; color: var(--text); letter-spacing: -.02em; }
.per { color: var(--muted); font-size: 15px; margin-left: 4px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--primary); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat h3 { font-size: 18px; margin: 18px 0 8px; }
.feat p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.feat.on-dark { background: rgba(255, 255, 255, .03); border-color: var(--ink-line); }
.feat.on-dark:hover { border-color: rgba(94, 234, 212, .35); box-shadow: none; }
.feat.on-dark h3 { color: #fff; }
.feat.on-dark p { color: var(--on-ink-muted); }
.feat.on-dark .ibox { background: rgba(94, 234, 212, .1); color: var(--mint); }
.service { display: flex; flex-direction: column; }
.service p { flex: 1; margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.split .checks { margin-bottom: 24px; }
.split .shot, .wide-shot { box-shadow: var(--shadow); border-color: var(--line); }
.modes + .center { margin-top: 36px; }

.steps3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps3 li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.steps3 .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--mint); font-weight: 600; }
.steps3 h3 { font-size: 18px; margin: 16px 0 6px; }
.steps3 p { color: var(--muted); font-size: 15px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 14px; height: 14px; flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--primary); transition: transform .2s; }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 4px 22px; color: var(--muted); max-width: 760px; }

.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: 80px 0; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 500px; right: -120px; top: -200px; background: radial-gradient(closest-side, rgba(45, 212, 191, .25), transparent); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-in h2 { font-size: clamp(24px, 3vw, 34px); color: #fff; max-width: 620px; }
.cta-in p { color: var(--on-ink-muted); margin-top: 10px; }
.cta-in .cta-row { margin-top: 0; }

/* ---------- บริการ / ความสามารถ ---------- */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.module { padding: 24px; }
.module h3 { display: flex; align-items: center; gap: 12px; font-size: 17px; margin-bottom: 14px; }
.module ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.module li { position: relative; padding-left: 16px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.module li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .7; }
.hw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hw-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.hw-item b { display: block; }
.hw-item div > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 2px; }

/* ---------- ราคา ---------- */
.pricing > input { position: absolute; opacity: 0; pointer-events: none; }
.period { display: flex; width: max-content; margin: -16px auto 36px; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.period label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 22px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 500; }
#period-m:checked ~ .period label[for="period-m"], #period-y:checked ~ .period label[for="period-y"] { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { #period-m:checked ~ .period label[for="period-m"], #period-y:checked ~ .period label[for="period-y"] { background: var(--primary); color: #052420; } }
#period-m:focus-visible ~ .period label[for="period-m"], #period-y:focus-visible ~ .period label[for="period-y"] { outline: 2px solid var(--mint); outline-offset: 2px; }
.save { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 600; }
.p-y { display: none; }
#period-y:checked ~ .plans .p-y { display: revert; }
#period-y:checked ~ .plans .p-m { display: none; }
.plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; max-width: 1020px; margin: 0 auto; align-items: start; }
.plan { padding: 32px; }
.plan-head { display: flex; align-items: center; gap: 14px; }
.plan-head h3 { font-size: 21px; }
.plan-head .muted { font-size: 14px; }
.plan-head .badge { margin-left: auto; }
.plan-price { margin: 26px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amt { font-size: 46px; }
.year-note { color: var(--muted); font-size: 14px; }
.addons { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.addons li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.addons b { font-weight: 600; white-space: nowrap; }
.addons small { color: var(--muted); font-weight: 400; }
.plan .checks { margin: 20px 0 24px; }
.plan-actions { display: grid; gap: 10px; }
.na { margin: 22px 0; }
.calc { margin: 0 0 24px; padding: 20px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); display: grid; gap: 12px; }
.calc h4 { font-size: 15px; font-weight: 600; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-ctl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.st-ctl button { width: 38px; height: 36px; border: 0; background: transparent; color: var(--text); font-size: 18px; cursor: pointer; }
.st-ctl button:hover { background: var(--primary-soft); color: var(--primary); }
.st-ctl button:disabled { opacity: .35; cursor: default; background: transparent; }
.st-ctl output { min-width: 36px; text-align: center; font-weight: 600; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.sw { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--line); transition: background .15s; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch input:checked + .sw { background: var(--primary); }
.switch input:checked + .sw::after { transform: translateX(16px); }
.switch input:focus-visible + .sw { outline: 2px solid var(--mint); outline-offset: 2px; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.calc-out span { display: block; color: var(--muted); font-size: 13px; }
.calc-out b { font-size: 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { background: var(--bg-alt); font-weight: 600; }
.compare tbody th { font-weight: 500; color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.yes .ico { width: 15px; height: 15px; }
.no { color: var(--muted); }

/* ---------- ดาวน์โหลด ---------- */
.dls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--surface); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dl:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.dl b { font-size: 20px; margin-top: 14px; }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 6px; padding: 9px 16px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-weight: 500; font-size: 15px; }
.dl-btn .ico { width: 18px; height: 18px; }
.dl small { font-size: 13px; }
.mine-tag { display: none; position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; }
.dl.mine { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.dl.mine .mine-tag { display: inline-block; }
.dl.mine .dl-btn { background: var(--primary); color: #fff; }
@media (prefers-color-scheme: dark) { .mine-tag, .dl.mine .dl-btn { color: #052420; } }
.steps-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; counter-reset: st; }
.steps-list li { position: relative; padding: 18px 20px 18px 64px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); counter-increment: st; }
.steps-list li::before { content: counter(st); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--mint); font-weight: 600; font-size: 14px; }
.steps-list li > b { display: block; margin-bottom: 2px; }
.steps-list p { color: var(--muted); font-size: 15px; }
.side { display: grid; gap: 20px; }
.card { padding: 28px; }
.card h3 { font-size: 18px; }
.card .checks { margin-top: 14px; }
.card.soft { background: var(--bg-alt); }
.card.center { text-align: center; padding: 48px 28px; }
.notes { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- ฟอร์ม ---------- */
.form-split { grid-template-columns: 1fr 1.15fr; }
@media (min-width: 961px) { .form-split > aside, .form-split > div:first-child { position: sticky; top: 100px; } }
.form-card { box-shadow: var(--shadow); padding: 32px; }
.form-card h3 { margin-bottom: 4px; }
.form { display: grid; gap: 14px; margin-top: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--text); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--primary); flex: none; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.otp .btn { min-height: 48px; }
.quote { background: var(--primary-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.quote:empty { display: none; }
.quote b { font-size: 20px; }
.error { background: var(--danger-soft); color: var(--danger); border-radius: 10px; padding: 10px 14px; margin: 0; }
.ok { background: var(--ok-soft); color: var(--ok); border-radius: 10px; padding: 10px 14px; }
.warn { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 10px 14px; }
.result { display: grid; gap: 10px; }
.result .big { font-size: 20px; font-weight: 600; word-break: break-all; }
.pay-card { max-width: 620px; margin: 0 auto; box-shadow: var(--shadow); }
.pay-card h1 { font-size: 26px; margin-bottom: 8px; }
.pay-card > p { margin-top: 8px; }
.qr { display: grid; place-items: center; gap: 6px; background: #fff; color: #1f2d2a; border-radius: 14px; padding: 16px; margin: 16px 0; border: 1px solid var(--line); }
.qr canvas { max-width: 260px; width: 100%; height: auto; }
.key { width: 100%; min-height: 110px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--text); }
.terms { white-space: normal; }
.terms.privacy h2 { font-size: 18px; margin: 22px 0 8px; }
.terms.privacy h2:first-of-type { margin-top: 16px; }
.terms.privacy ul { padding-left: 20px; margin: 0; }
.terms.privacy li { margin-bottom: 6px; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: #081615; color: var(--on-ink-muted); padding: 64px 0 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 320px; line-height: 1.6; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--on-ink-muted); }
.foot a:hover { color: #fff; }
.contact li { display: flex; align-items: center; gap: 10px; }
.contact .ico { width: 17px; height: 17px; color: var(--mint); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: 14px; }
.foot-bottom .lang { padding: 4px 8px; }

/* ---------- จอเล็ก ---------- */
@media (max-width: 1080px) {
  .grid4, .modules { grid-template-columns: repeat(2, 1fr); }
  .hw { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero { padding: 64px 0 40px; }
  .hero-in, .split, .form-split, .plans { grid-template-columns: 1fr; gap: 40px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .dls { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .modes, .steps3 { grid-template-columns: 1fr; }
  .grid4, .modules, .hw { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .mode, .plan, .form-card, .card { padding: 24px; }
  .page-hero { padding: 56px 0 48px; }
  .hero .lead, .page-hero .lead { font-size: 16px; }
  .cta-row .btn { flex: 1 1 auto; }
  .cta-band { padding: 60px 0; }
  .plan-price .amt { font-size: 40px; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
