/* /start/ Find your starting point
   Extends the site design system. Violet accent drives interaction;
   the page-local cyan --ready token marks only the finished recommendation. */

.start-page .start-hero {
  min-height: auto;
  padding-bottom: 24px;
}

.start-display {
  font-size: clamp(40px, 6.4vw, 84px);
}
/* No JS headline reveal on this page: unclip the line so the g descender
   is not cut by the legacy overflow used for the homepage animation. */
.start-display .line { overflow: visible; }

.quiz-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) 96px;
}

.quiz-shell {
  --ready: #3fd6e8;
  --ready-rgb: 63, 214, 232;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.quiz-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--card);
  padding: clamp(24px, 4vw, 44px);
}

@keyframes quiz-step-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-enter { animation: quiz-step-in 160ms var(--ease); }

.quiz-heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
.quiz-heading:focus { outline: none; }
.quiz-heading:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 6px; }

.quiz-copy {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  max-width: 640px;
}

.quiz-facts {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14.5px;
}
.quiz-facts li { display: flex; gap: 10px; }
.quiz-facts li::before { content: "\2713"; color: var(--accent-bright); font-weight: 700; }

.quiz-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.quiz-progress { margin-bottom: 22px; }
.quiz-progress-track {
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
  overflow: hidden;
}
.quiz-progress-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transition: width 0.3s var(--ease);
}

.quiz-options {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15.5px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.quiz-option:hover { border-color: rgba(var(--accent-rgb), 0.55); background: var(--card-hover); }
.quiz-option:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.quiz-option.is-selected {
  border-color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.12);
}

.quiz-option-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--faint);
  flex: 0 0 auto;
}
.quiz-option.is-selected .quiz-option-num { color: var(--accent-bright); }

.quiz-option-label { flex: 1 1 auto; line-height: 1.45; }

.quiz-option-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.quiz-option.is-selected .quiz-option-check {
  color: #fff;
  border-color: var(--accent-bright);
  background: var(--accent);
}

.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.quiz-actions-intro { justify-content: flex-start; }
.quiz-actions-result { justify-content: flex-start; margin-top: 26px; }

.quiz-back {
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s var(--ease);
}
.quiz-back:hover { color: var(--paper); }
.quiz-back:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

.quiz-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quiz-hint {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 12.5px;
}

/* ---------- result: the only cyan surface on the site ---------- */
.quiz-eyebrow-ready { color: var(--ready); }
.quiz-eyebrow-ready::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--ready);
  box-shadow: 0 0 12px rgba(var(--ready-rgb), 0.9);
}

.quiz-result { position: relative; }
.quiz-result-title { font-size: clamp(28px, 4vw, 44px); }

.quiz-recommendation {
  color: var(--paper);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 500;
  border-left: 3px solid var(--ready);
  padding-left: 16px;
}

.quiz-block {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.quiz-block p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.quiz-block-title {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ready);
}
.quiz-block-note { color: var(--faint) !important; font-size: 12.5px !important; margin-top: 8px !important; }
.quiz-block-note:first-of-type { margin-top: 0 !important; margin-bottom: 8px !important; }

.quiz-signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--paper);
  font-size: 14.5px;
}
.quiz-signal-list li { display: flex; gap: 10px; }
.quiz-signal-list li::before { content: "\2713"; color: var(--ready); font-weight: 700; }

.quiz-others { margin-top: 30px; }
.quiz-others .quiz-block-title { color: var(--faint); }
.quiz-other-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.quiz-other-list strong { color: var(--paper); }

.quiz-noscript h2 {
  font-size: clamp(24px, 3.4vw, 38px);
  margin-bottom: 14px;
}
.quiz-noscript p { color: var(--muted); line-height: 1.6; }
.quiz-noscript ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.quiz-noscript li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  line-height: 1.55;
}
.quiz-noscript strong { color: var(--paper); }
.quiz-noscript a { color: var(--accent-bright); }

/* Purpose-page footer links inherit browser blue without site.js pages'
   foot-nav classes; keep them readable on ink. */
.start-page .site-foot a {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.start-page .site-foot a:hover,
.start-page .site-foot a:focus-visible { color: var(--accent-bright); outline: none; }

@media (prefers-reduced-motion: reduce) {
  .step-enter { animation: none; }
  .quiz-progress-fill { transition: none; }
}

@media (max-width: 600px) {
  .quiz-card { padding: 20px 16px; }
  .quiz-actions { flex-direction: row; }
  .quiz-next { flex: 1 1 auto; }
}
