/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── Header ────────────────────────────────────────────────────── */
.form-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 40px;
}

.form-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.progress-bar {
  flex: 1;
  height: 2px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

/* ─── Form Wrapper ──────────────────────────────────────────────── */
.form-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 60px;
}

/* ─── Steps ─────────────────────────────────────────────────────── */
.step {
  display: none;
  width: 100%;
  max-width: 680px;
  animation: fadeUp 0.25s ease;
}

.step.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Intro ─────────────────────────────────────────────────────── */
.intro-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.intro-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.intro-sub {
  font-size: 16px;
  color: #aaa;
  line-height: 1.65;
  max-width: 480px;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
  transition: opacity 0.15s;
  margin-top: 8px;
}

.btn-start:hover { opacity: 0.85; }

.intro-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
}

/* ─── Question Number ───────────────────────────────────────────── */
.q-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.q-num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #222;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* ─── Question Label ────────────────────────────────────────────── */
.q-label {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 24px;
  display: block;
}

.req { color: #e74; }

.q-hint {
  font-size: 13px;
  color: #555;
  margin-top: -16px;
  margin-bottom: 20px;
}

.q-shift-hint {
  font-size: 12px;
  color: #444;
  margin-top: 8px;
  font-weight: 500;
}

/* ─── Inputs ────────────────────────────────────────────────────── */
.q-input {
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid #333;
  padding: 8px 0;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  caret-color: #fff;
}

.q-input::placeholder { color: #444; }

.q-input:focus { border-bottom-color: #aaa; }

.q-textarea {
  resize: none;
  border-bottom: 1px solid #333;
  line-height: 1.6;
  min-height: 60px;
}

/* ─── OK Button ─────────────────────────────────────────────────── */
.q-actions {
  margin-top: 28px;
}

.btn-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-ok:hover { opacity: 0.85; }

.btn-hint {
  font-size: 12px;
  opacity: 0.5;
  font-weight: 400;
}

.btn-submit {
  background: #fff;
  color: #000;
}

/* ─── Error ─────────────────────────────────────────────────────── */
.q-error {
  font-size: 12px;
  color: #e74;
  margin-top: 8px;
  min-height: 16px;
}

/* ─── Choice Cards ──────────────────────────────────────────────── */
.choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #222;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  color: #ccc;
  transition: border-color 0.1s, background 0.1s, color 0.1s;
  user-select: none;
}

.choice:hover {
  border-color: #555;
  color: #fff;
}

.choice.selected {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.choice.selected .choice-key {
  background: #000;
  color: #fff;
  border-color: #000;
}

.choice-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  flex-shrink: 0;
}

/* ─── Confirmation ──────────────────────────────────────────────── */
.done-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.done-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.done-sub {
  font-size: 16px;
  color: #aaa;
  line-height: 1.65;
  max-width: 440px;
}

.btn-done {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #444;
  cursor: pointer;
  width: fit-content;
  transition: border-color 0.15s;
  margin-top: 8px;
}

.btn-done:hover { border-color: #fff; }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .form-header { padding: 16px 20px; }
  .form-wrapper { padding: 80px 24px 40px; }
}
