/* How it works, round 20 (Nov 7, 2026): the $1,000 Practice Needs Assessment model. Previous page: archive/pre-assessment-how-it-works_2026-11-07/ */
@media (min-width: 900px) {
  .head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: end; }
  .head--split .lede { margin-top: 0; }
}

/* How it starts: three steps on one line */
.st3 { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.st3__step { position: relative; padding: 28px 24px 26px; border-radius: 20px; background: #F4F6F2; box-shadow: inset 0 0 0 1px rgba(33, 61, 51, 0.08); }
.st3__step h3 { margin: 18px 0 8px; color: var(--pine-ink); }
.st3__step p { margin: 0; color: var(--muted-light); line-height: 1.55; }
.st3__step p b { color: var(--pine-ink); font-weight: 700; }
.st3__ring { display: block; width: 26px; height: 26px; border-radius: 50%; border: 6px solid var(--sage-light); background: #fff; }
.st3__step--key { background: var(--pine); box-shadow: 0 30px 60px -34px rgba(15, 30, 24, 0.6); }
.st3__step--key h3, .st3__step--key p b { color: #fff; }
.st3__step--key p { color: #DCE6D3; }
.st3__step--key .st3__ring { border-color: #fff; background: var(--pine); box-shadow: 0 0 18px rgba(220, 238, 205, 0.45); }
@media (min-width: 900px) {
  .st3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .st3__step::after { content: ""; position: absolute; top: 40px; right: -21px; width: 22px; height: 3px; border-radius: 2px; background: var(--sage-light); }
  .st3__step:last-child::after { display: none; }
}

/* Route stations: plain rings, no call letters or numbers */
.sp__stop .rt__ring:empty::after { content: ""; width: 30%; height: 30%; border-radius: 50%; background: currentColor; }

/* v2 (Edd, Nov 7): motion on How it starts. Cards rise in turn, connectors draw across, the key ring keeps a soft pulse. */
.st3__step { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease; }
.st3__step:hover { transform: translateY(-4px); }
.st3__step--key:hover { box-shadow: 0 36px 70px -34px rgba(15, 30, 24, 0.7); }
.st3:not(.is-in) .st3__step { opacity: 0; transform: translateY(28px); }
.st3.is-in .st3__step { animation: st3-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.st3.is-in .st3__step:nth-child(2) { animation-delay: 0.35s; }
.st3.is-in .st3__step:nth-child(3) { animation-delay: 0.7s; }
@keyframes st3-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.st3__ring { transform: scale(0); }
.st3.is-in .st3__ring { animation: st3-pop 0.5s cubic-bezier(0.34, 1.5, 0.5, 1) both; }
.st3.is-in .st3__step:nth-child(1) .st3__ring { animation-delay: 0.3s; }
.st3.is-in .st3__step:nth-child(2) .st3__ring { animation: st3-pop 0.5s cubic-bezier(0.34, 1.5, 0.5, 1) 0.65s both, st3-pulse 2.4s ease-in-out 1.4s infinite; }
.st3.is-in .st3__step:nth-child(3) .st3__ring { animation-delay: 1s; }
@keyframes st3-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes st3-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 238, 205, 0.55), 0 0 18px rgba(220, 238, 205, 0.45); } 50% { box-shadow: 0 0 0 10px rgba(220, 238, 205, 0), 0 0 22px rgba(220, 238, 205, 0.6); } }
@media (min-width: 900px) {
  .st3__step::after { transform: scaleX(0); transform-origin: left center; }
  .st3.is-in .st3__step::after { animation: st3-draw 0.45s ease-out both; }
  .st3.is-in .st3__step:nth-child(1)::after { animation-delay: 0.5s; }
  .st3.is-in .st3__step:nth-child(2)::after { animation-delay: 0.85s; }
}
@keyframes st3-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .st3 .st3__step, .st3 .st3__ring, .st3 .st3__step::after { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Scorecard motion (Nov 10) */
.hc { position: relative; overflow: hidden; }
.hc__tally { margin-top: 14px; }
.hc__bar { display: flex; gap: 4px; height: 8px; }
.hc__seg { flex: var(--w) 1 0; border-radius: 999px; transform-origin: left; }
.hc__seg--solid { background: var(--sage); }
.hc__seg--weak { background: linear-gradient(90deg, var(--sage) 50%, rgba(144, 167, 126, 0.35) 50%); background-size: 8px 100%; }
.hc__seg--missing { box-shadow: inset 0 0 0 2px rgba(228, 235, 230, 0.55); }
.hc__tally p { display: flex; gap: 16px; margin: 8px 0 0; font: 600 0.8125rem/1.3 var(--wayfinding); color: var(--ink-soft); }
.hc__tally b { font-variant-numeric: tabular-nums; color: #fff; }
.hc li { flex-wrap: wrap; cursor: pointer; margin: 0 -10px; padding-inline: 10px; border-radius: 10px; transition: background 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); outline: none; }
.hc li:hover, .hc li:focus-visible, .hc li.is-open { background: rgba(255, 255, 255, 0.06); }
.hc li:focus-visible { box-shadow: inset 0 0 0 2px var(--sage); }
.hc__next { flex-basis: 100%; display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 0.8125rem; line-height: 1.45; color: #DCE6D3; transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s, margin 0.3s; }
.hc li:hover .hc__next, .hc li:focus-visible .hc__next, .hc li.is-open .hc__next { max-height: 3em; opacity: 1; margin-top: 6px; }
/* entrance: rows slide in, a scan line runs down, marks pop in as it passes, the bar fills */
.hc--armed li { opacity: 0; transform: translateX(-14px); }
.hc--armed li span:last-child { opacity: 0; }
.hc--armed li span:last-child::before { transform: scale(0); transition: transform 0.45s cubic-bezier(0.34, 1.8, 0.64, 1); }
.hc--armed .hc__seg { transform: scaleX(0); }
.hc--armed::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--sage-light, #B9CBA9), transparent); opacity: 0; pointer-events: none; }
.hc--armed.hc--in li { opacity: 1; transform: none; transition: opacity 0.5s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s; }
.hc--armed.hc--in li span:last-child { opacity: 1; transition: opacity 0.3s; }
.hc--armed.hc--in li span:last-child::before { transform: none; }
.hc--armed.hc--in .hc__seg { transform: none; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.hc--armed.hc--in .hc__seg--solid { transition-delay: 1.6s; }
.hc--armed.hc--in .hc__seg--weak { transition-delay: 1.75s; }
.hc--armed.hc--in .hc__seg--missing { transition-delay: 1.9s; }
.hc--armed.hc--in::after { animation: hc-scan 1.4s cubic-bezier(0.45, 0, 0.3, 1) 0.4s 1 both; }
@keyframes hc-scan { 0% { top: 15%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 88%; opacity: 0; } }
.hc--armed.hc--in li:nth-child(1) { transition-delay: 0.23s, 0.23s, 0s; } .hc--armed.hc--in li:nth-child(1) span:last-child, .hc--armed.hc--in li:nth-child(1) span:last-child::before { transition-delay: 0.58s; }
.hc--armed.hc--in li:nth-child(2) { transition-delay: 0.36s, 0.36s, 0s; } .hc--armed.hc--in li:nth-child(2) span:last-child, .hc--armed.hc--in li:nth-child(2) span:last-child::before { transition-delay: 0.71s; }
.hc--armed.hc--in li:nth-child(3) { transition-delay: 0.49s, 0.49s, 0s; } .hc--armed.hc--in li:nth-child(3) span:last-child, .hc--armed.hc--in li:nth-child(3) span:last-child::before { transition-delay: 0.84s; }
.hc--armed.hc--in li:nth-child(4) { transition-delay: 0.62s, 0.62s, 0s; } .hc--armed.hc--in li:nth-child(4) span:last-child, .hc--armed.hc--in li:nth-child(4) span:last-child::before { transition-delay: 0.97s; }
.hc--armed.hc--in li:nth-child(5) { transition-delay: 0.75s, 0.75s, 0s; } .hc--armed.hc--in li:nth-child(5) span:last-child, .hc--armed.hc--in li:nth-child(5) span:last-child::before { transition-delay: 1.10s; }
.hc--armed.hc--in li:nth-child(6) { transition-delay: 0.88s, 0.88s, 0s; } .hc--armed.hc--in li:nth-child(6) span:last-child, .hc--armed.hc--in li:nth-child(6) span:last-child::before { transition-delay: 1.23s; }
.hc--armed.hc--in li:nth-child(7) { transition-delay: 1.01s, 1.01s, 0s; } .hc--armed.hc--in li:nth-child(7) span:last-child, .hc--armed.hc--in li:nth-child(7) span:last-child::before { transition-delay: 1.36s; }
.hc--armed.hc--in li:nth-child(8) { transition-delay: 1.14s, 1.14s, 0s; } .hc--armed.hc--in li:nth-child(8) span:last-child, .hc--armed.hc--in li:nth-child(8) span:last-child::before { transition-delay: 1.49s; }
.hc--armed.hc--in li:hover, .hc--armed.hc--in li.is-open { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .hc__next { transition: none; } }
.hc__next { order: 3; }   /* first in the markup so the status stays span:last-child, shown last */

/* Nov 12 (Edd): make it obvious the rows open. A hint under the tally, a chevron on every row, and one row peeks open on its own. */
.hc__hint { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 7px 12px 7px 9px; border-radius: 999px; background: rgba(144, 167, 126, 0.2); box-shadow: inset 0 0 0 1px rgba(144, 167, 126, 0.45); font: 600 0.8125rem/1.2 var(--wayfinding); color: #fff; transition: opacity 0.4s; }
.hc__hint svg { width: 17px; height: 17px; fill: none; stroke: #DCE6D3; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc--armed .hc__hint { opacity: 0; }
.hc--armed.hc--in .hc__hint { opacity: 1; transition-delay: 2.2s; animation: hc-nudge 1.6s ease-in-out 2.6s 2; }
.hc--used .hc__hint { animation: none; }
@keyframes hc-nudge { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(144, 167, 126, 0.45), 0 0 0 0 rgba(144, 167, 126, 0.45); } 50% { box-shadow: inset 0 0 0 1px rgba(144, 167, 126, 0.8), 0 0 0 6px rgba(144, 167, 126, 0); } }
.hc ul { margin-top: 10px; }
.hc li::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 2px 3px -2px; border-right: 2px solid rgba(228, 235, 230, 0.6); border-bottom: 2px solid rgba(228, 235, 230, 0.6); transform: rotate(45deg); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s; }
.hc li:hover::after, .hc li.is-open::after { border-color: #fff; }
.hc li.is-open::after { transform: translateY(3px) rotate(-135deg); }
.hc li span:first-of-type { flex: 1; }
@media (hover: none) { .hc li:hover .hc__next { max-height: 0; opacity: 0; margin-top: 0; } .hc li.is-open .hc__next { max-height: 3em; opacity: 1; margin-top: 6px; } }
@media (prefers-reduced-motion: reduce) { .hc__hint { animation: none !important; } }
