.agd-tag-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  align-items: stretch;
  gap: 26px;
  margin: 0 0 22px;
  padding: 20px 22px 20px 30px;
  overflow: hidden;
  border: 1px solid rgba(52, 186, 255, 0.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(92, 227, 184, 0.2), transparent 42%),
    linear-gradient(125deg, #09182b 0%, #101c33 55%, #12243a 100%);
  box-shadow: 0 14px 34px rgba(13, 35, 64, 0.14);
  color: #eaf6ff;
}

.agd-tag-download__copy {
  min-width: 0;
}

.agd-tag-download__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.agd-tag-download__eyebrow {
  margin: 0 0 8px;
  color: #78ddff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.agd-tag-download h2 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.2;
}

.agd-tag-download__copy > p:last-child {
  max-width: 610px;
  margin: 10px 0 0;
  color: rgba(234, 246, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.agd-tag-download__media {
  min-height: 172px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  background: #eef5f8;
  box-shadow: 0 14px 28px rgba(0, 7, 18, 0.24);
}

.agd-tag-download__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.agd-tag-download__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 9px;
  background: linear-gradient(125deg, #62d4ff 0%, #8ff3d0 54%, #ffd166 100%);
  box-shadow: 0 10px 22px rgba(72, 205, 255, 0.22), inset 0 1px rgba(255, 255, 255, 0.58);
  color: #06111d !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.agd-tag-download__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.agd-tag-download__button:hover,
.agd-tag-download__button:focus-visible {
  color: #06111d !important;
  filter: saturate(1.1) brightness(1.03);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(72, 205, 255, 0.32), inset 0 1px rgba(255, 255, 255, 0.68);
}

.agd-tag-download__button:focus-visible {
  outline: 3px solid rgba(255, 209, 102, 0.64);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .agd-tag-download {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .agd-tag-download h2 {
    font-size: 22px;
  }

  .agd-tag-download__button {
    width: 100%;
  }

  .agd-tag-download__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

.agd-tag-tutorial {
  margin: 0 0 22px;
  padding: 28px 30px;
  border: 1px solid rgba(25, 63, 106, 0.14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(20, 43, 71, 0.08);
}

.agd-tag-tutorial__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.agd-tag-tutorial__eyebrow {
  margin: 0 0 8px;
  color: #1686b3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.agd-tag-tutorial h2 {
  margin: 0;
  color: #14263b;
  font-size: 25px;
  line-height: 1.25;
}

.agd-tag-tutorial__head > p {
  max-width: 390px;
  margin: 0;
  color: #637487;
  font-size: 14px;
  line-height: 1.7;
}

.agd-tag-tutorial__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.agd-tag-tutorial__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 124px;
  padding: 17px 15px;
  border: 1px solid rgba(45, 116, 173, 0.13);
  border-radius: 10px;
  background: linear-gradient(145deg, #f7fbff, #eef7fb);
}

.agd-tag-tutorial__steps span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #143b5c;
  color: #8fefff;
  font-size: 11px;
  font-weight: 800;
}

.agd-tag-tutorial h3 {
  margin: 1px 0 7px;
  color: #1a3046;
  font-size: 15px;
  line-height: 1.35;
}

.agd-tag-tutorial__steps p {
  margin: 0;
  color: #617387;
  font-size: 13px;
  line-height: 1.65;
}

.agd-tag-tutorial__note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(25, 63, 106, 0.1);
  color: #7a8998;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 680px) {
  .agd-tag-tutorial {
    padding: 22px;
  }

  .agd-tag-tutorial__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .agd-tag-tutorial h2 {
    font-size: 22px;
  }

  .agd-tag-tutorial__steps {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .agd-tag-tutorial__steps li {
    min-height: 0;
  }
}
