/* "Get started" page: one question at a time */

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

.gs-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--line); z-index: 10; }
.gs-progress-bar { display: block; height: 100%; width: 20%; background: var(--accent); transition: width .5s var(--ease); }

.gs-header { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.gs-close { color: var(--muted); text-decoration: none; font-size: 14px; }
.gs-close:hover { color: var(--text); }

.gs-main { flex: 1; display: flex; align-items: center; padding-top: 24px; padding-bottom: 80px; }
.gs-form { width: 100%; max-width: 720px; margin: 0 auto; }

fieldset.gs-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.gs-step { animation: gs-in .55s var(--ease) both; }
.gs-step.is-back { animation-name: gs-in-back; }
@keyframes gs-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes gs-in-back { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }

.gs-count { display: block; margin: 0 0 14px; line-height: 1.6; color: var(--accent-soft); font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }

.gs-question {
  display: block; padding: 0;
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  margin: 0 0 32px;
}
.gs-hint { margin: -18px 0 24px; color: var(--muted); }
.gs-done .gs-hint { margin: -12px 0 32px; }

.gs-input {
  width: 100%;
  background: transparent; border: 0; border-bottom: 2px solid var(--line-strong);
  padding: 10px 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  border-radius: 0;
  transition: border-color .2s;
}
.gs-input::placeholder { color: var(--faint); }
.gs-input:focus { outline: none; border-bottom-color: var(--accent); }
.gs-input[aria-invalid="true"] { border-bottom-color: var(--danger); }

.gs-options { display: grid; gap: 10px; max-width: 520px; }
.gs-option {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  cursor: pointer; font-size: 17px;
  transition: border-color .2s, background-color .2s;
}
.gs-option:hover { border-color: var(--muted); }
.gs-option input { position: absolute; opacity: 0; pointer-events: none; }
.gs-key {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: var(--muted); border: 1px solid var(--line-strong);
  transition: all .2s;
}
.gs-option:has(input:checked) { border-color: var(--accent); background: rgba(91, 91, 240, 0.12); }
.gs-option:has(input:checked) .gs-key { background: var(--accent); border-color: var(--accent); color: #fff; }
.gs-option:has(input:focus-visible) { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

.gs-check { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); cursor: pointer; }
.gs-check input { width: 18px; height: 18px; accent-color: var(--accent); }

.gs-error { color: var(--danger); font-size: 14px; margin: 12px 0 0; min-height: 20px; }

.gs-nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.gs-enter { color: var(--faint); font-size: 13px; }
.gs-enter strong { color: var(--muted); font-weight: 500; }
.gs-status { margin-top: 16px; }
.gs-status.is-error { color: var(--danger); }

@media (max-width: 720px) {
  .gs-enter { display: none; }
  .gs-main { align-items: flex-start; padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-step { animation: none; }
}
