:root {
  --accent: #ff3366;
  --accent-d: #e0244f;
  --ink: #232323;
  --muted: #565656;
  --bg: #f5f5f5;
  --line: #e4e4e4;
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Rubik', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
.wrap { max-width: 620px; margin: 0 auto; padding: 0 20px 48px; }

header { padding: 28px 0 18px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none;
}
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: inline-block; }
.sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
h1 { margin: 0 0 4px; font-size: 26px; font-weight: 700; }
.lead { margin: 0 0 24px; color: var(--muted); font-size: 15px; }

label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 500; }
.req { color: var(--accent); }
input[type=text], input[type=tel], input:not([type]), select, textarea {
  width: 100%; margin-top: 6px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,51,102,.12);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

button {
  width: 100%; padding: 13px 18px; margin-top: 6px;
  background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: background .15s;
}
button:hover:not(:disabled) { background: var(--accent-d); }
button:disabled { opacity: .6; cursor: default; }
button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
button.ghost:hover { background: rgba(255,51,102,.06); }

.msg { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.msg.err { color: #d33; }
.msg.ok { color: #2a7; }

.ok { text-align: center; padding: 8px 0 4px; }
.ok-ico {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: #e8f7ee; color: #2a7; font-size: 28px; line-height: 54px; font-weight: 700;
}
.ok h2 { margin: 0 0 8px; font-size: 22px; }
.ok p { color: var(--muted); margin: 0 0 20px; }
.ok b { color: var(--ink); }

footer { margin-top: 24px; text-align: center; color: var(--muted); font-size: 13px; }
