/* BVdirect intake — one question per screen. Builds on the tokens and buttons in styles.css. */

.intake-body [hidden] { display: none !important; }

.intake-body { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }

.intake-top { position: sticky; top: 0; z-index: 10; background: #fff; }
.intake-top__bar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.intake-top__close { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted-2); }
.intake-top__close:hover { color: var(--ink); }
.intake-top__close svg { width: 14px; height: 14px; }
.intake-progress { height: 3px; background: var(--line); }
.intake-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s cubic-bezier(.2,.7,.2,1); }

.intake { flex: 1; display: flex; justify-content: center; padding: 48px var(--gutter) 40px; }
.intake form { width: 100%; max-width: 560px; display: flex; flex-direction: column; }

.step { animation: step-fade .3s ease; }
@keyframes step-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step__q { display: block; padding: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 36px; letter-spacing: -.8px; color: var(--ink); text-wrap: balance; }
.step__q:focus { outline: none; }
.step__help { margin-top: 12px; font-size: 17px; line-height: 26px; color: var(--muted); }
.step__note { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--muted-2); }
.step__error { margin-top: 16px; font-size: 14px; line-height: 20px; font-weight: 600; color: #c2401f; }

.field { display: block; width: 100%; margin-top: 28px; padding: 14px 16px; border: 1px solid var(--control); border-radius: var(--r-md); background: #fff; font: inherit; font-size: 18px; line-height: 26px; color: var(--ink); }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field::placeholder { color: #a3a8bd; }
.field--area { resize: vertical; min-height: 128px; }
.field[aria-invalid="true"] { border-color: #c2401f; }
.fields { margin-top: 20px; display: grid; gap: 16px; }
.fields .field { margin-top: 6px; }
.field-label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.optional { font-weight: 500; color: var(--muted); }

.check { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }

.choices { margin-top: 28px; display: grid; gap: 10px; }
.choices--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: 18px 20px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink-3); transition: box-shadow .15s ease, background-color .15s ease; }
.choice:hover span { box-shadow: inset 0 0 0 1px var(--control); }
.choice input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); background: var(--surface-2); color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice--num span { text-align: center; font-family: var(--display); font-size: 22px; font-weight: 400; }

.founders { margin-top: 20px; display: grid; gap: 20px; }
.founder .field { margin-top: 6px; }
.founder .check { margin-top: 10px; font-size: 14px; }

.summary { margin: 24px 0 0; border-top: 1px solid var(--line-2); }
.summary div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.summary dt { font-size: 14px; line-height: 20px; color: var(--muted); grid-column: 1; }
.summary dd { margin: 0; grid-column: 1; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.summary button { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--accent); cursor: pointer; }
.price-note { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface-2); font-size: 15px; line-height: 22px; color: var(--muted-2); }
.price-note strong { display: block; font-size: 17px; line-height: 24px; color: var(--ink); }

.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 24px; }
.done-mark svg { width: 28px; height: 28px; }
[data-step="done"] .btn { margin-top: 32px; }

.intake-nav { margin-top: auto; padding-top: 40px; display: flex; align-items: center; gap: 12px; }
.intake-back { flex: none; width: 56px; height: 56px; border: 0; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.intake-back:hover { box-shadow: inset 0 0 0 1px var(--control); }
.intake-back svg { width: 18px; height: 18px; }
.intake-next { flex: 1; height: 56px; font-size: 18px; }
.intake-talk { margin-top: 20px; font-size: 15px; line-height: 22px; color: var(--muted); }
.intake-talk a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--control); }
.intake-talk a:hover { text-decoration-color: var(--ink); }
.intake-talk__note { display: block; margin-top: 6px; font-size: 14px; color: var(--muted-2); }

@media (min-width: 768px) {
  .intake { padding-top: 96px; }
  .step__q { font-size: 40px; line-height: 48px; letter-spacing: -1.2px; }
  .intake-nav { margin-top: 48px; padding-top: 0; }
  .intake-next { flex: none; min-width: 200px; }
}

/* Done screen: the dossier link and the way back sit side by side. */
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; }
