/* The prospect application: phone-first, the firm's branding only (tokens.css), no app chrome. */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--font-sans); }
a { color: var(--accent); }
h1, h2 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.15rem; }
p { margin: 0 0 .75rem; }
.muted { color: var(--muted); } .small { font-size: .9rem; }

.bar { background: var(--brand); color: var(--brand-ink); padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top)); display: flex; justify-content: center; }
.bar img { height: 36px; width: auto; }
.wrap { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
.foot { max-width: 640px; margin: 0 auto; padding: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; margin-bottom: 16px; box-shadow: var(--shadow); }
.progress { display: flex; gap: 6px; margin-bottom: 18px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.done { background: var(--accent); }

fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend, label.q { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; padding: 0; }
.help { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; min-height: var(--tap); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--brand-soft); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; min-height: var(--tap); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 1px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

.actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 10px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; flex: 1; }
.btn:disabled { opacity: .5; cursor: default; }
.error { background: var(--bad-wash); color: var(--bad); padding: 10px 14px; border-radius: var(--radius); margin-bottom: 12px; font-weight: 600; }
.review dt { font-weight: 600; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.review dd { margin: 0; }
.result { text-align: center; padding: 28px 18px; }
.result .mark { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; background: var(--brand-soft); color: var(--accent); }
.calendly { width: 100%; min-height: 660px; border: 0; border-radius: var(--radius); }
.notice { background: var(--warn-wash); color: var(--warn); padding: 12px 14px; border-radius: var(--radius); font-weight: 600; }
