:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1d1d1b;
  --muted: #5f5e58;
  --line: #e2e0d8;
  --accent: #1a5d3a;
  --accent-ink: #ffffff;
  --accent-soft: #e5f0e9;
  --warn: #8a4b00;
  --warn-soft: #fbf0e0;
  --error: #a3261b;
  --error-soft: #fbe9e7;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161614; --surface: #1f1f1c; --ink: #ecebe6; --muted: #a8a69e; --line: #34332e;
    --accent: #5dbb87; --accent-ink: #0d1f15; --accent-soft: #1d3326;
    --warn: #f0b765; --warn-soft: #33270f; --error: #f08a7e; --error-soft: #3a1c18;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.logo svg { width: 22px; height: 22px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: .95rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; margin: 28px 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 1.35rem; margin: 48px 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; max-width: 36em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tool { margin: 8px 0 12px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { color: var(--muted); font-size: .9rem; margin-top: 4px; }
input[type=text], input[type=url], input[type=email], input[type=number], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.row { display: flex; gap: 8px; }
.row > input { flex: 1; min-width: 0; }
button, .btn {
  font: inherit; font-weight: 600; border: 0; border-radius: 8px; padding: 10px 18px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; display: inline-block; white-space: nowrap;
}
button.secondary, .btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button:disabled { opacity: .55; cursor: default; }
.notice { border-radius: 8px; padding: 12px 14px; margin: 14px 0 0; font-size: .95rem; }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.error { background: var(--error-soft); color: var(--error); }
.notice.ok { background: var(--accent-soft); color: var(--ink); }
.notice ol { margin: 8px 0 0; padding-left: 20px; }
.step { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-weight: 400; }
.check input { margin-top: 4px; }
.tag { font-size: .75rem; background: var(--accent-soft); color: var(--accent); border-radius: 99px; padding: 1px 8px; margin-left: 6px; font-weight: 600; }
.copy { display: flex; gap: 8px; margin: 6px 0 14px; }
.copy input { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps3 .card p { margin: 0; color: var(--muted); font-size: .95rem; }
.num { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); text-align: center; font-weight: 700; line-height: 26px; margin-bottom: 8px; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price { font-size: 1.8rem; font-weight: 700; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pricing ul { padding-left: 18px; margin: 10px 0 0; }
.pricing li { margin: 4px 0; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }
footer { color: var(--muted); font-size: .9rem; padding: 40px 0; margin-top: 40px; border-top: 1px solid var(--line); display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
.hidden { display: none !important; }

/* respondent form */
.fhead { border-top: 8px solid var(--accent); }
.fhead h1 { margin-top: 0; font-size: 1.8rem; }
.desc { white-space: pre-wrap; color: var(--muted); }
.q { margin-top: 12px; }
.q .title { font-weight: 600; margin-bottom: 4px; white-space: pre-wrap; }
.q .qdesc { color: var(--muted); font-size: .9rem; margin-bottom: 8px; white-space: pre-wrap; }
.req { color: var(--error); }
.opt { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-weight: 400; margin: 0; }
.opt input[type=text] { padding: 6px 8px; }
.scale { display: flex; align-items: end; gap: 6px; flex-wrap: wrap; }
.scale label { text-align: center; font-weight: 400; min-width: 34px; }
.scale .end { color: var(--muted); font-size: .85rem; padding-bottom: 4px; }
.grid { width: 100%; border-collapse: collapse; font-size: .95rem; }
.grid th, .grid td { padding: 6px; text-align: center; border-bottom: 1px solid var(--line); }
.grid th:first-child, .grid td:first-child { text-align: left; }
.gridwrap { overflow-x: auto; }
.dt { display: flex; gap: 8px; max-width: 360px; }
.err { color: var(--error); font-size: .9rem; margin-top: 6px; }
.q.invalid { border-color: var(--error); }
.drop { border: 2px dashed var(--line); border-radius: 8px; padding: 18px; text-align: center; cursor: pointer; color: var(--muted); }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.files { list-style: none; padding: 0; margin: 10px 0 0; }
.files li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.files .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files button { padding: 4px 10px; font-size: .85rem; }
.bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; background: var(--accent); width: 0; }
.section-title { margin: 28px 0 0; padding: 14px 20px; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius) var(--radius) 0 0; font-weight: 700; }
.badge { text-align: center; color: var(--muted); font-size: .85rem; margin: 24px 0; }
.stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat .card { text-align: center; }
.stat b { display: block; font-size: 1.5rem; }
@media (max-width: 640px) {
  .steps3, .pricing, .stat { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  nav a:first-child { display: none; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.badge.report { margin-top: -12px; font-size: .78rem; }
.article { max-width: 720px; }
.article h2 { margin-top: 32px; }
.article li { margin: 6px 0; }
.cta { margin: 28px 0; }
