:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  --page: #05070a;
  --surface: #0c1118;
  --surface-strong: #111821;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f8fb;
  --muted: #a2abb7;
  --purple: #9b6cff;
  --purple-light: #c38bff;
  --green: #42d788;
  --red: #ff6b72;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body.landing-page {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  line-height: 1.5;
}

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

a:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 4px;
}

code {
  color: #bce7f6;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.landing-header {
  position: sticky;
  z-index: 20;
  top: 14px;
  width: calc(100% - 32px);
  max-width: 1080px;
  min-height: 56px;
  margin: 14px auto 0;
  padding: 7px 8px 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 13, 18, 0.9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  transition: top 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.landing-header.is-scrolled {
  top: 8px;
  background: rgba(9, 13, 18, 0.96);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.5);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.landing-brand > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 10px rgba(195, 139, 255, 0.7);
}

.landing-brand strong,
.landing-brand small {
  display: block;
}

.landing-brand strong {
  font-size: 12px;
  font-weight: 850;
}

.landing-brand small {
  color: #7f8994;
  font-size: 9px;
  font-weight: 700;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
}

.landing-menu {
  display: flex;
  align-items: center;
  gap: 3px;
}

.landing-nav a,
.nav-toggle {
  min-height: 38px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #c8d0d8;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.landing-nav a:hover,
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  width: 42px;
  padding: 10px;
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.landing-nav .nav-action,
.primary-action {
  border: 1px solid rgba(155, 108, 255, 0.82);
  background: var(--purple);
  color: #fff;
  box-shadow: 0 9px 28px rgba(155, 108, 255, 0.28);
}

main,
.landing-footer {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin-inline: auto;
}

.product-stage {
  min-height: min(690px, calc(100svh - 110px));
  padding: 34px 0 42px;
  display: grid;
  place-items: center;
}

.product-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  padding: 68px 64px 58px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.04);
  text-align: center;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 180ms ease-out, border-color 240ms ease, box-shadow 240ms ease;
  animation: card-enter 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.product-card:hover {
  border-color: rgba(195, 139, 255, 0.34);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.52), 0 0 50px rgba(155, 108, 255, 0.08), inset 0 1px rgba(255, 255, 255, 0.05);
}

.product-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(46vw, 470px);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.045;
  filter: brightness(1.45) contrast(1.15);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scale(1.04);
  transition: opacity 400ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-watermark {
  opacity: 0.075;
  transform: translate(-50%, -50%) scale(1.08);
}

.product-card::before,
.product-card::after {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 160px 50px rgba(195, 139, 255, 0.4), 330px -30px rgba(255, 255, 255, 0.28), 520px 80px rgba(66, 215, 136, 0.28), 750px -20px rgba(255, 255, 255, 0.35), 900px 110px rgba(155, 108, 255, 0.36);
  content: "";
  opacity: 0.75;
  animation: particles 5s ease-in-out infinite alternate;
}

.product-card::before {
  top: 48px;
  left: 12%;
}

.product-card::after {
  right: 18%;
  bottom: 80px;
  transform: rotate(180deg);
  animation-delay: -2s;
}

.product-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 850;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
}

.product-description {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 20px auto 0;
  color: #bdc5ce;
  font-size: 18px;
}

.version-badge {
  position: relative;
  z-index: 1;
  min-height: 38px;
  margin-top: 27px;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #c5ccd4;
  font-size: 13px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(66, 215, 136, 0.95);
  animation: status-pulse 2s ease-in-out infinite;
}

.status-dot.is-offline {
  background: var(--red);
  box-shadow: 0 0 13px rgba(255, 107, 114, 0.7);
}

.product-facts {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-facts div {
  min-width: 0;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.product-facts div + div {
  border-left: 1px solid var(--line-soft);
}

.product-facts dt,
.product-facts dd {
  margin: 0;
}

.fact-value {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.chat-name {
  max-width: none;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.status-value {
  color: var(--green);
}

.status-value.is-offline {
  color: var(--red);
}

.uptime-value {
  font-variant-numeric: tabular-nums;
}

.uptime-value.is-pending {
  color: var(--purple-light);
  font-size: 18px;
}

.product-facts dd {
  margin-top: 4px;
  color: #7f8995;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-actions {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}

.primary-action,
.secondary-action,
.tertiary-action {
  position: relative;
  min-height: 48px;
  overflow: hidden;
  padding: 12px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  isolation: isolate;
  gap: 9px;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-facts div:nth-child(1) { animation: fact-enter 520ms 240ms both; }
.product-facts div:nth-child(2) { animation: fact-enter 520ms 330ms both; }
.product-facts div:nth-child(3) { animation: fact-enter 520ms 420ms both; }

.button-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.secondary-action,
.tertiary-action {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #f5f7f9;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.tertiary-action {
  background: transparent;
  color: #c3ccd4;
}

.animated-button::after {
  position: absolute;
  z-index: -1;
  top: -35%;
  left: -25%;
  width: 15%;
  height: 170%;
  background: rgba(255, 255, 255, 0.2);
  content: "";
  transform: skewX(-18deg);
  transition: left 430ms ease;
}

.animated-button:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 13px 34px rgba(155, 108, 255, 0.3);
}

.animated-button:hover::after {
  left: 118%;
}

.animated-button:active,
.landing-nav a:active,
.demo-command-tabs button:active,
.social-icon:active,
.point-link:active,
.back-to-top:active {
  filter: brightness(0.96);
  transform: translateY(1px) scale(0.975);
  transition-duration: 70ms;
}

.possibilities,
.developer-section,
.updates-section {
  padding: 92px 0 30px;
  scroll-margin-top: 100px;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 42px;
}

.section-label {
  margin: 0 0 9px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2,
.statistics-copy h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.16;
}

.feature-grid {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.feature-grid article {
  position: relative;
  min-width: 0;
  min-height: 270px;
  padding: 38px 34px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  transition: background 220ms ease, transform 220ms ease;
}

.feature-grid article + article {
  border-left: 1px solid var(--line-soft);
}

.feature-grid article::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 0;
  width: 2px;
  background: var(--purple-light);
  content: "";
  opacity: 0;
  transform: scaleY(0.25);
  transition: opacity 220ms ease, transform 220ms ease;
}

.feature-grid article:hover {
  background: rgba(155, 108, 255, 0.045);
  transform: translateY(-3px);
}

.feature-grid article:hover::before {
  opacity: 0.9;
  transform: scaleY(1);
}

.feature-icon {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--purple-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  filter: drop-shadow(0 0 12px rgba(155, 108, 255, 0.35));
}

.feature-grid h3 {
  margin: 28px 0 11px;
  font-size: 24px;
}

.feature-grid p,
.statistics-copy p,
.developer-copy p,
.updates-tree p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.getting-started,
.bot-demo {
  padding: 92px 0 30px;
  scroll-margin-top: 100px;
}

.start-flow {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.start-flow::before {
  position: absolute;
  top: 44px;
  right: 16.66%;
  left: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), rgba(195, 139, 255, 0.28), var(--green));
  content: "";
}

.start-flow li {
  position: relative;
  min-width: 0;
  padding: 24px 30px 30px;
}

.start-flow li + li {
  border-left: 1px solid var(--line-soft);
}

.start-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(195, 139, 255, 0.48);
  border-radius: 50%;
  background: var(--page);
  color: var(--purple-light);
  box-shadow: 0 0 24px rgba(155, 108, 255, 0.14);
}

.start-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.start-flow li:last-child .start-icon {
  border-color: rgba(66, 215, 136, 0.5);
  color: var(--green);
}

.start-flow h3 {
  margin: 24px 0 8px;
  font-size: 21px;
}

.start-flow p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.start-action {
  width: max-content;
  margin: 26px auto 0;
}

.demo-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.demo-heading h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.16;
}

.demo-command-tabs {
  padding: 4px;
  display: inline-flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.demo-command-tabs button {
  min-height: 36px;
  padding: 7px 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.demo-command-tabs button:hover,
.demo-command-tabs button.is-active {
  background: rgba(155, 108, 255, 0.16);
  color: #fff;
}

.demo-command-tabs button.is-active {
  box-shadow: inset 0 0 0 1px rgba(195, 139, 255, 0.3);
}

.demo-command-tabs button:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
}

.telegram-preview {
  overflow: hidden;
  min-height: 710px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  background: #101923;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.03);
}

.telegram-preview-header {
  min-height: 68px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #172330;
}

.telegram-preview-header img,
.telegram-message-avatar,
.telegram-user-avatar {
  object-fit: cover;
  border-radius: 50%;
}

.telegram-preview-header img {
  transition: transform 220ms ease;
}

.telegram-preview-header div {
  display: flex;
  flex-direction: column;
}

.telegram-preview-header strong {
  font-size: 14px;
}

.telegram-preview-header div span {
  color: #7e94a7;
  font-size: 11px;
}

.telegram-preview-header div span.is-offline {
  color: var(--red);
}

.telegram-header-actions {
  margin-left: auto;
  display: flex !important;
  align-items: center;
  flex-direction: row !important;
  gap: 7px;
}

.telegram-header-actions span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #9aabb9 !important;
  background: rgba(255, 255, 255, 0.045);
  font-size: 20px !important;
  line-height: 1;
}

.telegram-pinned-message {
  min-height: 49px;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
  background: #182633;
}

.telegram-pinned-message[hidden] {
  display: none;
}

.telegram-pinned-message i {
  width: 3px;
  height: 32px;
  border-radius: 999px;
  background: #55bce8;
  box-shadow: 0 0 9px rgba(85, 188, 232, 0.28);
}

.telegram-pinned-message div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.telegram-pinned-message strong {
  color: #5cc6f0;
  font-size: 10px;
}

.telegram-pinned-message span {
  overflow: hidden;
  color: #dbe5ec;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telegram-messages {
  height: 642px;
  padding: 28px 30px 32px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
  background-color: #0e1720;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
}

.telegram-messages::-webkit-scrollbar { width: 5px; }
.telegram-messages::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(142, 162, 178, 0.22); }

.telegram-chat-date {
  align-self: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(28, 42, 55, 0.9);
  color: #91a0ad;
  font-size: 10px;
  font-weight: 700;
}

.telegram-messages.is-switching .telegram-user-message {
  animation: telegram-message-in 240ms ease both;
}

.telegram-typing {
  min-height: 42px;
  padding: 13px 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 14px 14px 14px 4px;
  background: #1b2936;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
  animation: telegram-message-in 220ms ease both;
}

.telegram-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fa0ae;
  animation: typing-dot 900ms ease-in-out infinite;
}

.telegram-typing span:nth-child(2) { animation-delay: 120ms; }
.telegram-typing span:nth-child(3) { animation-delay: 240ms; }

.telegram-group-row {
  width: min(560px, 82%);
  display: grid;
  grid-template-columns: 34px minmax(0, max-content);
  align-items: end;
  gap: 9px;
  animation: telegram-message-in 240ms ease both;
}

.telegram-group-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: #34495b;
  font-size: 9px;
  font-weight: 850;
}

.telegram-group-avatar.tone-violet { background: #604783; }
.telegram-group-avatar.tone-mono { background: #586069; }
.telegram-group-avatar.tone-blue { background: #247ba0; }
.telegram-group-avatar.tone-gold { background: #9a7334; }

.telegram-group-message {
  min-width: 108px;
  padding: 7px 11px 6px;
  border-radius: 14px 14px 14px 4px;
  background: #1b2a38;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.17);
}

.telegram-group-sender {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #62c9f3;
  font-size: 11px;
}

.telegram-group-sender strong { color: inherit; }
.telegram-group-sender span { color: #7890a4; font-size: 10px; }

.telegram-group-copy {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  color: #f2f6f9;
  font-size: 12px;
  line-height: 1.35;
}

.telegram-group-time {
  margin-left: auto;
  color: #7893a8;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.telegram-user-message,
.telegram-response {
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
}

.telegram-user-row {
  max-width: 80%;
  margin-left: auto;
  display: flex;
  align-items: end;
  flex-direction: row-reverse;
  gap: 8px;
  animation: telegram-message-in 240ms ease both;
}

.telegram-user-avatar {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.telegram-user-message {
  min-width: 116px;
  padding: 9px 12px 7px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border-radius: 14px 14px 4px 14px;
  background: #7151b8;
  color: #fff;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.telegram-user-message time,
.telegram-time {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.telegram-checks {
  margin-left: -8px;
  color: #9ad9ff;
  font-size: 10px;
  letter-spacing: -2px;
}

.telegram-bot-row {
  width: min(610px, 88%);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: end;
  gap: 9px;
  animation: telegram-message-in 280ms 90ms ease both;
}

.telegram-bot-row.is-typing {
  width: auto;
}

.telegram-response {
  position: relative;
  min-width: 0;
  padding: 12px 14px 10px;
  border-radius: 14px 14px 14px 4px;
  background: #1b2936;
}

.telegram-sender {
  display: block;
  color: #b990ff;
  font-size: 12px;
}

.telegram-response-title {
  margin-top: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.telegram-reply-reference {
  margin: 5px 0 8px;
  padding: 3px 8px;
  display: flex;
  flex-direction: column;
  border-left: 3px solid #56c9dd;
  border-radius: 3px;
  background: rgba(55, 166, 186, 0.12);
  font-size: 11px;
}

.telegram-reply-reference strong {
  color: #79d9ea;
  font-family: Georgia, serif;
  font-style: italic;
}

.telegram-info-panel {
  margin: 9px 0;
  padding: 8px 10px;
  border-left: 3px solid #59d3e5;
  border-radius: 5px;
  background: rgba(45, 105, 121, 0.34);
}

.telegram-info-line {
  color: #f1f5f8;
  font-size: 12px;
  line-height: 1.48;
}

.telegram-balance-pill {
  width: max-content;
  max-width: 100%;
  margin: 8px 0 10px;
  padding: 5px 9px;
  border-radius: 5px;
  background: rgba(46, 116, 132, 0.42);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.telegram-task-title,
.telegram-online-title,
.telegram-online-live,
.telegram-updated {
  margin-top: 7px;
  color: #f5f8fa;
  font-size: 12px;
  font-weight: 700;
}

.telegram-online-live {
  color: #61dda0;
}

.telegram-updated {
  color: #a9c7df;
  font-weight: 500;
}

.telegram-task-progress {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.telegram-task-progress span {
  width: 78px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #f04c6a 30%, #49d2e4 30%);
}

.telegram-task-progress strong {
  font-size: 11px;
  white-space: nowrap;
}

.telegram-online-card {
  position: relative;
  overflow: hidden;
  margin: 8px 0 10px;
  padding: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border-radius: 7px;
  background: #101a22;
}

.telegram-online-heading {
  display: flex;
  flex-direction: column;
  color: #e8edf1;
  font-size: 12px;
  font-weight: 700;
}

.telegram-online-heading small,
.telegram-online-current small {
  color: #788b9a;
  font-size: 8px;
  font-weight: 500;
}

.telegram-online-status {
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  background: #192b38;
  color: #aebcc7;
  font-size: 8px;
  text-transform: uppercase;
}

.telegram-online-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(68, 221, 139, 0.7);
}

.telegram-online-status.is-offline i {
  background: #77828d;
  box-shadow: none;
}

.telegram-online-live.is-offline {
  color: #9aa5af;
}

.telegram-online-chart {
  grid-column: 1 / -1;
  height: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.telegram-online-chart svg {
  width: 100%;
  height: 100%;
}

.telegram-chart-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: #788b9a;
  font-size: 9px;
}

.telegram-online-chart .chart-area {
  fill: rgba(45, 190, 118, 0.2);
}

.telegram-online-chart .chart-line {
  fill: none;
  stroke: #4bd28d;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.telegram-online-current {
  position: absolute;
  bottom: 22px;
  left: 22px;
  display: flex;
  flex-direction: column;
}

.telegram-online-current strong {
  color: #fff;
  font-size: 18px;
}

.telegram-time {
  display: block;
  text-align: right;
}

.telegram-keyboard {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.telegram-keyboard-row {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 5px;
}

.telegram-keyboard-row span {
  min-height: 34px;
  padding: 7px 9px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #263746;
  color: #8fc7ed;
  font-size: 11px;
  font-weight: 700;
}

.bot-statistics {
  position: relative;
  overflow: hidden;
  margin-top: 86px;
  padding: 48px 42px;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.26);
}

.bot-statistics::before {
  position: absolute;
  top: 0;
  right: 42px;
  left: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  content: "";
  opacity: 0.65;
}

.statistics-copy p:not(.section-label) {
  max-width: 390px;
  margin: 17px 0 22px;
}

.statistics-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aeb7c0;
  font-size: 11px;
  font-weight: 700;
}

.statistics-live span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px rgba(68, 221, 139, 0.75);
  animation: status-pulse 2.3s ease-in-out infinite;
}

.statistics-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.statistics-grid > div {
  min-width: 0;
  padding: 26px 22px;
}

.statistics-grid > div + div {
  border-left: 1px solid var(--line-soft);
}

.statistics-grid dt {
  margin-bottom: 9px;
  color: #f5f7fa;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.statistics-grid dd:not(.stat-context) {
  min-height: 38px;
  margin: 0 0 15px;
  color: #c8d0d8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.statistics-grid .stat-context {
  min-height: 0;
  margin: 0;
  color: #77828d;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.statistics-grid .server-stat dt {
  color: var(--green);
}

.statistics-grid .server-stat.is-offline dt {
  color: #98a2ac;
}

.developer-card {
  position: relative;
  overflow: hidden;
  padding: 38px 40px;
  display: grid;
  grid-template-columns: 144px minmax(280px, 1fr) minmax(250px, 0.62fr);
  align-items: center;
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.developer-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--purple);
  content: "";
  box-shadow: 0 0 24px rgba(155, 108, 255, 0.68);
}

.developer-portrait {
  position: relative;
  width: 144px;
  height: 144px;
  padding: 5px;
  border: 1px solid rgba(195, 139, 255, 0.48);
  border-radius: 50%;
  background: rgba(155, 108, 255, 0.08);
  box-shadow: 0 0 34px rgba(155, 108, 255, 0.16);
}

.developer-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.developer-online {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 17px;
  height: 17px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(68, 221, 139, 0.74);
}

.developer-copy h3 {
  margin: 4px 0 9px;
  font-size: 28px;
}

.developer-role {
  margin: 0;
  color: var(--purple-light);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.developer-areas {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.developer-description {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.developer-areas span {
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aeb7c0;
  font-size: 11px;
  font-weight: 700;
}

.developer-action {
  padding-left: 28px;
  border-left: 1px solid var(--line-soft);
}

.developer-note {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.developer-note strong {
  color: #f2f5f7;
  font-size: 15px;
}

.developer-note span {
  color: var(--muted);
  font-size: 12px;
}

.updates-tree {
  position: relative;
  margin: 0;
  padding: 18px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  row-gap: 28px;
  list-style: none;
}

.updates-tree:has(.update-card:hover) .update-card:not(:hover) {
  opacity: 0.48;
  transform: scale(0.985);
}

.updates-tree::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: rgba(155, 108, 255, 0.32);
  content: "";
  box-shadow: 0 0 18px rgba(155, 108, 255, 0.22);
  transform: translateX(-1px);
}

.updates-tree li {
  position: relative;
  min-width: 0;
  margin: 0;
}

.updates-tree li:nth-child(1) { grid-row: 1; }
.updates-tree li:nth-child(2) { grid-row: 2; }
.updates-tree li:nth-child(3) { grid-row: 3; }
.updates-tree li:nth-child(4) { grid-row: 4; }

.updates-tree .branch-left {
  grid-column: 1;
}

.updates-tree .branch-right {
  grid-column: 3;
}

.updates-tree li::before {
  position: absolute;
  z-index: 2;
  top: calc(50% - 8px);
  width: 13px;
  height: 17px;
  border: 3px solid var(--page);
  border-radius: 80% 0 80% 80%;
  background: var(--purple-light);
  content: "";
  box-shadow: 0 0 18px rgba(195, 139, 255, 0.7);
  transition: background 200ms ease, box-shadow 200ms ease, scale 200ms ease;
}

.updates-tree li:hover::before {
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 25px rgba(195, 139, 255, 0.9);
  scale: 1.18;
}

.updates-tree .branch-left::before {
  right: -45px;
  transform: rotate(-45deg);
}

.updates-tree .branch-right::before {
  left: -44px;
  transform: rotate(135deg);
}

.updates-tree li::after {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: rgba(155, 108, 255, 0.45);
  content: "";
}

.updates-tree .branch-left::after {
  right: -38px;
  transform: rotate(7deg);
  transform-origin: left;
}

.updates-tree .branch-right::after {
  left: -38px;
  transform: rotate(-7deg);
  transform-origin: right;
}

.update-card {
  position: relative;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 22px 22px 6px;
  background: var(--surface);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.24);
  transition: opacity 200ms ease, transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.branch-right .update-card {
  border-radius: 22px 22px 22px 6px;
}

.update-card:hover {
  border-color: rgba(195, 139, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), 0 0 30px rgba(155, 108, 255, 0.06);
}

.update-icon {
  position: absolute;
  top: 19px;
  left: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(195, 139, 255, 0.28);
  border-radius: 50%;
  background: rgba(155, 108, 255, 0.09);
  color: var(--purple-light);
  transition: background 200ms ease, transform 200ms ease;
}

.update-card:hover .update-icon {
  background: rgba(155, 108, 255, 0.2);
  transform: rotate(-5deg) scale(1.06);
}

.update-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.update-meta {
  min-height: 34px;
  margin: 0 0 13px 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.updates-tree time {
  color: var(--purple-light);
  font: 700 13px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.updates-tree h3 {
  margin: 0 0 5px;
  font-size: 19px;
}

.update-tag {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #aab4be;
  font-size: 11px;
  font-weight: 700;
}

.landing-footer {
  min-height: 104px;
  margin-top: 74px;
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line-soft);
  color: #78838d;
  font-size: 13px;
}

.landing-footer p {
  margin: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon,
.back-to-top {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: #adb6c0;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.social-icon:hover,
.point-link:hover,
.back-to-top:hover {
  border-color: rgba(195, 139, 255, 0.5);
  background: rgba(155, 108, 255, 0.12);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 9px 24px rgba(155, 108, 255, 0.18);
}

.social-icon img {
  width: 23px;
  height: 23px;
  display: block;
}

.point-link {
  min-height: 44px;
  padding: 7px 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #adb6c0;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.point-link img {
  width: 72px;
  height: auto;
  display: block;
}

.point-link span {
  font-size: 11px;
  font-weight: 750;
}

.social-links .back-to-top {
  width: 44px;
  height: 44px;
  margin-left: 8px;
  color: var(--purple-light);
  font-size: 19px;
}

.motion-ready [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 650ms ease, translate 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

.getting-started,
.developer-section {
  background: rgba(255, 255, 255, 0.014);
  box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.014);
  clip-path: inset(0 -100vmax);
}

.developer-section {
  background: rgba(155, 108, 255, 0.018);
  box-shadow: 0 0 0 100vmax rgba(155, 108, 255, 0.018);
}

@keyframes card-enter {
  from {
    opacity: 0;
    translate: 0 20px;
    scale: 0.985;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes particles {
  from { opacity: 0.38; }
  to { opacity: 0.82; }
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes telegram-message-in {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fact-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing-dot {
  0%, 60%, 100% { opacity: 0.38; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
}

@media (max-width: 900px) {
  .landing-nav {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .landing-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    padding: 8px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(9, 13, 18, 0.98);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.55);
  }

  .landing-menu.is-open {
    display: flex;
  }

  .landing-menu a {
    justify-content: flex-start;
  }

  .product-card {
    padding-inline: 36px;
  }

  .product-card h1 {
    font-size: 52px;
  }

  .bot-statistics {
    grid-template-columns: 1fr;
  }

  .demo-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .landing-header {
    top: 8px;
    width: calc(100% - 20px);
    min-height: 60px;
    margin-top: 8px;
    border-radius: 16px;
  }

  main,
  .landing-footer {
    width: calc(100% - 20px);
  }

  .product-stage {
    min-height: 0;
    padding: 16px 0 42px;
  }

  .product-card {
    min-height: 610px;
    padding: 48px 22px 38px;
    border-radius: 22px;
  }

  .product-watermark {
    width: min(84vw, 390px);
    opacity: 0.035;
  }

  .product-card h1 {
    font-size: 42px;
  }

  .product-description {
    max-width: 480px;
    margin-top: 16px;
    font-size: 16px;
  }

  .version-badge {
    min-height: 34px;
    margin-top: 22px;
    padding: 6px 12px;
  }

  .product-facts {
    gap: 0;
  }

  .product-facts div {
    padding-inline: 10px;
  }

  .fact-value {
    font-size: 18px;
  }

  .product-facts dd {
    font-size: 9px;
  }

  .product-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .product-actions a {
    width: 100%;
  }

  .possibilities,
  .developer-section,
  .updates-section,
  .getting-started,
  .bot-demo {
    padding-top: 70px;
  }

  .section-heading h2,
  .statistics-copy h2,
  .demo-heading h2 {
    font-size: 32px;
  }

  .start-flow {
    grid-template-columns: 1fr;
  }

  .start-flow::before {
    top: 44px;
    right: auto;
    bottom: 44px;
    left: 44px;
    width: 1px;
    height: auto;
    background: linear-gradient(var(--purple), rgba(195, 139, 255, 0.28), var(--green));
  }

  .start-flow li {
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
  }

  .start-flow li + li {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .start-flow h3 {
    margin-top: 1px;
  }

  .start-flow p {
    max-width: none;
  }

  .demo-command-tabs {
    width: 100%;
  }

  .demo-command-tabs button {
    flex: 1;
  }

  .telegram-messages {
    height: 660px;
    padding: 22px 14px 26px;
  }

  .telegram-bot-row {
    width: 94%;
  }

  .telegram-user-message {
    max-width: 86%;
  }

  .telegram-group-row {
    width: 94%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 220px;
    padding: 30px 28px;
  }

  .feature-grid article + article {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .bot-statistics {
    margin-top: 70px;
    padding: 24px;
    gap: 28px;
    border-radius: 20px;
  }

  .statistics-grid > div {
    padding-inline: 16px;
  }

  .developer-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 24px;
  }

  .developer-portrait {
    width: 112px;
    height: 112px;
  }

  .developer-areas {
    justify-content: flex-start;
  }

  .developer-action {
    grid-column: 1 / -1;
    padding: 22px 0 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .developer-action .secondary-action {
    width: 100%;
  }

  .updates-tree {
    grid-template-columns: 38px minmax(0, 1fr);
    row-gap: 20px;
  }

  .updates-tree::before {
    left: 10px;
  }

  .updates-tree .branch-left,
  .updates-tree .branch-right {
    grid-column: 2;
  }

  .updates-tree .branch-left::before,
  .updates-tree .branch-right::before {
    top: calc(50% - 8px);
    right: auto;
    left: -35px;
    transform: rotate(135deg);
  }

  .updates-tree .branch-left::after,
  .updates-tree .branch-right::after {
    right: auto;
    left: -28px;
    width: 28px;
    transform: rotate(-7deg);
    transform-origin: right;
  }

}

@media (max-width: 430px) {
  .landing-brand small {
    display: none;
  }

  .landing-nav > .nav-action {
    display: none;
  }

  .landing-nav a {
    min-height: 38px;
    padding: 8px 12px;
  }

  .landing-menu {
    right: -4px;
  }

  .product-card h1 {
    font-size: 36px;
  }

  .product-card {
    min-height: 0;
    padding: 42px 18px 28px;
  }

  .product-kicker {
    margin-bottom: 10px;
  }

  .product-description {
    font-size: 14px;
  }

  .version-badge {
    margin-top: 18px;
  }

  .product-facts {
    grid-template-columns: 1fr;
    margin-top: 26px;
    gap: 0;
  }

  .product-facts div {
    min-height: 64px;
    padding: 10px 0;
  }

  .product-facts div + div {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .chat-name {
    max-width: 100%;
    font-size: 15px;
    white-space: normal;
  }

  .product-actions {
    margin-top: 27px;
    gap: 8px;
  }

  .product-actions a {
    min-height: 46px;
  }

  .bot-statistics {
    padding: 20px 16px;
  }

  .statistics-grid {
    grid-template-columns: 1fr;
  }

  .statistics-grid > div {
    padding: 22px 4px;
  }

  .statistics-grid > div + div {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .statistics-grid dd:not(.stat-context) {
    min-height: 0;
  }

  .developer-card {
    padding: 24px 20px;
    grid-template-columns: 1fr;
  }

  .developer-portrait {
    width: 104px;
    height: 104px;
  }

  .update-card {
    padding: 21px 19px;
    border-radius: 18px 18px 18px 5px;
  }

  .update-icon {
    top: 17px;
    left: 17px;
  }

  .update-meta {
    margin-left: 43px;
  }

  .update-tag {
    width: max-content;
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .social-links .back-to-top {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
