/* Classic: the plain, main-site-style control for the split test. Loaded only for design-classic, after
   find.css; everything is scoped so the shared components keep their look on designs A–D.
   A white card on the pale site background, even answer grids, roomier coach cards. No illustration,
   no accent colour, no motion beyond hover and focus. */
body.design-classic { --cl-max: 680px; }
body.design-classic.cl-results { --cl-max: var(--page-max); }
.design-classic main { max-width: var(--cl-max); padding: 24px 16px 40px; }
/* Header and footer: the shared 1080px page column (find.css); the questions card sits centred in it. */
@media (min-width: 700px) { .design-classic main { padding: 40px 24px 48px; } }

.design-classic h1 { font-size: 28px; line-height: 1.18; letter-spacing: -.015em; margin: 0 0 8px; text-wrap: balance; }
@media (min-width: 700px) { .design-classic h1 { font-size: 36px; } }
.design-classic .lede { font-size: 17px; }

/* ---------- questions ---------- */
.cl-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 18px 22px; }
@media (min-width: 700px) { .cl-card { padding: 36px 40px 36px; } }
.design-classic .cl-card .lede { margin-bottom: 28px; }
.design-classic fieldset { margin: 0 0 28px; }
.design-classic legend { font-size: 18px; margin-bottom: 10px; }
.design-classic .helper { margin: -2px 0 12px; }

/* Answers: an even grid of tiles, so nothing wraps alone. 2 across on phones, 3 (topics) / 4 (budgets) on wider screens. */
.cl-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .cl-opts.goals { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cl-opts.budgets { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cl-opt { position: relative; display: block; }
.cl-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.cl-opt span { display: flex; align-items: center; justify-content: center; min-height: 52px; height: 100%; padding: 8px 10px; text-align: center; line-height: 1.25;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 600; color: var(--brand-ink); cursor: pointer;
  transition: border-color .15s, background-color .15s; }
.cl-opt:hover span { border-color: var(--brand-tint-border); background: var(--brand-tint); }
.cl-opt input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.cl-opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.design-classic .cl-card input[type=text] { min-height: 52px; font-size: 17px; border-radius: 12px; }
.design-classic form.questions .btn.primary { min-height: 54px; font-size: 17px; margin-top: 4px; }

/* Trust tiles sit under the card at its width. */
.design-classic .trust-strip { margin: 16px 0 0; }
.design-classic .trust-strip li > a, .design-classic .trust-strip .tbox { min-height: 76px; }
@media (min-width: 700px) {
  .design-classic .trust-strip li > a, .design-classic .trust-strip .tbox { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px 16px; text-align: left; font-size: 14px; }
  .design-classic .trust-strip .ic { width: 30px; height: 30px; }
  .design-classic .trust-strip img { height: 30px; flex: none; }
}

/* ---------- results ---------- */
.cl-results .stepnav { margin: -12px 0 12px; }
.cl-results .lede { color: var(--ink); margin-bottom: 6px; }
.cl-results .lede-more { margin: 0 0 24px; color: var(--muted); max-width: 70ch; }
.cl-results .coaches { gap: 16px; }
@media (min-width: 960px) {
  .cl-results .coaches.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cl-results .coaches.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-results .coaches.n1 { max-width: 520px; }
}
.cl-results .coach { display: flex; flex-direction: column; padding: 20px; border-radius: 16px; }
.cl-results .coach .top { align-items: flex-start; gap: 14px; }
.cl-results .coach .photo { width: 72px; height: 72px; }
.cl-results .coach h3, .cl-results .coach .coach-name { font-size: 19px; }
.cl-results .coach .meta { font-size: 15px; }
.cl-results .coach .meta:first-of-type { margin-top: 4px; }
.cl-results .coach .words { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 15px; line-height: 1.5; color: var(--ink); }
.cl-results .coach .words p { margin: 0; }
.cl-results .coach .words.plain { color: var(--muted); }
.cl-results .coach .words mark { background: none; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-tint-border); text-decoration-thickness: 3px; text-underline-offset: 2px; }
.cl-results .coach .actions { margin-top: auto; padding-top: 16px; }
@media (min-width: 960px) {
  .cl-results .coaches.n3 .coach .actions { flex-direction: column; }
  .cl-results .coaches.n3 .coach .actions .btn { flex: none; }
}

/* What happens next: three steps across on desktop, lined up with the three coaches */
.cl-results .next { padding: 20px; margin: 28px 0 0; }
.cl-results .next h2 { font-size: 19px; margin-bottom: 14px; }
@media (min-width: 960px) {
  .cl-results .next { padding: 24px; }
  .cl-results .next ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.cl-results .trust-strip { margin-top: 16px; }
.design-classic .cl-card fieldset > .helper:last-child { margin: 8px 0 0; }
@media (min-width: 960px) { .cl-results .trust-strip { gap: 16px; } }

/* "Something else": topic search under the answer grid */
.cl-topic { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--brand-tint); }
.cl-topic[hidden] { display: none; }
.cl-topic > label { display: block; font-weight: 600; color: var(--brand-ink); margin: 0 0 8px; }
.cl-topic-field { position: relative; }
.design-classic .cl-topic-field input { min-height: 52px; font-size: 16px; border-radius: 12px; border-color: var(--brand-tint-border); }
.cl-topic-list li[role=option] { min-height: 44px; align-items: center; }
.cl-opt span.topic { font-size: 15px; }
.design-classic form.questions .btn.primary.busy { opacity: .75; cursor: progress; }
.design-classic .cl-card h1 { margin-bottom: 24px; }   /* no intro line under the headline */
