:root {
  --surface: #f9f9f9;
  --card: #ffffff;
  --text: #0f0f0f;
  --text-sub: #606060;
  --border: #d0d0d0;
  --accent: #ff0033;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0f0f0f;
    --card: #1c1c1c;
    --text: #f1f1f1;
    --text-sub: #aaaaaa;
    --border: #3f3f3f;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--surface);
  color: var(--text);
  font-family: "Roboto", "Segoe UI", "Yu Gothic UI", "Malgun Gothic", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}
main {
  width: 100%;
  max-width: 480px;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--card);
}
form, section { display: flex; flex-direction: column; gap: 16px; }
h1 { font-size: 20px; font-weight: 600; }
.sub { font-size: 14px; color: var(--text-sub); }
fieldset { border: none; display: flex; flex-direction: column; gap: 4px; }
legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
fieldset label:hover { background: var(--surface); }
input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; }
.comment { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-sub); }
textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  resize: vertical;
}
.error { font-size: 13px; color: var(--accent); }
button {
  align-self: flex-start;
  padding: 8px 24px;
  border: none;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }
button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
/* Honeypot: kept out of view without display:none so bots still see and fill it. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.foot { margin-top: 16px; font-size: 12px; text-align: center; }
.foot a { color: var(--text-sub); }
.foot a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
