@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=Prompt:wght@700&display=swap");

:root {
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --text: #1f2b27;
  --muted: #596360;
  --line: #dcd5c5;
  --brand: #2e5a4c;
  --accent: #f2c94c;
  --danger: #c42a10;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Thai", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

header {
  background: var(--text);
  padding: 18px 20px;
}

.wordmark {
  font-family: "Prompt", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--bg);
  text-decoration: none;
}

.wordmark span { color: var(--accent); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

h1 { margin: 0 0 4px; font-size: 30px; font-weight: 600; line-height: 1.35; }
h2 { margin: 28px 0 8px; font-size: 20px; font-weight: 600; }
p, ul, ol { margin: 0 0 12px; }
li { margin-bottom: 6px; }
a { color: var(--brand); }

.draft {
  display: inline-block;
  margin: 8px 0 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffdcd3;
  color: #a61e00;
  font-size: 14px;
  font-weight: 600;
}

.card {
  margin: 16px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.card h2 { margin-top: 0; }
.card :last-child { margin-bottom: 0; }

.placeholder { color: var(--danger); font-weight: 600; }

footer {
  border-top: 1px solid var(--line);
  padding: 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

footer a { margin: 0 8px; }
