:root {
  --bg: #0F1115;
  --surface: #1A1D23;
  --border: #2a2d35;
  --accent: #F7D046;
  --accent-hover: #e0bb30;
  --text: #EDEEF0;
  --muted: #6b7280;
  --radius: 6px;
  --font-heading: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font: 'Inter', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  padding: 0;
  min-height: 100vh;
}

/* Top accent bar */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--accent);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.page-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}

/* Header */
header {
  margin-bottom: 52px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.logo svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.logo-wordmark strong {
  font-weight: 900;
  color: var(--text);
}

header h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* Form sections */
.form-section {
  margin-bottom: 40px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  margin-top: -12px;
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.req {
  color: var(--accent);
  margin-left: 2px;
}

input[type="text"],
input[type="url"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
  letter-spacing: 0;
  margin-bottom: 0;
}

.checkbox-grid label:hover {
  border-color: var(--accent);
  background: #1f2229;
}

.checkbox-grid input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Submit */
.actions {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

button[type="submit"] {
  background: var(--accent);
  color: #0F1115;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.02em;
}

button[type="submit"]:hover {
  background: var(--accent-hover);
}

button[type="submit"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.actions-note {
  font-size: 12px;
  color: var(--muted);
}

/* Result */
.result {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.result.hidden {
  display: none;
}

.result.success {
  border-color: var(--accent);
}

.result.error {
  border-color: #c0392b;
}

.result h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.result p {
  font-size: 13px;
  color: var(--muted);
}

.result a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.result a:hover {
  text-decoration: underline;
}

/* Progress steps */
.result.progress {
  border-color: var(--border);
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.progress-step.active {
  color: var(--text);
}

.progress-step.done {
  color: var(--muted);
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.2s;
}

.progress-step.active .step-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(247, 208, 70, 0.2);
}

.progress-step.done .step-dot {
  background: var(--muted);
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(15,17,21,0.3);
  border-top-color: #0F1115;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
