:root {
  --bg: #FAF8F5;
  --card: #ffffff;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e5e0d8;
  --accent: #2C2C2C;
  --accent-hover: #1a1a1a;
  --space: 1.25rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Heebo, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
header.hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.logo {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 0 1.25rem;
  object-fit: contain;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 0.75rem;
}
h1 {
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.35;
}
.intro {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}
.field {
  margin-bottom: 2rem;
}
.field label,
.field .label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}
.field .num {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  margin-inline-end: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.hint {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.25rem;
}
.label .hint {
  display: inline;
  margin-top: 0;
  margin-inline-start: 0.35rem;
}
input[type="text"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--card);
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  resize: vertical;
}
textarea { min-height: 110px; }
input:focus,
textarea:focus,
input[type="range"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}
.check {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
}
.check input {
  accent-color: var(--accent);
  flex-shrink: 0;
}
.check span { font-size: 0.92rem; }
.scale {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 0.35rem;
}
.scale input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
}
.scale-end {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}
.scale-val {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.actions {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.save-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
button.submit {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 500;
  font-size: 1.05rem;
  cursor: pointer;
}
button.submit:hover { background: var(--accent-hover); }
button.submit:disabled { opacity: 0.55; cursor: wait; }
.error {
  color: #a33;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  display: none;
}
.error.show { display: block; }
.thanks {
  display: none;
  text-align: center;
  padding: 4rem 1rem;
}
.thanks.show { display: block; }
.thanks h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--accent);
}
.thanks p { color: var(--muted); margin: 0; }
#form.hidden { display: none; }
@media (min-width: 480px) {
  .wrap { padding: 3rem 1.5rem 5rem; }
  button.submit { width: auto; min-width: 200px; }
}

.why {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
  line-height: 1.5;
  background: #f3efe8;
  padding: 0.65rem 0.85rem;
  border-inline-start: 3px solid #d4cbbd;
}
.hint-inline {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.subq {
  font-weight: 500;
  font-size: 0.95rem;
  margin: 1.35rem 0 0.65rem;
}
.refine {
  display: block;
  font-weight: 500;
  margin: 1.1rem 0 0.5rem;
  font-size: 0.95rem;
}
.choices {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.choice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.choice:hover { border-color: #c8c0b4; }
.choice.selected {
  border-color: var(--accent);
  background: #f7f4ef;
}
.choice input {
  accent-color: var(--accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.choice-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.choice-body strong {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.choice-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 400;
}
.choice.visual {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.choice.visual input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice.visual img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  background: #eee;
}
.choice.visual .choice-body {
  padding: 0.85rem 1rem 1rem;
}
.choice.visual.selected {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.visual-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 520px) {
  .visual-choices {
    grid-template-columns: 1fr 1fr;
  }
  .choice.visual img { height: 140px; }
}
.round1-link {
  margin-top: 1.25rem;
  font-size: 0.85rem;
}
.round1-link a { color: var(--muted); }
.badge-round {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  background: #eee8df;
  color: var(--accent);
  margin-inline-start: 0.4rem;
  vertical-align: middle;
}
