/* =====================================================
   ПЕРВЫЙ ЭКРАН СТРАНИЦ УСЛУГ (CYBERID)
   Слева логотип услуги, заголовок, кнопки и плашки,
   справа тёмная карточка с анимированной иллюстрацией.
   Подключается после site.css и blog.css.
===================================================== */

/* ---------- первый экран ---------- */
.chero { padding-bottom: 40px; }
.chero__text { min-width: 0; }
.chero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.chero__logo { height: 34px; width: auto; margin-bottom: 20px; }
.chero__kicker { margin: 0 0 16px; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent-text); text-transform: uppercase; }
.chero__title { text-wrap: balance; margin: 0 0 24px; font-size: 52px; line-height: 56px; letter-spacing: -0.04em; }
.chero__lead { margin: 0 0 32px; font-size: 17px; line-height: 27px; }
.chero .hero__actions { justify-content: flex-start; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,0.75); box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 14px; line-height: 20px; font-weight: 600; }
.badge svg { width: 18px; height: 18px; color: var(--accent-text); }

/* живая иллюстрация проверки */
.scan-stage { perspective: none; }
.scan { border-radius: var(--r-panel); padding: 28px; transform: none; transform-origin: 70% 50%; transition: transform 0.9s var(--ease); box-shadow: inset 0 0 0 1px rgba(108,196,255,0.22), var(--shadow-lg); }
.scan-stage:hover .scan { transform: none; }
.scan__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.scan__title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; }
.scan__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--accent-text-on-brand); }
.scan__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue); animation: blink 1.4s ease-in-out infinite; }
.scan__inn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); margin-bottom: 18px; }
.scan__label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-on-brand-muted); }
.scan__inn b { font-family: var(--mono); font-size: 20px; line-height: 24px; letter-spacing: 0.08em; color: #FFFFFF; }
.scan__caret { width: 2px; height: 20px; background: var(--brand-blue); animation: blink 1s steps(2) infinite; }
.scan__groups { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.scan__groups li { display: grid; grid-template-columns: minmax(0, 1fr) 74px 40px; gap: 12px; align-items: center; font-size: 13px; line-height: 18px; color: var(--ink-on-brand-muted); }
.scan__groups li.is-done { color: #FFFFFF; }
.scan__groups i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.scan__groups em { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--accent-text-on-brand), var(--brand-blue)); transition: width 0.7s var(--ease); }
.scan__groups b { text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-on-brand-muted); }
.scan__groups li.is-done b { color: var(--accent-text-on-brand); }
.scan__feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-height: 252px; }
.scan__feed li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); animation: rowIn 0.5s var(--ease); }
.scan__feed span { min-width: 0; }
.scan__feed b { display: block; font-size: 14px; line-height: 19px; font-weight: 600; color: #FFFFFF; }
.scan__feed small { display: block; font-size: 12px; line-height: 16px; color: var(--ink-on-brand-muted); }
.scan__verdict { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px; border-radius: 14px; background: rgba(23,162,248,0.16); box-shadow: inset 0 0 0 1px rgba(108,196,255,0.45); animation: rowIn 0.6s var(--ease); }
.scan__verdict { opacity: 0; visibility: hidden; transition: opacity 0.4s ease; }
.scan__verdict.is-on { opacity: 1; visibility: visible; }
.scan__verdict-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand-blue); color: var(--brand-navy); }
.scan__verdict-icon svg { width: 22px; height: 22px; }
.scan__verdict b { display: block; font-size: 15px; line-height: 20px; }
.scan__verdict small { display: block; font-size: 12px; line-height: 17px; color: var(--ink-on-brand-muted); }
.scan__caption { margin: 16px 0 0; font-size: 12px; line-height: 16px; color: var(--ink-on-brand-muted); text-align: center; }

@media (max-width: 1100px) {
  .chero__grid { grid-template-columns: 1fr; gap: 44px; }
  .chero__title { font-size: 48px; line-height: 52px; }
  .scan { transform: none; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .chero__logo { height: 26px; }
  .chero__title { font-size: 32px; line-height: 38px; }
  .chero__lead { font-size: 16px; line-height: 25px; }
  .chero .hero__actions .btn { width: 100%; }
  .scan { padding: 18px; border-radius: 20px; }
  .scan__groups li { grid-template-columns: minmax(0, 1fr) 54px 36px; font-size: 12px; }
  .scan__feed { min-height: 264px; }
}

/* кнопка «Скопировать адрес почты» на светлом фоне */
.chero .copymail { margin: 16px 0 0; padding: 8px 14px; border-radius: var(--r-pill); }
.copymail.copymail--light { background: var(--surface-sunken); color: var(--ink); }
.copymail.copymail--light:hover { background: var(--accent-soft); color: var(--accent-text); }
