/* consultation-editorial.css — page-scoped (.cns) composition layer for /consultation.
   Layout and hierarchy only. Colours, typography and buttons come from the existing OKNO system.
   .okc-card and every shared Constitution component are NOT modified — other pages depend on them. */

/* ---------------- shared primitives ---------------- */
.cns .cns-sec{padding:calc(var(--okc-sec-pad)/2) 0}
.cns .d3-h2{max-width:34ch}
.cns .cns-lead{max-width:72ch}

/* CSS-drawn marker — no icon asset family, no generated text characters */
.cns .cns-checks{list-style:none;padding-left:0;margin:0}
.cns .cns-checks li{position:relative;padding-left:27px;margin:0 0 10px;font-size:14.5px;line-height:1.55;
  color:var(--okc-ink);break-inside:avoid}
.cns .cns-checks li::before{content:"";position:absolute;left:3px;top:.44em;width:10px;height:6px;
  border-left:2px solid var(--okc-brand);border-bottom:2px solid var(--okc-brand);transform:rotate(-45deg)}

/* §14 — the short-question link had no class and rendered browser-default blue */
.cns .cns-link{color:var(--okc-brand);font-weight:700;text-decoration:none;
  border-bottom:1px solid var(--okc-line);display:inline-flex;align-items:center;gap:8px;
  min-height:44px;padding:2px 0}
.cns .cns-link::after{content:"";width:6px;height:6px;flex:0 0 auto;
  border-top:2px solid var(--okc-brand);border-right:2px solid var(--okc-brand);transform:rotate(45deg)}
.cns .cns-link:hover{color:var(--okc-heading);border-bottom-color:var(--okc-brand)}
.cns .cns-link:focus-visible{outline:2px solid var(--okc-heading);outline-offset:3px;border-radius:4px}

/* A bare .d3-btn with no colour modifier inherits the browser default link colour, so the secondary
   "go to booking" action rendered blue. Give it the existing approved ghost-button appearance; no new
   button family, no href or label change. */
.cns a.d3-btn:not(.d3-btn--primary){background:var(--okc-surface);color:var(--okc-brand);
  border-color:var(--okc-brand)}
.cns a.d3-btn:not(.d3-btn--primary):hover{background:var(--okc-surface-quiet)}

/* ---------------- hero: no card, typography and one dominant CTA ---------------- */
.cns .okc-hero{padding:30px 0 10px}
.cns .okc-hero .d3-h1{max-width:20ch}
.cns .okc-hero .d3-lead{max-width:66ch}
.cns .cns-priceline{margin:20px 0 0;font-size:17px;line-height:1.5;font-weight:800;
  color:var(--okc-heading);padding-left:16px;border-left:3px solid var(--okc-brand);max-width:52ch}
.cns .okc-hero__ctas{margin-top:20px}

/* ---------------- B. consultation choice: ONE comparison surface, two options ---------------- */
.cns .cns-choice{display:grid;grid-template-columns:1fr 1px 1fr;gap:0;margin:18px 0 0;
  background:var(--okc-surface);border:1px solid var(--okc-line);border-radius:20px;overflow:hidden}
.cns .cns-choice__d{background:var(--okc-line)}
.cns .cns-choice__o{display:flex;flex-direction:column;padding:28px 30px 26px;min-width:0}
.cns .cns-choice__price{margin:0 0 10px;font-size:24px;line-height:1.2;font-weight:800;
  color:var(--okc-brand);font-variant-numeric:tabular-nums}
.cns .cns-choice__o:nth-of-type(3) .cns-choice__price{color:var(--okc-heading)}
.cns .cns-choice__t{margin:0 0 10px;font-size:19px;line-height:1.28;font-weight:800;color:var(--okc-heading)}
.cns .cns-choice__o .okc-card__desc{font-size:14.5px;line-height:1.6;color:var(--okc-ink);margin:0 0 14px;max-width:48ch}
.cns .cns-choice__o .okc-card__meta{font-size:13px;color:var(--okc-muted);margin:0 0 8px}
.cns .cns-choice__o .d3-list{margin:0 0 18px;padding-left:20px}
.cns .cns-choice__o .d3-list li{font-size:14px;line-height:1.55;color:var(--okc-ink);margin:0 0 6px}
.cns .cns-choice__cta{margin-top:auto;padding-top:4px}
.cns .cns-choice__cta .d3-btn{min-height:48px}

/* ---------------- C. topics: editorial rows on one surface, not six identical cards ---------- */
.cns .cns-topics{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:18px 0 0;
  background:var(--okc-line);border:1px solid var(--okc-line);border-radius:20px;overflow:hidden}
.cns .cns-topic{background:var(--okc-surface);padding:22px 26px 20px}
.cns .cns-topic__t{margin:0 0 8px;font-size:16px;line-height:1.3;font-weight:800;color:var(--okc-heading)}
.cns .cns-topic p{margin:0;font-size:14px;line-height:1.55;color:var(--okc-ink);max-width:52ch}
.cns .cns-topic:last-child:nth-child(odd){grid-column:1 / -1}

/* ---------------- D. outcome: sequential, not a bullet slab ---------------- */
.cns .cns-value{margin:16px 0 0;background:var(--okc-surface);border:1px solid var(--okc-line);
  border-radius:20px;padding:26px 30px}
.cns .cns-value__list{list-style:none;counter-reset:cnsv;padding:0;margin:14px 0 0}
.cns .cns-value__list li{counter-increment:cnsv;position:relative;padding:0 0 14px 44px;
  font-size:14.5px;line-height:1.6;color:var(--okc-ink);max-width:70ch}
.cns .cns-value__list li:last-child{padding-bottom:0}
.cns .cns-value__list li::before{content:counter(cnsv);position:absolute;left:0;top:-1px;
  width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--okc-surface-quiet);border:1.5px solid var(--okc-brand);color:var(--okc-heading);
  font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.cns .cns-value__out{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--okc-line);
  font-weight:700;color:var(--okc-heading);max-width:70ch}

/* ---------------- E. booking rail ---------------- */
.cns .cns-booking{margin:18px 0 0;background:var(--okc-surface);border:1px solid var(--okc-line);
  border-radius:20px;overflow:hidden}
.cns .cns-booking .okc-steps{display:block;margin:0}
.cns .cns-booking .okc-step{position:relative;display:block;padding:18px 28px 18px 78px;
  background:transparent;border:none;border-radius:0}
.cns .cns-booking .okc-step + .okc-step{border-top:1px solid var(--okc-line)}
.cns .cns-booking .okc-step__n{position:absolute;left:28px;top:16px;width:32px;height:32px;
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--okc-surface-quiet);border:1.5px solid var(--okc-brand);color:var(--okc-heading);
  font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.cns .cns-booking .okc-step p{margin:0;font-size:15px;line-height:1.55;color:var(--okc-ink);max-width:72ch}
.cns .cns-booking__note{margin:0;padding:18px 28px;border-top:1px solid var(--okc-line);
  background:var(--okc-surface-quiet);font-size:14px;line-height:1.6;color:var(--okc-muted);max-width:none}

/* ---------------- advisory bands (choose-who / short question) ---------------- */
.cns .cns-advice{background:var(--okc-surface);border:1px solid var(--okc-line);
  border-left:4px solid var(--okc-brand);border-radius:0 18px 18px 0;padding:24px 28px;margin:16px 0 0}
.cns .cns-advice .d3-h2{margin-top:0}
.cns .cns-advice .d3-p{font-size:14.5px;line-height:1.6;max-width:70ch}
.cns .cns-advice .d3-p:last-of-type{margin-bottom:0}
.cns .cns-advice .okc-hero__ctas{margin-top:18px}
.cns .cns-advice--alt{border-left-color:var(--okc-heading)}

/* ---------------- final CTA ---------------- */
.cns .okc-final__panel{padding:36px 40px;text-align:center}
.cns .okc-final__panel .d3-h2{max-width:32ch;margin-left:auto;margin-right:auto}
.cns .okc-final__panel .d3-p{max-width:60ch;margin-left:auto;margin-right:auto}
.cns .okc-final__panel .okc-hero__ctas{justify-content:center}

/* ---------------- tablet ---------------- */
@media (max-width:1000px){
  .cns .cns-choice{grid-template-columns:1fr}
  .cns .cns-choice__d{height:1px;width:auto}
  .cns .cns-topics{grid-template-columns:1fr}
}

/* ---------------- mobile ---------------- */
@media (max-width:640px){
  .cns .okc-hero{padding:22px 0 6px}
  .cns .okc-hero .d3-h1{font-size:28px;line-height:1.18}
  .cns .cns-priceline{font-size:15.5px;padding-left:13px;margin-top:16px}
  .cns .okc-hero__ctas .d3-btn{width:100%;min-height:48px}
  .cns .cns-choice{border-radius:16px}
  .cns .cns-choice__o{padding:22px 18px 20px}
  .cns .cns-choice__price{font-size:22px}
  .cns .cns-choice__t{font-size:17.5px}
  .cns .cns-choice__cta .d3-btn{width:100%}
  .cns .cns-topics{border-radius:16px}
  .cns .cns-topic{padding:18px 18px 16px}
  .cns .cns-value{padding:20px 18px;border-radius:16px}
  .cns .cns-value__list li{padding-left:40px}
  .cns .cns-booking{border-radius:16px}
  .cns .cns-booking .okc-step{padding:16px 18px 16px 62px}
  .cns .cns-booking .okc-step__n{left:18px;top:14px;width:28px;height:28px;font-size:13px}
  .cns .cns-booking__note{padding:16px 18px}
  .cns .cns-advice{padding:20px 18px;border-radius:0 14px 14px 0}
  .cns .cns-advice .okc-hero__ctas .d3-btn{width:100%}
  .cns .okc-final__panel{padding:24px 20px}
  .cns .okc-final__panel .okc-hero__ctas .d3-btn{width:100%}
}
