/* VALUE_STACK (Gil, 2026-09-08): the two calculators run as a two-step
   funnel. Each page saves its outputs; this panel shows the stack on both
   pages and points to the step that is still missing. Lines: cash released
   once, factoring fees not paid per year, unbilled work recovered per year,
   admin waste recovered per year. The ROI billing-delay line stays on the
   ROI page only. */
.value-stack { max-width: 1200px; margin: 48px auto 0; padding: 0 5%; }
.value-stack-card { background: var(--navy-mid, #152236); border: 1px solid rgba(42,142,255,0.35); border-radius: 14px; padding: 26px 28px; box-shadow: 0 0 0 1px rgba(42,142,255,0.12), 0 24px 60px -30px rgba(42,142,255,0.55); }
.vs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.vs-head h2 { font-family: var(--font-display, 'Barlow Condensed', sans-serif); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; color: #FFFFFF; margin: 0; }
.vs-step { font-family: var(--font-display, 'Barlow Condensed', sans-serif); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--electric, #2A8EFF); }
.vs-rows { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,0.10); }
.vs-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.vs-row .vs-k { color: #FFFFFF; font-weight: 600; }
.vs-row .vs-s { display: block; color: var(--muted, #8CA3BE); font-size: 14px; margin-top: 2px; }
.vs-row .vs-v { font-family: var(--font-display, 'Barlow Condensed', sans-serif); font-size: 26px; font-weight: 800; color: #FFFFFF; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.vs-row.is-missing .vs-k { color: var(--muted, #8CA3BE); font-weight: 500; }
.vs-row.is-missing .vs-v { font-size: 15px; font-weight: 600; color: var(--electric, #2A8EFF); font-family: var(--font-body, 'Barlow', sans-serif); }
.vs-row.is-missing .vs-v a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(42,142,255,0.5); }
.vs-row.is-missing .vs-v a:hover { color: #FFFFFF; border-bottom-color: #FFFFFF; }
.vs-row.is-here .vs-v { color: var(--orange, #F26419); }
.vs-total { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 16px 0 4px; }
.vs-total .vs-k { font-family: var(--font-display, 'Barlow Condensed', sans-serif); font-size: 1.15rem; font-weight: 800; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.5px; }
.vs-total .vs-s { display: block; font-family: var(--font-body, 'Barlow', sans-serif); font-size: 14px; font-weight: 400; color: var(--muted, #8CA3BE); text-transform: none; letter-spacing: 0; margin-top: 2px; }
.vs-total .vs-v { font-family: var(--font-display, 'Barlow Condensed', sans-serif); font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; color: var(--orange, #F26419); font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.vs-total.is-partial .vs-v { color: #FFFFFF; }
.vs-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.10); }
.vs-foot p { margin: 0; color: var(--text-light, #C3D2E4); }
.vs-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vs-next { display: inline-block; padding: 12px 22px; border-radius: 6px; background: var(--electric, #2A8EFF); color: #FFFFFF !important; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px -10px rgba(42,142,255,0.9); transition: transform var(--tcs-dur-short, .25s) var(--tcs-ease-out), box-shadow var(--tcs-dur-short, .25s) var(--tcs-ease-out); }
.vs-next:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(42,142,255,1); }
.vs-next.is-fit { background: var(--orange, #F26419); box-shadow: 0 10px 28px -10px rgba(242,100,25,0.9); }
.vs-reset { background: none; border: 0; padding: 0; color: var(--muted, #8CA3BE); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.vs-reset:hover { color: #FFFFFF; }
.vs-row, .vs-total { transition: opacity var(--tcs-dur-mid, .45s) var(--tcs-ease-out), transform var(--tcs-dur-mid, .45s) var(--tcs-ease-out); }
.value-stack:not(.is-in) .vs-row, .value-stack:not(.is-in) .vs-total { opacity: 0; transform: translateY(14px); }
.value-stack.is-in .vs-row:nth-child(1) { transition-delay: .05s; } .value-stack.is-in .vs-row:nth-child(2) { transition-delay: .13s; }
.value-stack.is-in .vs-row:nth-child(3) { transition-delay: .21s; } .value-stack.is-in .vs-row:nth-child(4) { transition-delay: .29s; }
.value-stack.is-in .vs-total { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .value-stack:not(.is-in) .vs-row, .value-stack:not(.is-in) .vs-total { opacity: 1; transform: none; } .vs-row, .vs-total, .vs-next { transition: none; } }
@media (max-width: 640px) { .value-stack-card { padding: 20px 18px; } .vs-row .vs-v { font-size: 22px; } .vs-foot { flex-direction: column; align-items: flex-start; } }
