/* /modcheck: новый вид (чёрный + жёлтый). Подключается ПОСЛЕ modcheck.css. */
:root { interpolate-size: allow-keywords; }
.modcheck { max-width: 1184px; }

/* ---------- Шапка ---------- */
.mc-hero { position: relative; display: grid; grid-template-columns: 1fr minmax(280px, 460px); align-items: end; gap: 28px 56px; margin: 8px 0 32px; padding: 8px 0 28px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; background: none; }
.mc-hero::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 3px; background: #f5c518; }
.mc-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 800 12px/1 Rubik, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: #f5c518; }
.mc-eyebrow::before { content: ""; width: 28px; height: 2px; background: #f5c518; }
.mc-hero h1 { margin: 16px 0 0; font: 800 clamp(40px, 5.6vw, 76px)/.98 Rubik, sans-serif; letter-spacing: -.02em; }
.mc-hero h1 span { color: #f5c518; text-shadow: 1px 1px 0 #c9a010, 2px 2px 0 #a88308, 3px 3px 0 #8a6a08, 4px 4px 0 #6b5206; }
.mc-lead { max-width: 460px; margin: 0; font-size: 15px; line-height: 1.7; color: #a9afad; }
.mc-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mc-legend span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #cfd3d1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.mc-legend i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 800 14px/1 Rubik, sans-serif; font-style: normal; }
.mc-legend .ok i { background: rgba(74,222,128,.16); color: #4ade80; } .mc-legend .bad i { background: rgba(255,107,107,.16); color: #ff6b6b; } .mc-legend .unk i { background: rgba(251,191,36,.16); color: #fbbf24; }

/* ---------- Зона загрузки ---------- */
.mc-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 320px; padding: 48px 24px; border: 2px dashed rgba(245,197,24,.32); border-radius: 22px; color: #eef0ef;
  background: radial-gradient(620px 260px at 50% 0, rgba(245,197,24,.1), transparent 70%), #121413; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.mc-drop:hover, .mc-drop:focus-visible { border-color: #f5c518; background: radial-gradient(620px 260px at 50% 0, rgba(245,197,24,.16), transparent 70%), #151816; outline: none; }
.mc-drop.over { border-style: solid; border-color: #f5c518; transform: scale(1.01); box-shadow: 0 0 0 6px rgba(245,197,24,.12), 0 24px 70px rgba(245,197,24,.16); }
.mc-drop-ico { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 12px; border-radius: 18px; color: #1a1507; background: linear-gradient(180deg, #ffd84d, #f5c518); box-shadow: 0 12px 30px rgba(245,197,24,.3), inset 0 -3px 0 rgba(0,0,0,.18); transition: transform .25s ease; }
.mc-drop:hover .mc-drop-ico, .mc-drop.over .mc-drop-ico { transform: translateY(-4px); }
.mc-drop svg { margin: 0; opacity: 1; }
.mc-drop-title { font: 800 clamp(22px, 2.4vw, 30px)/1.15 Rubik, sans-serif; letter-spacing: -.01em; }
.mc-drop-sub { max-width: 560px; font-size: 14px; line-height: 1.6; color: #9da3a1; }
.mc-drop-btn { margin-top: 18px; display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 14px; color: #eef0ef; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18); transition: border-color .2s, color .2s; }
.mc-drop:hover .mc-drop-btn { border-color: #f5c518; color: #f5c518; }
.mc-limits { margin: 14px 0 26px; }

/* ---------- Результаты ---------- */
.mc-row { position: relative; border-radius: 14px; padding: 16px 18px; background: #131514; border: 1px solid rgba(255,255,255,.08); }
.mc-row::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: rgba(255,255,255,.14); }
.mc-row.ok::before { background: #4ade80; } .mc-row.bad::before { background: #ff6b6b; } .mc-row.unk::before { background: #fbbf24; }
.mc-row.ok, .mc-row.bad, .mc-row.unk { border-color: rgba(255,255,255,.09); }
.mc-badge { border-radius: 10px; }
.mc-pill.on { border-color: #f5c518; }

/* ---------- FAQ: нумерованный список без карточек, плавное раскрытие ---------- */
.mc-faq { margin-top: 72px; counter-reset: q; }
.mc-faq h2 { margin: 0 0 22px; font: 800 clamp(28px, 3.4vw, 44px)/1 Rubik, sans-serif; letter-spacing: -.02em; }
.mc-q { counter-increment: q; margin: 0; border: 0; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0; background: none !important; }
.mc-q:last-of-type { border-bottom: 1px solid rgba(255,255,255,.1); }
.mc-q summary { display: flex; align-items: center; gap: 22px; padding: 22px 56px 22px 0; font: 600 18px/1.35 Inter, sans-serif; color: #e6e9e7; }
.mc-q summary::before { content: counter(q, decimal-leading-zero); flex: none; width: 34px; font: 800 14px/1 Rubik, sans-serif; letter-spacing: .08em; color: #6f7573; transition: color .2s; }
.mc-q summary::after { right: 4px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); font-size: 20px; line-height: 1; color: #f5c518; transition: transform .3s ease, background .2s, border-color .2s; }
.mc-q summary:hover { color: #fff; } .mc-q summary:hover::before, .mc-q[open] summary::before { color: #f5c518; }
.mc-q summary:hover::after { border-color: #f5c518; }
.mc-q[open] summary::after { background: rgba(245,197,24,.12); border-color: #f5c518; }
.mc-q > div { padding: 0 56px 26px 56px; font-size: 15px; line-height: 1.75; color: #aab0ae; }
.mc-q::details-content { block-size: 0; overflow: hidden; transition: block-size .32s ease, content-visibility .32s allow-discrete; }
.mc-q[open]::details-content { block-size: auto; }

@media (max-width: 860px) { .mc-hero { grid-template-columns: 1fr; } .mc-q > div { padding-left: 0; padding-right: 0; } .mc-q summary { font-size: 16px; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .mc-q::details-content, .mc-drop, .mc-drop-ico { transition: none; } }
