/* Telegram Multitool — public landing visual refresh v10.
   Restricted to the public landing page. */
#landing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 66% 36% at 49% 19%, rgba(92, 45, 178, .19), transparent 75%),
    radial-gradient(ellipse 35% 48% at 6% 61%, rgba(34, 55, 123, .12), transparent 86%),
    radial-gradient(ellipse 37% 39% at 100% 75%, rgba(93, 54, 169, .12), transparent 82%);
}
#landing > .landing-particle-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
}
#landing > .pricing-only {
  position: relative;
  z-index: 1;
}
#landing .price-heading {
  margin: 0 auto 34px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#landing .pricing-logo-stage {
  position: relative;
  width: clamp(180px, 22vw, 246px);
  height: clamp(180px, 22vw, 246px);
  display: grid;
  place-items: center;
  isolation: isolate;
  transform: translateZ(0);
  animation: landing-logo-hover 7.4s ease-in-out infinite;
}
#landing .pricing-logo-stage::before,
#landing .pricing-logo-stage::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
#landing .pricing-logo-stage::before {
  inset: 10%;
  background: radial-gradient(circle,
    rgba(137, 86, 245, .43) 0%,
    rgba(102, 57, 206, .28) 36%,
    rgba(76, 49, 159, .10) 59%,
    transparent 76%);
  filter: blur(29px);
  transform: scale(1.25);
  animation: landing-halo-breathe 5.6s ease-in-out infinite alternate;
}
#landing .pricing-logo-stage::after {
  inset: 13%;
  box-shadow: 0 0 80px 20px rgba(110, 68, 214, .10), 0 0 135px 43px rgba(67, 44, 155, .09);
  animation: landing-halo-breathe 7.3s ease-in-out infinite alternate-reverse;
}
#landing .price-heading .pricing-mark {
  width: 88% !important;
  height: 88% !important;
  max-width: none;
  margin: 0 !important;
  position: relative;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 35px rgba(107, 73, 240, .33));
  transform: translateZ(0);
}
#landing .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
#landing .minimal-plans .plan {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
/* Keep the logo and Telegram Multitool wordmark in the top header. */
#publicHeader .public-brand .brand-name { display: inline; }
#publicHeader .public-brand .site-logo { width: 42px; height: 42px; }
@keyframes landing-logo-hover {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}
@keyframes landing-halo-breathe {
  0% { opacity: .62; transform: scale(.96); }
  100% { opacity: 1; transform: scale(1.16); }
}
@media (max-width: 680px) {
  #landing .pricing-logo-stage { width: 166px; height: 166px; }
  #landing .price-heading { margin-bottom: 18px; }
  #landing .pricing-only { padding-top: 22px; }
  #publicHeader .public-brand .site-logo { width: 37px; height: 37px; }
  #landing .minimal-plans .plan { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  #landing .pricing-logo-stage,
  #landing .pricing-logo-stage::before,
  #landing .pricing-logo-stage::after { animation: none !important; }
}

/* HEADER_WORDMARK_V11 — restore top navigation text; preserve logo-only hero. */
#publicHeader .public-brand .brand-name {
  display: inline;
  font-size: clamp(14px, 1.7vw, 19px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  white-space: nowrap;
}
@media (max-width: 370px) {
  #publicHeader { padding-left: 12px; padding-right: 12px; }
  #publicHeader .public-brand { gap: 6px; }
  #publicHeader .public-brand .site-logo { width: 30px; height: 30px; }
  #publicHeader .public-brand .brand-name { font-size: 13px; }
  #publicHeader [data-act="show-login"] { padding: 10px 11px; }
}


/* MOBILE_PARTICLES_STABLE_V12: viewport-anchored background, not document scroll. */
@media screen and (max-width: 680px) {
  #landing > .landing-particle-field {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    max-width: 100%;
    pointer-events: none;
    /* Avoid recompositing the entire tall document while scrolling. */
    will-change: auto;
  }
}
