:root {
  color-scheme: light;
  --bg: #f3f8fc;
  --card: #ffffff;
  --card-soft: #eef7ff;
  --text: #102030;
  --muted: #5d7285;
  --line: #d8e8f5;
  --telegram: #229ed9;
  --telegram-dark: #168ac0;
  --green: #31b66b;
  --shadow: 0 18px 50px rgba(26, 88, 129, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 158, 217, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(49, 182, 107, 0.12), transparent 24rem),
    var(--bg);
  line-height: 1.6;
}

a {
  color: var(--telegram-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(243, 248, 252, 0.82);
  border-bottom: 1px solid rgba(216, 232, 245, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #2aaeea, #168ac0);
  box-shadow: 0 10px 24px rgba(34, 158, 217, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.96rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  color: white;
  background: var(--telegram);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(34, 158, 217, 0.28);
}

.button:hover {
  background: var(--telegram-dark);
  color: white;
  text-decoration: none;
}

.button.secondary {
  color: var(--telegram-dark);
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  align-items: center;
  gap: 44px;
  padding: 74px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #176e9d;
  background: rgba(34, 158, 217, 0.12);
  border: 1px solid rgba(34, 158, 217, 0.18);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 5.1rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.trust-pill {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.phone {
  width: min(390px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 38px;
  background: #162332;
  box-shadow: var(--shadow);
}

.chat-screen {
  overflow: hidden;
  min-height: 620px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(246, 252, 255, 0.88), rgba(246, 252, 255, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(34, 158, 217, 0.16), transparent 9rem);
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  color: white;
  background: linear-gradient(135deg, #2aaeea, #168ac0);
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 900;
}

.chat-body {
  padding: 20px 14px;
}

.bubble {
  max-width: 86%;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 8px 20px rgba(38, 94, 130, 0.1);
  font-size: 0.95rem;
}

.bubble.user {
  margin-left: auto;
  color: white;
  background: var(--telegram);
}

.bubble.file {
  border: 1px solid var(--line);
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--card-soft);
}

.progress {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8e8f5;
}

.progress span {
  display: block;
  width: 76%;
  height: 100%;
  background: var(--green);
}

.section {
  padding: 58px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(26, 88, 129, 0.08);
}

.card.highlight {
  background: linear-gradient(135deg, #ffffff, #eef8ff);
  border-color: rgba(34, 158, 217, 0.24);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: white;
  background: var(--telegram);
  font-weight: 900;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 70px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--telegram);
  font-weight: 900;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.article-card .meta,
.article-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-card .read-more {
  margin-top: auto;
  font-weight: 800;
}

.article {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.article h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.article p,
.article li {
  color: #31475a;
  font-size: 1.05rem;
}

.article ul,
.article ol {
  padding-left: 1.25rem;
}

.article-cta {
  margin-top: 34px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8f7ff, #ffffff);
  border: 1px solid var(--line);
}

.faq details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.cta-band {
  padding: 42px;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.26), transparent 14rem),
    linear-gradient(135deg, #229ed9, #1375ad);
  box-shadow: var(--shadow);
}

.cta-band .muted {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 38px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero,
  .grid.two,
  .grid.three,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .phone {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1120px);
  }

  .hero {
    padding-top: 42px;
  }

  .button {
    width: 100%;
  }

  .cta-band {
    padding: 28px;
  }
}
