* {
  box-sizing: border-box;
}

body.static-page {
  --static-hero-logo-width: 170px;
  min-height: 100vh;
  margin: 0;
  color: #f7fbff;
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(49, 105, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 90% 60% at 90% 0%, rgba(19, 216, 255, 0.1), transparent 50%),
    linear-gradient(180deg, var(--st-bg-deep) 0%, var(--st-bg) 42%, var(--st-bg-mid) 100%);
  font-family: "Montserrat", Arial, sans-serif;
}

.static-page #particles-js {
  position: fixed;
  inset: 0;
  z-index: 0 !important;
  pointer-events: none;
}

.static-page #particles-js canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.static-page .site {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.static-page a {
  color: inherit;
}

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

.static-main {
  padding: 210px 0 80px;
}

.static-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

.static-hero__eyebrow {
  margin: 0 0 16px;
  color: #42d6ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.static-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.static-hero__text {
  margin: 24px 0 0;
  max-width: 650px;
  color: #f7fbff;
  font-size: 18px;
  line-height: 1.7;
}

.static-hero__mark {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 0;
  background: radial-gradient(circle at 50% 34%, rgba(66, 214, 255, 0.18), transparent 58%);
}

.static-hero__mark img {
  width: var(--static-hero-logo-width);
  max-width: none;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

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

.placeholder-card,
.contact-panel {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.placeholder-card__meta,
.contact-panel__label {
  display: block;
  margin-bottom: 16px;
  color: #42d6ff;
  font-size: 13px;
  font-weight: 800;
}

.placeholder-card h2,
.contact-panel h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
}

.placeholder-card p,
.contact-panel p {
  margin: 0;
  color: #f7fbff;
  line-height: 1.65;
}

.contact-panel a {
  color: #f7fbff;
  text-decoration: none;
}

.telegram-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  min-height: 48px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(110deg, #1c8dff, #25d5ff, #5e7cff, #1c8dff);
  background-size: 260% 100%;
  box-shadow: 0 18px 44px rgba(37, 213, 255, 0.24);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  animation: telegram-shimmer 3.6s linear infinite;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.telegram-cta::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 45%, transparent 75%);
  transform: translateX(-115%);
  animation: telegram-glow 2.8s ease-in-out infinite;
  content: "";
}

.telegram-cta svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.telegram-cta:hover,
.telegram-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 56px rgba(37, 213, 255, 0.34);
}

.telegram-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

@keyframes telegram-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 260% 50%;
  }
}

@keyframes telegram-glow {
  0%,
  35% {
    transform: translateX(-115%);
  }
  70%,
  100% {
    transform: translateX(115%);
  }
}

.static-footer {
  padding: 0 0 32px;
  color: #f7fbff;
  font-size: 14px;
}

@media (max-width: 860px) {
  .static-main {
    padding-top: 160px;
  }

  .static-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .static-hero__mark {
    min-height: 220px;
  }

  .placeholder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .telegram-cta,
  .telegram-cta::after {
    animation: none;
  }
}
