/* ===========================================================
   BLUEPRINT FORM — stylesheet
   =========================================================== */
:root {
  --accent:      #b0342c;
  --accent-dark: #8c2822;
  --accent-soft: #fdf1f0;
  --ink:         #1f2124;
  --ink-soft:    #5b6169;
  --line:        #e3e5e8;
  --bg:          #f0f1f3;
  --card:        #ffffff;
  --radius:      10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}

/* ---------- Card ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.card-body { padding: 24px; }

.card--head .head-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--accent), #d9584f);
}
.card--head h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.subtitle {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.req-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.req { color: var(--accent); font-weight: 700; }

/* ---------- Alert ---------- */
.alert {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  padding: 16px 20px;
  font-size: 14px;
  color: #7a2620;
}
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert li { margin: 3px 0; }

/* ---------- Section ---------- */
.section-title {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Question ---------- */
.qnum {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9aa0a6;
  font-weight: 600;
}
.qtext {
  margin: 0 0 18px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Fields ---------- */
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cdd1d6;
  border-radius: 7px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 84px; }

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176, 52, 44, .13);
}

.hint {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
}
.hint--above { margin: 0 0 8px; }

.field--detail > label {
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.field--detail { margin-top: 16px; }

.field--file {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
input[type="file"] {
  font-size: 14px;
  width: 100%;
  padding: 9px;
  background: #fafbfc;
  border: 1px dashed #c3c8ce;
  border-radius: 7px;
}

/* ---------- Radio options ---------- */
.options { display: block; }
.option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 13px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
  transition: background .12s, border-color .12s;
}
.option:hover { background: #fafafa; border-color: #c9ced4; }
.option input[type="radio"] {
  margin: 4px 0 0;
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  flex: none;
}
.option:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* ---------- Actions ---------- */
.actions { margin-top: 22px; text-align: center; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 14px 40px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn--ghost {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 11px 26px;
  font-size: 15px;
}
.btn--ghost:hover { background: var(--accent-soft); }

.privacy {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Thank you ---------- */
.thanks { text-align: center; padding: 44px 24px; }
.thanks h2 { margin: 18px 0 10px; font-size: 22px; }
.thanks p { margin: 0 auto 12px; max-width: 480px; color: var(--ink-soft); }
.thanks .muted { font-size: 14px; }
.check {
  width: 62px; height: 62px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 30px;
  line-height: 62px;
  font-weight: 700;
}
.thanks .btn--ghost { margin-top: 10px; }

/* ---------- Footer & honeypot ---------- */
.foot {
  margin-top: 26px;
  text-align: center;
  font-size: 12.5px;
  color: #9aa0a6;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Mobile ---------- */
@media (max-width: 540px) {
  .wrap { padding: 14px 10px 44px; }
  .card-body { padding: 18px 16px; }
  .card--head h1 { font-size: 20px; }
  .qtext { font-size: 15.5px; }
  .btn { width: 100%; }
}
