:root {
  --red: #FF2D3A;
  --red-dark: #C9121F;
  --bg: #08090D;
  --panel: #111318;
  --line: #242832;
  --text: #F5F5F7;
  --muted: #9BA1AC;
  --ok: #2ED573;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(1160px, 90%);
  margin: auto;
}

header {
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 16px;
}

.logo img {
  height: 38px;
  width: auto;
  background: #fff;
  padding: 5px 10px;
  border-radius: 4px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s infinite;
}

@keyframes blink {
  50% { opacity: 0.2; }
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
}

h1 em {
  font-style: normal;
  color: var(--red);
  display: block;
}

.lead {
  font-size: 1.1rem;
  color: #C4C9D2;
  max-width: 560px;
  margin-bottom: 36px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.features span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.features svg {
  width: 17px;
  height: 17px;
  color: var(--ok);
  flex: 0 0 auto;
}

.phone {
  width: min(300px, 72vw);
  aspect-ratio: 9 / 18.5;
  margin: auto;
  background: #04050A;
  border: 10px solid #1B1F28;
  border-radius: 46px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 50px 110px rgba(255, 45, 58, 0.22);
}

.phone::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #1B1F28;
  border-radius: 20px;
  z-index: 3;
}

.screen {
  position: absolute;
  inset: 0;
  padding: 54px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.screen small {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.screen h4 {
  font-size: 1.1rem;
  margin: 8px 0 26px;
}

.sos {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}

.sos i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: ring 2.6s infinite;
  opacity: 0;
}

.sos i:nth-child(2) { animation-delay: 0.85s; }
.sos i:nth-child(3) { animation-delay: 1.7s; }

@keyframes ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.3); opacity: 0; }
}

.sos b {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  box-shadow: 0 0 60px rgba(255, 45, 58, 0.55);
  z-index: 1;
}

.screen p {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 200px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 70px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px 24px;
}

.card .ico {
  width: 48px;
  height: 48px;
  background: rgba(255, 45, 58, 0.12);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card .ico svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}

footer a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

footer a:hover {
  color: var(--red);
}

footer svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .tag,
  .features {
    justify-content: center;
  }
  .lead {
    margin-inline: auto;
  }
  .cards {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 64px;
  }
  .logo img {
    height: 30px;
    padding: 4px 8px;
  }
  .status {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
  main {
    padding: 44px 0;
  }
  .lead {
    font-size: 1rem;
  }
  .phone {
    width: min(250px, 70vw);
    border-width: 8px;
    border-radius: 38px;
  }
  .sos {
    width: 132px;
    height: 132px;
  }
  .sos b {
    width: 98px;
    height: 98px;
    font-size: 0.9rem;
  }
  .card {
    padding: 22px 20px;
  }
  footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .status span {
    display: none;
  }
  h1 {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
