/* Consultation landing page. Builds on the tokens and shared pieces in styles.css. */

.lp { background: var(--paper); }

/* ---------- Top bar: logo and phone only, no exits ---------- */

.lp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
}
.lp-phone { font-size: 15px; font-weight: 500; text-decoration: none; }
.lp-phone:hover { color: var(--accent); }

/* ---------- Hero: pitch on the left, question form on the right ---------- */

.lp-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: start;
  padding: clamp(24px, 6vh, 72px) var(--gutter) clamp(80px, 12vh, 140px);
}
.lp-pitch { grid-column: 1 / 7; padding-top: clamp(8px, 3vh, 32px); }
.lp-kicker { margin-bottom: 18px; font-size: 15px; font-weight: 500; color: var(--accent); }
.lp-title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.lp-lede { margin-top: 26px; max-width: 44ch; font-size: 19px; line-height: 1.55; color: #4C4842; }

.lp-proof { margin: 36px 0 0; padding: 0; list-style: none; max-width: 520px; }
.lp-proof li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--mist);
  font-size: 15px;
  color: var(--smoke);
}
.lp-proof li:last-child { border-bottom: 1px solid var(--mist); }
.lp-proof b {
  flex: none;
  min-width: 3.4ch;
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}

.lp-reels { display: flex; gap: 12px; margin-top: 36px; }
.lp-reels img { width: clamp(92px, 9vw, 132px); aspect-ratio: 287 / 448; object-fit: cover; }

/* ---------- Question form ---------- */

.qf {
  grid-column: 8 / 13;
  position: sticky;
  top: 24px;
  padding: clamp(24px, 2.6vw, 40px);
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: 6px;
  box-shadow: 0 30px 60px -40px rgba(38, 36, 32, .35);
}
.qf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.qf-title { font-family: var(--serif); font-weight: var(--serif-weight); font-size: 24px; line-height: 1.2; }
.qf-count { flex: none; font-size: 14px; color: var(--smoke); font-variant-numeric: tabular-nums; }
.qf-bar { height: 3px; margin: 18px 0 28px; background: var(--stone); border-radius: 3px; overflow: hidden; }
.qf-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(.14);
  transition: transform .6s var(--ease-out);
}

.qf-step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.qf-step.is-current { display: block; }
/* Without JavaScript every question shows at once, so the form still works */
html:not(.qf-ready) .qf-step { display: block; margin-bottom: 32px; }
html:not(.qf-ready) .qf-next, html:not(.qf-ready) .qf-bar, html:not(.qf-ready) .qf-count { display: none; }

.qf-step legend {
  padding: 0;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.2;
}
.qf-step legend small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 14px; color: var(--smoke); }

.qf-options { display: grid; gap: 10px; }
.qf-opt { position: relative; display: block; cursor: pointer; }
.qf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qf-opt span {
  display: block;
  padding: 15px 18px;
  font-size: 16px;
  line-height: 1.35;
  border: 1px solid var(--mist);
  border-radius: 6px;
  transition: border-color .3s, background-color .3s, color .3s;
}
.qf-opt span em { display: block; margin-top: 3px; font-style: normal; font-size: 14px; color: var(--smoke); }
.qf-opt:hover span { border-color: var(--ink); }
.qf-opt input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--paper); }
.qf-opt input:checked + span em { color: rgba(250, 248, 245, .82); }
.qf-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.qf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.qf-fields .full { grid-column: 1 / -1; }
.qf-fields .field input { font-size: 18px; }
.qf-fields label small { color: var(--smoke); }
.qf-fields input::placeholder { color: #B3AEA6; }

.qf-next, .qf-submit, .lp-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 30px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .4s;
}
.qf-next:hover, .qf-submit:hover, .lp-cta:hover { background: var(--accent); }
.qf-submit { width: 100%; }
.qf-submit:disabled { background: var(--smoke); cursor: progress; }
.qf-fine { margin-top: 12px; font-size: 14px; color: var(--smoke); text-align: center; }
.qf-status { margin-top: 14px; font-size: 15px; color: #9B4A3C; }
.qf-status.is-info { color: var(--smoke); }
.qf-status:empty { display: none; }
.qf-back {
  margin-top: 18px;
  padding: 4px 0;
  font: inherit;
  font-size: 14px;
  color: var(--smoke);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--mist);
  cursor: pointer;
}
.qf-back:hover { color: var(--ink); border-bottom-color: var(--ink); }

.qf-done h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.15;
}
.qf-done p { color: #4C4842; }
.qf-done p + p { margin-top: 12px; }

/* ---------- Results ---------- */

.lp-results, .lp-next, .lp-included, .lp-faq { padding: clamp(80px, 12vh, 140px) var(--gutter); border-top: 1px solid var(--mist); }
.lp-results .h2, .lp-next .h2, .lp-included .h2, .lp-faq .h2 { max-width: 16ch; margin-bottom: clamp(40px, 6vh, 64px); }
.lp-faq .faq-list { padding: 0; }
.lp-faq .faq-item { grid-column: 1 / 10; }

.lp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.lp-cards img { width: 100%; aspect-ratio: 287 / 448; object-fit: cover; margin-bottom: 16px; }
.lp-cards b {
  display: block;
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.lp-cards span { display: block; margin-top: 8px; max-width: 26ch; font-size: 15px; color: var(--smoke); }
.lp-note { margin-top: 28px; font-size: 14px; color: var(--smoke); }

/* ---------- What happens next (a real sequence, so it's numbered) ---------- */

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.lp-steps li { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--ink); font-size: 16px; line-height: 1.6; color: #4C4842; }
.lp-steps li::before { content: "0" counter(step); display: block; margin-bottom: 14px; font-size: 14px; color: var(--smoke); font-variant-numeric: tabular-nums; }
.lp-steps b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
}

/* ---------- Included ---------- */

.lp-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--gap); margin: 0; padding: 0; list-style: none; }
.lp-list li { padding: 18px 0; border-bottom: 1px solid var(--mist); font-size: 17px; }
.lp-included .lp-cta { margin-top: 48px; }

.lp-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--mist);
  font-size: 14px;
  color: var(--smoke);
}
.lp-foot a { margin-left: 16px; text-decoration: none; }
.lp-foot a:first-child { margin-left: 0; }
.lp-foot a:hover { color: var(--ink); }

/* ---------- Small screens: question first, pitch trimmed ---------- */

@media (max-width: 960px) {
  .lp-pitch, .qf { grid-column: 1 / -1; }
  .qf { position: static; }
  /* The results section repeats this proof, so phones get the first question sooner */
  .lp-reels, .lp-proof { display: none; }
  .lp-hero { padding-top: 8px; }
  .lp-lede { margin-top: 18px; }
  .lp-cards { grid-template-columns: repeat(2, 1fr); }
  .lp-steps, .lp-list { grid-template-columns: 1fr; }
  .lp-faq .faq-item { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .qf-fields { grid-template-columns: 1fr; }
  .lp-lede { font-size: 17px; }
}
