/* =========================================================
   Free consultation intake (/consultation/).
   Loaded after styles.css. Geist only on this page: no mono labels.
   ========================================================= */
.consult-page { --mono: var(--font); --ease: cubic-bezier(.2,.7,.2,1); }
.consult-page .footer__top { font-size: 14px; color: var(--muted); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
[data-theme="dark"] .btn--accent { color: #06140d; }
.btn--accent:hover { filter: brightness(1.06); }
.btn--lg { height: 56px; padding: 0 26px; font-size: 16px; font-weight: 600; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

/* ---------- Layout ---------- */
.cx { position: relative; padding: 40px 0 88px; min-height: calc(100vh - 64px); }
.cx::before { /* soft green glow, calm not loud */
  content: ""; position: absolute; inset: 0 0 auto; height: 520px; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 70% at 70% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.cx__grid { position: relative; z-index: 1; display: grid; gap: 28px; }
@media (min-width: 980px) {
  .cx { padding-top: 64px; }
  .cx__grid { grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: start; }
}

/* Result: give the summary the full width */
.cx--result .cx__advisor { display: none; }
.cx--result .cx__grid { grid-template-columns: minmax(0, 1fr); }

/* ---------- Advisor column ---------- */
.cx__advisor { display: grid; gap: 18px; }
.cx__who { display: flex; align-items: center; gap: 14px; }
.cx__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line-2); }
.cx__who-name { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.25; }
.cx__who-role { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
.cx__pitch { margin: 0; color: var(--text); font-size: 16px; line-height: 1.6; }
.cx__proof { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.cx__proof li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.cx__proof li::before { content: ""; width: 7px; height: 7px; margin: 7px 0 0 3px; border-radius: 50%; background: var(--accent); }
.cx__fine { margin: 0; font-size: 13.5px; color: var(--muted); }
@media (min-width: 980px) { .cx__advisor { position: sticky; top: 104px; } }
@media (max-width: 979px) {
  .cx__advisor { gap: 0; }
  .cx__who img { width: 44px; height: 44px; }
  .cx__pitch, .cx__proof, .cx__fine { display: none; }
  .cx__advisor.is-start .cx__pitch { display: block; margin-top: 14px; font-size: 15px; color: var(--muted); }
}

/* ---------- Progress ---------- */
.cx__flow { min-width: 0; }
.cx__progress { margin-bottom: 36px; }
.cx__progress-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; min-height: 24px; }
.cx__count { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.cx__restart { background: none; border: 0; padding: 4px 0; font: 500 14px/1 var(--font); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.cx__restart:hover { color: var(--ink); }
.cx__bar { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.cx__bar span { display: block; height: 100%; width: 3%; border-radius: inherit; background: var(--accent); transition: width .6s var(--ease); }

/* ---------- Question ---------- */
.cx__stage { position: relative; }
.q { transition: opacity .32s var(--ease), transform .32s var(--ease); }
.q--in { opacity: 0; transform: translateY(14px); }
.q--in-back { opacity: 0; transform: translateY(-14px); }
.q--out { opacity: 0; transform: translateY(-10px); transition-duration: .18s; }
.q--out-back { opacity: 0; transform: translateY(10px); transition-duration: .18s; }
.q__head { margin-bottom: 28px; max-width: 760px; }
.q__title { font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -0.035em; line-height: 1.06; font-weight: 600; outline: none; text-wrap: balance; }
.q__title:focus-visible { outline: none; }
.q__lead { margin: 14px 0 0; color: var(--muted); font-size: 1.08rem; max-width: 60ch; text-wrap: pretty; }
.q__hint { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
@media (pointer: coarse) { .q__hint { display: none; } }

/* Option cards */
.opts { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .opts--c2, .opts--c3, .opts--c4, .opts--c5 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .opts--c3 { grid-template-columns: repeat(3, 1fr); }
  .opts--c4 { grid-template-columns: repeat(4, 1fr); }
  .opts--c5 { grid-template-columns: repeat(5, 1fr); }
}
.opt {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; text-align: left;
  padding: 16px 52px 16px 18px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font: 500 16px/1.35 var(--font); cursor: pointer;
  box-shadow: 0 1px 2px rgba(12,12,20,.03);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .25s ease, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .opt:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-2)); transform: translateY(-1px); box-shadow: var(--shadow); } }
.opt:active { transform: translateY(0) scale(.99); }
.opt.is-on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.opt__text { display: grid; gap: 3px; min-width: 0; }
.opt__label { overflow-wrap: anywhere; }
.opt__sub { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.opt__check {
  position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; background: var(--bg);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s var(--ease);
}
.opt__check svg { width: 14px; height: 14px; }
.opt.is-on .opt__check { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }
[data-theme="dark"] .opt.is-on .opt__check { color: #06140d; }
.q--multi .opt__check { border-radius: 7px; }
.opts--rich .opt { align-items: flex-start; padding-top: 20px; padding-bottom: 20px; min-height: 96px; }
.opt__icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-2); color: var(--accent); transition: background-color .2s; }
.opt__icon svg { width: 22px; height: 22px; }
.opt.is-on .opt__icon { background: var(--surface); }
.opts--rich .opt__label { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.opts--rich .opt__check { top: 22px; margin-top: 0; }

/* Inputs */
.q__field { display: grid; gap: 8px; }
.q__label { font-size: 15px; font-weight: 500; color: var(--ink); }
.q__label em { font-style: normal; font-weight: 400; color: var(--muted); }
.q__input {
  width: 100%; font: 18px/1.5 var(--font); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.q__input--area { resize: vertical; min-height: 140px; font-size: 17px; line-height: 1.55; }
.q__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.q__input::placeholder { color: var(--muted); opacity: .75; }
.q__field--hero .q__label { font-size: 1.15rem; }
.q__field--hero .q__input { font-size: clamp(1.4rem, 3vw, 1.8rem); padding: 18px 20px; font-weight: 500; letter-spacing: -0.01em; max-width: 520px; }
.q__field--plain .q__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.q__other { margin-top: 14px; max-width: 520px; }
.q__other[hidden] { display: none; }
.q__form { display: grid; gap: 18px; max-width: 640px; }
.q__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .q__row { grid-template-columns: 1fr 1fr; } }
.q__form .q__input { font-size: 17px; }
.q__error { margin: -8px 0 0; font-size: 14px; color: #b42318; }
[data-theme="dark"] .q__error { color: #ff9b8f; }
.q__privacy { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Nav row */
.q__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; }
.q__nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.q__back, .q__skip {
  display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 6px; background: none; border: 0;
  font: 500 15px/1 var(--font); color: var(--muted); cursor: pointer; border-radius: 10px;
}
.q__back svg { width: 18px; height: 18px; }
.q__back:hover, .q__skip:hover { color: var(--ink); }
.q__next { min-width: 150px; height: 52px; padding: 0 24px; font-size: 16px; }
.q__next svg { transition: transform .2s var(--ease); }
.q__next:not(:disabled):hover svg { transform: translateX(3px); }
@media (max-width: 559px) {
  .q__nav { position: sticky; bottom: 0; margin: 28px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); z-index: 5; }
  .q__next { min-width: 0; flex: 1; }
  .q__nav-right { flex: 1; justify-content: flex-end; }
  .q__nav--start .q__nav-right { flex: 1; }
}

/* ---------- Result ---------- */
.res .q__head { margin-bottom: 22px; }
.res__eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 600; font-size: 15px; }
.res__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .res__card { padding: 30px 32px; } }
.res__card h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 14px; }

.res__heard { position: relative; border-left: 3px solid var(--accent); margin-bottom: 18px; }
.res__heard-text { margin: 0; font-size: clamp(1.08rem, 1.8vw, 1.22rem); line-height: 1.6; color: var(--ink); text-wrap: pretty; animation: res-in .5s var(--ease) both; }
.res__heard.is-loading .res__heard-text { display: none; }
.res__skel { display: none; gap: 10px; }
.res__skel i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--bg-2), var(--line), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.res__skel i:nth-child(2) { width: 92%; } .res__skel i:nth-child(3) { width: 64%; }
.res__heard.is-loading .res__skel { display: grid; }
.res__loading { display: none; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.res__heard.is-loading .res__loading { display: block; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes res-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.res__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .res__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

.res__help { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.res__help:empty { display: none; }
.res__help li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text); font-size: 15.5px; line-height: 1.5; animation: res-in .5s var(--ease) both; }
.res__help li::before {
  content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft);
  -webkit-mask: none; box-shadow: inset 0 0 0 6px var(--accent-soft), inset 0 0 0 20px var(--accent);
}
.res__help li:nth-child(2) { animation-delay: .06s; } .res__help li:nth-child(3) { animation-delay: .12s; } .res__help li:nth-child(4) { animation-delay: .18s; } .res__help li:nth-child(5) { animation-delay: .24s; }
.res__sub { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin: 0 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }

.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.path__step { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 18px; }
.path__step:last-child { padding-bottom: 0; }
.path__step::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.path__step:last-child::before { display: none; }
.path__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); margin-top: 1px; position: relative; z-index: 1; }
.path__step.is-now .path__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.path__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.path__top h3 { font-size: 1.05rem; }
.path__price { font-size: 14.5px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.path__body p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

.res__est h2 { margin-bottom: 8px; }
.est__range { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.est__to { color: var(--muted); font-weight: 400; font-size: .6em; letter-spacing: -0.01em; }
.est__label { margin: 10px 0 18px; font-size: 14px; color: var(--muted); }
.est__items { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.est__items li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.est__items strong { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.est__more { margin: 0 0 18px; display: grid; gap: 10px; }
.est__more div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.est__more dt { color: var(--muted); }
.est__more dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.est__founding { border-radius: 14px; padding: 14px 16px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.est__founding p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.est__founding strong { color: var(--ink); }

.res__cta {
  margin-top: 18px; display: grid; gap: 20px; align-items: center; padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--bg);
}
.res__cta h2 { color: var(--bg); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.res__sent { margin: 0; font-size: 15px; color: color-mix(in srgb, var(--bg) 72%, var(--ink)); max-width: 52ch; }
.res__sent a { color: inherit; }
.res__sent.is-ok::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7CF0B4; margin-right: 8px; vertical-align: 1px; }
[data-theme="dark"] .res__sent.is-ok::before { background: #1F6B45; }
.res__cta .btn--accent { background: #7CF0B4; color: #06140d; box-shadow: none; }
[data-theme="dark"] .res__cta .btn--accent { background: #1F6B45; color: #fff; }
.res__cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
@media (min-width: 720px) {
  .res__cta { grid-template-columns: 1fr auto; padding: 32px 36px; }
  .res__cta .btn { width: auto; white-space: nowrap; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .q, .q--in, .q--in-back, .q--out, .q--out-back { transition: none !important; transform: none !important; }
  .cx__bar span { transition: none; }
  .opt, .opt__check { transition: none; }
  .opt:hover, .opt:active { transform: none; }
  .res__skel i, .res__heard-text, .res__help li { animation: none; }
}

/* Phones: keep the first question on the first screen */
@media (max-width: 899px) {
  .cx__advisor .cx__pitch, .cx__advisor .cx__proof, .cx__advisor .cx__fine { display: none; }
  .cx__advisor { padding-block: 10px; }
  .cx__who-role::after { content: " · about 2 minutes"; }
}
.cx__quick { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); } .cx__quick a { color: var(--accent); font-weight: 600; }
