/* Pixel-perfect clone of osnova-club.com/inside (Tilda rec2062158493 + rec2062158513) */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

.vsl-body {
  margin: 0;
  background: #000;
  color: #fefefe;
  font-family: Inter, Arial, sans-serif;
  overflow-x: clip;
}

img {
  max-width: none;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* ── Artboard (T396 grid) ── */
.vsl-artboard {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.vsl-artboard--hero {
  min-height: 790px;
  height: auto;
  background: #000;
}

.vsl-artboard--footer {
  height: 260px;
  background: #000;
}

.vsl-artboard--footer [class^="vsl-"] {
  position: absolute;
  z-index: 3;
}

/* Gradient card */
.vsl-hero__card {
  position: absolute;
  z-index: 1;
  top: 2.5%;
  right: 2.5%;
  bottom: 2.5%;
  left: 2.5%;
  border-radius: 30px;
  background: linear-gradient(0.407turn, rgba(152, 93, 244, 1) 0%, rgba(87, 33, 205, 1) 100%);
}

/* Deco photos — поверх фона, по бокам как на inside */
.vsl-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.vsl-deco--right {
  top: 37px;
  left: calc(50% - 600px + 680px);
  width: 906px;
  height: auto;
  z-index: 2;
}

.vsl-deco--left {
  top: -76px;
  left: calc(50% - 600px + -268px);
  width: 648px;
  height: auto;
  z-index: 2;
}

/* Main content stack */
.vsl-stack {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  padding: 54px 16px 40px;
  width: min(921px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vsl-logo {
  width: 341px;
  max-width: 72vw;
  margin: 0;
}

.vsl-title {
  margin: 10px 0 0;
  width: 100%;
  color: #fefefe;
  font-size: 45px;
  line-height: 1.1;
  font-weight: 800;
}

.vsl-lead {
  margin: 24px 0;
  width: 100%;
  color: #fefefe;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 500;
}

.vsl-lead em {
  font-style: italic;
}

.vsl-video {
  position: relative;
  width: min(618px, 100%);
  aspect-ratio: 16 / 9;
  border: 2px solid #c7c7c7;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.vsl-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.04);
  transform-origin: center center;
}

.vsl-video__play {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vsl-video__play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #000;
}

.vsl-video__play-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fefefe;
}

.vsl-video.is-playing .vsl-video__play {
  display: none;
}

/* CTA button */
.vsl-cta {
  margin-top: 30px;
  width: 370px;
  max-width: 100%;
  height: 70px;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 30px;
  background: #fefefe;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.vsl-cta__text {
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  color: #622bd3;
  transition: color 0.2s ease;
}

.vsl-cta__arrow {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  background-color: #622bd3;
  mask: url('/images/inside/arrow-right.svg') center / contain no-repeat;
  -webkit-mask: url('/images/inside/arrow-right.svg') center / contain no-repeat;
  transition: background-color 0.2s ease;
}

.vsl-cta:hover {
  background: #f0f0f0;
}

.vsl-cta:hover .vsl-cta__text {
  color: #6029d2;
}

.vsl-cta:hover .vsl-cta__arrow {
  background-color: #6029d2;
}

/* ── Footer (rec2062158513) ── */
.vsl-footer-legal {
  margin: 0;
  top: 40px;
  left: calc(50% - 600px + 0px);
  width: 560px;
  color: #fafafa;
  font-size: 18px;
  line-height: 28px;
  font-weight: 100;
}

.vsl-footer-link {
  left: calc(50% - 600px + 560px);
  width: 560px;
  color: #fafafa;
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
  text-decoration: none;
}

.vsl-footer-link u {
  text-decoration: underline;
}

.vsl-footer-link--1 { top: 40px; }
.vsl-footer-link--2 { top: 78px; }
.vsl-footer-link--3 { top: 116px; }

.vsl-footer-support {
  top: 154px;
  left: calc(50% - 600px + 560px);
  width: 560px;
  color: #fafafa;
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
  text-decoration: none;
  text-align: left;
  white-space: nowrap;
}

.vsl-footer-support u {
  text-decoration: underline;
}

.vsl-footer-social {
  width: 30px;
  height: 30px;
  top: 190px;
}

.vsl-footer-social--1 { left: calc(50% - 600px + 0px); }
.vsl-footer-social--2 { left: calc(50% - 600px + 40px); }
.vsl-footer-social--3 { left: calc(50% - 600px + 80px); }

/* ── 1199px (grid 960) ── */
@media screen and (max-width: 1199px) {
  .vsl-stack {
    padding-top: 59px;
    width: min(650px, calc(100% - 32px));
  }

  .vsl-title {
    font-size: 35px;
  }

  .vsl-footer-legal { left: calc(50% - 480px + 0px); }
  .vsl-footer-link { left: calc(50% - 480px + 490px); }
  .vsl-footer-support { left: calc(50% - 480px + 490px); }
  .vsl-footer-social--1 { left: calc(50% - 480px + 0px); }
  .vsl-footer-social--2 { left: calc(50% - 480px + 40px); }
  .vsl-footer-social--3 { left: calc(50% - 480px + 80px); }
}

/* deco 480–1199: один scale от desktop 1200, обе фигуры пропорционально */
@media screen and (min-width: 480px) and (max-width: 1199px) {
  .vsl-deco--right {
    top: calc(37px * 100vw / 1200);
    left: calc(50% - 600px * 100vw / 1200 + 680px * 100vw / 1200);
    width: calc(906px * 100vw / 1200);
  }

  .vsl-deco--left {
    top: calc(-76px * 100vw / 1200);
    left: calc(50% - 600px * 100vw / 1200 + -268px * 100vw / 1200);
    width: calc(648px * 100vw / 1200);
  }
}

/* ── 959px (grid 640) ── */
@media screen and (max-width: 959px) {
  .vsl-artboard--hero {
    min-height: 710px;
    height: auto;
  }

  .vsl-stack {
    padding-top: 59px;
    width: min(567px, calc(100% - 32px));
  }

  .vsl-logo {
    width: 273px;
  }

  .vsl-title {
    font-size: 30px;
  }

  .vsl-lead {
    font-size: 18px;
  }

  .vsl-video {
    max-width: 530px;
  }

  .vsl-footer-legal {
    left: calc(50% - 320px + 0px);
    width: 292px;
  }

  .vsl-footer-link {
    left: calc(50% - 320px + 330px);
  }

  .vsl-footer-support {
    left: calc(50% - 320px + 330px);
  }

  .vsl-footer-social--1 { left: calc(50% - 320px + 0px); top: 190px; }
  .vsl-footer-social--2 { left: calc(50% - 320px + 40px); top: 190px; }
  .vsl-footer-social--3 { left: calc(50% - 320px + 80px); top: 190px; }
}

/* ── 639px (grid 480) — только 480–639 ── */
@media screen and (min-width: 480px) and (max-width: 639px) {
  .vsl-artboard--hero {
    min-height: 680px;
    height: auto;
  }

  .vsl-artboard--footer {
    height: 400px;
    display: block;
  }

  .vsl-footer-legal {
    top: 30px;
    left: calc(50% - 240px + 94px);
    width: 292px;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
  }

  .vsl-footer-link {
    left: calc(50% - 240px + -40px);
    width: 560px;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
  }

  .vsl-stack {
    padding-top: 57px;
    width: 418px;
    max-width: calc(100% - 32px);
    padding-left: 0;
    padding-right: 0;
  }

  .vsl-logo {
    width: 273px;
  }

  .vsl-title {
    font-size: 28px;
    line-height: 1.08;
    width: 100%;
    max-width: 296px;
    margin: 15px 0 0;
  }

  .vsl-lead {
    margin: 15px 0 20px;
    font-size: 20px;
    line-height: 1.25;
    width: 100%;
    max-width: 296px;
  }

  .vsl-video {
    width: 418px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .vsl-cta {
    width: 320px;
    max-width: 100%;
    height: 70px;
    margin-top: 15px;
  }

  .vsl-footer-link--1 { top: 182px; }
  .vsl-footer-link--2 { top: 220px; }
  .vsl-footer-link--3 { top: 258px; }

  .vsl-footer-support {
    top: 296px;
    left: calc(50% - 240px + -40px);
    width: 560px;
    font-size: 18px;
    text-align: center;
  }

  .vsl-footer-social--1 { top: 334px; left: calc(50% - 240px + 185px); }
  .vsl-footer-social--2 { top: 334px; left: calc(50% - 240px + 225px); }
  .vsl-footer-social--3 { top: 334px; left: calc(50% - 240px + 265px); }
}

/* ── 479px (grid 320) — телефоны до 479 включительно ── */
@media screen and (max-width: 479px) {
  .vsl-hero__card {
    top: 21px;
    right: 10px;
    bottom: auto;
    left: 10px;
    width: auto;
    height: auto;
    min-height: calc(100% - 42px);
  }

  .vsl-artboard--hero {
    min-height: 635px;
    height: auto;
  }

  .vsl-artboard--footer {
    height: 370px;
    display: block;
  }

  .vsl-deco--right {
    top: 413px;
    bottom: auto;
    left: calc(50% - 160px + 62px);
    width: 335px;
  }

  .vsl-deco--left {
    top: 379px;
    bottom: auto;
    left: calc(50% - 160px + -43px);
    width: 257px;
  }

  .vsl-deco {
    z-index: 2;
  }

  .vsl-stack {
    padding-top: 48px;
    width: calc(100% - 40px);
    max-width: 370px;
    padding-left: 0;
    padding-right: 0;
  }

  .vsl-logo {
    width: min(194px, 44vw);
  }

  .vsl-title {
    font-size: clamp(14px, 3.6vw, 17px);
    line-height: 1.12;
    width: 100%;
    max-width: 100%;
    margin: 15px 0 0;
  }

  .vsl-lead {
    margin: 15px 0 15px;
    font-size: clamp(11px, 2.9vw, 13px);
    line-height: 1.25;
    width: 100%;
    max-width: 100%;
  }

  .vsl-video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .vsl-cta {
    width: calc(100% - 22px);
    max-width: 100%;
    height: 60px;
    margin-top: 15px;
  }

  .vsl-cta__text {
    font-size: 16px;
  }

  .vsl-footer-legal {
    top: 30px;
    left: calc(50% - 160px + 14px);
    width: 292px;
    font-size: 15px;
    line-height: 28px;
    text-align: center;
  }

  .vsl-footer-link {
    left: calc(50% - 160px + -120px);
    width: 560px;
    font-size: 15px;
    line-height: 28px;
    text-align: center;
  }

  .vsl-footer-link--1 { top: 139px; }
  .vsl-footer-link--2 { top: 167px; }
  .vsl-footer-link--3 { top: 195px; }

  .vsl-footer-support {
    top: 223px;
    left: calc(50% - 160px + -120px);
    width: 560px;
    font-size: 15px;
    text-align: center;
  }

  .vsl-footer-social--1 { top: 258px; left: calc(50% - 160px + 105px); }
  .vsl-footer-social--2 { top: 258px; left: calc(50% - 160px + 145px); }
  .vsl-footer-social--3 { top: 258px; left: calc(50% - 160px + 185px); }
}

@media (prefers-reduced-motion: reduce) {
  .vsl-cta,
  .vsl-cta__text,
  .vsl-cta__arrow {
    transition: none;
  }
}
