:root {
  --bg: #07100d;
  --panel: #0c1814;
  --text: #eef3f0;
  --muted: #8c9b94;
  --green: #78f0b1;
  --red: #ff7770;
  --line: rgba(150, 255, 204, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(120, 240, 177, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 240, 177, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: 1320px; margin: auto; padding: 0 5vw; }

header {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.logo i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-right: 11px;
  border-radius: 11px;
  background: var(--green);
  color: #07100d;
  font-style: normal;
}

.logo b { color: var(--green); }
nav { display: flex; gap: 8px; }
nav a { padding: 10px 15px; border-radius: 9px; color: var(--muted); font-size: 14px; }
nav a:hover,
nav a.active { color: var(--green); background: rgba(120, 240, 177, 0.07); }

.mode {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font: 700 10px monospace;
  letter-spacing: 0.1em;
}

.mode::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.eyebrow,
.kicker { color: var(--green); font: 700 11px monospace; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(120,240,177,.08), 0 0 14px var(--green); }
.threats .dot { background: var(--red); box-shadow: 0 0 0 5px rgba(255,119,112,.08), 0 0 14px var(--red); }
h1 { margin: 0; font-size: clamp(48px, 6vw, 92px); font-weight: 650; line-height: .96; letter-spacing: -.055em; }
h1 span { color: var(--green); }
.kicker { margin: 0 0 12px; }

/* Главная */
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 6vw;
  border-bottom: 1px solid var(--line);
}

.lead { max-width: 630px; margin: 30px 0; color: #a5b3ac; font-size: 18px; line-height: 1.7; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; font-weight: 700; }
.button.primary { color: #07100d; background: var(--green); }
.button.outline { border: 1px solid var(--line); color: #bdc9c3; }
.facts { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 34px; color: #6f8077; font-size: 12px; }

.visual { height: 500px; display: grid; place-items: center; position: relative; }
.glow { position: absolute; width: 390px; height: 390px; border: 1px solid rgba(120,240,177,.16); border-radius: 50%; box-shadow: inset 0 0 90px rgba(120,240,177,.06), 0 0 80px rgba(120,240,177,.05); }
.glow::after { content: ""; position: absolute; inset: 45px; border: 1px solid rgba(120,240,177,.13); border-radius: 50%; }
.shield { width: 215px; height: 230px; position: relative; display: grid; place-items: center; border: 1px solid rgba(120,240,177,.35); background: rgba(13,34,26,.9); clip-path: polygon(50% 0,95% 16%,86% 73%,50% 100%,14% 73%,5% 16%); color: var(--green); font-size: 80px; filter: drop-shadow(0 25px 45px rgba(36,201,124,.17)); }
.chip { position: absolute; padding: 12px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: #9eb0a7; font: 12px monospace; box-shadow: 0 16px 35px rgba(0,0,0,.3); }
.chip.one { right: 0; top: 105px; }
.chip.two { left: 0; bottom: 90px; }
.chip b { color: var(--green); }

.section { padding: 105px 0; }
.heading { display: grid; grid-template-columns: 1fr .6fr; align-items: end; gap: 30px; margin-bottom: 40px; }
.heading h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); letter-spacing: -.04em; }
.heading > p { margin: 0; color: var(--muted); line-height: 1.7; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.card { padding: 30px; position: relative; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,rgba(17,34,27,.95),rgba(9,21,16,.95)); overflow: hidden; }
.card-top,
.head { display: flex; justify-content: space-between; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(120,240,177,.08); color: var(--green); font-size: 23px; }
.num { color: #51625a; font: 12px monospace; }
.home .card h3 { margin: 45px 0 13px; font-size: 20px; }
.home .card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.notice { margin-bottom: 70px; padding: 25px 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border: 1px solid rgba(120,240,177,.16); border-radius: 16px; background: rgba(120,240,177,.045); }
.notice p { margin: 0; color: #9aaba2; line-height: 1.55; }
.notice a { color: var(--green); font-size: 13px; font-weight: 700; }

/* Внутренние страницы */
.intro { min-height: 390px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(48px, 6vw, 78px); }
.intro > p { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

/* Угрозы */
.threats .grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 70px 0; }
.threats .card { min-height: 375px; }
.risk { padding: 7px 10px; border: 1px solid rgba(120,240,177,.2); border-radius: 99px; color: var(--green); font: 700 10px monospace; letter-spacing: .1em; text-transform: uppercase; }
.risk.high { color: var(--red); border-color: rgba(255,119,112,.25); }
.threats .num { display: block; margin-top: 34px; }
.threats .card h2 { margin: 9px 0 13px; font-size: 24px; }
.threats .card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.signs { position: absolute; left: 30px; right: 30px; bottom: 27px; display: flex; gap: 7px; flex-wrap: wrap; }
.signs b { width: 100%; margin-bottom: 3px; color: #5d7067; font: 700 10px monospace; letter-spacing: .1em; text-transform: uppercase; }
.signs span { padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,.035); color: #899a91; font-size: 11px; }
.scenario { margin-bottom: 70px; padding: 38px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; border: 1px solid var(--line); border-radius: 20px; background: #0a1511; }
.scenario h2 { margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: -.04em; }
.scenario ol { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.scenario li { padding-bottom: 14px; display: grid; grid-template-columns: 140px 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.scenario li:last-child { border: 0; }
.scenario b { color: var(--green); font-size: 13px; }
.scenario span { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Защита */
.protection .intro { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.score-card { min-width: 360px; padding: 25px; display: flex; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.ring { width: 110px; height: 110px; display: grid; place-items: center; position: relative; border-radius: 50%; background: conic-gradient(var(--green) 0deg,rgba(120,240,177,.08) 0); }
.ring::before { content: ""; position: absolute; width: 86px; height: 86px; border-radius: 50%; background: var(--panel); }
.ring div { position: relative; text-align: center; }
.ring b { display: block; font-size: 24px; }
.ring span { color: var(--muted); font-size: 10px; }
.score-copy p { margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.score-copy h2 { margin: 0 0 5px; font-size: 24px; }
.score-copy span { color: #667870; font-size: 12px; }
.check-area { padding: 70px 0; }
.protection .heading { display: flex; justify-content: space-between; }
.protection .heading > span { color: var(--green); font-size: 38px; }
.list { border-top: 1px solid var(--line); }
.row { width: 100%; padding: 22px 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; cursor: pointer; transition: .2s; }
.row:hover { padding-left: 18px; background: rgba(120,240,177,.025); }
.box { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #3a4e44; border-radius: 7px; color: #07100d; font-weight: 900; }
.row.done .box { border-color: var(--green); background: var(--green); }
.copy { display: flex; flex-direction: column; gap: 6px; }
.copy b { font-size: 16px; }
.copy small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.row.done .copy b { color: var(--green); }
.emergency { margin-bottom: 70px; padding: 25px 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; border-left: 3px solid var(--green); background: rgba(120,240,177,.05); }
.emergency > span { color: var(--green); font-size: 26px; }
.emergency b { font-size: 16px; }
.emergency p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

footer { min-height: 110px; display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: #607168; font-size: 12px; }
footer p:last-child { margin-left: auto; }

@media (max-width: 900px) {
  .mode { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .visual { height: 420px; }
  .heading { grid-template-columns: 1fr; }
  .cards,
  .threats .grid { grid-template-columns: 1fr 1fr; }
  .scenario { grid-template-columns: 1fr; gap: 35px; }
  .protection .intro { grid-template-columns: 1fr; padding: 70px 0; }
  .score-card { width: 100%; max-width: 420px; min-width: 0; }
}

@media (max-width: 650px) {
  .wrap { padding: 0 20px; }
  header { height: auto; min-height: 80px; flex-wrap: wrap; padding: 15px 0; }
  .logo { width: 100%; }
  nav { width: 100%; overflow: auto; }
  nav a { padding: 8px 10px; white-space: nowrap; }
  .hero { padding-top: 65px; }
  .visual { height: 350px; margin: -20px -45px; transform: scale(.8); }
  .section { padding: 75px 0; }
  .cards,
  .threats .grid { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; gap: 15px; }
  .intro { min-height: 340px; }
  .scenario { padding: 25px; }
  .scenario li { grid-template-columns: 1fr; gap: 5px; }
  .score-card { flex-direction: column; text-align: center; }
  .protection .heading > span { display: none; }
  .row { grid-template-columns: auto 1fr; }
  .row .num { display: none; }
  .emergency { grid-template-columns: auto 1fr; }
  .emergency > span:last-child { display: none; }
  footer { padding: 30px 0; flex-wrap: wrap; }
  footer p:last-child { width: 100%; margin-left: 0; }
}
