:root {
  --ink: #07111f;
  --navy: #10233f;
  --paper: #f4f7fb;
  --card: #ffffff;
  --line: #d5e0ee;
  --blue: #1a8cff;
  --teal: #12b89a;
  --violet: #6d4aff;
  --amber: #e39b2b;
  --muted: #52657c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 6vw;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
}

.brand img {
  display: block;
  height: 52px;
  width: auto;
}

.nav-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding: 4.5rem 6vw 3rem;
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.25;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--navy);
}

.telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  background: var(--blue);
}

.telegram-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  clip-path: polygon(18% 18%, 82% 42%, 48% 52%, 62% 86%, 38% 58%, 18% 18%);
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 6vw 4rem;
}

.features h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1.8rem;
}

.features article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
}

.features img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e7eef6;
}

.features h3 {
  margin: 1rem 1.1rem 0.2rem;
}

.features p {
  margin: 0 1.1rem 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

footer p {
  margin: 0;
  line-height: 1.8;
  color: #9fb0c6;
}

footer {
  padding: 2rem 6vw 2.4rem;
  background: #07101c;
  color: #9fb0c6;
}

footer img {
  height: 72px;
  width: auto;
  border-radius: 0.6rem;
}

footer a {
  display: inline-block;
  margin-top: 0.6rem;
  color: #7ee0c8;
}

@media (max-width: 800px) {
  .hero { padding-top: 2.5rem; }
  .brand img { height: 40px; }
  .features { grid-template-columns: 1fr; }
}
