@import url('/assets/css/lrl-tokens.css');
/* =========================================================
   Learning Systems Diagnostic — /services/learning-systems-diagnostic/
   Page-scoped additions on top of commercial-paths.css +
   commercial-paths-dynamic.css. Values are taken from those
   files (--cp-line, ink #07111f, paper #f7fbfc, muted #475569)
   rather than introduced here, so this page matches the system.
   ========================================================= */

/* Hero credibility pills */
.lsd-credibility {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.lsd-credibility span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(110,231,216,.22);
  background: rgba(255,255,255,.06);
  color: rgba(236,248,250,.86);
  font-size: 13px;
  font-weight: 700;
}

/* Muted note — system muted ink, not opacity */
.lsd-note {
  margin: 18px 0 0;
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 640px;
}

.cp-summary .lsd-note {
  margin-top: 16px;
  color: rgba(236,248,250,.6);
  font-size: 13.5px;
}

/* ---------- contrast panels ---------- */
.lsd-contrast {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 20px;
  margin-top: 36px;
}

.lsd-panel {
  padding: 30px;
  border-radius: 22px;
  border: 1px solid var(--cp-line);
}

.lsd-panel h3 {
  margin: 12px 0 0;
  font-size: 1.28rem;
  letter-spacing: -.03em;
}

.lsd-panel ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 19px;
  line-height: 1.55;
}

.lsd-panel--muted {
  background: #fff;
  color: #64748b;
}

.lsd-panel--muted h3 { color: #475569; }
.lsd-panel--muted .cp-kicker { color: #94a3b8; }

.lsd-panel--strong {
  color: #fff;
  border-color: rgba(110,231,216,.18);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(22,184,217,.2), transparent 58%),
    linear-gradient(150deg, #07111f, #10243d);
  box-shadow: 0 24px 56px rgba(7,17,31,.24);
}

.lsd-panel--strong .cp-kicker { color: var(--cpx-mint); }
.lsd-panel--strong ul { list-style: none; padding: 0; gap: 3px; }

.lsd-panel--strong li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 11px;
  color: rgba(236,248,250,.88);
  font-size: 15px;
  transition: background .2s ease, transform .2s ease;
}

.lsd-panel--strong li:hover {
  background: rgba(110,231,216,.09);
  transform: translateX(3px);
}

.lsd-panel--strong li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cpx-mint);
  opacity: .85;
}

/* ---------- four lenses (supporting taxonomy, not cards) ---------- */
.lsd-lenses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--cp-line);
}

.lsd-lens {
  padding: 22px 24px 0;
  border-right: 1px solid var(--cp-line);
}

.lsd-lens:first-child { padding-left: 0; }
.lsd-lens:last-child { padding-right: 0; }

.lsd-lens:last-child { border-right: none; }

.lsd-lens strong {
  display: block;
  color: var(--cp-ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.015em;
}

.lsd-lens p {
  margin: 7px 0 0;
  color: #607286;
  font-size: 14px;
  line-height: 1.55;
  max-width: 25ch;
}

/* ---------- process: four steps ---------- */
.lsd-process { grid-template-columns: repeat(4, minmax(0,1fr)); }
.lsd-process .cp-card h3 { font-size: 1.16rem; }

/* ---------- inline CTA ---------- */
.lsd-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding: 26px 30px;
  border-radius: 20px;
  border: 1px solid rgba(22,184,217,.22);
  background: linear-gradient(135deg, rgba(22,184,217,.07), rgba(110,231,216,.05));
}

.lsd-inline-cta strong {
  font-size: 1.1rem;
  letter-spacing: -.025em;
}

.lsd-inline-cta p {
  margin: 7px 0 0;
  color: #526579;
  line-height: 1.6;
  max-width: 60ch;
}

.lsd-inline-cta .cp-btn { flex: none; }

/* ---------- fit ---------- */
.lsd-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 36px;
}

.lsd-fit {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--cp-line);
  background: #fff;
}

.lsd-fit h3 {
  margin: 12px 0 0;
  font-size: 1.2rem;
  letter-spacing: -.028em;
}

.lsd-fit p {
  color: #607286;
  line-height: 1.6;
}

.lsd-fit--dark {
  color: #fff;
  border-color: rgba(110,231,216,.18);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(22,184,217,.18), transparent 60%),
    linear-gradient(150deg, #07111f, #10243d);
}

.lsd-fit--dark p { color: rgba(236,248,250,.72); }
.lsd-fit--dark .cp-kicker { color: var(--cpx-mint); }
.lsd-fit--dark .cp-actions { margin-top: auto; padding-top: 22px; }

/* ---------- closing callout ----------
   cp-section--dark is solid ink and cp-callout is an ink->navy gradient, so
   the panel had almost no edge against its own section. The section now sits
   deeper than the panel, and the panel is lifted with a mint hairline, an
   inset highlight, and a real shadow so it reads as an object on a surface. */
.lsd-close {
  background:
    radial-gradient(60% 80% at 8% 100%, rgba(22,184,217,.1), transparent 60%),
    #040a13;
}

.lsd-close .cp-callout {
  padding: 46px;
  border: 1px solid rgba(110,231,216,.22);
  border-radius: 28px;
  background:
    radial-gradient(72% 100% at 100% 0%, rgba(22,184,217,.22), transparent 58%),
    linear-gradient(140deg, #0e2b42, #0a1727);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 34px 70px rgba(0,0,0,.42);
}

.lsd-close .cp-kicker { color: var(--cpx-mint); }

.lsd-close .cp-title {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  max-width: 22ch;
}

/* Keep the CTA on one line — as a flex child it was shrinking and wrapping. */
.lsd-close .cp-btn--gold {
  flex: none;
  white-space: nowrap;
  min-height: 54px;
  padding: 0 28px;
}

@media (max-width: 820px) {
  .lsd-close .cp-callout { padding: 32px; }
  .lsd-close .cp-btn--gold { white-space: normal; text-align: center; }
}

/* ---------- FAQ: hairline list, not cards ---------- */
.lsd-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  column-gap: 52px;
  margin-top: 34px;
  border-top: 1px solid var(--cp-line);
}

.lsd-faq {
  padding: 26px 0;
  border-bottom: 1px solid var(--cp-line);
}

.lsd-faq h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--cp-ink);
}

.lsd-faq p {
  margin: 10px 0 0;
  color: #607286;
  font-size: 15px;
  line-height: 1.62;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .lsd-lenses { grid-template-columns: 1fr 1fr; }
  .lsd-lens:nth-child(odd) { padding-left: 0; }
  .lsd-lens:nth-child(even) { padding-right: 0; }
  .lsd-lens:nth-child(2) { border-right: none; }
  .lsd-lens:nth-child(n+3) { border-top: 1px solid var(--cp-line); }
  .lsd-process { grid-template-columns: 1fr 1fr; }
  .lsd-fit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .lsd-contrast { grid-template-columns: 1fr; }
  .lsd-faq-grid { grid-template-columns: 1fr; column-gap: 0; }
  .lsd-inline-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .lsd-lenses { grid-template-columns: 1fr; }
  .lsd-lens { border-right: none; padding-left: 0; padding-right: 0; }
  .lsd-lens + .lsd-lens { border-top: 1px solid var(--cp-line); }
  .lsd-process { grid-template-columns: 1fr; }
}
