/* เว็บขาย — ใช้ภาษาดีไซน์เดียวกับตัวเมนู */
:root {
  --bg: #faf7f2; --surface: #fffdfa; --line: #e7dfd3;
  --text: #221f1b; --muted: #7d7466; --faint: #b5aa9b;
  --ink: #2b2721; --on-ink: #fdfbf7; --hot: #b4462f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg); color: var(--text);
  font-family: "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

h1, h2, h3 { font-family: "Noto Serif Thai", Georgia, serif; font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: 34px; line-height: 1.25; }
h2 { font-size: 23px; line-height: 1.35; margin-bottom: 8px; }
h3 { font-size: 17px; }
.lede { color: var(--muted); font-size: 16px; margin-top: 12px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }

/* ---- แถบชื่อแบรนด์ ---- */
.brand {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 20px 0 0;
}
.brand__mark {
  font-family: "Noto Serif Thai", Georgia, serif; font-weight: 500; font-size: 19px;
  letter-spacing: -0.01em; color: var(--text); text-decoration: none;
}
.brand__link { font-size: 14px; color: var(--muted); text-decoration: none; }
.brand__link:hover { color: var(--text); }

/* ---- hero ---- */
.hero { padding: 40px 0 52px; }
.hero h1 em { font-style: normal; color: var(--hot); }
.hero__price { margin-top: 20px; font-size: 15px; color: var(--muted); }
/* ใช้ฟอนต์ sans ตรงนี้: Noto Serif Thai ไม่มีตัว ฿ พอ fallback แล้วตัวเกยกัน */
.hero__price b { color: var(--text); font-size: 19px; font-weight: 600; }

.hero__img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 14px; margin-top: 30px; background: var(--line);
}

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink);
}
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn:active { opacity: .85; }

/* ---- lists ---- */
.pain { display: grid; gap: 18px; margin-top: 26px; }
.pain div { padding-left: 18px; border-left: 2px solid var(--line); }
.pain b { display: block; font-weight: 600; }
.pain span { color: var(--muted); font-size: 15px; }

.feat { display: grid; gap: 2px; margin-top: 24px; }
.feat li { list-style: none; display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.feat li:first-child { border-top: 0; }
.feat i { font-style: normal; color: var(--faint); font-size: 13px; padding-top: 3px; min-width: 18px; }
.feat b { font-weight: 600; }
.feat span { color: var(--muted); font-size: 14.5px; }

/* ---- demo ---- */
.demo { display: grid; gap: 22px; align-items: center; grid-template-columns: 1fr; }
.phone {
  width: 260px; margin: 0 auto; border: 9px solid #26231e; border-radius: 30px;
  overflow: hidden; background: #26231e; box-shadow: 0 14px 40px rgba(0,0,0,.16);
}
.phone iframe { width: 100%; height: 470px; border: 0; display: block; background: var(--bg); }

/* ---- price: 3 แพ็กเกจ ---- */
.tiers { display: grid; gap: 14px; margin-top: 24px; }
.tier {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 22px 24px; position: relative;
}
.tier--pick { border-color: var(--ink); border-width: 1.5px; }
.tier__tag {
  position: absolute; top: -10px; left: 22px; background: var(--ink); color: var(--on-ink);
  font-size: 11px; font-weight: 600; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px;
}
.tier h3 { font-size: 18px; }
.tier__who { color: var(--muted); font-size: 14px; margin-top: 2px; }
/* ใช้ฟอนต์ sans: Noto Serif Thai ไม่มีตัว ฿ พอ fallback แล้วตัวเกยเลข */
.tier__price { font-size: 30px; font-weight: 600; line-height: 1.2; margin-top: 14px; letter-spacing: -0.02em; }
.tier__price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.tier ul { margin: 14px 0 0; padding: 0; }
.tier li { list-style: none; padding: 6px 0 6px 24px; position: relative; font-size: 14.5px; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--hot); font-weight: 600; }
.tier li.no { color: var(--faint); }
.tier li.no::before { content: "—"; color: var(--faint); }
.tier .btn { margin-top: 18px; width: 100%; text-align: center; }

.renew { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
.renew b { color: var(--text); }

.addons { margin-top: 22px; font-size: 14.5px; }
.addons tr td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.addons tr:first-child td { border-top: 0; }
.addons td:last-child { text-align: right; white-space: nowrap; color: var(--muted); padding-left: 16px; }
.addons table { width: 100%; border-collapse: collapse; }

/* ---- steps ---- */
.steps { counter-reset: s; margin-top: 24px; }
.steps li { list-style: none; counter-increment: s; position: relative; padding: 0 0 22px 44px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink); font-size: 13px; font-weight: 600;
}
.steps li::after { content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps b { font-weight: 600; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ---- faq ---- */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ---- close ---- */
.close { background: var(--ink); color: var(--on-ink); border-radius: 16px; padding: 34px 26px; margin: 0 0 56px; }
.close h2 { color: var(--on-ink); }
.close p { color: #bdb5a8; font-size: 15px; margin-top: 8px; }
.close .btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); margin-top: 20px; }

footer { padding: 0 0 46px; color: var(--faint); font-size: 13px; }
footer a { color: var(--muted); }

@media (min-width: 680px) {
  h1 { font-size: 42px; }
  .demo { grid-template-columns: 260px 1fr; gap: 34px; }
  .pain { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .tier { padding: 20px 18px 22px; }
  .tier__price { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
