:root {
  --accent-1: #6b8f5e;
  --accent-2: #4f6d45;
  --accent-solid: #b9841c;
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-alt: #f4efe4;
  --border: #e6ddc9;
  --text: #2b2a25;
  --text-muted: #6b6a5f;
  --error: #b3401f;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  padding: 18px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.brand {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: var(--surface-alt);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 999px;
  transition: width 0.35s ease;
}

.progress-label {
  font-size: 12px;
  color: var(--text-muted);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(43, 42, 37, 0.06);
}

.card h1 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.card .subtitle {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 22px;
}

.question-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-solid);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  font-size: 15px;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option:hover {
  border-color: var(--accent-1);
}

.option.selected {
  border-color: var(--accent-2);
  background: var(--surface-alt);
  font-weight: 600;
}

.option .mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.option.single .mark { border-radius: 50%; }

.option.selected .mark {
  border-color: var(--accent-2);
  background: var(--accent-2);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  margin-top: 6px;
}

input:focus {
  outline: none;
  border-color: var(--accent-2);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.error-text {
  color: var(--error);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.error-text.visible { display: block; }

.slider-wrap {
  margin-top: 18px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.slider-value {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-2);
  margin-top: 10px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  flex: 1;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--surface-alt);
  color: var(--text);
  flex: 0 0 auto;
  padding: 14px 20px;
}

.disclaimer-footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 24px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 480px) {
  .card { padding: 26px 20px; }
  .card h1 { font-size: 21px; }
}
