/* ============================================================
   CHAPTER-UPDATES.CSS — стили главы 23 «Уязвимости софта и обновления»
   База от remote (incident, врезки, attack-chain, problem-grid, setup-grid).
   Добавлено: vuln-timeline (окно опасности), scope-grid (что обновлять).
   ============================================================ */

/* ==================== СЕТКИ ==================== */
.incidents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.incidents-grid .incident-card.is-wide { grid-column: 1 / -1; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.features-grid .feature-card.is-wide { grid-column: 1 / -1; }

/* ==================== КАРТОЧКИ-ОШИБКИ (incident-card, светлая) ==================== */
.incident-card {
  background: #fff8f6;
  border: 1px solid #f3d6cf;
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.incident-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff5c4d 0%, #ff8a5c 100%);
}
.incident-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 3px;
  margin-bottom: 24px;
  background: #c44a3a;
  color: #fff;
}
.incident-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--text-light);
}
.incident-card h3 em {
  font-style: normal;
  font-weight: 500;
  color: #c44a3a;
}
.incident-card .incident-symptom {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-light-muted);
  margin: 0 0 20px;
}
.incident-card .incident-symptom strong { color: var(--text-light); font-weight: 600; }
.incident-card .incident-symptom:last-of-type { margin-bottom: 0; }
.incident-card .incident-resolution {
  border-top: 1px dashed #e9b8ad;
  padding-top: 16px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}
.incident-card .incident-resolution strong {
  color: #2d8a5f;
  font-weight: 600;
}

/* ==================== КАРТОЧКИ-РЕШЕНИЯ (feature-card, светлая) ==================== */
.feature-card {
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color .25s, transform .25s;
  position: relative;
}
.feature-card:hover {
  border-color: var(--border-light-hover);
  transform: translateY(-2px);
}
.feature-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}
.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(75, 63, 217, 0.08) 0%, rgba(151, 71, 255, 0.08) 100%);
  border: 1px solid rgba(75, 63, 217, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--indigo, #4b3fd9);
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  padding: 16px;
  box-sizing: border-box;
}
.feature-head-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
}
.feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--indigo, #4b3fd9);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.feature-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  color: var(--text-light);
}
.feature-card h3 em {
  font-style: normal;
  font-weight: 500;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light-muted);
  margin: 0;
}
.feature-card p + p { margin-top: 12px; }
.feature-card p strong { color: var(--text-light); font-weight: 600; }
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.feature-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--border-light-hover);
  border-radius: 100px;
  color: var(--text-light-muted);
}

/* ==================== КАРТОЧКИ-ПЛАТФОРМЫ (на чём поднимать файловый сервер) ==================== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.platform-card.is-pick {
  border-color: rgba(75, 63, 217, 0.4);
  box-shadow: 0 8px 30px rgba(75, 63, 217, 0.1);
}
.platform-tag {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light-muted);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 4px 12px;
}
.platform-tag.is-pick {
  color: #fff;
  background: var(--gradient);
  border: none;
}
.platform-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text-light);
}
.platform-card.is-pick .platform-name { color: var(--indigo, #4b3fd9); }
.platform-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light-muted);
}
.platform-body strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 860px) {
  .platform-grid { grid-template-columns: 1fr; }
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 820px) {
  .incidents-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .incidents-grid .incident-card.is-wide,
  .features-grid .feature-card.is-wide { grid-column: auto; }
  .incident-card { padding: 28px 24px; }
  .feature-card { padding: 28px 24px; }
  .feature-head { gap: 14px; margin-bottom: 18px; }
  .feature-icon { width: 56px; height: 56px; }
  .feature-head-text { min-height: 56px; }
  .feature-card h3, .incident-card h3 { font-size: 19px; }
}


/* ==================== ВРЕЗКА «3 ВОПРОСА» (тёмная секция) ==================== */
.q3-callout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.q3-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.q3-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.q3-q {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #fff;
}
.q3-desc { font-size: 14px; line-height: 1.6; color: var(--text-dark); }
.q3-desc strong { color: #fff; font-weight: 600; }
@media (max-width: 820px) { .q3-callout { grid-template-columns: 1fr; gap: 14px; } }

/* ==================== КАРТОЧКИ ВЫБОРА СЕРВЕРА (приоритеты) ==================== */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.srv-card {
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.srv-card.is-top { border-color: rgba(75,63,217,0.4); box-shadow: 0 8px 30px rgba(75,63,217,0.1); }
.srv-rank {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo, #4b3fd9);
}
.srv-head { display: flex; align-items: center; gap: 14px; }
.srv-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.srv-icon svg { width: 26px; height: 26px; }
.srv-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-light);
}
.srv-body { font-size: 14px; line-height: 1.65; color: var(--text-light-muted); }
.srv-body strong { color: var(--text-light); font-weight: 600; }
.srv-note {
  margin-top: 4px;
  padding: 12px 14px;
  background: rgba(151,71,255,0.06);
  border-left: 3px solid #9747FF;
  border-radius: 6px;
  font-size: 13px; line-height: 1.55; color: var(--text-light);
}
.srv-note strong { font-weight: 600; }
@media (max-width: 860px) { .srv-grid { grid-template-columns: 1fr; } }

/* ==================== ЭКСПЛУАТАЦИЯ: карточки практик + чек-лист ==================== */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.ops-card {
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ops-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ops-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.ops-icon svg { width: 24px; height: 24px; }
.ops-card-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-light); line-height: 1.25;
}
.ops-card-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
.ops-card-body strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 760px) { .ops-grid { grid-template-columns: 1fr; } }

/* Чек-лист админа (тёмная секция) — 3 колонки по периодичности */
.checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.check-col {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 24px 22px;
}
.check-col-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet-light, #b9adff);
  margin-bottom: 14px;
}
.check-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-col li {
  position: relative; padding-left: 24px;
  font-size: 14px; line-height: 1.5; color: var(--text-dark);
}
.check-col li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 12px; height: 7px;
  border-left: 2px solid #6ee7a8; border-bottom: 2px solid #6ee7a8;
  transform: rotate(-45deg);
}
@media (max-width: 820px) { .checklist { grid-template-columns: 1fr; } }

/* ==================== СЕКЦИЯ ПРАВИЛЬНЫХ НАСТРОЕК (tune) ==================== */
.tune-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.tune-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.tune-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.tune-icon svg { width: 24px; height: 24px; }
.tune-text { display: flex; flex-direction: column; gap: 5px; }
.tune-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-light); line-height: 1.3;
}
.tune-desc { font-size: 14px; line-height: 1.55; color: var(--text-light-muted); }
.tune-desc strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 760px) { .tune-grid { grid-template-columns: 1fr; } }

/* ==================== КАРТОЧКИ ВАРИАНТОВ РАЗМЕЩЕНИЯ (плюсы/минусы) ==================== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.store-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.store-card.is-top { border-color: rgba(75,63,217,0.4); box-shadow: 0 8px 30px rgba(75,63,217,0.1); }
.store-card-head { display: flex; align-items: center; gap: 14px; }
.store-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.store-icon svg { width: 24px; height: 24px; }
.store-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.25; color: var(--text-light);
}
.store-rec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--indigo, #4b3fd9); margin-bottom: -4px;
}
.store-proscons { display: flex; flex-direction: column; gap: 10px; }
.store-line {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  font-size: 14px; line-height: 1.55; color: var(--text-light-muted);
}
.store-line .store-mark { font-family: 'JetBrains Mono', monospace; font-weight: 700; line-height: 1.4; }
.store-line.is-pro .store-mark { color: #2d8a5f; }
.store-line.is-con .store-mark { color: #c44a3a; }
.store-line strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 760px) { .store-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ==================== ВРЕЗКА-АКЦЕНТ «ПОЧТА ПРИНАДЛЕЖИТ КОМПАНИИ» ==================== */
.own-callout {
  max-width: 900px;
  margin: 0;
  padding: 4px 0 0;
}
.own-lead {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 24px;
}
.own-lead em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.own-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.own-point {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 18px 20px;
}
.own-point-icon {
  width: 28px; height: 28px; color: var(--violet, #9747ff);
  display: flex; align-items: center; justify-content: center;
}
.own-point-icon svg { width: 22px; height: 22px; }
.own-point-text { font-size: 14px; line-height: 1.55; color: var(--text-dark); }
.own-point-text strong { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .own-points { grid-template-columns: 1fr; } }

/* ==================== БЛОК БЕЗОПАСНОСТИ (на тёмной секции) ==================== */
.sec-list { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin: 8px 0 0; }
.sec-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  padding: 20px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}
.sec-num {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 600;
  background: linear-gradient(135deg, rgba(75,63,217,0.18), rgba(151,71,255,0.18));
  border: 1px solid rgba(151,71,255,0.3);
  color: #fff; flex-shrink: 0;
}
.sec-text { font-size: 15px; line-height: 1.6; color: var(--text-dark); padding-top: 7px; }
.sec-text strong { color: #fff; font-weight: 600; }

/* ==================== ДВЕ КАРТОЧКИ: ДЕЛЕГИРОВАНИЕ / ПЕРЕСЫЛКА ==================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 8px 0 24px;
}
.method-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.method-head { display: flex; align-items: center; gap: 14px; }
.method-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.method-icon svg { width: 25px; height: 25px; }
.method-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.25; color: var(--text-light);
}
.method-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--indigo, #4b3fd9);
}
.method-body { font-size: 14px; line-height: 1.65; color: var(--text-light-muted); }
.method-body strong { color: var(--text-light); font-weight: 600; }
.method-when {
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(75,63,217,0.05);
  border-left: 3px solid var(--violet, #9747ff);
  border-radius: 6px;
  font-size: 13px; line-height: 1.5; color: var(--text-light);
}
.method-when strong { font-weight: 600; }
@media (max-width: 760px) { .method-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ==================== РЕЙТИНГ АНТИВИРУСОВ ==================== */
.av-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.av-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  position: relative;
}
.av-card.is-rec { border-color: rgba(75,63,217,0.4); box-shadow: 0 8px 30px rgba(75,63,217,0.1); }
.av-card.is-bad { border-color: rgba(196,74,58,0.35); }
.av-badge {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.av-badge.rec { background: rgba(75,63,217,0.1); color: var(--indigo, #4b3fd9); }
.av-badge.ok  { background: rgba(90,90,112,0.1); color: var(--text-light-muted); }
.av-badge.bad { background: rgba(196,74,58,0.1); color: #c44a3a; }
.av-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.2; color: var(--text-light);
}
.av-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
.av-body strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 860px) { .av-grid { grid-template-columns: 1fr; } }

/* ==================== СЛОИ ЗАЩИТЫ (тёмная секция) ==================== */
.layer-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 8px 0 0; }
.layer-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}
.layer-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.18), rgba(151,71,255,0.18));
  border: 1px solid rgba(151,71,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-light, #b77aff); flex-shrink: 0;
}
.layer-icon svg { width: 22px; height: 22px; }
.layer-text { font-size: 15px; line-height: 1.55; color: var(--text-dark); padding-top: 3px; }
.layer-text strong { color: #fff; font-weight: 600; }
.layer-item.is-accent {
  background: linear-gradient(135deg, rgba(75,63,217,0.14), rgba(151,71,255,0.14));
  border-color: rgba(151,71,255,0.4);
}

/* ==================== ГОНКА ВООРУЖЕНИЙ (цикл обхода) ==================== */
.race-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 36px 0;
}
.race-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 22px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.race-side {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; flex-shrink: 0; margin-top: 2px;
}
.race-side.def { background: rgba(75,63,217,0.1); color: var(--indigo, #4b3fd9); }
.race-side.atk { background: rgba(196,74,58,0.1); color: #c44a3a; }
.race-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
.race-body strong { color: var(--text-light); font-weight: 600; }
/* race-note больше не используется как отдельный блок */
@media (max-width: 720px) { .race-grid { grid-template-columns: 1fr; } }


/* ==================== COMPARE-GRID в главе: чуть шире текста, по центру ==================== */
.av-compare-wrap { max-width: 860px; margin: 36px 0; }
.av-compare-wrap .compare-grid { margin: 0; gap: 20px; }

/* ==================== ГДЕ НУЖНА 2FA (карточки на тёмной секции) ==================== */
.tfa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 8px 0 0;
}
.tfa-item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}
.tfa-item-icon { width: 28px; height: 28px; color: var(--violet-light, #b77aff); }
.tfa-item-icon svg { width: 100%; height: 100%; }
.tfa-item-title { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 500; color: #fff; line-height: 1.3; }
.tfa-item-desc { font-size: 13px; line-height: 1.5; color: var(--text-dark); }
@media (max-width: 720px) { .tfa-grid { grid-template-columns: 1fr; } }

/* ==================== СПОСОБЫ ПРИДУМАТЬ ПАРОЛЬ (нумерованные блоки) ==================== */
.pw-ways { display: flex; flex-direction: column; gap: 16px; margin: 22px 0 24px; max-width: 760px; }
.pw-way {
  padding: 22px 24px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.pw-way-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pw-way-num {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, rgba(75,63,217,0.1), rgba(151,71,255,0.1));
  border: 1px solid rgba(75,63,217,0.2); color: var(--indigo, #4b3fd9);
}
.pw-way-title { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 500; color: var(--text-light); }
.pw-way-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
.pw-way-body strong { color: var(--text-light); font-weight: 600; }
.pw-example {
  display: inline-block; margin-top: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
  padding: 6px 12px; border-radius: 6px;
  background: rgba(75,63,217,0.06); color: var(--indigo, #4b3fd9);
  border: 1px solid rgba(75,63,217,0.15);
}

/* ==================== ШКАЛА: ВРЕМЯ ПОДБОРА ПАРОЛЯ ==================== */
.crack-scale {
  margin: 36px 0;
  padding: 32px 28px 24px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  max-width: 860px;
}
.crack-scale-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.crack-scale-head .cs-fast { color: #c44a3a; font-weight: 600; }
.crack-scale-head .cs-slow { color: #2e9e6b; font-weight: 600; }
.crack-scale-track {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #c44a3a 0%, #e08526 33%, #e0b81f 60%, #2e9e6b 100%);
  margin-bottom: 30px;
}
.crack-scale-marks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cs-mark { text-align: center; position: relative; }
.cs-mark::before {
  content: '';
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.cs-mark.cs-1::before { background: #c44a3a; }
.cs-mark.cs-2::before { background: #e08526; }
.cs-mark.cs-3::before { background: #e0b81f; }
.cs-mark.cs-4::before { background: #2e9e6b; }
.cs-mark-pw {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 600;
  color: var(--text-light); line-height: 1.2; margin-bottom: 4px;
  word-break: break-all;
}
.cs-mark-time {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px; font-weight: 500; line-height: 1.2; margin-bottom: 4px;
}
.cs-mark.cs-1 .cs-mark-time { color: #c44a3a; }
.cs-mark.cs-2 .cs-mark-time { color: #c46a1f; }
.cs-mark.cs-3 .cs-mark-time { color: #97781c; }
.cs-mark.cs-4 .cs-mark-time { color: #2f7d4a; }
.cs-mark-note { font-size: 11px; line-height: 1.35; color: var(--text-light-muted); }
.crack-note { max-width: 860px; margin: 24px 0 36px; font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
@media (max-width: 720px) {
  .crack-scale-marks { grid-template-columns: 1fr; gap: 0; }
  .crack-scale-track { display: none; }
  .cs-mark { text-align: left; padding: 12px 0 12px 26px; border-top: 1px solid var(--border-light); }
  .cs-mark::before { top: 16px; left: 4px; }
  .cs-mark:first-child { border-top: none; }
}

/* ==================== ЧЕК-ЛИСТ ПАРОЛЬНОЙ ПОЛИТИКИ ==================== */
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 860px; margin: 28px 0 36px; }
.policy-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: 12px;
  background: var(--bg-light-elevated, #fff); border: 1px solid var(--border-light);
}
.policy-check {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; margin-top: 1px;
  background: linear-gradient(135deg, rgba(75,63,217,0.1), rgba(151,71,255,0.1));
  border: 1px solid rgba(75,63,217,0.2);
  display: flex; align-items: center; justify-content: center; color: var(--indigo, #4b3fd9);
}
.policy-check svg { width: 15px; height: 15px; }
.policy-text { font-size: 14px; line-height: 1.55; color: var(--text-light); }
.policy-text strong { font-weight: 600; }
@media (max-width: 720px) { .policy-grid { grid-template-columns: 1fr; } }

/* ==================== VPN КАК ТРАНСПОРТ (туннель сверху, слои снизу) ==================== */
.vpn-stack { max-width: 720px; margin: 36px 0; }
.vpn-base {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(75,63,217,0.14), rgba(151,71,255,0.14));
  border: 1px solid rgba(75,63,217,0.3);
}
.vpn-base-icon { width: 30px; height: 30px; color: var(--indigo, #4b3fd9); flex-shrink: 0; }
.vpn-base-icon svg { width: 100%; height: 100%; }
.vpn-base-text { font-size: 15px; line-height: 1.45; color: var(--text-light); text-align: left; }
.vpn-base-text strong { font-family: 'Unbounded', sans-serif; font-weight: 500; }
.vpn-arrows {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 10px 0;
}
.vpn-arrow {
  text-align: center; color: var(--text-light-muted);
  font-size: 11px; letter-spacing: 0.05em;
}
.vpn-layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vpn-layer {
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
  padding: 18px 14px; border-radius: 12px;
  background: var(--bg-light-elevated, #fff); border: 1px solid var(--border-light);
}
.vpn-layer-icon { width: 30px; height: 30px; color: var(--indigo, #4b3fd9); }
.vpn-layer-icon svg { width: 100%; height: 100%; }
.vpn-layer-name { font-family: 'Unbounded', sans-serif; font-size: 14px; font-weight: 500; color: var(--text-light); line-height: 1.2; }
.vpn-layer-note { font-size: 12px; line-height: 1.4; color: var(--text-light-muted); }
@media (max-width: 720px) {
  .vpn-layers { grid-template-columns: 1fr; }
  .vpn-arrows { grid-template-columns: 1fr; }
  .vpn-arrows .vpn-arrow:nth-child(n+2) { display: none; }
}


/* ==================== ЦЕПОЧКА АТАКИ (шаги) ==================== */
.attack-chain { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 36px 0; }
.atk-step {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  position: relative; padding: 0 0 24px;
}
.atk-step:last-child { padding-bottom: 0; }
.atk-step::before {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, rgba(196,68,58,0.5), rgba(196,68,58,0.15));
}
.atk-step:last-child::before { display: none; }
.atk-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 600;
  background: #fff; color: #c4443a; border: 2px solid #c4443a;
}
.atk-step.is-final .atk-num { background: #c4443a; color: #fff; }
.atk-body { padding-top: 7px; }
.atk-title { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 500; color: var(--text-light); margin-bottom: 4px; line-height: 1.25; }
.atk-desc { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }

/* ==================== КАРТОЧКИ ПРОБЛЕМ (3 шт) ==================== */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 36px 0; }
.problem-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px; border-radius: 14px;
  background: var(--bg-light-elevated, #fff); border: 1px solid var(--border-light);
  border-top: 3px solid #c4443a;
}
.problem-icon { width: 30px; height: 30px; color: #c4443a; }
.problem-icon svg { width: 100%; height: 100%; }
.problem-title { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 500; color: var(--text-light); line-height: 1.25; }
.problem-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
@media (max-width: 720px) { .problem-grid { grid-template-columns: 1fr; } }

/* ==================== КРАСНЫЕ АКЦЕНТЫ ДЛЯ «ПЛОХИХ РЕШЕНИЙ» ==================== */
.section-label.is-danger { color: #c44a3a; }
h2 em.danger-grad {
  background: linear-gradient(135deg, #c44a3a, #e0623f);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}


/* ==================== КАРТОЧКИ ОРГАНИЗАЦИИ ДОСТУПА ==================== */
.setup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 8px 0 0; }
.setup-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 26px; border-radius: 16px;
  background: var(--bg-light-elevated, #fff); border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(20,20,40,0.04);
}
.setup-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(75,63,217,0.1), rgba(151,71,255,0.1));
  border: 1px solid rgba(75,63,217,0.18); color: var(--indigo, #4b3fd9);
}
.setup-icon svg { width: 24px; height: 24px; }
.setup-title { font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 500; color: var(--text-light); line-height: 1.25; }
.setup-body { font-size: 14.5px; line-height: 1.65; color: var(--text-light-muted); }
.setup-body strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 720px) { .setup-grid { grid-template-columns: 1fr; } }

/* ==================== ТАЙМЛАЙН: ОКНО ОПАСНОСТИ ==================== */
.vuln-timeline { max-width: 820px; margin: 36px 0; }
.vuln-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.vuln-step { position: relative; padding: 0 12px; text-align: center; }
.vuln-dot {
  width: 16px; height: 16px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--indigo, #4b3fd9); border: 3px solid var(--bg-light, #f5f5f8);
  box-shadow: 0 0 0 1px var(--border-light); position: relative; z-index: 2;
}
.vuln-step.is-danger .vuln-dot { background: #c44a3a; }
.vuln-step.is-safe .vuln-dot { background: #2e9e6b; }
.vuln-track::before {
  content: ''; position: absolute; top: 6px; left: 12%; right: 12%; height: 3px;
  background: linear-gradient(90deg, #4b3fd9 0%, #c44a3a 35%, #c44a3a 70%, #2e9e6b 100%);
  z-index: 1;
}
.vuln-label { font-family: 'Unbounded', sans-serif; font-size: 14px; font-weight: 500; color: var(--text-light); line-height: 1.25; margin-bottom: 6px; }
.vuln-desc { font-size: 12.5px; line-height: 1.45; color: var(--text-light-muted); }
.vuln-window {
  margin-top: 24px; padding: 18px 22px; border-radius: 12px;
  background: rgba(196,68,58,0.07); border: 1px solid rgba(196,68,58,0.25);
  font-size: 14.5px; line-height: 1.6; color: var(--text-light);
}
.vuln-window strong { color: #c44a3a; font-weight: 600; }
@media (max-width: 720px) {
  .vuln-track { grid-template-columns: 1fr; gap: 18px; }
  .vuln-track::before { display: none; }
  .vuln-step { text-align: left; padding-left: 30px; }
  .vuln-dot { position: absolute; left: 0; top: 2px; margin: 0; }
}

/* ==================== СЕТКА: ЧТО ОБНОВЛЯТЬ ==================== */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 36px 0; }
.scope-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 18px; border-radius: 12px;
  background: var(--bg-light-elevated, #fff); border: 1px solid var(--border-light);
}
.scope-icon { width: 28px; height: 28px; color: var(--indigo, #4b3fd9); }
.scope-icon svg { width: 100%; height: 100%; }
.scope-name { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 500; color: var(--text-light); line-height: 1.2; }
.scope-note { font-size: 13px; line-height: 1.5; color: var(--text-light-muted); }
@media (max-width: 720px) { .scope-grid { grid-template-columns: 1fr; } }

/* ==================== EOL: СРАВНЕНИЕ ЖИЗНЕННОГО ЦИКЛА ==================== */
.eol-compare { max-width: 820px; margin: 36px 0; display: flex; flex-direction: column; gap: 18px; }
.eol-row {
  padding: 20px 22px; border-radius: 14px;
  background: var(--bg-light-elevated, #fff); border: 1px solid var(--border-light);
}
.eol-row.is-eol { border-color: rgba(196,68,58,0.3); background: rgba(196,68,58,0.03); }
.eol-row-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eol-row-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.eol-row.is-ok .eol-row-dot { background: #2e9e6b; }
.eol-row.is-eol .eol-row-dot { background: #c44a3a; }
.eol-row-title { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 500; color: var(--text-light); }
.eol-row-title span { color: var(--text-light-muted); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; }
.eol-track { display: flex; align-items: center; gap: 6px; }
.eol-seg {
  flex: 1; height: 8px; border-radius: 4px; position: relative;
  background: #e5e5ec;
}
.eol-hole { background: #c44a3a; }
.eol-hole.patched { background: #2e9e6b; }
.eol-eolmark {
  flex: 0 0 auto; padding: 3px 10px; border-radius: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(196,68,58,0.12); color: #c44a3a; white-space: nowrap;
}
.eol-legend { display: flex; gap: 20px; margin-top: 14px; flex-wrap: wrap; }
.eol-leg { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-light-muted); }
.eol-leg-box { width: 14px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.eol-leg-box.red { background: #c44a3a; }
.eol-leg-box.green { background: #2e9e6b; }
@media (max-width: 600px) { .eol-track { flex-wrap: wrap; } }

/* ==================== ГРОМКИЕ КЕЙСЫ ==================== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 36px 0; }
.case-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 24px; border-radius: 14px;
  background: var(--bg-light-elevated, #fff); border: 1px solid var(--border-light);
  border-left: 3px solid #c44a3a;
}
.case-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.case-name { font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 500; color: var(--text-light); line-height: 1.2; }
.case-year { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-light-muted); white-space: nowrap; }
.case-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
.case-gap {
  margin-top: 4px; padding: 10px 14px; border-radius: 9px;
  background: rgba(196,68,58,0.07); font-size: 13px; line-height: 1.5; color: var(--text-light);
}
.case-gap strong { color: #c44a3a; font-weight: 600; }
@media (max-width: 720px) { .case-grid { grid-template-columns: 1fr; } }
