/* v3/variant.css - conversational, one question per screen.
   Same light ground as the rest; the question itself is the whole page. */

.convo { background: var(--ground); min-height: 100vh; display: flex; flex-direction: column; }

.convo__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  padding: var(--space-7) var(--space-5) var(--space-8);
}

.convo__screen { animation: convo-in .2s ease-out; }
@keyframes convo-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.convo__num { font-size: var(--text-sm); font-weight: 700; color: var(--orange-ink); margin: 0 0 var(--space-3); font-variant-numeric: tabular-nums; }
.convo h1 { font-size: clamp(1.75rem, 5.2vw, 2.75rem); margin-bottom: var(--space-3); }
.convo__lede { color: var(--ink-2); font-size: var(--text-lg); margin-bottom: var(--space-6); max-width: 42ch; }

.convo__input {
  width: 100%;
  min-height: 64px;
  padding: var(--space-3) var(--space-5);
  font-family: var(--ui);
  font-size: clamp(1.15rem, 3.6vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: border-color .14s ease, box-shadow .14s ease;
}
.convo__input::placeholder { color: var(--ink-3); font-weight: 400; }
.convo__input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px var(--navy-100); }

.convo .field__error { margin-top: var(--space-3); }
.convo .field__error:empty { display: none; }
.convo .addr-status:empty { display: none; }

.convo__foot { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-7); flex-wrap: wrap; }
.convo__hint { font-size: var(--text-xs); color: var(--ink-3); margin: 0; }
.convo__hint kbd { font-family: var(--ui); font-weight: 700; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 7px; }
.convo__foot .stepper { margin-left: auto; }

.convo__reject { margin-top: var(--space-5); }

.convo .review { text-align: left; }

/* Name screen: first and last side by side, stacked on phones. */
.convo__pair { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 36rem) { .convo__pair { grid-template-columns: 1fr 1fr; } }
.convo__field { min-width: 0; }

/* Phone screen: type selector in front of the number. */
.convo__phone { display: flex; gap: var(--space-3); align-items: flex-start; }
.convo__phone .convo__field { flex: 1 1 auto; }
.convo__select {
  flex: 0 0 auto;
  width: auto;
  min-width: 7.5rem;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23576b80' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}

/* The server's hidden inputs sit in the flex footer. display: contents keeps
   the wrapper out of the row; Turnstile, when on, takes a line of its own. */
.convo__foot #lp-fields { display: contents; }
.convo__foot .cf-turnstile { flex-basis: 100%; }
