:root {
  --ink: #1f2328; --muted: #5d6470; --line: #d7d9de; --bg: #f6f4ef; --card: #fff;
  --accent: #1f6f5c; --accent-ink: #fff; --err: #b42318; --ok: #1f6f5c;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0; padding: 16px; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Noto Sans Thai", "Sarabun", "Leelawadee UI", system-ui, sans-serif;
}
.card { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px 24px; }
h1 { font-size: 1.5rem; margin: 0 0 4px; }
h2 { font-size: 1.1rem; margin: 22px 0 6px; }
.en { color: var(--muted); font-size: .86em; font-weight: 400; }
.lead { margin: 0 0 18px; color: var(--muted); }
.lead .en, .check .en { display: block; }
.f { display: block; margin: 0 0 14px; font-weight: 600; }
.f input, .f select, .f textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-weight: 400; color: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; min-height: 44px;
}
.f textarea { resize: vertical; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.err { display: block; color: var(--err); font-weight: 400; font-size: .9rem; margin-top: 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 4px 0 16px; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--accent); }
.check .err { grid-column: 1 / -1; }
a { color: var(--accent); }
.ts { min-height: 65px; margin: 0 0 14px; }
button {
  width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 700; cursor: pointer;
}
button .en { color: inherit; opacity: .85; }
button:disabled { opacity: .55; cursor: progress; }
.status { min-height: 1.6em; margin: 12px 0 0; }
.status.err { color: var(--err); }
.status.ok { color: var(--ok); font-weight: 600; }
/* honeypot: off screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* menu demo */
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--bg); }
.menu .ph { width: 64px; height: 64px; border-radius: 10px; background: var(--bg); }
.menu .name { font-weight: 600; }
.menu .desc { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.menu .price { font-weight: 700; white-space: nowrap; }
.menu .sold { opacity: .55; }
.note { color: var(--muted); font-size: .9rem; }
.links { padding-left: 1.2em; }
.links li { margin: 6px 0; }
.privacy p, .privacy li { margin: 6px 0; }
.privacy .ph { background: #fff3c4; border-radius: 4px; padding: 0 3px; }
@media (max-width: 380px) { .row { grid-template-columns: 1fr; } }
