:root {
  --bg: #fff1f2;
  --text: #1f2937;
  --accent: #db2777;
  --accent-text: #ffffff;
  --card: #ffffff;
  --muted: #4b5563;
  --border: #fecdd3;
  --radius: 14px;
  --error: #b91c1c;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Thai", "Sukhumvit Set", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px 96px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.muted {
  color: var(--muted);
}

.footer {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.header h1 {
  margin: 0;
  font-size: 1.6rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.form label {
  margin-top: 8px;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}

.form .button {
  margin-top: 12px;
}

.button.secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.error {
  margin: 8px 0 0;
  color: var(--error);
  font-weight: 600;
}

.summary {
  margin-top: 16px;
}

.summary h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.summary-text {
  margin: 0 0 12px;
  white-space: pre-wrap;
  font: inherit;
}

.send {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.summary .button.secondary {
  width: 100%;
}

.small {
  font-size: 0.85rem;
}