:root {
  color-scheme: light;
  --bg: #f2f0ea;
  --surface: #faf8f3;
  --surface-2: #f0ede5;
  --border: #e0dcd1;
  --border-strong: #c9c3b4;
  --text: #33373f;
  --text-mid: #5c6370;
  --text-dim: #8a8f9a;
  --accent: #3b6fe0;
  --accent-hover: #2f5fc7;
  --ok: #1f9d55;
  --error: #cf4540;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 ui-sans-serif, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; }
h1 { font-size: 24px; font-weight: 600; margin: 0 0 8px; }
h2 { font-size: 16px; font-weight: 600; margin: 0 0 12px; }
p { margin: 0 0 12px; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
.dim { color: var(--text-dim); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 24px;
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
label .dim { font-weight: 400; }
.field { margin-bottom: 12px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 8px 10px;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 140ms ease-out;
}
button:hover { background: var(--accent-hover); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
