:root {
  --bg: #f7f8f4;
  --surface: #fff;
  --ink: #15191f;
  --muted: #626b73;
  --line: #d7ddd8;
  --green: #1f7a5f;
  --red: #b84a3a;
  --shadow: 0 18px 40px rgba(21, 25, 31, 0.1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", sans-serif;
}
.page { width: min(980px, calc(100vw - 28px)); margin: 0 auto; padding: 28px 0 60px; }
.narrow { width: min(760px, calc(100vw - 28px)); }
.hero, .card, .section {
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 18px;
}
.eyebrow { color: var(--green); font-weight: 900; letter-spacing: .08em; font-size: 12px; }
h1 {
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", serif;
  font-size: clamp(32px, 6.2vw, 64px);
  line-height: 1.08;
  margin: 0 0 12px;
  word-break: keep-all;
  overflow-wrap: normal;
}
h2 { margin: 0 0 14px; }
.lead, .description, .help { color: var(--muted); line-height: 1.7; }
.notice { border-left: 5px solid var(--green); background: #eef5f1; padding: 14px; line-height: 1.65; margin-top: 16px; }
.question { border-top: 1px solid var(--line); padding: 18px 0; }
.question:first-child { border-top: 0; }
.question-title { display: block; font-weight: 850; margin-bottom: 8px; }
.required { color: var(--red); }
.options { display: grid; gap: 8px; }
.option { display: flex; gap: 8px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
input[type="text"], input[type="password"], textarea, select {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: white;
}
textarea { min-height: 110px; resize: vertical; }
.actions { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(247,248,244,.92); border: 2px solid var(--ink); padding: 12px; margin-top: 18px; backdrop-filter: blur(8px); }
button { border: 2px solid var(--ink); background: var(--ink); color: white; padding: 12px 16px; font-weight: 850; cursor: pointer; border-radius: 8px; }
button.secondary { background: white; color: var(--ink); }
button:disabled { opacity: .5; cursor: not-allowed; }
.status { color: var(--muted); font-size: 14px; }
.error { color: var(--red); font-weight: 800; }
.hidden { display: none; }
pre { white-space: pre-wrap; background: #111827; color: #e5e7eb; padding: 16px; border-radius: 8px; overflow: auto; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
@media (max-width: 640px) {
  .hero, .card, .section { padding: 18px; }
  .actions { display: grid; }
}
