/* Contact-form test harness — shared design system.
   Aesthetic: clean modern B2B / industrial supplier. Each page sets its own
   --accent + brand via body[data-*] so the forms read like distinct real
   companies (better, more realistic fixtures). */
:root {
  --accent: #2563eb;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, white);
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #eef1f6;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.18);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(1200px 480px at 100% -10%, var(--accent-soft), transparent 60%),
    var(--bg);
  color: var(--ink); margin: 0; padding: 48px 16px; line-height: 1.55;
  font-size: 15px;
}
.card {
  max-width: 580px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden; box-shadow: var(--shadow);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 32px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--accent-soft), transparent);
}
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 16px;
  display: grid; place-items: center; letter-spacing: -.5px;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--accent) 60%, transparent);
}
.brand .bname { font-weight: 700; font-size: 15px; }
.brand .btag { color: var(--muted); font-size: 12.5px; }
.brand .test-chip {
  margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted);
  background: #f1f5f9; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.body { padding: 26px 32px 30px; }
h1 { font-size: 23px; line-height: 1.25; margin: 2px 0 6px; letter-spacing: -.4px; }
.sub { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 6px; color: #334155; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .12s, box-shadow .12s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
textarea { min-height: 104px; resize: vertical; }
.row { display: flex; gap: 14px; }
.row > div { flex: 1; }
.check { display: flex; align-items: center; gap: 9px; font-weight: 500; margin-top: 8px; color: #334155; }
.check input { width: auto; accent-color: var(--accent); }
button {
  margin-top: 22px; width: 100%; background: var(--accent); color: #fff; border: 0;
  border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 650; cursor: pointer;
  transition: filter .12s, transform .06s;
}
button:hover { filter: brightness(1.06); }
button:active { transform: translateY(1px); }
button[type=button] { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.form-success {
  margin-top: 8px; padding: 22px; background: #f0fdf4; border: 1px solid #86efac;
  border-radius: 12px; color: #14532d;
}
.form-success h2 { margin: 0 0 6px; font-size: 18px; }
.form-error {
  margin-top: 16px; padding: 13px 14px; background: #fef2f2; border: 1px solid #fca5a5;
  border-radius: 10px; color: #991b1b; font-size: 13.5px;
}
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.note {
  margin: 22px 32px 26px; font-size: 12px; color: var(--muted);
  background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
}
.note code { background: #eef2f7; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }
@media (max-width: 480px) { .row { flex-direction: column; gap: 0; } body { padding: 24px 12px; } }
