/* The apply form's tap choices (Chris, 7 Oct 2026: the questions people answer with a tap). The chip look is the one this
   form used for its sales question before 14 Sep 2026, so the new screens sit in the same family as the rest. */

.choices {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.chips--two {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  user-select: none;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), transform 220ms var(--ease);
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.chip__key {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-logo);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-faint);
  transition: background 220ms var(--ease), color 220ms var(--ease);
}

.chip__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  /* A long label wraps inside its chip rather than running past the edge. */
  white-space: normal;
  text-wrap: balance;
  line-height: 1.3;
  transition: color 220ms var(--ease);
}

/* .is-on is set by apply.js alongside :has(): the Facebook and Instagram in-app browsers on older phones lack :has(). */
.chip.is-on,
.chip:has(input:checked) {
  border-color: var(--violet);
  background: rgba(90, 80, 228, 0.2);
}

.chip.is-on .chip__key,
.chip:has(input:checked) .chip__key {
  background: var(--violet);
  color: #fff;
}

.chip.is-on .chip__label,
.chip:has(input:checked) .chip__label {
  color: var(--ink);
}

.chip:focus-within {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* The box a choice opens (the store address, the website or Instagram, the role typed under Other). */
.step__reveal[hidden] {
  display: none;
}

.step__reveal {
  margin: 0 0 6px;
}

/* The Shopify note for "Not yet": set in the body voice, not as a warning. */
.step__note {
  margin: 4px 0 6px;
  max-width: 34rem;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.step__note .accent {
  color: var(--ink);
}

/* On a phone there is no keyboard to press numbers on, so the keycaps go and the chips go two across. */
@media (max-width: 900px) {
  /* The live form orders each screen on a phone (counter 1, question 2, hint 3, answer 4); the tap group carries its question, and a revealed box is an answer. */
  .choices { order: 2; }
  .step__reveal { order: 4; }
  .chip__key { display: none; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips--two { grid-template-columns: minmax(0, 1fr); }
  .chip { padding: 13px 14px; }
  .chip__label { white-space: normal; }
}
