:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface2: #1a1a25;
  --border: #2a2a3a;
  --text: #e8e8ec;
  --text-dim: #8888a0;
  --accent: #d4a853;
  --accent-dim: #a68332;
  --accent-glow: rgba(212, 168, 83, 0.15);
  --green: #4ade80;
  --red: #f87171;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }
.container--narrow { max-width: 720px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--accent-dim); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.3rem; color: var(--text-dim); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.7rem 0.9rem; color: var(--text); font-size: 0.95rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.field textarea { min-height: 80px; resize: vertical; }

.form-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem;
}
.form-section h2 {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; color: var(--accent);
  display: flex; align-items: center; gap: 0.5rem;
}
.form-section h2 .num {
  background: var(--accent); color: var(--bg);
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}

.error-msg { background: rgba(248,113,113,0.1); border: 1px solid var(--red); border-radius: 8px; padding: 1rem; color: var(--red); margin-bottom: 1rem; display: none; }
.error-msg.visible { display: block; }
