/* Leviathan Onboarding — shared brand styles */
:root {
  --gold:        #c9a84c;
  --gold-soft:   #f0d275;
  --gold-dim:    #8a6e1a;
  --bg:          #0a0a0a;
  --panel:       #14171a;
  --panel-light: #1b1f23;
  --border:      #2a2e33;
  --text:        #f0f0f0;
  --text-muted:  #a8a8a8;
  --green:       #00a884;
  --red:         #ef4444;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
body { padding: 30px 20px 80px; }
.container {
  max-width: 720px;
  margin: 0 auto;
}

/* Header */
.brand-line {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
h1 .accent { color: var(--gold); font-style: italic; font-weight: 600; }
.lede {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.65;
}

/* Section blocks */
section.faq-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 18px;
}
section.faq-section h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 14px;
}
section.faq-section h2::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 16px;
  width: 4px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
  border-radius: 2px;
}
section.faq-section h2 .emoji {
  margin-right: 6px;
}
section.faq-section .section-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 4px 0 16px 0;
  font-style: italic;
}

/* Field */
.field { margin-bottom: 18px; }
.field label.q {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #d8d8d8;
  margin-bottom: 8px;
  line-height: 1.5;
}
.field label.q .num {
  color: var(--gold);
  font-weight: 700;
  margin-right: 4px;
}
.field label.q .required {
  color: var(--red);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
  width: 100%;
  background: var(--panel-light);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  background: var(--bg);
}
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

/* Checkbox / radio groups */
.options { display: flex; flex-direction: column; gap: 8px; }
.options.row { flex-direction: row; flex-wrap: wrap; gap: 14px; }
.options label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: #d0d0d0;
  padding: 8px 10px;
  background: var(--panel-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.15s ease;
  line-height: 1.5;
}
.options label:hover { border-color: var(--gold-dim); background: rgba(201,168,76,0.04); }
.options label input { accent-color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.options label input:checked + span { color: var(--gold); }

/* Conditional reveal block */
.if-yes {
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(201, 168, 76, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  display: none;
}
.if-yes.show { display: block; }

/* Submit */
.submit-row {
  position: sticky;
  bottom: 0;
  padding: 18px 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 40%);
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}
button.submit {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #0a0a0a;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.25);
}
button.submit:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(201, 168, 76, 0.4); }
button.submit:disabled { opacity: 0.5; cursor: not-allowed; }
.status-msg {
  font-size: 13px;
  color: var(--gold);
  min-height: 18px;
  flex: 1;
}
.status-msg.error { color: var(--red); }

/* Success page */
.success {
  max-width: 540px;
  margin: 100px auto;
  text-align: center;
  padding: 40px 30px;
  background: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 14px;
}
.success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 32px;
  color: #0a0a0a;
  font-weight: 700;
}
.success h2 { font-size: 24px; margin-bottom: 12px; }
.success p { color: var(--text-muted); }

/* Footer */
.foot {
  text-align: center;
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #555;
  text-transform: uppercase;
}

/* Small screens */
@media (max-width: 600px) {
  body { padding: 20px 14px 80px; }
  h1 { font-size: 24px; }
  section.faq-section { padding: 18px 16px; }
  .options.row { flex-direction: column; }
}
