:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: #120900;
}

a { color: inherit; }

.landing {
  --page-pad: clamp(20px, 4vw, 72px);
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  flex-direction: column;
  color: #fff;
}

.visual-layer,
.visual-shade,
.visual-fx {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.visual-layer {
  background-image: var(--ad-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.visual-shade { z-index: -2; }
.visual-fx { z-index: -1; overflow: hidden; }
.visual-fx i { position: absolute; display: block; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: clamp(18px, 3vw, 34px) var(--page-pad) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: .08em;
}

.brand-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.theme-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-layout {
  display: flex;
  flex: 1;
  width: 100%;
  padding: clamp(22px, 3vh, 42px) var(--page-pad) 24px;
}

.copy-panel {
  align-self: center;
  width: min(720px, 52vw);
}

.copy-stack h1,
.ad-subheadline,
.ad-body p { margin: 0; }

.copy-stack h1 {
  max-width: 20ch;
  font-size: clamp(40px, 4.15vw, 68px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.ad-subheadline {
  max-width: 52ch;
  margin-top: clamp(16px, 2.2vw, 26px);
  font-size: clamp(18px, 1.65vw, 26px);
  font-weight: 750;
  line-height: 1.25;
}

.ad-body {
  display: grid;
  gap: 9px;
  max-width: 62ch;
  margin-top: 18px;
}

.ad-body p {
  font-size: clamp(14px, 1.04vw, 17px);
  font-weight: 550;
  line-height: 1.42;
}

.action-stack {
  display: grid;
  gap: 11px;
  max-width: 610px;
  margin-top: clamp(20px, 2.4vh, 28px);
}

.primary-cta,
.telegram-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 18px;
  padding: 15px 21px;
  border-radius: 16px;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 900;
  line-height: 1.18;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.primary-cta:hover,
.telegram-cta:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.08);
}

.primary-cta b,
.telegram-cta b { flex: 0 0 auto; font-size: 22px; }

.telegram-cta { justify-content: flex-start; }
.telegram-cta b { margin-left: auto; }

.telegram-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
}

[hidden] { display: none !important; }

@media (max-width: 760px) {
  .visual-layer { background-image: var(--ad-hero-image-mobile, var(--ad-hero-image)); }
  .landing { --page-pad: 18px; overflow: visible; }
  .theme-name { display: none; }
  .hero-layout {
    align-items: flex-end;
    padding-top: clamp(210px, 42vh, 390px);
    padding-bottom: 18px;
  }
  .copy-panel { width: 100%; }
  .copy-stack h1 { max-width: none; font-size: clamp(35px, 10.6vw, 54px); }
  .ad-subheadline { font-size: 18px; }
  .ad-body { gap: 7px; margin-top: 14px; }
  .ad-body p { font-size: 14px; }
  .action-stack { margin-top: 20px; }
  .primary-cta, .telegram-cta { min-height: 58px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
