/* Solutions page */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* long review markers must wrap on narrow screens */
main .rv { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---- overview: legend + index ---- */
.sol-overview { padding: 72px 0 120px; }
.legend { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 56px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.legend > div { padding: 18px 24px 18px 0; }
.legend > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.legend dt { margin: 0 0 4px; }
.legend dd { margin: 0; font-size: 14px; color: var(--text-3); }

.sol-index { border-top: 1px solid var(--rule); }
.sol-index .sol-row h3 a { text-decoration: none; color: inherit; }
.sol-index .sol-row h3 a:hover { color: var(--text-1); }
.sol-index .sol-row h3 a span { display: block; margin-top: 6px; font: 400 14px var(--sans); color: var(--text-3); }
.sol-index .sol-row.sub h3 { font-size: 24px; padding-left: 28px; position: relative; }
.sol-index .sol-row.sub h3::before { content: ""; position: absolute; left: 6px; top: -6px; width: 12px; height: 22px; border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sol-index .status-pill { justify-self: start; flex-wrap: wrap; white-space: normal; }

/* ---- detail sections ---- */
.sol-detail { padding: 120px 0; border-top: 1px solid var(--rule); scroll-margin-top: 68px; }
.sol-detail .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.sol-aside { position: sticky; top: 108px; }
.eyebrow { margin: 0 0 18px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sol-aside h2 { font-size: clamp(40px, 4.4vw, 60px); }
.sol-aside .sub { margin: 10px 0 22px; font-size: 18px; color: var(--text-2); }
.sol-aside .state { margin: 0 0 28px; }
.sol-aside .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sol-aside a.txt { font-size: 15px; color: var(--text-2); text-decoration: none; border-bottom: 1px solid #3a4352; padding-bottom: 2px; }
.sol-aside a.txt:hover { color: var(--text-1); border-color: var(--text-1); }

.spec { margin: 0; border-top: 1px solid var(--rule); }
.spec > div { display: grid; grid-template-columns: 3fr 9fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font: 500 14px/1.6 var(--sans); color: var(--text-1); }
.spec dd { margin: 0; font-size: 17px; }
.spec dd a { color: var(--rain); text-decoration: none; border-bottom: 1px solid rgba(126,176,227,.35); }
.spec dd a:hover { border-color: var(--rain); }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.points li { white-space: nowrap; }
.points li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--text-3); }

.aside-note { margin: 0 0 28px; padding-left: 16px; border-left: 1px solid var(--rain); font-size: 16px; color: var(--text-2); max-width: 60ch; }

/* planned: visibly quieter, no product UI */
.is-planned { background: transparent; }
.is-planned .sol-aside h2 { color: var(--text-2); }
.is-planned .sol-aside .sub { color: var(--text-3); }
.is-planned .spec dt { color: var(--text-2); font-weight: 400; }
.is-planned .spec dd { color: var(--text-3); font-size: 16px; }
.is-planned .spec dd a { color: var(--text-2); border-color: #3a4352; }

.phases { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; font-size: 14px; color: var(--text-3); counter-reset: ph; }
.phases li { display: flex; align-items: center; gap: 10px; white-space: nowrap; counter-increment: ph; }
.phases li::before { content: counter(ph); width: 22px; height: 22px; border: 1px dashed #3a4352; border-radius: 50%; display: grid; place-items: center; font: 500 11px var(--mono); }
.phases li:not(:last-child)::after { content: ""; width: 40px; border-top: 1px dashed #3a4352; margin: 0 14px 0 4px; }

/* procedure library fragment (core only) */
.lib { margin: 48px 0 0; background: var(--ink-2); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; max-width: 640px; }
.lib-bar { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--rule); font: 400 12px var(--mono); color: var(--text-3); }
.lib-bar span:first-child { color: var(--text-2); }
.lib ul { list-style: none; margin: 0; padding: 6px 0; }
.lib li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 16px; border-bottom: 1px solid #1b212b; font-size: 14px; color: var(--text-1); }
.lib li:last-child { border-bottom: 0; }
.lib .by { font: 400 12px var(--mono); color: var(--text-3); white-space: nowrap; }
.lib figcaption { padding: 12px 16px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--text-3); background: var(--ink-1); }

@media (max-width: 860px) {
  .sol-overview { padding: 48px 0 80px; }
  .legend { grid-template-columns: 1fr; }
  .legend > div, .legend > div + div { padding: 14px 0; border-left: 0; }
  .legend > div + div { border-top: 1px solid var(--rule); }
  .sol-index .sol-row.sub h3 { font-size: 26px; }
  .sol-detail { padding: 80px 0; }
  .sol-detail .wrap { grid-template-columns: 1fr; gap: 36px; }
  .sol-aside { position: static; }
  .spec > div { grid-template-columns: 1fr; gap: 6px; }
  .points li { white-space: normal; }
  .phases { flex-direction: column; align-items: flex-start; gap: 12px; }
  .phases li:not(:last-child)::after { display: none; }
  .lib li { flex-direction: column; gap: 2px; }
  .close h2 { font-size: clamp(44px, 12vw, 64px); }
}
