/* Кейс с живым демо: вход по ролям, вопросы. Один селектор — одна строка. */
.cs-demo{margin-top:clamp(40px,6vw,72px);padding:clamp(24px,4vw,48px);border:1px solid var(--line);border-radius:28px;background:var(--bg-2);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(24px,4vw,56px);align-items:center}
.cs-demo-head p:last-child{margin:14px 0 0;color:var(--text-2)}
.cs-demo-roles{display:grid;gap:14px}
.cs-role{position:relative;display:grid;gap:4px;padding:20px 64px 20px 22px;border-radius:20px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line);color:var(--text);text-decoration:none;transition:box-shadow .3s ease-out,transform .3s ease-out}
.cs-role b{font:700 19px/1.25 var(--display)}
.cs-role span{font-size:15px;line-height:1.4;color:var(--text-2)}
.cs-role i{position:absolute;right:20px;top:50%;width:34px;height:34px;margin-top:-17px;display:grid;place-items:center;border-radius:50%;background:var(--cyan);color:var(--ink);transition:transform .3s ease-out}
.cs-role .ico{width:16px;height:16px}
.cs-role:hover{box-shadow:inset 0 0 0 1.5px var(--text);transform:translateY(-2px)}
.cs-role:hover i{transform:translateX(3px)}
.cs-role:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.cs-demo-tip{grid-column:1/-1;margin:0;font-size:15px;color:var(--text-3)}
.cs-faq{margin-top:clamp(40px,6vw,72px)}
.cs-faq .h2{margin-bottom:24px}
.prose.cs-more{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(32px,5vw,72px)}
.cs-b{min-width:0;margin-top:0!important}
.cs-b>h2{margin-top:1.4em}
.cs-b>*+*{margin-top:1em}
.cs-b-wide{grid-column:1/-1}
.cs-more table{margin:20px 0}
.cs-more th,.cs-more td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.cs-more th{color:var(--text);font-weight:700}
@media (max-width:860px){.prose.cs-more{grid-template-columns:minmax(0,1fr)}.cs-demo{grid-template-columns:minmax(0,1fr);border-radius:22px}.cs-role{padding:18px 58px 18px 18px}}
@media (min-width:641px){.cs-more table{display:table;overflow:visible}.cs-more th,.cs-more td{min-width:0}}
@media (max-width:640px){.cs-more table,.cs-more tbody,.cs-more tr,.cs-more td{display:block;width:100%;overflow:visible}.cs-more thead{display:none}.cs-more tr{padding:14px 16px;margin-top:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.cs-more td{min-width:0;padding:4px 0;border:0;font-size:15px}.cs-more td:first-child{color:var(--text);font-weight:700;font-size:16px}.cs-more td:first-child::before{content:none}.cs-more td[data-l]::before{content:attr(data-l) ": ";color:var(--text-3)}}
@media (prefers-reduced-motion:reduce){.cs-role,.cs-role i{transition:none}.cs-role:hover{transform:none}.cs-role:hover i{transform:none}}
