:root {
  --bg: #ffffff;
  --soft: #f6f6f4;
  --line: #e6e6e3;
  --ink: #111111;
  --muted: #6b6b6b;
  --err: #b42318;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "IBM Plex Sans Thai", system-ui, sans-serif; font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.3; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.muted { color: var(--muted); }
.btn {
  display: inline-block; padding: 11px 24px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 400; text-decoration: none; cursor: pointer; transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.btn:disabled { opacity: .4; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.sm { padding: 5px 12px; font-size: 13px; }
input, select {
  font-family: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  width: 100%; outline: none; border-radius: 0;
}
input:focus, select:focus { border-color: var(--ink); }
label { display: block; font-size: 14px; margin-bottom: 6px; }
.err { color: var(--err); font-size: 14px; min-height: 22px; margin-top: 10px; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar .in { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-weight: 600; text-decoration: none; letter-spacing: .02em; }
