/* Consult-form hub (TH/EN pair, founder 2026-07-14) — one client-side WhatsApp/Email-composer form.
   Colors/type all from tokens.css. Mobile-first: cards + inputs are big tap targets (min 48px). */

.an-cf-sub { color: var(--an-sand); font-size: 17px; line-height: 1.75; max-width: 62ch; margin: 18px 0 0; }

/* Self-screening box (founder addition 2026-07-14) — compact, mobile-first, dashed-border card
   matching .an-menu-fallback elsewhere on the site; one link per line. */
.an-cf-prescreen-wrap { padding: clamp(20px,3vw,32px) 0 0; }
.an-cf-prescreen { background: var(--an-cream-tint); border: 1px dashed rgba(198,161,91,.6); border-radius: var(--an-radius-card); padding: 18px 22px; max-width: 760px; margin: 0 auto; }
.an-cf-prescreen-title { font-family: var(--an-font-display); font-weight: 400; font-size: var(--an-h4); color: var(--an-maroon); margin: 0 0 10px; }
.an-cf-prescreen-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.an-cf-prescreen-list li { font-size: 14px; line-height: 1.6; }
.an-cf-prescreen-list a { color: var(--an-ink); text-decoration: none; border-bottom: 1px dashed rgba(198,161,91,.5); }
.an-cf-prescreen-list a:hover { color: var(--an-gold-strong); }

.an-cf-grid-sendvia { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); max-width: 340px; }

/* mode toggle — two big pill buttons switching between "pick options" and "tell us your story" */
.an-cf-modes { display: flex; gap: 10px; }
.an-cf-mode-btn { flex: 1; font: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; padding: 16px 18px; min-height: 56px; border-radius: 999px; border: 1.5px solid rgba(198,161,91,.4); background: var(--an-cream-card); color: var(--an-maroon); transition: border-color var(--an-transition), background var(--an-transition), color var(--an-transition), box-shadow var(--an-transition); }
.an-cf-mode-btn:hover { border-color: rgba(198,161,91,.7); }
.an-cf-mode-btn:focus-visible { outline: var(--an-focus); outline-offset: 2px; }
.an-cf-mode-btn.is-active { background: var(--an-gold); border-color: var(--an-gold-strong); color: var(--an-maroon-ink); box-shadow: 0 6px 18px rgba(198,161,91,.28); }
.an-cf-panel { display: flex; flex-direction: column; gap: clamp(28px,4vw,40px); }
.an-cf-panel[hidden] { display: none; }
.an-cf-textarea { min-height: 180px; resize: vertical; line-height: 1.6; }

@media (max-width: 480px) {
  .an-cf-modes { flex-direction: column; }
}

.an-cf-body { padding: clamp(34px,5vw,58px) 0 clamp(50px,6vw,80px); }
.an-cf-wrap { max-width: 760px; }
.an-cf-form { display: flex; flex-direction: column; gap: clamp(28px,4vw,40px); }

.an-cf-section-title { font-family: var(--an-font-display); font-weight: 400; font-size: var(--an-h4); color: var(--an-maroon); margin: 0 0 6px; }
.an-cf-section-hint { font-size: 14px; color: var(--an-ink-muted); margin: 0 0 14px; }

.an-cf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.an-cf-grid-status, .an-cf-grid-addons { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* choice card = label wrapping a visually-hidden (but focusable) native input, so keyboard + AT
   both work; selected state is CSS-only via :has() with a JS class fallback (.is-checked) for
   the rare embedded browser without :has() support. */
.an-cf-choice { position: relative; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; background: var(--an-cream-card); border: 1.5px solid rgba(198,161,91,.35); border-radius: 16px; padding: 16px 44px 16px 18px; min-height: 48px; transition: border-color var(--an-transition), box-shadow var(--an-transition), background var(--an-transition); }
.an-cf-choice-sm { padding: 14px 40px 14px 16px; }
.an-cf-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.an-cf-choice-body { display: flex; flex-direction: column; gap: 4px; }
.an-cf-choice-title { font-weight: 700; color: var(--an-maroon); font-size: 15.5px; line-height: 1.35; }
.an-cf-choice-check .an-cf-choice-title { font-weight: 600; }
.an-cf-choice-hint { font-size: 13px; color: var(--an-ink-muted); line-height: 1.5; }

/* selected mark (checkmark badge, top-right of the card) — base state + checked state, both
   via native :has() and a JS-toggled .is-checked fallback class (rare embedded browsers). */
.an-cf-choice::after { content: "✓"; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid rgba(198,161,91,.5); background: transparent; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: transparent; }
.an-cf-choice:has(input:checked), .an-cf-choice.is-checked { border-color: var(--an-gold-strong); background: var(--an-cream-tint); box-shadow: 0 6px 18px rgba(198,161,91,.22); }
.an-cf-choice:has(input:checked)::after, .an-cf-choice.is-checked::after { background: var(--an-gold); border-color: var(--an-gold-strong); color: var(--an-maroon-ink); }
.an-cf-choice:hover { border-color: rgba(198,161,91,.6); }
.an-cf-choice:focus-within { outline: var(--an-focus); outline-offset: 2px; }

.an-cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.an-cf-row:last-child { margin-bottom: 0; }
.an-cf-field { display: flex; flex-direction: column; gap: 6px; }
.an-cf-label { font-size: 14px; font-weight: 600; color: var(--an-ink); }
.an-cf-input { font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(198,161,91,.35); background: var(--an-cream-card); color: var(--an-ink); min-height: 48px; width: 100%; }
.an-cf-input::placeholder { color: var(--an-ink-muted); opacity: .75; }
.an-cf-input:focus { border-color: var(--an-gold-strong); outline: none; box-shadow: 0 0 0 3px rgba(198,161,91,.18); }

.an-cf-privacy { font-size: 12.5px; color: var(--an-ink-muted); text-align: center; margin: 0; }
.an-cf-submit-wrap { display: flex; justify-content: center; }
.an-cf-submit { border: 0; cursor: pointer; font: inherit; font-weight: 700; width: 100%; max-width: 420px; min-height: 56px; font-size: 17px; }

@media (max-width: 640px) {
  .an-cf-row { grid-template-columns: 1fr; }
  .an-cf-grid { grid-template-columns: 1fr; }
  .an-cf-grid-status, .an-cf-grid-addons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .an-cf-grid-status, .an-cf-grid-addons { grid-template-columns: 1fr; }
}
