/* Карточки-кнопки и окно «кусочек интерфейса» */
[data-feature] { cursor: pointer; }
.card[data-feature] { padding-bottom: 64px; }
.card-hint { position: absolute; left: 26px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--accent); }
.card-hint svg { width: 18px; height: 18px; transition: transform .15s; }
[data-feature]:hover .card-hint svg, [data-feature]:focus-visible .card-hint svg { transform: translateX(4px); }
.more-item[data-feature] { transition: border-color .15s, background .15s; }
.more-item[data-feature]:hover, .more-item[data-feature]:focus-visible { border-color: var(--ink); background: var(--surface-2); }
.more-item .card-hint { position: static; margin-top: 10px; font-size: 14px; }

.fmodal { padding: 0; border: var(--bw) solid var(--ink); border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: 12px 12px 0 var(--accent); width: min(920px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; }
.fmodal::backdrop { background: rgba(8, 8, 7, .78); backdrop-filter: blur(3px); }
.fmodal[open] { animation: fm-in .22s ease-out; }
@keyframes fm-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.fm-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.fm-close:hover { background: var(--accent); color: var(--on-accent); }
.fm-body { display: grid; grid-template-columns: 330px 1fr; gap: 34px; padding: 34px; align-items: center; }
.fm-shot { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.fm-frame { position: relative; width: 100%; overflow: hidden; border-radius: 26px; border: 4px solid var(--ink); background: var(--bg); box-shadow: 8px 8px 0 var(--accent); }
.fm-frame img { width: 100%; height: auto; display: block; }
.fm-switch { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fm-switch button { padding: 7px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 600 14px/1 var(--f-text); cursor: pointer; }
.fm-switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.fm-info h3 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.fm-lead { color: var(--muted); margin: 0 0 18px; font-size: 18px; }
.fm-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.fm-points li { position: relative; padding: 12px 16px 12px 44px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg-2); font-weight: 500; }
.fm-points li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); border: 2px solid var(--ink); }
.fm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fm-actions .btn:not(.btn-primary) { min-width: 48px; padding: 0 16px; }
@media (max-width: 760px) {
  .fm-body { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px 24px; }
  .fm-shot { max-width: 250px; margin-inline: auto; }
  .fm-close { top: 10px; right: 10px; }
}
