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

:root {
  --vq-sky: #f2f7fc;
  --vq-white: #ffffff;
  --vq-blue: #1f6fb8;
  --vq-blue-dark: #155690;
  --vq-blue-pale: #e1eef9;
  --vq-navy: #14263a;
  --vq-slate: #5a6b7d;
  --vq-edge: #d6e3ef;
  --vq-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--vq-white) 0, var(--vq-sky) 420px);
  color: var(--vq-navy);
  font-family: var(--vq-font);
  -webkit-font-smoothing: antialiased;
}

.vq-head {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--vq-edge);
}
.vq-head__link {
  display: inline-block;
  padding: 6px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--vq-blue);
  text-decoration: none;
  border: 1px solid var(--vq-edge);
  border-radius: 6px;
}

.vq-title {
  max-width: 820px;
  margin: 0 auto;
  padding: 38px 18px 26px;
  text-align: center;
  font-weight: 800;
  line-height: 1.22;
}
.vq-title__top {
  display: block;
  font-size: clamp(23px, 3.6vw, 36px);
  color: var(--vq-navy);
}
.vq-title__accent {
  display: block;
  margin-top: 6px;
  font-size: clamp(28px, 4.6vw, 48px);
  color: var(--vq-blue);
  text-transform: lowercase;
}

.vq-media {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 16px;
}
#vqFrame {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
  border: 1px solid var(--vq-edge);
  box-shadow: 0 16px 36px rgba(20, 38, 58, 0.12);
}
#vqVideo {
  display: block;
  width: 100%;
  height: auto;
}

#vqLaunch {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#vqLaunch.vqLaunchOff {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.vq-launch__square {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: var(--vq-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease;
}
#vqLaunch:hover .vq-launch__square {
  transform: scale(1.06);
}
.vq-launch__svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 3px;
}
.vq-launch__copy {
  margin-top: 6px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--vq-navy);
  background: var(--vq-white);
  border-radius: 5px;
}
.vq-launch__aside {
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

#vqFull {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 8;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: var(--vq-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
}
#vqFull:hover {
  opacity: 1;
}
#vqFull svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#vqFrame:fullscreen,
#vqFrame:-webkit-full-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
}
#vqFrame:fullscreen #vqVideo,
#vqFrame:-webkit-full-screen #vqVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vq-signup {
  padding: 46px 16px 54px;
}
.vq-signup__box {
  max-width: 540px;
  margin: 0 auto;
}
.vq-panel {
  background: var(--vq-white);
  border-radius: 10px;
  border-top: 4px solid var(--vq-blue);
  box-shadow: 0 8px 26px rgba(20, 38, 58, 0.07);
  padding: 28px 26px 24px;
}
.vq-panel__title {
  text-align: center;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.vq-panel__figure {
  display: flex;
  justify-content: center;
}
.vq-panel__figure img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
}
.vq-panel__state {
  text-align: center;
  margin: 12px 0 20px;
}
.vq-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--vq-blue-dark);
  border: 1px solid var(--vq-edge);
  border-radius: 5px;
}
.vq-flag__mark {
  width: 8px;
  height: 8px;
  background: #e8a33a;
  transform: rotate(45deg);
}
.vq-panel__bot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.vq-panel__item {
  margin-bottom: 14px;
}
.vq-panel__label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vq-slate);
}
.vq-panel__control {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--vq-navy);
  background: var(--vq-white);
  border: 1.5px solid var(--vq-edge);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.vq-panel__control--tel {
  font-weight: 600;
}
.vq-panel__control:focus {
  border-color: var(--vq-blue);
}
.vq-panel__control::placeholder {
  color: #9fb0c0;
  font-weight: 400;
}
.vq-panel__submit {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--vq-blue);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.vq-panel__submit:hover {
  background: var(--vq-blue-dark);
}
.vq-panel__small {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  color: var(--vq-slate);
}

.vq-foot {
  margin-top: auto;
  padding: 28px 16px;
  background: var(--vq-white);
  border-top: 1px solid var(--vq-edge);
}
.vq-foot__wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.vq-foot__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin-bottom: 12px;
}
.vq-foot__nav a {
  padding: 0 12px;
  font-size: 13px;
  color: var(--vq-blue);
  text-decoration: none;
  border-right: 1px solid var(--vq-edge);
}
.vq-foot__nav a:last-child {
  border-right: none;
}
.vq-foot__copy {
  font-size: 12px;
  color: var(--vq-slate);
  margin-bottom: 8px;
}
.vq-foot__text {
  font-size: 11px;
  line-height: 1.7;
  color: #8a99a8;
}

@media (max-width: 480px) {
  .vq-launch__square {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }
  .vq-launch__aside {
    display: none;
  }
  .vq-panel {
    padding: 22px 16px 20px;
  }
}
